diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2009-07-02 12:52:52 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2009-07-02 12:52:52 +0000 |
commit | 209bd28e8ba1a8d4f3f5e90ea954437050870837 (patch) | |
tree | c698a17c33330d90bf8c511a622064e2ac6ccc82 /gdb/i386-tdep.h | |
parent | 270677457f363b213b10923759f4f96ed1aa868b (diff) | |
download | gdb-209bd28e8ba1a8d4f3f5e90ea954437050870837.zip gdb-209bd28e8ba1a8d4f3f5e90ea954437050870837.tar.gz gdb-209bd28e8ba1a8d4f3f5e90ea954437050870837.tar.bz2 |
* i386-tdep.h (struct gdbarch_tdep): Add i386_eflags_type and
i386_mxcsr_type members.
(i386_eflags_type): Make into function.
(i386_mxcsr_type): Likewise.
* i386-tdep.c (i386_eflags_type): Make into function.
(i386_mxcsr_type): Likewise.
(i386_register_type): Update uses.
(i386_init_types): Remove.
(_initialize_i386_tdep): Do not call it.
* amd64-tdep.c (amd64_register_type): Update uses.
* m68k-tdep.h (struct gdbarch_tdep): Add m68k_ps_type member.
* m68k-tdep.c (m68k_ps_type): Make into function.
(m68k_register_type): Update use.
(m68k_init_types): Remove.
(_initialize_m68k_tdep): Do not call it.
* sparc-tdep.h (struct gdbarch_tdep): Add sparc_psr_type,
sparc_fsr_type, sparc64_pstate_type, sparc64_fsr_type, and
sparc64_fprs_type members.
* sparc-tdep.c (sparc_psr_type): Make into function.
(sparc_fsr_type): Likewise.
(sparc32_register_type): Update uses.
(sparc_init_types): Remove.
(_initialize_sparc_tdep): Do not call it.
* sparc64-tdep.c (sparc64_pstate_type): Make into function.
(sparc64_fsr_type): Likewise.
(sparc64_fprs_type): Likewise.
(sparc64_register_type): Update uses.
(sparc64_init_types): Remove.
(_initialize_sparc64_tdep): Likewise.
Diffstat (limited to 'gdb/i386-tdep.h')
-rw-r--r-- | gdb/i386-tdep.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/i386-tdep.h b/gdb/i386-tdep.h index f058273..8b436d7 100644 --- a/gdb/i386-tdep.h +++ b/gdb/i386-tdep.h @@ -104,6 +104,8 @@ struct gdbarch_tdep int sc_sp_offset; /* ISA-specific data types. */ + struct type *i386_eflags_type; + struct type *i386_mxcsr_type; struct type *i386_mmx_type; struct type *i386_sse_type; struct type *i387_ext_type; @@ -160,9 +162,8 @@ enum i386_regnum #define I386_MAX_REGISTER_SIZE 16 /* Types for i386-specific registers. */ -extern struct type *i386_eflags_type; -extern struct type *i386_mxcsr_type; - +extern struct type *i386_eflags_type (struct gdbarch *gdbarch); +extern struct type *i386_mxcsr_type (struct gdbarch *gdbarch); extern struct type *i386_mmx_type (struct gdbarch *gdbarch); extern struct type *i386_sse_type (struct gdbarch *gdbarch); extern struct type *i387_ext_type (struct gdbarch *gdbarch); |