* corelow.c (core_close): Don't check for CLEAR_SOLIB.
* infcmd.c (attach_command): Likewise.
+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
/* 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))
+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
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
(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);