Re: Debug problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Arora Yogesh-a22623" <yogesh.arora@xxxxxxxxxxxx> writes:

> To illustrate I am sending my gdb log
> 
> (gdb) b Class1::Class1
> [0] cancel
> [1] all
> [2] Class1::Class1(char const*, char const*, unsigned int) at
> Class1.cpp:10
> [3] Class1::Class1$base(char const*, char const*, unsigned int) at
> Class1.cpp:10
> > 1
> Breakpoint 2 at 0x6d2ba0: file Class1.cpp, line 10.
> Breakpoint 3 at 0x6d2a54: file Class1.cpp, line 10.
> warning: Multiple breakpoints were set.
> warning: Use the "delete" command to delete unwanted breakpoints.
> (gdb) c
> Continuing.
>  
> Breakpoint 2, 0x006d2ba0 in Class1::Class1()
>     at /disk1/src/Class2.cpp:37
> 37      Class2::Class2()
> (gdb)

In the absence of a test case, this seems normal enough to me.

See http://gcc.gnu.org/onlinedocs/gcc/Vague-Linkage.html.

Is it a problem?

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux