From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12109 invoked by alias); 23 Dec 2009 03:09:43 -0000 Received: (qmail 12101 invoked by uid 22791); 23 Dec 2009 03:09:42 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-px0-f183.google.com (HELO mail-px0-f183.google.com) (209.85.216.183) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 23 Dec 2009 03:09:37 +0000 Received: by pxi13 with SMTP id 13so884118pxi.24 for ; Tue, 22 Dec 2009 19:09:36 -0800 (PST) MIME-Version: 1.0 Received: by 10.143.27.12 with SMTP id e12mr6349833wfj.221.1261537776126; Tue, 22 Dec 2009 19:09:36 -0800 (PST) In-Reply-To: References: From: Hui Zhu Date: Wed, 23 Dec 2009 03:09:00 -0000 Message-ID: Subject: Re: [RFC] Add support of software single step to process record To: tromey@redhat.com Cc: gdb-patches ml , Michael Snyder , shuchang zhou , paawan oza Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-12/txt/msg00353.txt.bz2 Faint. Shuchang told me this patch cannot be used. I just tried find out why it happen. Thanks a lot. :) Best Regards, Hui On Wed, Dec 23, 2009 at 02:23, Tom Tromey wrote: > > >>>>> ">" =3D=3D Hui Zhu writes: > > >> This patch to make prec support software single step. > >> I just try it with i386. =A0Shuchang, please help me try it on mips. = =A0:) > > >> +int > >> +inserted_single_step_breakpoint_p (void) > >> +{ > >> + =A0if (single_step_breakpoints[0] !=3D NULL > >> + =A0 =A0 =A0|| single_step_breakpoints[1] !=3D NULL) > >> + =A0 =A0return 1; > >> + > >> + =A0return 1; > >> +} > > This always returns 1. > That seems suspicious to me. > > Tom