This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: GDB 5.2/5.3 breakpoint bug
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Sunil Alankar <sunil dot alankar at coware dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Wed, 8 Jan 2003 12:30:42 -0500
- Subject: Re: GDB 5.2/5.3 breakpoint bug
- References: <IMEGIEBLGLIOEGOLAFIEGELNCEAA.sunil.alankar@coware.com> <IMEGIEBLGLIOEGOLAFIEIELOCEAA.sunil.alankar@coware.com>
On Sun, Jan 05, 2003 at 03:07:04PM -0800, Sunil Alankar wrote:
> //-------------------------------------------------------------
> #include <systemc.h>
>
> 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