473,320 Members | 1,580 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

gdb on AIX with Xlc generated 64 bit executables

11
I have built my gdb-6.7.1 yesterday on my AIX 5.3 64 bit machine.

my gcc is gcc3.3.2

and tried debugging 64 bit executables generated by gcc, working fine. debugging session ends successfully.

But I am facing a problem when it comes 64 bit executables generated by xlc compiler.

The session ends like this:

$>gdb
GNU gdb 6.7.1
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/
gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show
copying"
and "show warranty" for details.
This GDB was configured as "powerpc-ibm-aix5.3.0.0".
(gdb) file a.out
Reading symbols from /home/tools/ravit/a.out...done.
(gdb) b main
Breakpoint 1 at 0x5b4
(gdb) r
Starting program: /home/tools/ravit/a.out
Warning:
Cannot insert breakpoint 1.
Error accessing memory address 0x5b4: I/O error.



any body faced this problem ?
What might be the solution for this?

thanks for the replies if any.

--
Regards,
Ravi.T
Nov 1 '07 #1
4 5220
ravit
11
Any body is using gdb on AIX 5.3 64 bit executables?

--
Regards,
Ravi.T
Nov 2 '07 #2
ravit
11
Any body is using gdb on AIX 5.3 64 bit executables?

--
Regards,
Ravi.T
Guys not body is using gdb on AIX for 64 bit executables?
Nov 21 '07 #3
I'd like to know how you have compile gdb?
I'm still struggeling to get over the compile errors.
Which pre-compile/settings flags have you used?

Thanks in advance
Jan 29 '08 #4
ravit
11
I'd like to know how you have compile gdb?
I'm still struggeling to get over the compile errors.
Which pre-compile/settings flags have you used?

Thanks in advance
Hi fisch,

I have compiled it normally with
CC=gcc
CPP=cpp
CXX=g++

by the way, Are you using the gdb on AIX 5.3 for 64 executables generated by xlc??

Or
You wanted one for such ??

I have been trying to get gdb working for my 64 bit executables generated by Xlc , but no success hopes yet.
If you have any ideas , hope we share.

--
Regards,
Ravi.Thati
Feb 29 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

14
by: Hemanth | last post by:
Hello there, I'm new to PHP. I'm trying to run a simple php script (on a Red hat linux machine with apache web server ) through a windows web browser (IE). I'm using an exec() function in my...
2
by: Jubril Oyesiji | last post by:
Does anyone have an idea about how to convert Java Class files into Windows Executables (.Exe) except writing a Batch file
9
by: mac | last post by:
when a c program is compiled using 'gcc test.c' 'cannot create c executables is thrown' I cannot able to figure out the problem could anyone help me. Thanks.
20
by: | last post by:
Back in the Old days, I compile a C++ executable, copy the dll's used by this executable to the same folder. Go to another computer, copy that folder locally, double click on the exe file and off...
2
by: ven | last post by:
I have used C# binary formatter to serialize and deserialize a data structure. However, for the same data format( used by the first executable, the same *.CS files), the second executable gives an...
5
by: VJ | last post by:
I have one VB.NET project, that outputs a "Mycomapny.exe" everytime I do a build. But I need it to output 4 different executables everytime I build. How do I archive this. I am looking at the...
1
by: Water Cooler v2 | last post by:
I have a Windows Service I am writing in C# and a set of, let us say three, other executables written in C# (mostly console applications). I want that the Windows Service must do so every few...
0
by: A W | last post by:
Hello, I am encountering the following scenario while compiling a project under Visual Studio 2005 with the floating point model set as precise. Two executables A and B share a common dll C. ...
6
by: =?Utf-8?B?Q2hhcmxlcyBS?= | last post by:
I have two different executables that I want to build w/ the same source but in 2 different compilers, vs60 and vs2008. I have 2 different configurations w/ different options etc, but I want one...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.