Remove CLEAR_SOLIB use.

* corelow.c (core_close): Don't check for CLEAR_SOLIB.
	* infcmd.c (attach_command): Likewise.
This commit is contained in:
Vladimir Prus 2007-11-15 06:14:26 +00:00
parent fed590bb65
commit 7a72d44c5c
5 changed files with 12 additions and 13 deletions

View File

@ -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

View 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))

View 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

View 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

View 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);