]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/exec.c
gdb/
authorDaniel Jacobowitz <drow@false.org>
Mon, 24 Jul 2006 20:38:08 +0000 (20:38 +0000)
committerDaniel Jacobowitz <drow@false.org>
Mon, 24 Jul 2006 20:38:08 +0000 (20:38 +0000)
commit4c42eaff630026a1c9589e913d072935fed919c1
treeaf7754be431bda48c2d576f4ebf431a1af11c819
parentb05e64e5fe26950eba7f895b31019b8cc598b42d
gdb/
* corefile.c (reopen_exec_file): Only check for an open exec file.
Use exec_file_attach.
* exec.c (exec_open): Make static.
(exec_file_command): Don't use target_preopen.  Query directly about
changing the file.
* gdbcore.h (exec_open): Remove prototype.
gdb/testsuite/
* gdb.base/completion.exp: Update for change in "file" behavior.
* gdb.stabs/weird.exp: Likewise.
* lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
* lib/gdb.exp (gdb_file_cmd): Likewise.  Kill the program explicitly.
gdb/ChangeLog
gdb/corefile.c
gdb/exec.c
gdb/gdbcore.h
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/completion.exp
gdb/testsuite/gdb.stabs/weird.exp
gdb/testsuite/lib/gdb.exp
gdb/testsuite/lib/mi-support.exp