From 4b048bc0967a115c456bf2bfb463f90564fdf519 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Thu, 19 Jul 2001 04:58:17 +0000 Subject: [PATCH] From 2001-07-16 Rodney Brown : * infttrace.c (child_thread_alive): Fix gdb_tid typo. * somsolib.c (no_shared_libraries): Provide stub. * xcoffsolib.c (no_shared_libraries): Provide stub. --- gdb/ChangeLog | 7 +++++++ gdb/infttrace.c | 2 +- gdb/somsolib.c | 18 ++++++++++++++++++ gdb/xcoffsolib.c | 18 ++++++++++++++++++ 4 files changed, 44 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6e7544a9398..a35da021f2a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2001-07-19 Andrew Cagney + + From 2001-07-16 Rodney Brown : + * infttrace.c (child_thread_alive): Fix gdb_tid typo. + * somsolib.c (no_shared_libraries): Provide stub. + * xcoffsolib.c (no_shared_libraries): Provide stub. + 2001-07-18 Stephane Carrez * Makefile.in (COMMON_OBS): Remove tui-file.o. diff --git a/gdb/infttrace.c b/gdb/infttrace.c index ffcbd203e31..3c7cf95d806 100644 --- a/gdb/infttrace.c +++ b/gdb/infttrace.c @@ -3585,7 +3585,7 @@ child_has_syscall_event (int pid, enum target_waitkind *kind, int *syscall_id) int child_thread_alive (ptid_t ptid) { - lwpid_t gdp_tid = PIDGET (ptid); + lwpid_t gdb_tid = PIDGET (ptid); lwpid_t tid; /* This spins down the lists twice. diff --git a/gdb/somsolib.c b/gdb/somsolib.c index fe188ca460a..4b93fdecf38 100644 --- a/gdb/somsolib.c +++ b/gdb/somsolib.c @@ -1542,6 +1542,24 @@ som_solib_restart (void) } +/* LOCAL FUNCTION + + no_shared_libraries -- handle command to explicitly discard symbols + from shared libraries. + + DESCRIPTION + + Implements the command "nosharedlibrary", which discards symbols + that have been auto-loaded from shared libraries. Symbols from + shared libraries that were added by explicit request of the user + are not discarded. Also called from remote.c. */ + +void +no_shared_libraries (char *ignored, int from_tty) +{ + /* FIXME */ +} + void _initialize_som_solib (void) diff --git a/gdb/xcoffsolib.c b/gdb/xcoffsolib.c index 867f102b065..d6f15e5e7cc 100644 --- a/gdb/xcoffsolib.c +++ b/gdb/xcoffsolib.c @@ -157,6 +157,24 @@ sharedlibrary_command (char *pattern, int from_tty) } } +/* LOCAL FUNCTION + + no_shared_libraries -- handle command to explicitly discard symbols + from shared libraries. + + DESCRIPTION + + Implements the command "nosharedlibrary", which discards symbols + that have been auto-loaded from shared libraries. Symbols from + shared libraries that were added by explicit request of the user + are not discarded. Also called from remote.c. */ + +void +no_shared_libraries (char *ignored, int from_tty) +{ + /* FIXME */ +} + void _initialize_solib (void) { -- 2.30.2