aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb-demangle.c
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2022-11-16 11:19:48 +0100
committerTom de Vries <tdevries@suse.de>2022-11-16 11:19:48 +0100
commitfeb5926e8a85837e97c268af53db743b545957f5 (patch)
treeef265a567282a7ff7a4fb85b57305ca071d9ef3b /gdb/gdb-demangle.c
parent24eb586f5c5ec119424b7bede66ada9cc94cace4 (diff)
downloadgdb-feb5926e8a85837e97c268af53db743b545957f5.zip
gdb-feb5926e8a85837e97c268af53db743b545957f5.tar.gz
gdb-feb5926e8a85837e97c268af53db743b545957f5.tar.bz2
[gdb/testsuite] Modernize gdb.arch/i386-biarch-core.exp
I noticed in test-case gdb.arch/i386-biarch-core.exp that we run into the completion limit for "complete set gnutarget": ... set gnutarget vms-libtxt^M set gnutarget *** List may be truncated, max-completions reached. ***^M (gdb) PASS: gdb.arch/i386-biarch-core.exp: complete set gnutarget ... Fix this by using get_set_option_choices. Also use get_set_option_choices for "complete set architecture i386", which required extending get_set_option_choices to accept a second argument, such that we can do: ... set archs [get_set_option_choices "set architecture" "i386"] ... because this returns an empty list: ... set archs [get_set_option_choices "set architecture i386"] ... because it does "complete set architecture i386 ". Also clean up the explicit gdb_exit/gdb_start and use clean_restart instead. Tested on x86_64-linux.
Diffstat (limited to 'gdb/gdb-demangle.c')
0 files changed, 0 insertions, 0 deletions