Remove CLEAR_SOLIB use.
authorVladimir Prus <vladimir@codesourcery.com>
Thu, 15 Nov 2007 06:14:26 +0000 (06:14 +0000)
committerVladimir Prus <vladimir@codesourcery.com>
Thu, 15 Nov 2007 06:14:26 +0000 (06:14 +0000)
* corelow.c (core_close): Don't check for CLEAR_SOLIB.
* infcmd.c (attach_command): Likewise.

ChangeLog
gdb/corelow.c
gdb/doc/ChangeLog
gdb/doc/gdbint.texinfo
gdb/infcmd.c

index 809686646adbead808ea9fbbe41527d48e098e8c..4eff217f53dcd1865d36efcfeface271b3ec6cab 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-10-15  Vladimir Prus  <vladimir@codesourcery.com>
+
+       Remove CLEAR_SOLIB use.
+       * corelow.c (core_close): Don't check for CLEAR_SOLIB.
+       * infcmd.c (attach_command): Likewise.
+       
 2007-10-23  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * Makefile.def (dependencies): Make configure-gdb depend on
index 07be3f437731bf080f881545b3b2ca4a507abdbf..faae451fb3b92da2f42fd814a88ededf196edcf0 100644 (file)
@@ -199,11 +199,7 @@ core_close (int quitting)
 
       /* Clear out solib state while the bfd is still open. See
          comments in clear_solib in solib.c. */
-#ifdef CLEAR_SOLIB
-      CLEAR_SOLIB ();
-#else
       clear_solib ();
-#endif
 
       name = bfd_get_filename (core_bfd);
       if (!bfd_close (core_bfd))
index 4ebdf50224951a634fa4ba1126bcefcd81929868..28a412261381c32e712f34d6aa99624ca4bd27a4 100644 (file)
@@ -1,3 +1,8 @@
+2007-11-15  Vladimir Prus  <vladimir@codesourcery.com>
+
+       * gdbint.texinfo (Native Conditionals): Remove
+       mention of CLEAR_SOLIB.
+       
 2007-11-11  Joel Brobecker  <brobecker@adacore.com>
 
        * gdb.texinfo (Print Settings): Add documentation for "set/show
index e40dd4ed52527662b5f214dccff35b367f132c55..119eb7c17676668202e63178f7139c341d4e56f7 100644 (file)
@@ -4675,10 +4675,6 @@ the shell execs, and once when the program itself execs.  If the actual
 number of traps is something other than 2, then define this macro to
 expand into the number expected.
 
-@item CLEAR_SOLIB
-@findex CLEAR_SOLIB
-See @file{objfiles.c}.
-
 @end table
 
 @node Support Libraries
index 2fb0f23d75d9423e96eefbc5651319e5d77d1e67..079d586feff658aa32ee531a00d957fd65f8e527 100644 (file)
@@ -1887,11 +1887,7 @@ attach_command (char *args, int from_tty)
      (gdb) attach 4712
      Cannot access memory at address 0xdeadbeef
   */
-#ifdef CLEAR_SOLIB
-      CLEAR_SOLIB ();
-#else
-      clear_solib ();
-#endif
+  clear_solib ();
 
   target_attach (args, from_tty);
 
This page took 0.046942 seconds and 4 git commands to generate.