diff options
author | Andrew Burgess <aburgess@redhat.com> | 2023-05-09 15:18:51 +0100 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2023-05-12 10:54:25 +0100 |
commit | a02fcd08ddc5080696248ed7fb4bf50a24763431 (patch) | |
tree | afe702279d9f9812321ca5fb2e0a48d27aaaabb8 /gdb/testsuite/gdb.python/py-prettyprint.py | |
parent | cbd24a9f11feea879c2f1857053854ef329efbd8 (diff) | |
download | binutils-a02fcd08ddc5080696248ed7fb4bf50a24763431.zip binutils-a02fcd08ddc5080696248ed7fb4bf50a24763431.tar.gz binutils-a02fcd08ddc5080696248ed7fb4bf50a24763431.tar.bz2 |
gdb: fix error message for $_gdb_maint_setting
I spotted this behaviour:
(gdb) p $_gdb_maint_setting("xxx")
First argument of $_gdb_maint_setting must be a valid setting of the 'show' command.
Notice that GDB claims I need to use a setting from the 'show'
command, which isn't correct for $_gdb_maint_setting, in this case I
need to use a setting from 'maintenance show'.
This same issue is present for $_gdb_maint_setting_str.
This commit fixes this minor issue.
Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/testsuite/gdb.python/py-prettyprint.py')
0 files changed, 0 insertions, 0 deletions