public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* sizeof
@ 2022-05-08 15:22 Russell Shaw
  2022-05-08 17:29 ` sizeof Simon Marchi
  0 siblings, 1 reply; 15+ messages in thread
From: Russell Shaw @ 2022-05-08 15:22 UTC (permalink / raw)
  To: GDB mailing list

When inspecting a C++ file, i get:

(gdb) p sizeof(int())
$82 = 1

(gdb) p sizeof(int)
$83 = 4

Not right ?

Package: gdb
Version: 11.2-1
on debian

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

end of thread, other threads:[~2022-05-11 17:44 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-08 15:22 sizeof Russell Shaw
2022-05-08 17:29 ` sizeof Simon Marchi
2022-05-08 17:48   ` sizeof Andreas Schwab
2022-05-09  7:21   ` sizeof Russell Shaw
2022-05-09  7:35     ` sizeof Andreas Schwab
2022-05-10  3:46     ` sizeof Russell Shaw
2022-05-10  7:22       ` sizeof Andreas Schwab
2022-05-10 14:20         ` sizeof Russell Shaw
2022-05-10 14:48           ` sizeof Andreas Schwab
2022-05-10 15:43           ` sizeof Russell Shaw
2022-05-10 15:48           ` sizeof Russell Shaw
2022-05-10 16:06             ` sizeof Andreas Schwab
2022-05-11  5:38             ` sizeof Russell Shaw
2022-05-11  8:16               ` sizeof Russell Shaw
2022-05-11 17:44                 ` sizeof Russell Shaw

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).