diff options
author | Andrew Burgess <aburgess@redhat.com> | 2024-01-17 09:53:16 +0000 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2024-01-17 15:33:47 +0000 |
commit | 52498004a34dfa4bc55fbf791a4ed4e81599a436 (patch) | |
tree | 5794b2e74b8334e7363243663d40df980781aa14 /sim/m68hc11 | |
parent | 2002c0099f9fb4d737930acd66733cfad39f68f1 (diff) | |
download | gdb-52498004a34dfa4bc55fbf791a4ed4e81599a436.zip gdb-52498004a34dfa4bc55fbf791a4ed4e81599a436.tar.gz gdb-52498004a34dfa4bc55fbf791a4ed4e81599a436.tar.bz2 |
gdb/testsuite: handle long filenames in gdb.base/startup-with-shell.exp
I got a report of a failure from Linaro's CI testing for the test
gdb.base/startup-with-shell.exp.
Looking at the log I see this:
(gdb) PASS: gdb.base/startup-with-shell.exp: startup_with_shell = on; run_args = *.unique-extension: inferior started
print argv[1]
$1 = 0xfffed978 "/home/tcwg-build/workspace/tcwg_gnu_4/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gdb-gdb.git~master/gdb/testsuite/outputs/gdb.base/startup-with-shell/unique-file.unique-e"...
(gdb) FAIL: gdb.base/startup-with-shell.exp: startup_with_shell = on; run_args = *.unique-extension: first argument expanded
Notice that the value of $1 was truncated (indicated by the trailing
ellipses), and as a result it isn't going to match the expected output
pattern.
Avoid this by adding a call to 'set print characters unlimited' which
allows GDB to print strings of any length.
Approved-By: Tom de Vries <tdevries@suse.de>
Diffstat (limited to 'sim/m68hc11')
0 files changed, 0 insertions, 0 deletions