From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26088 invoked by alias); 16 Aug 2002 23:05:23 -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 26080 invoked from network); 16 Aug 2002 23:05:22 -0000 Received: from unknown (HELO takamaka.act-europe.fr) (142.179.108.108) by sources.redhat.com with SMTP; 16 Aug 2002 23:05:22 -0000 Received: by takamaka.act-europe.fr (Postfix, from userid 507) id 1EB01D2CBD; Fri, 16 Aug 2002 16:05:24 -0700 (PDT) Date: Fri, 16 Aug 2002 16:05:00 -0000 From: Joel Brobecker To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] enable software single step on alpha-osf Message-ID: <20020816230524.GT906@gnat.com> References: <20020718203205.GB26990@gnat.com> <3D4DBBC8.5000906@ges.redhat.com> <20020805184920.GC892@gnat.com> <3D5D323A.2030801@ges.redhat.com> <20020816182141.GJ906@gnat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020816182141.GJ906@gnat.com> User-Agent: Mutt/1.4i X-SW-Source: 2002-08/txt/msg00468.txt.bz2 > 2 - However I should hold this change for now because you think I should > write the adjusted PC value back to the target, by adding something > like "write_pc_pid (stop_pc, ecs->ptid)" > > I will verify the impact of such a change, and report. Good news :). Adding this does not introduce any regression, so no red dragon lurking so far... > 3 - Assuming we get all issues in this RFA resolved, then I will start > looking at the addition of the software_singlestep flag. I am starting to work on this one. I suggest for this RFA to: - define a new boolean software_singlestep_p - set it at the same time we adjust the PC when detecting sw single step. - Change the value of not_a_sw_breakpoint in the call to bpstat_stop_status() to prepend a "sw_single_step_p ||". As a next patch, we would add a new sw_single_step_p parameter to bpstat_stop_status() to pass this value separately. -- Joel