b0ca857365
prototype. * alphanbsd-tdep.c (alphanbsd_regset_from_core_section): Handle a.out-style core file format here. Make global. (alphanbsd_regset_from_core_section): Remove. (alphanbsd_sigtramp_offset): Make static. (alphanbsd_aout_init_abi): Remove. (alphanbsd_core_osabi_sniffer): Return GDB_OSABI_NETBSD_ELF for a.out style core files. (_initialize_alphanbsd_tdep): Do not register a handler for GDB_OSABI_NETBSD_AOUT.
40 lines
1.4 KiB
C
40 lines
1.4 KiB
C
/* Common target dependent code for Alpha BSD's.
|
||
|
||
Copyright (C) 2002, 2006 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., 51 Franklin Street, Fifth Floor,
|
||
Boston, MA 02110-1301, USA. */
|
||
|
||
#ifndef ALPHABSD_TDEP_H
|
||
#define ALPHABSD_TDEP_H
|
||
|
||
void alphabsd_supply_reg (char *, int);
|
||
void alphabsd_fill_reg (char *, int);
|
||
|
||
void alphabsd_supply_fpreg (char *, int);
|
||
void alphabsd_fill_fpreg (char *, int);
|
||
|
||
|
||
/* Functions exported from alphanbsd-tdep.c. */
|
||
|
||
/* Return the appropriate register set for the core section identified
|
||
by SECT_NAME and SECT_SIZE. */
|
||
extern const struct regset *
|
||
alphanbsd_regset_from_core_section (struct gdbarch *gdbarch,
|
||
const char *sect_name, size_t len);
|
||
|
||
#endif /* alphabsd-tdep.h */
|