aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Tiemann <tiemann@cygnus>1992-06-01 23:19:09 +0000
committerMichael Tiemann <tiemann@cygnus>1992-06-01 23:19:09 +0000
commitfb44a8f557e95ee32c08cc04f8ec40287deeefb6 (patch)
tree5bbe2c91f1f14db4573d964b47992bb996a4bb9f
parenta748555bbb64d206563f829eb8c976f592efba9d (diff)
downloadgdb-fb44a8f557e95ee32c08cc04f8ec40287deeefb6.zip
gdb-fb44a8f557e95ee32c08cc04f8ec40287deeefb6.tar.gz
gdb-fb44a8f557e95ee32c08cc04f8ec40287deeefb6.tar.bz2
Pass the correct number of parameters to `symbol_file_add'.
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/remote-vx.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 202e1f6..f299166 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 1b3bc4d8..e55630f 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;
}