Mail Archives: djgpp/2015/06/30/12:42:25
> Date: Mon, 29 Jun 2015 15:00:30 -0700 (PDT)
> From: "Juan Manuel Guerrero (juan DOT guerrero AT gmx DOT de)" <djgpp AT delorie DOT com>
>
> OFYI, I have compiled gdb 7.0 using gcc346, bnu225br2 and djdev203 and the test program fails the same way for coff debug format. It seems to be something different than djdev205.
Yes, I see the same with my old snapshot of GDB 7.0: I cannot step
into the 'print' function, unless I use "stepi". then I see this:
0x00001611 16 bytes = print(message);
(gdb) si
0x000015ac in print (message=0x8f950 "qwertz")
(gdb) n
Single stepping until exit from function print,
which has no line number information.
This is the message: "qwertz"
main () at a.c:17
17 return bytes;
So the problem is that GCC doesn't produce line number information for
GDB to use in this case.
Anyway, please try to debug larger programs. If that works, it's good
enough.
Thanks.
- Raw text -