From: Pierre Muller <muller@cerbere.u-strasbg.fr>
To: Eli Zaretskii <eliz@is.elta.co.il>,
Pierre Muller <muller@cerbere.u-strasbg.fr>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFA/RFC] Add i386_cleanup_dregs at program exit.
Date: Wed, 09 Jan 2002 01:25:00 -0000 [thread overview]
Message-ID: <4.2.0.58.20020109102139.020a5d80@ics.u-strasbg.fr> (raw)
In-Reply-To: <Pine.SUN.3.91.1020109111745.655I-100000@is>
At 10:20 09/01/2002 , Eli Zaretskii a écrit:
>On Wed, 9 Jan 2002, Pierre Muller wrote:
>
> > The patch simply calls i386_cleanup_dregs
> > in breakpoint_init_inferior if context is inf_exited.
>
>Is this really necessary? Why do we need to propagate processor-specific
>issues into breakpoint.c?
Because there is no i386 common code that is called at program exit,
so otherwise this would need a much bigger change, with adding processor specific
mourn_inferior functions for OS that have a generic one
like linux.
>I thought there was a simpler solution back when we discussed this.
>Something that would leave this issue where it belongs: in the
>x86-specific files.
>
> > I have no idea if other processor might need a similar
> > cleanup of debug registers
>
>They probably don't, since we didn't hear anything from their users.
But they might wake up later....
Pierre Muller
Institut Charles Sadron
6,rue Boussingault
F 67083 STRASBOURG CEDEX (France)
mailto:muller@ics.u-strasbg.fr
Phone : (33)-3-88-41-40-07 Fax : (33)-3-88-41-40-99
next prev parent reply other threads:[~2002-01-09 9:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-09 1:13 Pierre Muller
2002-01-09 1:21 ` Eli Zaretskii
2002-01-09 1:25 ` Pierre Muller [this message]
2002-01-09 2:19 ` 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=4.2.0.58.20020109102139.020a5d80@ics.u-strasbg.fr \
--to=muller@cerbere.u-strasbg.fr \
--cc=eliz@is.elta.co.il \
--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