From: Mark Kettenis <kettenis@science.uva.nl>
To: Pierre Muller <muller@cerbere.u-strasbg.fr>
Cc: Eli Zaretskii <eliz@is.elta.co.il>, gdb-patches@sources.redhat.com
Subject: Re: [RFA/RFC 3] Remove hardware break and watchpoints at program exit.
Date: Sat, 12 Jan 2002 05:20:00 -0000 [thread overview]
Message-ID: <s3iy9j31zcm.fsf@soliton.wins.uva.nl> (raw)
In-Reply-To: Pierre Muller's message of Fri, 11 Jan 2002 18:19:11 +0100
Pierre Muller <muller@cerbere.u-strasbg.fr> writes:
> After the previous discussion about the
> hardware watch and breakpoint removal
> about the debuggee exited. I slightly modifed my patch
> by adding a test to avoid calling ptrace
> in i386-linux-nat.c, i386bsd-nat.c and x86-64-linux-nat.c
> i386_linux_dr_set, i386bsd_dr_set and x86_64_linux_dr_set functions
> if taget_has_execution is 0.
That should not be necessary. Those functions shouldn't be called
when there is no debuggee. I suspect that there is something wrong
with the hardware breakpoint/watchpoint implementation at a much
higher level.
Mark
next prev parent reply other threads:[~2002-01-12 13:20 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-11 4:01 [RFA/RFC 2] " Pierre Muller
2002-01-11 4:38 ` Eli Zaretskii
2002-01-11 4:57 ` Pierre Muller
2002-01-11 5:58 ` Eli Zaretskii
2002-01-11 5:39 ` Pierre Muller
2002-01-11 6:06 ` Eli Zaretskii
2002-01-11 8:15 ` Pierre Muller
2002-01-11 9:20 ` [RFA/RFC 3] " Pierre Muller
2002-01-12 5:20 ` Mark Kettenis [this message]
2002-01-12 13:16 ` muller
2002-01-13 0:31 ` Eli Zaretskii
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=s3iy9j31zcm.fsf@soliton.wins.uva.nl \
--to=kettenis@science.uva.nl \
--cc=eliz@is.elta.co.il \
--cc=gdb-patches@sources.redhat.com \
--cc=muller@cerbere.u-strasbg.fr \
/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