From 6b29a8b13bc89238dcb0e85f7da65f0eabab4ed3 Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Sat, 21 Nov 1998 19:28:44 +0000 Subject: [PATCH] * 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. --- gdb/ChangeLog | 10 +++++++++- gdb/config/m68k/delta68.mh | 4 ++-- gdb/config/m68k/nm-delta68.h | 21 +++++++++++++++++++++ gdb/delta68-nat.c | 7 ++++++- 4 files changed, 38 insertions(+), 4 deletions(-) create mode 100644 gdb/config/m68k/nm-delta68.h diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ec80cd5e98..998f865fc0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +Sat Nov 21 17:15:40 1998 Philippe De Muyter + + * 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 * buildsym.c (end_symtab): Cleanup PROCESS_LINENUMBER_HOOK. @@ -294,7 +302,7 @@ Fri Oct 16 15:31:38 1998 Michael Snyder Thu Oct 15 19:50:48 1998 Stan Shebs - * 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 diff --git a/gdb/config/m68k/delta68.mh b/gdb/config/m68k/delta68.mh index 7aca877976..5492af08d7 100644 --- a/gdb/config/m68k/delta68.mh +++ b/gdb/config/m68k/delta68.mh @@ -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 index 0000000000..cb7ffbf2be --- /dev/null +++ b/gdb/config/m68k/nm-delta68.h @@ -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() 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); +} -- 2.34.1