Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "H. J. Lu" <hjl@lucon.org>
To: Andrew Cagney <ac131313@redhat.com>,
	Paul Mundt <paul.mundt@timesys.com>,
	gdb@sources.redhat.com
Subject: Re: SIG32/SIGTRAP issues
Date: Tue, 03 Dec 2002 16:09:00 -0000	[thread overview]
Message-ID: <20021203160921.B9042@lucon.org> (raw)
In-Reply-To: <20021203235833.GA8335@nevyn.them.org>; from drow@mvista.com on Tue, Dec 03, 2002 at 06:58:33PM -0500

On Tue, Dec 03, 2002 at 06:58:33PM -0500, Daniel Jacobowitz wrote:
> On Tue, Dec 03, 2002 at 06:52:30PM -0500, Andrew Cagney wrote:
> > >
> > >Funny, no one reports this for months and this is the third report I've
> > >seen in a week...  At the bottom of this message is a workaround.  I'm
> > >not proposing it be committed, since it's obviously pretty gross.  The
> > >real issue is the concept of thread_stratum and core_stratum as
> > >separate from process_stratum.  I don't think it's appropriate - if we
> > >are debugging a core and process at the same time this isn't how it
> > >should work.  This ties in to all the make-targets-a-real-stack thing -
> > >I'm not entirely convinced on that score either.
> > 
> > GDB Speak :-)  `An inferior stack', separate to the stratum.  Having 
> > implemented the idea, I'm pretty much convinced it's the correct 
> > approach (although, as you demonstrate, not absolutly necessary).
> 
> Hrm, interesting.  A stack doesn't seem logical for that, just support
> for multiple targets... pull one out when you want it.  That could be
> adapted to solve this problem.  Let's see the code :)
> 
> 
> ===
> 
> 
> HJ, I'm pretty sure your patch won't work right in this case:
> 
> # gdb static-app corefile
> (gdb) run
> 
> There will be no new call to the objfile hook, and no new pushes, and
> thread-db won't load.
> 

No, it is not perfect.


H.J.


  reply	other threads:[~2002-12-04  0:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-03 14:52 Paul Mundt
2002-12-03 15:24 ` Daniel Jacobowitz
2002-12-03 15:30   ` H. J. Lu
2002-12-03 15:43     ` Daniel Jacobowitz
2002-12-03 15:58       ` H. J. Lu
2002-12-03 15:52   ` Andrew Cagney
2002-12-03 15:58     ` Daniel Jacobowitz
2002-12-03 16:09       ` H. J. Lu [this message]
2002-12-04 10:30   ` Paul Mundt
2002-12-04 10:44     ` Daniel Jacobowitz

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=20021203160921.B9042@lucon.org \
    --to=hjl@lucon.org \
    --cc=ac131313@redhat.com \
    --cc=gdb@sources.redhat.com \
    --cc=paul.mundt@timesys.com \
    /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