aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcmd.c
diff options
context:
space:
mode:
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);