From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21805 invoked by alias); 25 Mar 2009 13:17:57 -0000 Received: (qmail 21331 invoked by uid 22791); 25 Mar 2009 13:17:56 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 25 Mar 2009 13:17:53 +0000 Received: (qmail 18719 invoked from network); 25 Mar 2009 13:17:50 -0000 Received: from unknown (HELO orlando) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 25 Mar 2009 13:17:50 -0000 From: Pedro Alves To: Mark Kettenis Subject: Re: RFC: Program Breakpoints Date: Wed, 25 Mar 2009 13:17:00 -0000 User-Agent: KMail/1.9.10 Cc: gdb@sourceware.org, drow@false.org, ross@tensilica.com References: <200903242348.22395.pedro@codesourcery.com> <200903250757.n2P7vQod004081@brahms.sibelius.xs4all.nl> In-Reply-To: <200903250757.n2P7vQod004081@brahms.sibelius.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200903251318.06153.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-03/txt/msg00154.txt.bz2 On Wednesday 25 March 2009 07:57:26, Mark Kettenis wrote: > These statements are all rather i386-centric. =A0 These were examples, not statements of all-truth. I mentioned ppc-linux, and darwin; you meant hardware-single-stepping-centric. > Especially on targets=20 > that emulate single-stepping it may be impossible to distinguish. =A0GDB > should not depend on the ability to do so. If it's impossible to distinguish for some reason, then the target would still report SIGTRAP-means-all, like today. When the distinction on the debug api side is buggy and inconsistent, then GDB is better off without it. --=20 Pedro Alves