summaryrefslogtreecommitdiffstats
path: root/gdb/delta68-nat.c
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1998-11-21 19:28:44 +0000
committerStan Shebs <shebs@codesourcery.com>1998-11-21 19:28:44 +0000
commit6b29a8b13bc89238dcb0e85f7da65f0eabab4ed3 (patch)
tree093dc4b00ac5abfd888c2c3da2f60e7bfcf52e17 /gdb/delta68-nat.c
parent42647d5b8c69603ea53b6c31d19c004a0608d82e (diff)
downloadppe42-binutils-6b29a8b13bc89238dcb0e85f7da65f0eabab4ed3.tar.gz
ppe42-binutils-6b29a8b13bc89238dcb0e85f7da65f0eabab4ed3.zip
* config/m68k/delta68.mh (NAT_FILE): Undo 1998-08-18 change;
without NAT_FILE definition, configure will assume that GDB cannot run native. * config/m68k/nm-delta68.h (KERNEL_U_SIZE): New macro. * delta68-nat.c (kernel_u_size): New function.
Diffstat (limited to 'gdb/delta68-nat.c')
-rw-r--r--gdb/delta68-nat.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/gdb/delta68-nat.c b/gdb/delta68-nat.c
index 2874edd277..3995b235e0 100644
--- a/gdb/delta68-nat.c
+++ b/gdb/delta68-nat.c
@@ -1,5 +1,5 @@
/* Functions specific to running gdb native on a Motorola Delta Series sysV68.
- Copyright (C) 1993, Free Software Foundation, Inc.
+ Copyright (C) 1993, 1997-98, Free Software Foundation, Inc.
This file is part of GDB.
@@ -84,3 +84,8 @@ clear_insn_cache ()
memctl(0, 4096, MCT_TEXT);
#endif
}
+
+kernel_u_size ()
+{
+ return sizeof (struct user);
+}
OpenPOWER on IntegriCloud