sizeof

Russell Shaw
2022-05-08T15:23:23Z

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