aboutsummaryrefslogtreecommitdiff
path: root/gdb/xm-mips.h
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-06-30 08:53:28 +0000
committerJohn Gilmore <gnu@cygnus>1992-06-30 08:53:28 +0000
commit0f552c5fc6ed8ddf060a01c97cbef7c0c890ffe4 (patch)
tree462825c1bee2156abb8e122392916b114a0cd7f6 /gdb/xm-mips.h
parentc47793da968c7420c6e7c56500d876d83a0705c7 (diff)
downloadgdb-0f552c5fc6ed8ddf060a01c97cbef7c0c890ffe4.zip
gdb-0f552c5fc6ed8ddf060a01c97cbef7c0c890ffe4.tar.gz
gdb-0f552c5fc6ed8ddf060a01c97cbef7c0c890ffe4.tar.bz2
* buildsym.c (scan_file_globals): Beware the null file.
Fix from Jim Williams. * stack.c (return_command): Evaluate expression *before* popping off the stack frames! Fix inspired by Jim Williams. (up_silently_command, down_silently_command): No sel frame is error. * defs.h (memcpy, memset): Conditionalize decls on #ifndef MEM_FNS_DECLARED, since DECstation differs. (alloca): Break out the STDC and non-STDC alloca cases, to make it work on old preprocessors as well as "picky ANSI" ones. * xm-mips.h (memcpy, memset): Declare, and set MEM_FNS_DECLARED. * mips-tdep.c (heuristic_proc_start): Zero arg produces zero. * utils.c (fputs_demangled): Rename SLOP since DECstation system header files define it!
Diffstat (limited to 'gdb/xm-mips.h')
-rw-r--r--gdb/xm-mips.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/xm-mips.h b/gdb/xm-mips.h
index 42ea055..1318bba 100644
--- a/gdb/xm-mips.h
+++ b/gdb/xm-mips.h
@@ -33,6 +33,12 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
extern char *strdup();
#endif
+/* DECstation memcpy and memset return void *, not char *. */
+
+extern void *memcpy();
+extern void *memset();
+#define MEM_FNS_DECLARED
+
/* Only used for core files on DECstations. */
#define REGISTER_U_ADDR(addr, blockend, regno) \