From fb44a8f557e95ee32c08cc04f8ec40287deeefb6 Mon Sep 17 00:00:00 2001 From: Michael Tiemann Date: Mon, 1 Jun 1992 23:19:09 +0000 Subject: [PATCH] Pass the correct number of parameters to `symbol_file_add'. --- gdb/ChangeLog | 3 +++ gdb/remote-vx.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 202e1f698ee..f299166e5aa 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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) diff --git a/gdb/remote-vx.c b/gdb/remote-vx.c index 1b3bc4d8b3d..e55630f0738 100644 --- a/gdb/remote-vx.c +++ b/gdb/remote-vx.c @@ -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; } -- 2.30.2