aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcmd.c
diff options
context:
space:
mode:
authorVladimir Prus <vladimir@codesourcery.com>2007-11-15 06:14:26 +0000
committerVladimir Prus <vladimir@codesourcery.com>2007-11-15 06:14:26 +0000
commit7a72d44c5c8311b4109ccb0e3e3e8cd650c49177 (patch)
treebe25aff64ba588ea5acac0dbe73e000c2a5099b0 /gdb/infcmd.c
parentfed590bb658baee680c11753ecff1b96f0bf3112 (diff)
downloadgdb-7a72d44c5c8311b4109ccb0e3e3e8cd650c49177.zip
gdb-7a72d44c5c8311b4109ccb0e3e3e8cd650c49177.tar.gz
gdb-7a72d44c5c8311b4109ccb0e3e3e8cd650c49177.tar.bz2
Remove CLEAR_SOLIB use.
* corelow.c (core_close): Don't check for CLEAR_SOLIB. * infcmd.c (attach_command): Likewise.
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r--gdb/infcmd.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index 2fb0f23..079d586 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -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);