From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20172 invoked by alias); 8 Jan 2003 18:24:17 -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 19844 invoked from network); 8 Jan 2003 18:23:55 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by 209.249.29.67 with SMTP; 8 Jan 2003 18:23:53 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 18WMjd-00009H-00; Wed, 08 Jan 2003 14:23:33 -0600 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 18WKrD-0007HR-00; Wed, 08 Jan 2003 13:23:15 -0500 Date: Wed, 08 Jan 2003 18:24:00 -0000 From: Daniel Jacobowitz To: Sunil Alankar Cc: gdb@sources.redhat.com Subject: Re: GDB 5.2/5.3 breakpoint bug Message-ID: <20030108182315.GA27967@nevyn.them.org> Mail-Followup-To: Sunil Alankar , gdb@sources.redhat.com References: <20030108173042.GA22279@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i X-SW-Source: 2003-01/txt/msg00085.txt.bz2 I don't have access to Solaris, and I can't see how this would work; can you send me (privately) a compiled binary that GDB 5.1 can insert the breakpoint in? On Wed, Jan 08, 2003 at 10:10:05AM -0800, Sunil Alankar wrote: > 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 > > -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer