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"
#include "xdr_rdb.h"
#include "dbgRpcLib.h"
-/* get rid of value.h if possible */
-#include <value.h>
#include <symtab.h>
-
+
extern void symbol_file_command ();
extern int stop_soon_quietly; /* for wait_for_inferior */
immediate_quit--;
/* FIXME, for now we ignore data_addr and bss_addr. */
- 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 */
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
struct ldfile *pLoadFile = (struct ldfile *)arg;
printf("\t%s: ", pLoadFile->name);
- 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;
}