From: Pedro Alves <pedro@codesourcery.com>
To: gdb-patches@sourceware.org
Cc: Joel Brobecker <brobecker@adacore.com>
Subject: Re: [commit/AIX] Fix error happening while loading a core file
Date: Sun, 15 Mar 2009 21:18:00 -0000 [thread overview]
Message-ID: <200903152028.54485.pedro@codesourcery.com> (raw)
In-Reply-To: <20090315203320.GB9576@adacore.com>
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
prev parent reply other threads:[~2009-03-15 20:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-15 20:37 Joel Brobecker
2009-03-15 21:18 ` Pedro Alves [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200903152028.54485.pedro@codesourcery.com \
--to=pedro@codesourcery.com \
--cc=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox