From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4774 invoked by alias); 27 May 2011 10:50:43 -0000 Received: (qmail 4756 invoked by uid 22791); 27 May 2011 10:50:42 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST X-Spam-Check-By: sourceware.org Received: from mail-gw0-f41.google.com (HELO mail-gw0-f41.google.com) (74.125.83.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 27 May 2011 10:50:28 +0000 Received: by gwaa12 with SMTP id a12so882476gwa.0 for ; Fri, 27 May 2011 03:50:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.236.80.69 with SMTP id j45mr2785301yhe.373.1306493428094; Fri, 27 May 2011 03:50:28 -0700 (PDT) Received: by 10.236.111.40 with HTTP; Fri, 27 May 2011 03:50:27 -0700 (PDT) In-Reply-To: References: <20110505162855.GA2546@adacore.com> <83bozgmhil.fsf@gnu.org> Date: Fri, 27 May 2011 10:50:00 -0000 Message-ID: Subject: Re: [RFC] canonical linespec and multiple breakpoints ... From: Matt Rice To: Tom Tromey Cc: Eli Zaretskii , brobecker@adacore.com, gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 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: 2011-05/txt/msg00627.txt.bz2 On Thu, May 26, 2011 at 2:05 PM, Tom Tromey wrote: > Right now only a `file:line' breakpoint can have multiple locations. possibly semantics, but I also noticed that this works with `file:label', in the case of assembly with debuginfo when running add-symbol-file, and debugging across kernel relocation process using qemu. e.g. 3 breakpoint keep y 0x80200044 ../../kernel/lostart.S:156 (gdb) c .... 3.1 y 0x80200044 ../../kernel/lostart.S:156 3.2 y 0x80000044 ../../kernel/lostart.S:156 .... (gdb) c 3.1 y 0x80200044 ../../kernel/lostart.S:156 3.2 y 0x80000044 ../../kernel/lostart.S:156 3.3 y 0xfe000044 ../../kernel/lostart.S:156