diff options
author | Jason Molenda <jmolenda@apple.com> | 1999-10-26 03:43:48 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 1999-10-26 03:43:48 +0000 |
commit | e514a9d64262fcceccd85180b20b7adc3c4a5eed (patch) | |
tree | 15fda31e24d9ce88756ba5e4d3c6a54711e8648e /gdb/gdbarch.h | |
parent | 4c1102fd195c4ec6aaff893d5d4df4fc5faa0fc1 (diff) | |
download | gdb-e514a9d64262fcceccd85180b20b7adc3c4a5eed.zip gdb-e514a9d64262fcceccd85180b20b7adc3c4a5eed.tar.gz gdb-e514a9d64262fcceccd85180b20b7adc3c4a5eed.tar.bz2 |
import gdb-1999-10-25 snapshot
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r-- | gdb/gdbarch.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h index 95776ad..34075c6 100644 --- a/gdb/gdbarch.h +++ b/gdb/gdbarch.h @@ -948,6 +948,7 @@ extern void *gdbarch_data (struct gdbarch_data*); typedef void (gdbarch_swap_ftype) (void); extern void register_gdbarch_swap (void *data, unsigned long size, gdbarch_swap_ftype *init); +#define REGISTER_GDBARCH_SWAP(VAR) register_gdbarch_swap (&(VAR), sizeof ((VAR)), NULL) @@ -1097,6 +1098,11 @@ extern void set_gdbarch_from_file (bfd *); extern void set_architecture_from_arch_mach (enum bfd_architecture, unsigned long); +/* Initialize the current architecture to the "first" one we find on + our list. */ + +extern void initialize_current_architecture (void); + /* Helper function for targets that don't know how my arguments are being passed */ |