aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-07-19 04:58:17 +0000
committerAndrew Cagney <cagney@redhat.com>2001-07-19 04:58:17 +0000
commit4b048bc0967a115c456bf2bfb463f90564fdf519 (patch)
treecdcb1e7ed1f8eb3e1a7bf2dc42d281715dc1593c
parent6ad8a379a0373bab68623cb568d2a07d96cf5df8 (diff)
downloadgdb-4b048bc0967a115c456bf2bfb463f90564fdf519.zip
gdb-4b048bc0967a115c456bf2bfb463f90564fdf519.tar.gz
gdb-4b048bc0967a115c456bf2bfb463f90564fdf519.tar.bz2
From 2001-07-16 Rodney Brown <rbrown64@csc.com.au>:
* infttrace.c (child_thread_alive): Fix gdb_tid typo. * somsolib.c (no_shared_libraries): Provide stub. * xcoffsolib.c (no_shared_libraries): Provide stub.
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/infttrace.c2
-rw-r--r--gdb/somsolib.c18
-rw-r--r--gdb/xcoffsolib.c18
4 files changed, 44 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6e7544a..a35da02 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,10 @@
+2001-07-19 Andrew Cagney <ac131313@redhat.com>
+
+ From 2001-07-16 Rodney Brown <rbrown64@csc.com.au>:
+ * 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 <Stephane.Carrez@worldnet.fr>
* Makefile.in (COMMON_OBS): Remove tui-file.o.
diff --git a/gdb/infttrace.c b/gdb/infttrace.c
index ffcbd20..3c7cf95 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 fe188ca..4b93fde 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 867f102..d6f15e5 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)
{