From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11215 invoked by alias); 9 Jan 2002 09:21:13 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 11100 invoked from network); 9 Jan 2002 09:21:09 -0000 Received: from unknown (HELO is.elta.co.il) (199.203.121.2) by sources.redhat.com with SMTP; 9 Jan 2002 09:21:09 -0000 Received: from is (is [199.203.121.2]) by is.elta.co.il (8.9.3/8.8.8) with SMTP id LAA01447; Wed, 9 Jan 2002 11:20:19 +0200 (IST) Date: Wed, 09 Jan 2002 01:21:00 -0000 From: Eli Zaretskii X-Sender: eliz@is To: Pierre Muller cc: gdb-patches@sources.redhat.com Subject: Re: [RFA/RFC] Add i386_cleanup_dregs at program exit. In-Reply-To: <4.2.0.58.20020109091949.00a49380@ics.u-strasbg.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2002-01/txt/msg00164.txt.bz2 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.