diff options
author | Daniel Jacobowitz <drow@false.org> | 2003-07-07 15:56:08 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2003-07-07 15:56:08 +0000 |
commit | c139e7d9ef481d8f804dbff43ec1dc9449bfc43e (patch) | |
tree | 7d778f9b8b5cc29c8352b228bcf9b8ca768f2c1e /gdb/sparc-tdep.h | |
parent | 58111eb706ef184e316ba397ce27abbc03c244ae (diff) | |
download | gdb-c139e7d9ef481d8f804dbff43ec1dc9449bfc43e.zip gdb-c139e7d9ef481d8f804dbff43ec1dc9449bfc43e.tar.gz gdb-c139e7d9ef481d8f804dbff43ec1dc9449bfc43e.tar.bz2 |
* Makefile.in (sparc_tdep_h): New.
(sparc-linux-nat.o, sparc-nat.o, sparc-tdep.o, sparc64nbsd-nat.o)
(sparcnbsd-nat.o, sparcnbsd-tdep.o): Depend on $(sparc_tdep_h).
* sparc-linux-nat.c: Include "sparc-tdep.h".
* sparc-nat.c: Likewise.
* sparc-tdep.c: Likewise.
* sparc64nbsd-nat.c: Likewise.
* sparcnbsd-nat.c: Likewise.
* sparcnbsd-tdep.c: Likewise.
* sparc-tdep.h: New file.
* config/sparc/tm-sparc.h: Remove prototypes for sparc_y_regnum
and sparc_npc_regnum.
Diffstat (limited to 'gdb/sparc-tdep.h')
-rw-r--r-- | gdb/sparc-tdep.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gdb/sparc-tdep.h b/gdb/sparc-tdep.h new file mode 100644 index 0000000..7c119b4 --- /dev/null +++ b/gdb/sparc-tdep.h @@ -0,0 +1,22 @@ +/* Target-dependent code for the SPARC for GDB, the GNU debugger. + + Copyright 2003 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. */ + +extern int sparc_y_regnum (void); |