Changes to implement the -mapped and -readnow options for commands that

read symbol tables.
This commit is contained in:
Fred Fish
1992-03-18 16:43:25 +00:00
parent afbdd10672
commit b0246b3bec
11 changed files with 572 additions and 614 deletions

View File

@ -715,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 */
@ -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;
}