aboutsummaryrefslogtreecommitdiff
path: root/readline
diff options
context:
space:
mode:
authorGary Benson <gbenson@redhat.com>2016-02-24 11:31:58 +0000
committerGary Benson <gbenson@redhat.com>2016-02-24 11:31:58 +0000
commitbf74e428bca61022bd5cdf6bf28789a184748b4d (patch)
treed31114c6d16ec7349e2e73201da00507891be4f0 /readline
parent6735952f7c0f5f1f69a94c2d92c26e452a196da6 (diff)
downloadgdb-bf74e428bca61022bd5cdf6bf28789a184748b4d.zip
gdb-bf74e428bca61022bd5cdf6bf28789a184748b4d.tar.gz
gdb-bf74e428bca61022bd5cdf6bf28789a184748b4d.tar.bz2
Fix logic in exec_file_locate_attach
This commit fixes an error in exec_file_locate_attach where the main executable could be loaded from outside the sysroot if a nonempty, non-"target:" sysroot was set but the discovered executable filename did not exist in that sysroot and did exist on the main filesystem. gdb/ChangeLog: * exec.c (exec_file_locate_attach): Do not attempt to locate main executable locally if not found in sysroot. gdb/testsuite/ChangeLog: * gdb.base/attach-pie-noexec.exp: Do not expect an error message on attach.
Diffstat (limited to 'readline')
0 files changed, 0 insertions, 0 deletions