From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15662 invoked by alias); 8 Jan 2003 18:14:36 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 15650 invoked from network); 8 Jan 2003 18:14:32 -0000 Received: from unknown (HELO fw1.coware.com) (208.46.221.194) by 209.249.29.67 with SMTP; 8 Jan 2003 18:14:32 -0000 Received: from CoWare.com (coware1 [192.168.1.102]) by fw1.coware.com (8.11.6+Sun/8.11.4) with ESMTP id h08IELe16111; Wed, 8 Jan 2003 10:14:21 -0800 (PST) Received: from gleekxp (dhcp209.coware.com [192.168.1.209]) by CoWare.com (8.11.1/8.11.4) with SMTP id h08IELh02834; Wed, 8 Jan 2003 10:14:21 -0800 (PST) From: "Sunil Alankar" To: "Daniel Jacobowitz" Cc: Subject: RE: GDB 5.2/5.3 breakpoint bug Date: Wed, 08 Jan 2003 18:14:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <20030108173042.GA22279@nevyn.them.org> X-SW-Source: 2003-01/txt/msg00083.txt.bz2 Yes. GDB 5.1 sets break point on func() with the same binary/compiler. 5.2 and 5.3 also work on Linux but have problems on Solaris. --Sunil -----Original Message----- From: Daniel Jacobowitz [mailto:drow@mvista.com] Sent: Wednesday, January 08, 2003 9:31 AM To: Sunil Alankar Cc: gdb@sources.redhat.com Subject: Re: GDB 5.2/5.3 breakpoint bug On Sun, Jan 05, 2003 at 03:07:04PM -0800, Sunil Alankar wrote: > //------------------------------------------------------------- > #include > > SC_MODULE(top) > { > public: > > sc_in_clk iclk; > > void func() > { > printf ("."); > } > > SC_CTOR(top) > { > SC_METHOD(func); > sensitive_pos << iclk; > dont_initialize(); > } > }; Func is an inline method. Does gdb 5.1 really set a breakpoint on it? Using the exact same binary and compiler? I find that pretty surprising, since there is no symbol for it anywhere; GDB's support for inline methods is pretty lousy right now. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer