From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27441 invoked by alias); 30 Jan 2012 13:19:19 -0000 Received: (qmail 27433 invoked by uid 22791); 30 Jan 2012 13:19:18 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 30 Jan 2012 13:19:06 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id A9DFA2BAE72; Mon, 30 Jan 2012 08:19:05 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Z7ULnP-trBKW; Mon, 30 Jan 2012 08:19:05 -0500 (EST) Received: from [127.0.0.1] (kwai.gnat.com [205.232.38.4]) by rock.gnat.com (Postfix) with ESMTP id 29EC12BAE69; Mon, 30 Jan 2012 08:19:05 -0500 (EST) Message-ID: <4F2698C8.9030205@adacore.com> Date: Mon, 30 Jan 2012 13:19:00 -0000 From: Robert Dewar User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: Kevin Pouget CC: Jan Kratochvil , Xin Tong , gdb@sourceware.org Subject: Re: software breakpoint in gdb References: <20120129165303.GA18465@host2.jankratochvil.net> <4F25EA26.8020901@adacore.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 2012-01/txt/msg00115.txt.bz2 On 1/30/2012 12:54 AM, Kevin Pouget wrote: > I would be curious about why it would be "a disastrous mistake". If the breakpoint instruction took more than one insturction, what would happenb to a jump that jumnped to the second instruction? > > Thnaks, > > Kevin