From: Daniel Jacobowitz <drow@mvista.com>
To: Andrew Cagney <ac131313@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: PATCH: Fork event updates, part the tenth
Date: Mon, 16 Dec 2002 08:57:00 -0000 [thread overview]
Message-ID: <20021216165709.GA17039@nevyn.them.org> (raw)
In-Reply-To: <3DFE02F0.1020708@redhat.com>
On Mon, Dec 16, 2002 at 11:44:32AM -0500, Andrew Cagney wrote:
> >Right now, there are four calls to bpstat_stop_status in infrun.c. Three
> >of
> >them are for catchpoints; right now, catchpoints should not be affected by
> >DECR_PC_AFTER_BREAK, because they aren't breakpoints. Hopefully
> >DECR_PC_AFTER_BREAK will be gone from this code if anyone ever has a target
> >where they _are_ breakpoints.
> >
> >So, since a catchpoint is not a software breakpoint, we can just pass "1"
> >for NOT_A_SW_BREAKPOINT. This prevents an incorrect PC decrement on
> >i386-linux with the upcoming fork catchpoint patches. Committed.
>
> Er, where is the fire? Nothing involving decr pc after break is
> obvious. I think here you should at least be seeking a second opinion.
This is in blocks of code conditioned on TARGET_WAITKIND_{FORKED,VFORKED,EXECD}.
There are only two targets that ever return these; HP/UX (which has no
DECR_PC_AFTER_BREAK) and i386-linux (in my working tree, which has
DECR_PC_AFTER_BREAK, but in which catchpoints are unaffected by it).
The argument is labeled NOT_A_SW_BREAKPOINT, and these are known to not
be software breakpoints. How much simpler can it get?
The fire is apparently that I lack your indefatigable patience. I have
been submitting this same feature for several months now and it's
blocking me from doing anything else substantial without tripping on my
own feet repeatedly.
You've stated your preference; I'll throttle back and find something
else to do in the mean time.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
prev parent reply other threads:[~2002-12-16 16:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-15 12:17 Daniel Jacobowitz
2002-12-16 8:46 ` Andrew Cagney
2002-12-16 8:57 ` Daniel Jacobowitz [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=20021216165709.GA17039@nevyn.them.org \
--to=drow@mvista.com \
--cc=ac131313@redhat.com \
--cc=gdb-patches@sources.redhat.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