aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli/cli-utils.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2019-06-13 00:06:52 +0100
committerPedro Alves <palves@redhat.com>2019-06-13 00:09:37 +0100
commit48c410fb70fe09c036e27092880db687e5c2fb0b (patch)
tree443b8726ad4152a7427ee422267ba29bc7f91354 /gdb/cli/cli-utils.h
parent93bcb04349eb500781747a542ececc7a8ba3bd95 (diff)
downloadbinutils-48c410fb70fe09c036e27092880db687e5c2fb0b.zip
binutils-48c410fb70fe09c036e27092880db687e5c2fb0b.tar.gz
binutils-48c410fb70fe09c036e27092880db687e5c2fb0b.tar.bz2
Fix "set enum-command value junk"
With enum commands, we currently fail to notice junk after the value. Currently: (gdb) set print entry-values compact foo (gdb) show print entry-values foo Printing of function arguments at function entry is "compact". After this fix: (gdb) set print entry-values compact foo Junk after item "compact": foo gdb/ChangeLog: 2019-06-13 Pedro Alves <palves@redhat.com> * cli/cli-setshow.c (do_set_command) <var_enum>: Detect junk after item.
Diffstat (limited to 'gdb/cli/cli-utils.h')
0 files changed, 0 insertions, 0 deletions