From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22095 invoked by alias); 8 Sep 2007 16:40:29 -0000 Received: (qmail 22086 invoked by uid 22791); 8 Sep 2007 16:40:29 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 08 Sep 2007 16:40:25 +0000 Received: (qmail 13645 invoked from network); 8 Sep 2007 16:40:23 -0000 Received: from unknown (HELO h38.net64.aknet.ru) (vladimir@127.0.0.2) by mail.codesourcery.com with ESMTPA; 8 Sep 2007 16:40:23 -0000 From: Vladimir Prus To: "Nathan J. Williams" Subject: Re: [0/9] Breakpoints at multiple locations Date: Sat, 08 Sep 2007 16:40:00 -0000 User-Agent: KMail/1.9.6 Cc: Eli Zaretskii , gdb-patches@sources.redhat.com References: <200709080011.13700.vladimir@codesourcery.com> <200709081831.47826.vladimir@codesourcery.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200709082040.13832.vladimir@codesourcery.com> 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: 2007-09/txt/msg00126.txt.bz2 On Saturday 08 September 2007 20:27:00 Nathan J. Williams wrote: > Vladimir Prus writes: > > > When the library is unloaded, we'll get: > > > > Num Type Disp Enb Address What > > 1 breakpoint keep y(p) 0xb7fb6412 bp3b.c:7 > > Are we really sure that the library will be reloaded to the same > address, in general? It won't be in general. The address above is basically the last address the breakpoint had. When the library is reloaded, the address may change. I have no opinion whether showing last address is good thing, but that's what current version of gdb does. - Volodya