I compiled this with -g: pokyo. cat r.c struct x { int a; float b; char c; }; struct x x; Then in gdb I used pahole. The output is pretty ugly, I suppose fallout from making it python3 compatible. (gdb) pahole struct x struct x { /* 0 4 */ int a /* 4 4 */ float b /* 8 1 */ char c /* XXX 24 bit hole, try to pack */ } Making it more like the real pahole would be nice. That's how it used to work. pokyo. pahole --class_name=x r.o struct x { int a; /* 0 4 */ float b; /* 4 4 */ char c; /* 8 1 */ /* size: 12, cachelines: 1, members: 3 */ /* padding: 3 */ /* last cacheline: 12 bytes */ };
gdb-7.9.1-19.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-16181
gdb-7.10-23.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-16182
gdb-7.10-23.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update gdb' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-16182
gdb-7.10-23.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
gdb-7.9.1-19.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update gdb' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-16181
gdb-7.9.1-19.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.