public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Integer arguments passed to inferior's functions
@ 2011-10-30 10:07 Eli Zaretskii
  2011-10-30 13:51 ` Jan Kratochvil
  0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2011-10-30 10:07 UTC (permalink / raw)
  To: gdb

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-10-30 18:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-30 10:07 Integer arguments passed to inferior's functions Eli Zaretskii
2011-10-30 13:51 ` Jan Kratochvil
2011-10-30 18:22   ` Eli Zaretskii
2011-10-30 19:06     ` Jan Kratochvil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).