[RFA/RFC] Add i386_cleanup_dregs at program exit.

Eli Zaretskii eliz@is.elta.co.il
Wed Jan 9 01:21:00 GMT 2002


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?

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.



More information about the Gdb-patches mailing list