This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA/RFC 2] Remove hardware break and watchpoints at program exit.
> 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?