aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lang.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-05-12 17:04:50 -0600
committerTom Tromey <tom@tromey.com>2018-05-18 13:20:39 -0600
commitce1e8424c69793139ec8d2a60c4a21ab136ae9e0 (patch)
treee642c608031d0e1489652facc7a2378a7041545e /gdb/ada-lang.h
parent7b4ae824289504c173a597e86a00ceab452095b7 (diff)
downloadbinutils-ce1e8424c69793139ec8d2a60c4a21ab136ae9e0.zip
binutils-ce1e8424c69793139ec8d2a60c4a21ab136ae9e0.tar.gz
binutils-ce1e8424c69793139ec8d2a60c4a21ab136ae9e0.tar.bz2
Show padding in ptype/o output
I was recently using ptype/o to look at the layout of some objects in gdb. I noticed that trailing padding was not shown -- but I wanted to be able to look at that, too. This patch changes ptype/o to also print trailing holes. Tested on x86-64 Fedora 26. gdb/ChangeLog 2018-05-18 Tom Tromey <tom@tromey.com> * c-typeprint.c (maybe_print_hole): New function. (c_print_type_struct_field_offset): Update. (c_type_print_base_struct_union): Call maybe_print_hole. gdb/testsuite/ChangeLog 2018-05-18 Tom Tromey <tom@tromey.com> * gdb.base/ptype-offsets.exp: Update.
Diffstat (limited to 'gdb/ada-lang.h')
0 files changed, 0 insertions, 0 deletions