Tom de Vries
6542e3df20
[gdb/testsuite] Fix gdb.arch/i386-signal.exp on x86_64
...
On x86_64-linux, with test-case gdb.arch/i386-signal.exp I run into:
...
builtin_spawn -ignore SIGHUP gcc -fno-stack-protector i386-signal.c \
-fdiagnostics-color=never -fno-pie -g -no-pie -lm -o i386-signal^M
/tmp/cc2xydTG.s: Assembler messages:^M
/tmp/cc2xydTG.s:50: Error: operand size mismatch for `push'^M
compiler exited with status 1
output is:
/tmp/cc2xydTG.s: Assembler messages:^M
/tmp/cc2xydTG.s:50: Error: operand size mismatch for `push'^M
gdb compile failed, /tmp/cc2xydTG.s: Assembler messages:
/tmp/cc2xydTG.s:50: Error: operand size mismatch for `push'
UNTESTED: gdb.arch/i386-signal.exp: failed to compile
...
This is with gas 2.41, it compiles without problems with gas 2.40. Some more
strict checking was added in commit 5cc007751c ("x86: further adjust
extend-to-32bit-address conditions"). This may or may not be a gas regression
( https://sourceware.org/pipermail/binutils/2023-October/129818.html ).
The offending bit is:
...
" push $sigframe\n"
...
which refers to a function:
...
" .globl sigframe\n"
"sigframe:\n"
...
The test-case passes with target board unix/-m32.
Make the test-case work by using pushq instead of push for the
is_amd64_regs_target case.
Tested on x86_64-linux, with target boards:
- unix/-m64 (is_amd64_regs_target == 1), and
- unix/-m32 (is_amd64_regs_target == 0),
PR testsuite/30928
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30928
2023-10-07 10:33:29 +02:00
..
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:55 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:55 -07:00
2023-01-13 13:18:55 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:55 -07:00
2023-01-01 17:01:16 +04:00
2023-02-21 15:26:24 +01:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:55 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:55 -07:00
2023-01-01 17:01:16 +04:00
2023-02-21 15:26:24 +01:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:55 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-10-04 16:23:40 +01:00
2023-10-04 16:23:40 +01:00
2023-10-04 16:23:40 +01:00
2023-10-04 16:23:40 +01:00
2023-10-04 16:23:40 +01:00
2023-10-04 16:23:41 +01:00
2023-10-04 16:23:41 +01:00
2023-10-04 16:23:40 +01:00
2023-10-04 16:23:40 +01:00
2023-10-04 16:23:40 +01:00
2023-10-04 16:23:40 +01:00
2023-10-04 16:23:40 +01:00
2023-10-04 16:23:40 +01:00
2023-10-04 16:23:40 +01:00
2023-10-04 16:23:40 +01:00
2023-10-04 16:23:40 +01:00
2023-10-04 16:23:40 +01:00
2023-10-04 16:23:40 +01:00
2023-10-04 16:23:41 +01:00
2023-10-04 16:23:40 +01:00
2023-10-04 16:23:40 +01:00
2023-10-04 16:23:40 +01:00
2023-10-04 16:23:40 +01:00
2023-10-04 16:23:40 +01:00
2023-10-04 16:23:41 +01:00
2023-10-04 16:23:41 +01:00
2023-10-04 16:23:40 +01:00
2023-10-04 16:23:40 +01:00
2023-10-04 16:23:40 +01:00
2023-10-04 16:23:40 +01:00
2023-10-04 16:23:40 +01:00
2023-10-04 16:23:40 +01:00
2023-10-04 16:23:40 +01:00
2023-10-04 16:23:40 +01:00
2023-10-04 16:23:40 +01:00
2023-10-04 16:23:40 +01:00
2023-10-04 16:23:40 +01:00
2023-10-04 16:23:41 +01:00
2023-10-04 16:23:41 +01:00
2023-10-04 16:23:40 +01:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:55 -07:00
2023-01-13 13:18:55 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:55 -07:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-26 18:28:31 -07:00
2023-01-26 18:28:31 -07:00
2023-03-08 11:14:18 -05:00
2023-03-08 11:14:18 -05:00
2023-01-26 10:09:44 +01:00
2023-01-01 17:01:16 +04:00
2023-01-26 10:09:44 +01:00
2023-02-17 15:33:18 +01:00
2023-02-17 15:33:18 +01:00
2023-04-06 14:22:10 +01:00
2023-04-07 06:24:20 +01:00
2023-04-07 08:14:52 +02:00
2023-04-06 14:22:10 +01:00
2023-08-08 10:13:58 +02:00
2023-04-06 14:22:10 +01:00
2023-01-26 10:09:44 +01:00
2023-01-01 17:01:16 +04:00
2023-03-15 16:38:03 +01:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-03-15 16:38:03 +01:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-03-15 16:38:03 +01:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-03-15 16:38:03 +01:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-04-27 13:56:38 +01:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-26 10:09:44 +01:00
2023-01-01 17:01:16 +04:00
2023-03-06 16:47:03 -08:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-09-10 21:56:48 -04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-04-27 13:56:38 +01:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-04-27 13:56:38 +01:00
2023-01-01 17:01:16 +04:00
2023-01-26 10:09:44 +01:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-26 10:09:44 +01:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-26 10:09:44 +01:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-26 10:09:44 +01:00
2023-01-01 17:01:16 +04:00
2023-01-26 10:09:44 +01:00
2023-01-01 17:01:16 +04:00
2023-03-15 16:38:03 +01:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-26 10:09:44 +01:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-26 10:09:44 +01:00
2023-01-01 17:01:16 +04:00
2023-01-26 10:09:44 +01:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-03-15 16:38:03 +01:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-26 10:09:44 +01:00
2023-01-01 17:01:16 +04:00
2023-04-11 11:49:07 +01:00
2023-04-11 11:49:07 +01:00
2023-01-26 10:09:44 +01:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:56 -07:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-25 09:02:11 -07:00
2023-01-13 13:18:56 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-04-01 15:42:57 +02:00
2023-07-22 11:00:25 +02:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:56 -07:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-07-10 12:05:21 +01:00
2023-07-03 18:02:26 +01:00
2023-01-13 13:18:55 -07:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-26 18:28:31 -07:00
2023-06-03 22:43:57 +02:00
2023-03-17 19:25:18 +01:00
2023-01-26 18:28:31 -07:00
2023-01-01 17:01:16 +04:00
2023-01-26 18:28:31 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-26 18:28:31 -07:00
2023-01-01 17:01:16 +04:00
2023-08-29 17:27:19 +02:00
2023-03-17 16:06:39 +01:00
2023-03-17 16:06:39 +01:00
2023-03-17 19:25:18 +01:00
2023-01-01 17:01:16 +04:00
2023-01-26 18:28:31 -07:00
2023-01-25 09:02:11 -07:00
2023-01-13 13:18:55 -07:00
2023-01-01 17:01:16 +04:00
2023-04-06 14:22:10 +01:00
2023-04-07 06:24:20 +01:00
2023-04-07 08:14:52 +02:00
2023-06-17 12:28:58 +02:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-26 18:28:31 -07:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-03-15 16:38:03 +01:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-26 18:28:31 -07:00
2023-01-01 17:01:16 +04:00
2023-10-07 10:33:29 +02:00
2023-10-07 10:33:29 +02:00
2023-01-01 17:01:16 +04:00
2023-01-26 18:28:31 -07:00
2023-01-01 17:01:16 +04:00
2023-01-26 18:28:31 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:55 -07:00
2023-01-01 17:01:16 +04:00
2023-03-17 16:06:39 +01:00
2023-03-17 16:06:39 +01:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:55 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-26 18:28:31 -07:00
2023-01-25 09:02:11 -07:00
2023-01-26 18:28:31 -07:00
2023-01-01 17:01:16 +04:00
2023-05-23 10:48:20 +02:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-26 18:28:31 -07:00
2023-01-26 18:28:31 -07:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-26 18:28:31 -07:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-26 18:28:31 -07:00
2023-01-25 09:02:11 -07:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-26 18:28:31 -07:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-06-03 22:43:57 +02:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-26 18:28:31 -07:00
2023-01-01 17:01:16 +04:00
2023-01-26 18:28:31 -07:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-26 18:28:31 -07:00
2023-01-01 17:01:16 +04:00
2023-04-11 10:11:14 +01:00
2023-04-11 10:11:14 +01:00
2023-04-11 10:11:14 +01:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-26 18:28:31 -07:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-26 18:28:31 -07:00
2023-06-16 12:56:32 +02:00
2023-01-13 13:18:56 -07:00
2023-06-16 12:56:32 +02:00
2023-01-01 17:01:16 +04:00
2023-01-26 18:28:31 -07:00
2023-01-13 13:18:56 -07:00
2023-06-16 12:56:32 +02:00
2023-01-26 18:28:31 -07:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00