This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA/RFC 2] Remove hardware break and watchpoints at program exit.


At 15:03 11/01/2002 , Eli Zaretskii a écrit:
> > Date: Fri, 11 Jan 2002 14:38:40 +0100
> > From: Pierre Muller <muller@cerbere.u-strasbg.fr>
> > 
> >   The code does already generate a claim for i386 linux:
> > the linux code tries to write the dr registers using ptrace
> > but as the process is already finished, this fails.
> > See i386-linux-nt.c line 741.
>
>Why does the Linux port try to do that after the debuggee has died?

There was no problem before my patch,
because before my patch, 
remove_breakpoint was never called for a dead debuggee.
So its just that the code was not adapted to my change...
Anyway this is no big deal, I will try to send a new patch handling this very soon.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]