Re: gdb unable to print fn argument correctly

Daniel Jacobowitz
2005-07-21T22:59:51Z

On Thu, Jul 21, 2005 at 05:29:10PM -0500, Manoj Iyer wrote:
> GDB stopped on the instruction at 0x...10000544, which is 10000544: d8
> 3f 00 70 stfd f1,112(r31).

The prologue analyzer must have been invoked. One way to fix the
problem would be to find out why the prologue analyzer stopped before
this instruction. Search for skip_prologue.

> Line Column Address File
> ---- ------ ------- ----
> 1 3 0 0x100004e4 test1.c
> 2 4 0 0x10000510 test1.c
> 3 5 0 0x10000538 test1.c
> 4 9 0 0x10000560 test1.c
> 5 10 0 0x10000574 test1.c
> 6 11 0 0x1000057c test1.c
> 7 12 0 0x10000588 test1.c
> 8 13 0 0x10000594 test1.c
> 9 14 0 0x10000598 test1.c

If this is GCC output, then there ought to be two lines in each
function, the second marking the end of the prologue. Figure out why
there's only one in each of your small functions.