projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Implement 'set/show exec-file-mismatch'.
[deliverable/binutils-gdb.git]
/
gdb
/
remote.c
diff --git
a/gdb/remote.c
b/gdb/remote.c
index 03a00db0e8ce3342866b032543b25ac74764c44d..be2987707ff7ea36c901d0b49ed4fcb230c2ea45 100644
(file)
--- a/
gdb/remote.c
+++ b/
gdb/remote.c
@@
-2411,6
+2411,9
@@
remote_target::remote_add_inferior (bool fake_pid_p, int pid, int attached,
if (try_open_exec && get_exec_file (0) == NULL)
exec_file_locate_attach (pid, 0, 1);
+ /* Check for exec file mismatch, and let the user solve it. */
+ validate_exec_file (1);
+
return inf;
}
This page took
0.024515 seconds
and
4
git commands to generate.