This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Debug problem


"Arora Yogesh-a22623" <yogesh.arora@motorola.com> 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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]