Tom de Vries
fdae5c22ce
[gdb/testsuite] Disallow single argument in multi_line
...
It's a common mistake of mine to do:
...
set l [list "foo" "bar"]
set re [multi_line $l]
...
and to get "foo bar" while I was expecting "foo\r\nbar", which I get after
doing instead:
...
set re [multi_line {*}$l]
...
Detect this type of mistake by erroring out in multi_line when only one
argument is passed.
Tested on x86_64-linux.
gdb/testsuite/ChangeLog:
2021-06-08 Tom de Vries <tdevries@suse.de >
* lib/gdb.exp (multi_line): Require more than one argument.
* gdb.base/gdbinit-history.exp: Update multi_line call.
* gdb.base/jit-reader.exp: Remove multi_line call.
* gdb.fortran/dynamic-ptype-whatis.exp: Same.
2021-06-08 17:39:05 +02:00
..
2021-02-12 09:22:17 +00:00
2021-02-12 09:22:17 +00:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-05-11 17:50:00 +05:30
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-18 17:06:12 +00:00
2021-01-01 12:12:21 +04:00
2021-02-25 16:38:03 +00:00
2021-02-25 10:09:11 +00:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-02-25 10:33:12 +00:00
2021-02-25 10:33:12 +00:00
2021-02-25 10:33:12 +00:00
2021-01-01 12:12:21 +04:00
2021-05-17 12:22:19 +05:30
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-03-08 07:28:39 -07:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-02-25 10:07:44 +00:00
2021-06-08 17:39:05 +02:00
2021-04-07 17:19:46 +01:00
2021-01-01 12:12:21 +04:00
2021-02-09 23:28:16 +01:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-03-09 11:34:55 +01:00
2021-01-01 12:12:21 +04:00
2021-01-08 09:54:21 +00:00
2021-01-08 09:54:21 +00:00
2021-01-08 11:52:56 +00:00
2021-01-08 11:52:56 +00:00
2021-02-11 11:32:09 +00:00
2021-02-10 16:03:49 +00:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-02-05 10:56:39 +01:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-02-24 15:51:29 +00:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-03-09 09:45:18 +00:00
2021-03-09 09:45:18 +00:00
2021-03-09 09:51:23 +00:00
2021-03-09 09:51:23 +00:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-03-09 09:51:23 +00:00
2021-03-09 09:51:23 +00:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00
2021-01-01 12:12:21 +04:00