* 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.
This commit is contained in:
parent
c6cffcf8b4
commit
c1d58bcded
4 changed files with 16 additions and 6 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
Mon Aug 12 21:23:44 1996 Fred Fish <fnf@cygnus.com>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
Mon Aug 12 19:19:00 1996 Mark Alexander <marka@cygnus.com>
|
Mon Aug 12 19:19:00 1996 Mark Alexander <marka@cygnus.com>
|
||||||
|
|
||||||
* remote.c: Make remote_write_size public.
|
* remote.c: Make remote_write_size public.
|
||||||
|
|
|
@ -664,8 +664,8 @@ record_line (subfile, line, pc)
|
||||||
|
|
||||||
static int
|
static int
|
||||||
compare_line_numbers (ln1p, ln2p)
|
compare_line_numbers (ln1p, ln2p)
|
||||||
const PTR ln1p;
|
const void *ln1p;
|
||||||
const PTR ln2p;
|
const void *ln2p;
|
||||||
{
|
{
|
||||||
struct linetable_entry *ln1 = (struct linetable_entry *) ln1p;
|
struct linetable_entry *ln1 = (struct linetable_entry *) ln1p;
|
||||||
struct linetable_entry *ln2 = (struct linetable_entry *) ln2p;
|
struct linetable_entry *ln2 = (struct linetable_entry *) ln2p;
|
||||||
|
|
|
@ -175,7 +175,7 @@ static int
|
||||||
read_frame PARAMS ((char *));
|
read_frame PARAMS ((char *));
|
||||||
|
|
||||||
static void
|
static void
|
||||||
boot_board PARAMS ((void));
|
boot_board PARAMS ((char *, int));
|
||||||
|
|
||||||
static int
|
static int
|
||||||
remote_write_bytes PARAMS ((CORE_ADDR memaddr, char *myaddr, int len));
|
remote_write_bytes PARAMS ((CORE_ADDR memaddr, char *myaddr, int len));
|
||||||
|
@ -374,8 +374,10 @@ get_offsets ()
|
||||||
|
|
||||||
#define INBUFSIZE 10
|
#define INBUFSIZE 10
|
||||||
|
|
||||||
void
|
static void
|
||||||
boot_board()
|
boot_board (dummy1, dummy2)
|
||||||
|
char *dummy1;
|
||||||
|
int dummy2;
|
||||||
{
|
{
|
||||||
char c;
|
char c;
|
||||||
char buf[INBUFSIZE];
|
char buf[INBUFSIZE];
|
||||||
|
|
|
@ -230,7 +230,7 @@ scm_lreadr (skipping)
|
||||||
{
|
{
|
||||||
int c, j;
|
int c, j;
|
||||||
struct stoken str;
|
struct stoken str;
|
||||||
LONGEST svalue;
|
LONGEST svalue = 0;
|
||||||
tryagain:
|
tryagain:
|
||||||
c = *lexptr++;
|
c = *lexptr++;
|
||||||
switch (c)
|
switch (c)
|
||||||
|
|
Loading…
Reference in a new issue