From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22406 invoked by alias); 17 Mar 2006 10:57:14 -0000 Received: (qmail 22398 invoked by uid 22791); 17 Mar 2006 10:57:14 -0000 X-Spam-Check-By: sourceware.org Received: from romy.inter.net.il (HELO romy.inter.net.il) (192.114.186.66) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 17 Mar 2006 10:57:14 +0000 Received: from HOME-C4E4A596F7 (IGLD-84-228-141-3.inter.net.il [84.228.141.3]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id DTQ99490 (AUTH halo1); Fri, 17 Mar 2006 12:57:10 +0200 (IST) Date: Fri, 17 Mar 2006 11:03:00 -0000 Message-Id: From: Eli Zaretskii To: gdb@sourceware.org In-reply-to: <20060316161556.GA14155@nevyn.them.org> (message from Daniel Jacobowitz on Thu, 16 Mar 2006 11:15:56 -0500) Subject: Re: MI: changing breakpoint location Reply-to: Eli Zaretskii References: <20060316160521.GA13476@nevyn.them.org> <200603161911.55098.ghost@cs.msu.su> <20060316161556.GA14155@nevyn.them.org> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-03/txt/msg00118.txt.bz2 > Date: Thu, 16 Mar 2006 11:15:56 -0500 > From: Daniel Jacobowitz > > > How much trouble is it to change breakpoint location in gdb? > > A whole lot more than that. We'd have to destroy most of the existing > breakpoint. Can you explain why? Isn't it enough just to modify the code address stored within the breakpoint structure?