[commit/AIX] Fix error happening while loading a core file
Joel Brobecker
brobecker@adacore.com
Sun Mar 15 20:37:00 GMT 2009
This is another regression that I noticed on AIX.
The problem is that we had a check in xcoff_relocate_symtab that
was supposed to detect the case where we're debugging a core file.
The check was based on the inferior ptid being null. I replaced it
with a check against target_has_execution, which seemed more
appropriate.
Is there a routine that performs this check?
2009-03-15 Joel Brobecker <brobecker@adacore.com>
Fix an error happening while loading symbols from a core file.
* rs6000-nat.c (xcoff_relocate_symtab): Use target_has_execution
to detect whether we're debugging a core file or not.
Tested on powerpc-aix. Checked in.
--
Joel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rs6000-nat.diff
Type: text/x-diff
Size: 452 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20090315/d70c89b3/attachment.bin>
More information about the Gdb-patches
mailing list