diff options
author | Tom Tromey <tromey@adacore.com> | 2023-09-05 12:30:08 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2023-09-18 12:21:07 -0600 |
commit | 4eaa39a22ddcac55f3b0dbbf5f4200ebff1be343 (patch) | |
tree | 8c611eb64272ab0d51ce05900b420ab9eb199dd1 /gdb/defs.h | |
parent | cf2ab5ef0b716dea512d85276c484fce758fa5d4 (diff) | |
download | fsf-binutils-gdb-4eaa39a22ddcac55f3b0dbbf5f4200ebff1be343.zip fsf-binutils-gdb-4eaa39a22ddcac55f3b0dbbf5f4200ebff1be343.tar.gz fsf-binutils-gdb-4eaa39a22ddcac55f3b0dbbf5f4200ebff1be343.tar.bz2 |
Move val_prettyformat to valprint.h
I stumbled across an ancient FIXME comment that was easy to fix --
val_prettyformat does not need to be in defs.h, and is easily moved to
valprint.h, where (despite what the comment says) it belongs.
Tested by rebuilding.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r-- | gdb/defs.h | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -410,20 +410,6 @@ enum info_proc_what extern unsigned input_radix; extern unsigned output_radix; -/* * Possibilities for prettyformat parameters to routines which print - things. Like enum language, this should be in value.h, but needs - to be here for the same reason. FIXME: If we can eliminate this - as an arg to LA_VAL_PRINT, then we can probably move it back to - value.h. */ - -enum val_prettyformat - { - Val_no_prettyformat = 0, - Val_prettyformat, - /* * Use the default setting which the user has specified. */ - Val_prettyformat_default - }; - /* * Optional native machine support. Non-native (and possibly pure multi-arch) targets do not need a "nm.h" file. This will be a symlink to one of the nm-*.h files, built by the `configure' |