mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-03 04:12:10 +08:00
4e3269e3f1
instead of current_regcache. Make REGS const. (shnbsd_fill_reg): Add REGCACHE parameter; replace current_regcache. * shnbsd-tdep.h (shnbsd_supply_reg, shnbsd_fill_reg): Update prototypes. * shnbsd-nat.c: Include "regcache.h". (shnbsd_fetch_inferior_registers): Pass current_regcache to shnbsd_supply_reg. (shnbsd_store_inferior_registers): Pass current_regcache to shnbsd_fill_reg. * Makefile.in (shbsd-nat.o): Update dependencies.
29 lines
1.1 KiB
C
29 lines
1.1 KiB
C
/* Target-dependent definitions for SuperH running NetBSD, for GDB.
|
|
Copyright (C) 2002, 2007 Free Software Foundation, Inc.
|
|
Contributed by Wasabi Systems, 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., 51 Franklin Street, Fifth Floor,
|
|
Boston, MA 02110-1301, USA. */
|
|
|
|
#ifndef SH_NBSD_TDEP_H
|
|
#define SH_NBSD_TDEP_H
|
|
|
|
void shnbsd_supply_reg (struct regcache *, const char *, int);
|
|
void shnbsd_fill_reg (const struct regcache *, char *, int);
|
|
|
|
#endif /* SH_NBSD_TDEP_H */
|