mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-01-26 19:44:28 +00:00
Fix an error happening while loading symbols from a core file
(on AIX). * rs6000-nat.c (xcoff_relocate_symtab): Use target_has_execution to detect whether we're debugging a core file or not.
This commit is contained in:
parent
d30acaa715
commit
1ba0a4eebc
@ -1,3 +1,11 @@
|
||||
2009-03-15 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
Fix an error happening while loading symbols from a core file
|
||||
(on AIX).
|
||||
|
||||
* rs6000-nat.c (xcoff_relocate_symtab): Use target_has_execution
|
||||
to detect whether we're debugging a core file or not.
|
||||
|
||||
2009-03-15 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
Modernize the aix-thread later by getting rid of the base_target
|
||||
|
@ -1036,7 +1036,8 @@ xcoff_relocate_symtab (unsigned int pid)
|
||||
int ldisize = arch64 ? sizeof (ldi->l64) : sizeof (ldi->l32);
|
||||
int size;
|
||||
|
||||
if (ptid_equal (inferior_ptid, null_ptid))
|
||||
/* Nothing to do if we are debugging a core file. */
|
||||
if (!target_has_execution)
|
||||
return;
|
||||
|
||||
do
|
||||
|
Loading…
x
Reference in New Issue
Block a user