aboutsummaryrefslogtreecommitdiff
path: root/gdb/annotate.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-04-21 18:53:48 -0600
committerTom Tromey <tom@tromey.com>2023-05-06 10:38:31 -0600
commit3c0e312054aa6c46f0efba0ab111f83f0ea4caed (patch)
treec3ee6a6e98cdcaa13490496d35a7749c39eb987c /gdb/annotate.h
parent973f18b57cc1c7ba343d02bf766d3b51dedc111b (diff)
downloadfsf-binutils-gdb-3c0e312054aa6c46f0efba0ab111f83f0ea4caed.zip
fsf-binutils-gdb-3c0e312054aa6c46f0efba0ab111f83f0ea4caed.tar.gz
fsf-binutils-gdb-3c0e312054aa6c46f0efba0ab111f83f0ea4caed.tar.bz2
Allow pretty-print of static members
Python pretty-printers haven't applied to static members for quite some time. I tracked this down to the call to cp_print_value_fields in cp_print_static_field -- it doesn't let pretty-printers have a chance to print the value. This patch fixes the problem. The way that static members are handled is very weird to me. I tend to think this should be done more globally, like in value_print. However, I haven't made any big change. Reviewed-by: Keith Seitz <keiths@redhat.com> Tested-by: Keith Seitz <keiths@redhat.com> Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30057
Diffstat (limited to 'gdb/annotate.h')
0 files changed, 0 insertions, 0 deletions