[commit/AIX] Fix error happening while loading a core file
Pedro Alves
pedro@codesourcery.com
Sun Mar 15 21:18:00 GMT 2009
On Sunday 15 March 2009 20:33:20, Joel Brobecker wrote:
> 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 see, no multi-threaded/lwps core files on aix then, as
otherwise this would have already been noticed before.
> I replaced it
> with a check against target_has_execution, which seemed more
> appropriate.
>
> Is there a routine that performs this check?
Nope, that's what we've got. We'll have to do something about these
target_has_* for multi-process, but meanwhile, that's indeed the
correct test.
--
Pedro Alves
More information about the Gdb-patches
mailing list