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


Hi Yogesh,

> 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()


Hi Yogesh,

Can you give a small example showing the problem?

I would like to try to compile the source code and reproduce the problem you
are seeing, on my machine.

Also, what version of GCC and gdb are you using, on what platform?  (My
apologies if you already provided this information previously.)

Thanks,
--Eljay


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]