This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Integer arguments passed to inferior's functions


On Sun, 30 Oct 2011 19:17:07 +0100, Eli Zaretskii wrote:
> And 1 is an int because it has no l/ll qualifier?

I think so:

(gdb) ptype 1
type = int
(gdb) ptype 1L
type = long
(gdb) ptype 1LL
type = long long


Regards,
Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]