diff options
author | Stan Shebs <shebs@codesourcery.com> | 1998-11-21 19:28:44 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1998-11-21 19:28:44 +0000 |
commit | 6b29a8b13bc89238dcb0e85f7da65f0eabab4ed3 (patch) | |
tree | 093dc4b00ac5abfd888c2c3da2f60e7bfcf52e17 | |
parent | 42647d5b8c69603ea53b6c31d19c004a0608d82e (diff) | |
download | gdb-6b29a8b13bc89238dcb0e85f7da65f0eabab4ed3.zip gdb-6b29a8b13bc89238dcb0e85f7da65f0eabab4ed3.tar.gz gdb-6b29a8b13bc89238dcb0e85f7da65f0eabab4ed3.tar.bz2 |
* 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.
-rw-r--r-- | gdb/ChangeLog | 10 | ||||
-rw-r--r-- | gdb/config/m68k/delta68.mh | 4 | ||||
-rw-r--r-- | gdb/config/m68k/nm-delta68.h | 21 | ||||
-rw-r--r-- | gdb/delta68-nat.c | 7 |
4 files changed, 38 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ec80cd5..998f865 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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> diff --git a/gdb/config/m68k/delta68.mh b/gdb/config/m68k/delta68.mh index 7aca877..5492af0 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 0000000..cb7ffbf --- /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 2874edd..3995b23 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); +} |