diff options
author | Jason Molenda <jmolenda@apple.com> | 1999-06-07 19:19:32 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 1999-06-07 19:19:32 +0000 |
commit | cce74817d9cdf9bdc375a599565105d78e07d167 (patch) | |
tree | f4e74e0a12fdbf4c83a80968e59596b207c1d141 /gdb/gdbarch.h | |
parent | eb858bb4315009ca9572ddf795f5734b7c293e13 (diff) | |
download | gdb-cce74817d9cdf9bdc375a599565105d78e07d167.zip gdb-cce74817d9cdf9bdc375a599565105d78e07d167.tar.gz gdb-cce74817d9cdf9bdc375a599565105d78e07d167.tar.bz2 |
import gdb-1999-06-07 snapshot
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r-- | gdb/gdbarch.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h index f922efa..2bcc7f6 100644 --- a/gdb/gdbarch.h +++ b/gdb/gdbarch.h @@ -20,6 +20,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifndef GDBARCH_H #define GDBARCH_H +#ifdef __STDC__ +struct frame_info; +struct value; +enum lval_type; +#endif + /* The target-system-dependant byte order is dynamic */ /* TARGET_BYTE_ORDER_SELECTABLE_P determines if the target endianness @@ -140,6 +146,14 @@ extern disassemble_info tm_print_insn_info; #endif +/* Fallback definition for REGISTER_NAME for systems still defining + REGISTER_NAMES. */ +#ifndef REGISTER_NAME +extern char *gdb_register_names[]; +#define REGISTER_NAME(i) gdb_register_names[i] +#endif + + /* Set the dynamic target-system-dependant parameters (architecture, byte-order, ...) using information found in the BFD */ @@ -152,6 +166,12 @@ extern void set_gdbarch_from_file PARAMS ((bfd *)); extern void set_architecture_from_arch_mach PARAMS ((enum bfd_architecture, unsigned long)); +/* Helper function for targets that don't know how my arguments are + being passed */ + +extern int frame_num_args_unknown PARAMS ((struct frame_info *fi)); + + /* gdbarch trace variable */ extern int gdbarch_debug; |