| commit | 4fa173cfd79f8a00c091f8a5a119bc2b064cc716 | [log] [tgz] |
|---|---|---|
| author | Tom de Vries <tdevries@suse.de> | Mon Apr 24 22:08:53 2023 +0200 |
| committer | Tom de Vries <tdevries@suse.de> | Mon Apr 24 22:08:53 2023 +0200 |
| tree | 86500b55fffd9c3be37d4b8660cdd5cfef51ce91 | |
| parent | 41966608a1ee2bde59772c41aae6ec95b309ff26 [diff] |
[gdb/testsuite] Fix -wrap in presence of -prompt in gdb_test_multiple While writing a gdb_test_multiple call in a test-case I tried to use -wrap in combination with -prompt and found out that it doesn't work, because -wrap uses "$gdb_prompt $" instead of $prompt_regexp. Fix this by making -wrap use $prompt_regexp. Tested on x86_64-linux.