diff options
author | Daniel Jacobowitz <drow@false.org> | 2008-01-29 22:47:20 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2008-01-29 22:47:20 +0000 |
commit | e85a822c15f33869277bb7db1906755e593f66b4 (patch) | |
tree | 5fdab5f7a3e464da76e0678f028926d742ee114c /gdb/symfile.c | |
parent | 9db13498bf776b48194951144d26fb7c3616356a (diff) | |
download | gdb-e85a822c15f33869277bb7db1906755e593f66b4.zip gdb-e85a822c15f33869277bb7db1906755e593f66b4.tar.gz gdb-e85a822c15f33869277bb7db1906755e593f66b4.tar.bz2 |
* Makefile.in (symfile.o): Update.
* NEWS: Mention exec tracing support.
* inf-ttrace.c (inf_ttrace_wait): Return TARGET_WAITKIND_EXECD for
exec events.
* infcmd.c (kill_if_already_running, detach_command)
(disconnect_command): Replace SOLIB_RESTART with no_shared_libraries.
* infrun.c (MAY_FOLLOW_EXEC, may_follow_exec): Delete.
(follow_exec): Do not check may_follow_exec. Do not mourn and push
targets. Apply the sysroot path to the loaded executable. Use
no_shared_libraries.
* linux-nat.c (linux_child_follow_fork): Print fork following
messages if verbose.
(kill_wait_callback): Kill again before waiting a second time.
* symfile.c (symbol_file_clear): Replace SOLIB_RESTART with
no_shared_libraries.
* gdb.base/foll-exec.exp: Update header. Skip on remote targets.
Run on GNU/Linux.
(do_exec_tests): Check for systems which do not support catchpoints.
Do not match START.
* gdb.base/foll-fork.exp: Update header. Skip on remote targets.
Run on GNU/Linux. Enable verbose output.
(check_fork_catchpoints): New.
(explicit_fork_child_follow, catch_fork_child_follow)
(tcatch_fork_parent_follow): Update expected messages.
(do_fork_tests): Use check_fork_catchpoints.
* gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
Run on GNU/Linux. Enable verbose output.
(check_vfork_catchpoints): New.
(vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
expected messages.
(do_vfork_and_exec_tests): Use check_fork_catchpoints.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r-- | gdb/symfile.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c index f7c1efc..5e554fe 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -52,6 +52,7 @@ #include "parser-defs.h" #include "varobj.h" #include "elf-bfd.h" +#include "solib.h" #include <sys/types.h> #include <fcntl.h> @@ -1217,9 +1218,7 @@ symbol_file_clear (int from_tty) storage has just been released, we'd better wipe the solib descriptors as well. */ -#if defined(SOLIB_RESTART) - SOLIB_RESTART (); -#endif + no_shared_libraries (NULL, from_tty); symfile_objfile = NULL; if (from_tty) |