Pass the correct number of parameters to `symbol_file_add'.

This commit is contained in:
Michael Tiemann 1992-06-01 23:19:09 +00:00
parent a748555bbb
commit fb44a8f557
2 changed files with 5 additions and 2 deletions

View file

@ -1,5 +1,8 @@
Mon Jun 1 16:16:12 1992 Michael Tiemann (tiemann@cygnus.com)
* remote-vx.c (vx_load_command,add_symbol_stub): Default READNOW
parameter in call to `symbol_file_add' to 0.
* xm-sun4os4.h (MALLOC_INCOMPATIBLE): Define it.
Sun May 31 06:38:27 1992 Michael Tiemann (tiemann@cygnus.com)

View file

@ -712,7 +712,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, 0);
(void) symbol_file_add (arg_string, from_tty, text_addr, 0, 0, 0);
}
#ifdef FIXME /* Not ready for prime time */
@ -1036,7 +1036,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, 0);
(void) symbol_file_add (pLoadFile->name, 0, pLoadFile->txt_addr, 0, 0, 0);
printf ("ok\n");
return 1;
}