2002-05-21 23:58:41 +08:00
|
|
|
/* Common target dependent code for GDB on MIPS systems running NetBSD.
|
2004-04-30 02:28:43 +08:00
|
|
|
|
|
|
|
Copyright 2002, 2004 Free Software Foundation, Inc.
|
2002-05-21 23:58:41 +08:00
|
|
|
|
|
|
|
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. */
|
|
|
|
|
|
|
|
#ifndef MIPSNBSD_TDEP_H
|
|
|
|
#define MIPSNBSD_TDEP_H
|
|
|
|
|
|
|
|
void mipsnbsd_supply_reg (char *, int);
|
|
|
|
void mipsnbsd_fill_reg (char *, int);
|
|
|
|
|
|
|
|
void mipsnbsd_supply_fpreg (char *, int);
|
|
|
|
void mipsnbsd_fill_fpreg (char *, int);
|
|
|
|
|
2004-04-30 02:28:43 +08:00
|
|
|
#define SIZEOF_STRUCT_REG (38 * mips_isa_regsize (current_gdbarch))
|
|
|
|
#define SIZEOF_STRUCT_FPREG (33 * mips_isa_regsize (current_gdbarch))
|
2002-05-21 23:58:41 +08:00
|
|
|
|
|
|
|
#endif /* MIPSNBSD_TDEP_H */
|