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