Integer arguments passed to inferior's functions
Eli Zaretskii
eliz@gnu.org
Sun Oct 30 10:07:00 GMT 2011
If I type
(gdb) call foo(1)
what will be the type of the argument GDB will pass to `foo'? Will
GDB look up the function signature or will it use some default?. If
the former, what happens when the signature is unknown or unavailable?
If the latter, how is that default computed? does it depend on the
inferior's architecture, for instance?
Apologies if this is in the manual and I missed it; at least the node
"Calling" keeps silent about this issue.
TIA
More information about the Gdb
mailing list