Implement pahole-like 'ptype /o' option
[deliverable/binutils-gdb.git] / gdb / NEWS
index bd5ae36dd049bdbfb34aa2869ec1be1e70e13295..3a7e704cc65780b402dcea57693d08e883136f67 100644 (file)
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -3,6 +3,9 @@
 
 *** Changes since GDB 8.0
 
+* The 'ptype' command now accepts a '/o' flag, which prints the
+  offsets and sizes of fields in a struct, like the pahole(1) tool.
+
 * New "--readnever" command line option instructs GDB to not read each
   symbol file's symbolic debug information.  This makes startup faster
   but at the expense of not being able to perform symbolic debugging.
This page took 0.02498 seconds and 4 git commands to generate.