diff options
author | Tom de Vries <tdevries@suse.de> | 2024-11-22 13:37:24 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2024-11-22 13:37:24 +0100 |
commit | 2e61ad32abe8b8f89ba899fe9eff7856bee74cce (patch) | |
tree | deffd682d195cd89e2fe7e350d705fa2830021f2 /gdb/python/python.c | |
parent | b200576fa04421d4c8e8da3082afcbfb986aac45 (diff) | |
download | gdb-2e61ad32abe8b8f89ba899fe9eff7856bee74cce.zip gdb-2e61ad32abe8b8f89ba899fe9eff7856bee74cce.tar.gz gdb-2e61ad32abe8b8f89ba899fe9eff7856bee74cce.tar.bz2 |
[gdb/testsuite] Require local host in gdb.base/bg-exec-sigint-bp-cond.exp
I noticed that gdb.base/bg-exec-sigint-bp-cond.exp fails for remote host
(concretely, host board local-remote-host and target board
remote-gdbserver-on-localhost):
...
(gdb) c&^M
Continuing.^M
(gdb) bash: line 0: kill: (23834) - Operation not permitted^M
^M
Breakpoint 2, foo () at bg-exec-sigint-bp-cond.c:23^M
23 return 0;^M
...
due to getting gdb's pid like this:
...
set gdb_pid [exp_pid -i [board_info host fileid]]
...
For remote host using ssh, this returns the pid of the ssh session on build.
Fix this by requiring local host.
Tested on x86_64-linux.
Diffstat (limited to 'gdb/python/python.c')
0 files changed, 0 insertions, 0 deletions