This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Debug problem
- From: John Love-Jensen <eljay at adobe dot com>
- To: Arora Yogesh-a22623 <yogesh dot arora at motorola dot com>
- Cc: MSX to GCC <gcc-help at gcc dot gnu dot org>
- Date: Tue, 10 Jul 2007 11:08:51 -0500
- Subject: 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