From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25778 invoked by alias); 7 Sep 2007 22:18:29 -0000 Received: (qmail 25770 invoked by uid 22791); 7 Sep 2007 22:18:28 -0000 X-Spam-Check-By: sourceware.org Received: from ics.u-strasbg.fr (HELO ics.u-strasbg.fr) (130.79.112.250) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 07 Sep 2007 22:18:22 +0000 Received: from ICSMULLER (unknown [130.79.244.149]) by ics.u-strasbg.fr (Postfix) with ESMTP id E647018701A; Sat, 8 Sep 2007 00:23:31 +0200 (CEST) From: "Pierre Muller" To: "'Vladimir Prus'" Cc: References: <200709080011.13700.vladimir@codesourcery.com> In-Reply-To: <200709080011.13700.vladimir@codesourcery.com> Subject: RE: [0/9] Breakpoints at multiple locations Date: Fri, 07 Sep 2007 22:18:00 -0000 Message-ID: <001601c7f19d$084b98c0$18e2ca40$@u-strasbg.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Content-Language: en-us 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/msg00095.txt.bz2 > -----Original Message----- > From: gdb-patches-owner@sourceware.org [mailto:gdb-patches- > owner@sourceware.org] On Behalf Of Vladimir Prus > Sent: Friday, September 07, 2007 10:11 PM > To: gdb-patches@sources.redhat.com > Subject: [0/9] Breakpoints at multiple locations > > > At the moment, gdb assumes that a code breakpoint has > a single PC value. One case where it does not work > is C++ constructors -- GCC generates several function > bodies, and GDB sets breakpoint on just one of them, > so breakpoints in constructors don't work reliably. > Another case is C++ templates -- if I set a breakpoint > on a line in template function, there's unbounded number > of template instantiations that have this line, but GDB > cannot set breakpoints on all of them. Another case is pascal (and probably other languages) that allow overloading of functions, i.e. to implement several flavors of a same name function, differing by their parameters. So I will be most happy about this change inside gdb. Pierre Muller Pascal language maintainer.