aboutsummaryrefslogtreecommitdiff
path: root/gdb/coredep.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-10-17 05:57:51 +0000
committerJohn Gilmore <gnu@cygnus>1991-10-17 05:57:51 +0000
commitb53d3945ed0a220074dcad48477b32565ed426b6 (patch)
treee6072ecdfe934ab928dc5bc8672f2d29ef262c20 /gdb/coredep.c
parentc5a475c86d9c3b9263514915d25702eff2734bd8 (diff)
downloadfsf-binutils-gdb-b53d3945ed0a220074dcad48477b32565ed426b6.zip
fsf-binutils-gdb-b53d3945ed0a220074dcad48477b32565ed426b6.tar.gz
fsf-binutils-gdb-b53d3945ed0a220074dcad48477b32565ed426b6.tar.bz2
* coredep.c: Add <sys/types.h> for SCOnix.
* dbxread.c (read_dbx_symntab): Avoid coredump on malformed file. * printcmd.c (print_formatted): Flush output before disassembly. * xm-mips.h: Update KERNEL_U_ADDR for new scheme. Cleanup a bit.
Diffstat (limited to 'gdb/coredep.c')
-rw-r--r--gdb/coredep.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/coredep.c b/gdb/coredep.c
index 81fb3a4..6eec85a 100644
--- a/gdb/coredep.c
+++ b/gdb/coredep.c
@@ -25,9 +25,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "gdbcore.h"
#include <stdio.h>
-/* Some of these are needed on various systems, perhaps, to expand
- REGISTER_U_ADDR appropriately? */
-/* #include <sys/core.h> */
+/* These are needed on various systems to expand REGISTER_U_ADDR. */
+#include <sys/types.h>
#include <sys/param.h>
#include <sys/dir.h>
#include <sys/file.h>