aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-pa.c
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1996-08-13 04:27:08 +0000
committerFred Fish <fnf@specifix.com>1996-08-13 04:27:08 +0000
commitc1d58bcded631ca0b325d3a10156d8727a029337 (patch)
treec460ad5019408e2130b9b77a71d30cea3d7f2eec /gdb/remote-pa.c
parentc6cffcf8b46fd0b6282a5eac7843dd4720f54257 (diff)
downloadgdb-c1d58bcded631ca0b325d3a10156d8727a029337.zip
gdb-c1d58bcded631ca0b325d3a10156d8727a029337.tar.gz
gdb-c1d58bcded631ca0b325d3a10156d8727a029337.tar.bz2
* remote-pa.c (boot_board): Add dummy params to make type compatible
for passing to add_com. * scm-exp.c (scm_lreadr): Ensure svalue is not used uninitialized. * buildsym.c (compare_line_numbers): Change function to match prototype and also what qsort expects.
Diffstat (limited to 'gdb/remote-pa.c')
-rw-r--r--gdb/remote-pa.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/gdb/remote-pa.c b/gdb/remote-pa.c
index bbc8313..3fc422f 100644
--- a/gdb/remote-pa.c
+++ b/gdb/remote-pa.c
@@ -175,7 +175,7 @@ static int
read_frame PARAMS ((char *));
static void
-boot_board PARAMS ((void));
+boot_board PARAMS ((char *, int));
static int
remote_write_bytes PARAMS ((CORE_ADDR memaddr, char *myaddr, int len));
@@ -374,8 +374,10 @@ get_offsets ()
#define INBUFSIZE 10
-void
-boot_board()
+static void
+boot_board (dummy1, dummy2)
+ char *dummy1;
+ int dummy2;
{
char c;
char buf[INBUFSIZE];