By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,699 Members | 1,225 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,699 IT Pros & Developers. It's quick & easy.

gdb on AIX with Xlc generated 64 bit executables

P: 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
Share this Question
Share on Google+
4 Replies

P: 11
Any body is using gdb on AIX 5.3 64 bit executables?

--
Regards,
Ravi.T
Nov 2 '07 #2

P: 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

P: 1
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

P: 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

Post your reply

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