*** empty log message ***
[deliverable/binutils-gdb.git] / gdb / infcmd.c
index 2fb0f23d75d9423e96eefbc5651319e5d77d1e67..b90fbecbbc0b96fae4b6addf07b785d15431c521 100644 (file)
@@ -1,8 +1,8 @@
 /* Memory-access and commands for "inferior" process, for GDB.
 
    Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995,
-   1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
-   Free Software Foundation, Inc.
+   1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
+   2008 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -482,7 +482,7 @@ run_command_1 (char *args, int from_tty, int tbreak_at_main)
   /* Purge old solib objfiles. */
   objfile_purge_solibs ();
 
-  do_run_cleanups (NULL);
+  clear_solib ();
 
   /* The comment here used to read, "The exec file is re-read every
      time we do a generic_mourn_inferior, so we just have to worry
@@ -974,7 +974,7 @@ jump_command (char *arg, int from_tty)
   if (from_tty)
     {
       printf_filtered (_("Continuing at "));
-      deprecated_print_address_numeric (addr, 1, gdb_stdout);
+      fputs_filtered (paddress (addr), gdb_stdout);
       printf_filtered (".\n");
     }
 
@@ -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.023684 seconds and 4 git commands to generate.