Changes to implement the -mapped and -readnow options for commands that
[binutils-gdb.git] / gdb / remote-vx.c
index 4ecc90243630d0071e6da48cf255c153910bd7f9..8e90cb52ff6ff30db6dd4a72e97a16fdc3963d1e 100644 (file)
@@ -18,7 +18,6 @@ You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
-#include <stdio.h>
 #include "defs.h"
 #include "frame.h"
 #include "inferior.h"
@@ -716,7 +715,7 @@ vx_load_command (arg_string, from_tty)
   immediate_quit--;
 
   /* FIXME, for now we ignore data_addr and bss_addr.  */
-  (void) symbol_file_add (arg_string, from_tty, text_addr, 0);
+  (void) symbol_file_add (arg_string, from_tty, text_addr, 0, 0);
 }
 
 #ifdef FIXME  /* Not ready for prime time */
@@ -1009,6 +1008,7 @@ vx_wait (status)
 
     case EVENT_ZERO_DIV:       /* Division by zero */
       WSETSTOP (w, SIGFPE);    /* Like Unix, call it a float exception. */
+      break;
 
     case EVENT_SIGNAL:
       /* The target is not running Unix, and its
@@ -1039,7 +1039,7 @@ add_symbol_stub (arg)
   struct ldfile *pLoadFile = (struct ldfile *)arg;
 
   printf("\t%s: ", pLoadFile->name);
-  (void) symbol_file_add (pLoadFile->name, 0, pLoadFile->txt_addr, 0);
+  (void) symbol_file_add (pLoadFile->name, 0, pLoadFile->txt_addr, 0, 0);
   printf ("ok\n");
   return 1;
 }