functions unnecessarily returning values.
+Thu Dec 3 16:30:35 1998 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * ax-gdb.c: Include target.h.
+
+Tue Dec 3 10:59:00 1998 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * ax-gdb.c (_initialize_ax_gdb), i960-tdep.c (pop_frame),
+ monitor.c (flush_monitor_dcache, longlongendswap), remote-array.c
+ (hexword2ascii), w89k-rom.c (init_w89k_cmds), z8k-tdep.c
+ (init_frame_pc, extract_return_value): Make return type void.
+ * monitor.c (monitor_write_even_block): Make return type explicit.
+ (monotor_read_memory_block): Delete function.
+ * monitor.h: Update.
+ * remote.c (remote_get_threadlist, remote_update_threads),
+ remote-array.c (array_get_packet), remote-rdi.c (Fail): Always
+ return a value.
+ * m32r-tdep.c (m32r_fix_call_dummy): From Michael Snyder, void
+ function.
+ * jv-valprint.c (java_val_print): From Stu Grossman. Return 0 by
+ default.
+
Wed Dec 2 15:11:38 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* tracepoint.c: Move default definition of
/* Discard from the stack the innermost frame,
restoring all saved registers. */
+void
pop_frame ()
{
register struct frame_info *current_fi, *prev_fi;
return c_val_print (type, valaddr, address, stream, format,
deref_ref, recurse, pretty);
}
+ return 0;
}
if (c == SERIAL_TIMEOUT)
#if 0 /* MAINTENANCE_CMDS */
- /* I fail to see how detaching here can be useful
+ /* I fail to see how detaching here can be useful */
if (in_monitor_wait) /* Watchdog went off */
{
target_mourn_inferior ();
/* Tell the remote machine to resume. */
-int flush_monitor_dcache(void) { dcache_flush (remote_dcache); }
+void
+flush_monitor_dcache ()
+{
+ dcache_flush (remote_dcache);
+}
static void
monitor_resume (pid, step, sig)
}
-static monitor_write_even_block(memaddr,myaddr,len)
+static int
+monitor_write_even_block(memaddr,myaddr,len)
CORE_ADDR memaddr ;
char * myaddr ;
int len ;
}
-static longlongendswap(unsigned char * a)
+static void
+longlongendswap (unsigned char * a)
{
int i,j ;
unsigned char x ;
return len;
}
-/* This version supports very large reads by looping on multiline
- dump bytes outputs. Beware of buffering limits.
- */
-static int monotor_read_memory_block(memaddr,myaddr,len)
- CORE_ADDR memaddr ;
- char * myaddr ;
- int len ;
-{
-}
-
static int
monitor_xfer_memory (memaddr, myaddr, len, write, target)
CORE_ADDR memaddr;
extern char *monitor_get_dev_name PARAMS ((void));
extern void init_monitor_ops PARAMS ((struct target_ops *));
extern int monitor_dump_reg_block PARAMS((char * dump_cmd)) ;
+extern void flush_monitor_dcache PARAMS ((void));
static int array_send_packet();
static int array_get_packet();
static unsigned long ascii2hexword();
-static char *hexword2ascii();
+static void hexword2ascii();
extern char *version;
}
}
}
+ return 0; /* exceeded retries */
}
/*
* ascii2hexword -- convert a hex value to an ascii number represented by 8
* digits.
*/
-static char*
+static void
hexword2ascii (mem, num)
unsigned char *mem;
unsigned long num;
/* A little dummy to make linking with the library succeed. */
-Fail() {}
+int Fail() { return 0; }
if (c3 == '+')
{
message_pending = 1;
- return;
+ return 0; /*????*/
}
continue;
}
/* We have tried hard enough, and just can't receive the packet. Give up. */
printf_unfiltered ("Ignoring packet error, continuing...\n");
+ return 0;
}
\f
static void
static char *w89k_inits[] = {"\n", NULL};
static struct monitor_ops w89k_cmds ;
-static init_w89k_cmds(void)
+static void
+init_w89k_cmds(void)
{
w89k_cmds.flags = MO_GETMEM_NEEDS_RANGE|MO_FILL_USES_ADDR; /* flags */
w89k_cmds.init = w89k_inits; /* Init strings */
return 0;
}
+void
init_frame_pc ()
{
abort ();
}
+void
extract_return_value (type, regbuf, valbuf)
struct type *type;
char *regbuf;