Fix generic_val_print_enum for value-based printing
authorTom Tromey <tom@tromey.com>
Fri, 13 Mar 2020 23:39:52 +0000 (17:39 -0600)
committerTom Tromey <tom@tromey.com>
Sat, 14 Mar 2020 00:03:41 +0000 (18:03 -0600)
commit40f3ce189e3c16398f2e56442e6d8db5573587ee
treee07611d04348489594254787c7592199cf43c9ea
parent2a5b130bcb6f376b6a28d8378172ed3f9b92e9d9
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.
gdb/ChangeLog
gdb/valprint.c
This page took 0.026954 seconds and 4 git commands to generate.