diff options
author | Tom Tromey <tom@tromey.com> | 2020-03-13 17:39:52 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-03-13 18:03:41 -0600 |
commit | 40f3ce189e3c16398f2e56442e6d8db5573587ee (patch) | |
tree | e07611d04348489594254787c7592199cf43c9ea /gdb/objc-lang.c | |
parent | 2a5b130bcb6f376b6a28d8378172ed3f9b92e9d9 (diff) | |
download | gdb-40f3ce189e3c16398f2e56442e6d8db5573587ee.zip gdb-40f3ce189e3c16398f2e56442e6d8db5573587ee.tar.gz gdb-40f3ce189e3c16398f2e56442e6d8db5573587ee.tar.bz2 |
Fix generic_val_print_enum for value-based printing
This removes a call to val_print_scalar_formatted from
generic_val_print_enum, preferring to do the work in the callers.
This lets generic_value_print use the value-based API.
gdb/ChangeLog
2020-03-13 Tom Tromey <tom@tromey.com>
* valprint.c (generic_val_print): Update.
(generic_value_print): Update.
* valprint.c (generic_val_print_enum): Don't call
val_print_scalar_formatted.
Diffstat (limited to 'gdb/objc-lang.c')
0 files changed, 0 insertions, 0 deletions