gdb function signature differs from declaration

Tom Tromey tromey@redhat.com
Fri Mar 14 18:08:00 GMT 2014


>>>>> "Joël" == Joël Krähemann <weedlight@gmail.com> writes:

Joël> The last stack entry #0 is missing a parameter what could cause this?

My first suspects would be either that the program is out of date with
respect to the source, or that the debuginfo generated by the compiler
is incorrect.

You can check the latter, perhaps with some difficulty (sorry), using
readelf -wi and searching for the function in question.

Tom



More information about the Gdb mailing list