* config/m68k/delta68.mh (NAT_FILE): Undo 1998-08-18 change;
authorStan Shebs <shebs@codesourcery.com>
Sat, 21 Nov 1998 19:28:44 +0000 (19:28 +0000)
committerStan Shebs <shebs@codesourcery.com>
Sat, 21 Nov 1998 19:28:44 +0000 (19:28 +0000)
  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.

gdb/ChangeLog
gdb/config/m68k/delta68.mh
gdb/config/m68k/nm-delta68.h [new file with mode: 0644]
gdb/delta68-nat.c

index ec80cd5..998f865 100644 (file)
@@ -1,3 +1,11 @@
+Sat Nov 21 17:15:40 1998  Philippe De Muyter  <phdm@macqel.be>
+
+       * 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.
+
 Fri Nov 20 10:13:03 1998  Andrew Cagney  <cagney@b1.cygnus.com>
 
        * buildsym.c (end_symtab): Cleanup PROCESS_LINENUMBER_HOOK.
@@ -294,7 +302,7 @@ Fri Oct 16 15:31:38 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>
 
 Thu Oct 15 19:50:48 1998  Stan Shebs  <shebs@andros.cygnus.com>
 
-       * tm-sp64.h (SETUP_ARBITRARY_FRAME, RAME_SPECIFICATION_DYADIC):
+       * tm-sp64.h (SETUP_ARBITRARY_FRAME, FRAME_SPECIFICATION_DYADIC):
        Remove, nevermore used.
 
 Thu Oct 15 16:55:00 1998  Andrew Cagney  <cagney@b1.cygnus.com>
index 7aca877..5492af0 100644 (file)
@@ -1,5 +1,5 @@
-# Motorola Delta Series sysV68 R3V7.1
+# Host: Motorola Delta Series sysV68 R3V7.1
 
 XM_FILE= xm-delta68.h
-
+NAT_FILE= nm-delta68.h
 NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o core-aout.o delta68-nat.o
diff --git a/gdb/config/m68k/nm-delta68.h b/gdb/config/m68k/nm-delta68.h
new file mode 100644 (file)
index 0000000..cb7ffbf
--- /dev/null
@@ -0,0 +1,21 @@
+/* Macro definitions for a Motorola Delta Series sysV68 R3V7.1.
+   Copyright (C) 1993, 1998 Free Software Foundation, Inc.
+
+This file is part of GDB.
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
+
+
+#define KERNEL_U_SIZE kernel_u_size()
index 2874edd..3995b23 100644 (file)
@@ -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);
+}