Tom de Vries
df3b9a6dfa
[gdb/testsuite] Fix gdb.base/step-over-exit.exp with glibc debuginfo
...
In test-case gdb.base/step-over-exit.exp, we set a breakpoint on _exit and
continue, expecting to hit the breakpoint.
Without glibc debug info installed, we have with target board unix/-m64:
...
Thread 2.1 "step-over-exit" hit Breakpoint 2.2, 0x00007ffff7d46aee in \
_exit () from /lib64/libc.so.6^M
(gdb) PASS: gdb.base/step-over-exit.exp: continue to exit
...
and with target board unix/-m32:
...
Thread 2.1 "step-over-exit" hit Breakpoint 2.2, 0xf7d84c25 in _exit () from \
/lib/libc.so.6^M
(gdb) PASS: gdb.base/step-over-exit.exp: continue to exit
...
However after installing debug info (packages glibc-debuginfo and
glibc-32bit-debuginfo), we have for -m64 (note: __GI__exit instead of _exit):
...
Thread 2.1 "step-over-exit" hit Breakpoint 2.2, \
__GI__exit (status=<optimized out>) at \
../sysdeps/unix/sysv/linux/_exit.c:27^M
27 {^M
(gdb) PASS: gdb.base/step-over-exit.exp: continue to exit
...
and -m32 (note: _Exit instead of _exit):
...
Thread 2.1 "step-over-exit" hit Breakpoint 2.2, _Exit () at \
../sysdeps/unix/sysv/linux/i386/_exit.S:24^M
24 ../sysdeps/unix/sysv/linux/i386/_exit.S: No such file or directory.^M
(gdb) FAIL: gdb.base/step-over-exit.exp: continue to exit
...
The gdb_test allows for both _exit and __GI__exit, but not _Exit:
...
gdb_test "continue" \
"Continuing\\..*Breakpoint $decimal.*_exit \\(.*\\).*" \
"continue to exit"
...
Fix this by allowing _Exit as well.
Tested on x86_64-linux.
2023-06-14 17:39:34 +02:00
..
2023-03-18 17:50:56 +01:00
2023-02-28 10:56:28 +00:00
2023-04-06 16:52:34 +01:00
2023-06-03 22:43:57 +02:00
2023-03-10 08:21:46 -07:00
2023-03-18 10:16:30 +01:00
2023-03-18 10:16:30 +01:00
2023-02-15 20:58:10 +00:00
2023-03-03 14:13:00 -05:00
2023-06-03 22:43:57 +02:00
2023-05-12 13:45:52 +01:00
2023-03-10 08:21:46 -07:00
2023-04-03 14:46:32 +01:00
2023-04-03 14:46:32 +01:00
2023-03-10 08:21:46 -07:00
2023-06-03 22:43:57 +02:00
2023-05-19 10:15:01 +01:00
2023-03-07 15:20:18 +01:00
2023-06-03 22:43:57 +02:00
2023-03-18 17:50:56 +01:00
2023-03-18 17:50:56 +01:00
2023-04-27 13:56:37 +01:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-18 17:50:56 +01:00
2023-03-18 17:50:56 +01:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-02-27 19:12:28 +00:00
2023-03-18 17:50:56 +01:00
2023-03-18 17:50:56 +01:00
2023-03-10 08:21:46 -07:00
2023-04-03 14:46:32 +01:00
2023-03-10 08:21:46 -07:00
2023-03-06 16:55:22 -08:00
2023-03-06 16:55:22 -08:00
2023-04-27 13:56:37 +01:00
2023-03-10 08:21:46 -07:00
2023-04-27 13:56:34 +01:00
2023-05-05 17:59:21 +01:00
2023-04-27 13:56:38 +01:00
2023-02-23 12:50:30 -07:00
2023-06-05 12:53:15 +02:00
2023-03-03 16:51:57 +01:00
2023-03-03 16:51:57 +01:00
2023-03-03 16:51:57 +01:00
2023-06-03 22:43:57 +02:00
2023-04-27 13:56:37 +01:00
2023-03-18 17:50:56 +01:00
2023-03-18 17:50:56 +01:00
2023-04-14 20:06:20 +08:00
2023-04-07 10:26:02 +02:00
2023-03-18 17:50:56 +01:00
2023-03-18 17:50:56 +01:00
2023-04-28 10:43:20 -07:00
2023-06-03 22:43:57 +02:00
2023-03-10 08:21:46 -07:00
2023-03-16 22:59:34 +08:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-04-27 13:56:37 +01:00
2023-03-07 15:28:52 +01:00
2023-06-03 22:43:57 +02:00
2023-02-28 10:56:28 +00:00
2023-03-18 10:16:30 +01:00
2023-03-01 20:54:56 -05:00
2023-03-01 20:54:56 -05:00
2023-03-01 20:54:56 -05:00
2023-04-27 13:56:38 +01:00
2023-02-21 12:36:15 -07:00
2023-04-03 14:46:32 +01:00
2023-03-10 08:21:46 -07:00
2023-05-19 10:15:01 +01:00
2023-03-27 13:58:09 +02:00
2023-04-03 14:46:32 +01:00
2023-04-03 14:46:32 +01:00
2023-03-10 08:21:46 -07:00
2023-03-18 10:16:30 +01:00
2023-03-18 10:16:30 +01:00
2023-03-10 08:21:46 -07:00
2023-04-28 22:50:46 +01:00
2023-03-10 08:21:46 -07:00
2023-04-27 13:56:37 +01:00
2023-03-01 20:54:56 -05:00
2023-02-27 19:12:28 +00:00
2023-02-15 20:56:57 +00:00
2023-06-05 13:25:08 +01:00
2023-06-05 13:25:08 +01:00
2023-03-10 08:21:46 -07:00
2023-03-18 17:50:56 +01:00
2023-03-18 17:50:56 +01:00
2023-03-10 08:21:46 -07:00
2023-05-24 17:02:21 +01:00
2023-05-24 17:02:21 +01:00
2023-05-24 17:02:21 +01:00
2023-05-24 17:02:21 +01:00
2023-05-08 09:19:29 +02:00
2023-05-08 09:19:29 +02:00
2023-03-10 08:21:46 -07:00
2023-04-07 10:26:02 +02:00
2023-02-10 23:49:19 +00:00
2023-02-10 23:49:19 +00:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-05-12 13:45:52 +01:00
2023-03-22 15:13:17 -04:00
2023-02-24 13:52:12 +01:00
2023-03-18 17:50:56 +01:00
2023-03-18 17:50:56 +01:00
2023-04-27 13:56:38 +01:00
2023-04-27 13:56:38 +01:00
2023-04-27 13:56:38 +01:00
2023-05-05 18:57:06 +02:00
2023-03-10 08:21:46 -07:00
2023-04-07 10:26:02 +02:00
2023-04-17 10:43:06 -06:00
2023-04-27 13:56:37 +01:00
2023-04-27 13:56:37 +01:00
2023-03-10 08:21:46 -07:00
2023-06-05 13:25:08 +01:00
2023-06-05 13:25:08 +01:00
2023-05-30 21:49:21 +01:00
2023-05-30 21:49:21 +01:00
2023-03-10 08:21:46 -07:00
2023-04-29 10:47:46 +02:00
2023-03-10 08:21:46 -07:00
2023-04-27 13:56:37 +01:00
2023-03-18 17:50:56 +01:00
2023-03-20 10:37:15 +00:00
2023-03-10 08:21:46 -07:00
2023-06-03 22:43:57 +02:00
2023-04-27 13:56:37 +01:00
2023-06-05 13:25:08 +01:00
2023-02-15 20:58:00 +00:00
2023-03-18 17:50:56 +01:00
2023-03-18 17:50:56 +01:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-07 14:46:24 +01:00
2023-04-27 13:56:38 +01:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-07 15:45:47 +01:00
2023-03-18 10:16:30 +01:00
2023-03-18 10:16:30 +01:00
2023-03-10 08:21:46 -07:00
2023-06-14 17:39:34 +02:00
2023-02-23 12:50:30 -07:00
2023-03-10 08:21:46 -07:00
2023-04-07 10:26:02 +02:00
2023-03-31 17:15:37 +02:00
2023-04-27 13:56:37 +01:00
2023-02-20 12:20:14 +01:00
2023-02-20 12:20:14 +01:00
2023-03-10 08:21:46 -07:00
2023-04-24 14:48:06 +02:00
2023-02-10 23:49:19 +00:00
2023-02-10 23:49:19 +00:00
2023-03-18 17:50:56 +01:00
2023-03-18 17:50:56 +01:00
2023-03-18 10:16:30 +01:00
2023-03-18 10:16:30 +01:00
2023-03-10 08:21:46 -07:00
2023-04-27 13:56:37 +01:00
2023-03-10 08:21:46 -07:00
2023-05-02 22:51:10 +02:00
2023-04-27 13:56:38 +01:00
2023-06-03 22:43:57 +02:00
2023-03-03 16:51:57 +01:00
2023-04-27 13:56:38 +01:00
2023-05-12 13:45:52 +01:00
2023-04-27 13:56:37 +01:00