diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2010-02-10 18:45:03 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2010-02-10 18:45:03 +0000 |
commit | 9fd3625f79a17480dd4017136edf4f9a21e834df (patch) | |
tree | a27963bf369cf3f9765ddc59a949717f93972914 /gdb/target-descriptions.h | |
parent | 2fe842e549b8ded430efbbea11f10e85ad27cced (diff) | |
download | gdb-9fd3625f79a17480dd4017136edf4f9a21e834df.zip gdb-9fd3625f79a17480dd4017136edf4f9a21e834df.tar.gz gdb-9fd3625f79a17480dd4017136edf4f9a21e834df.tar.bz2 |
Add i387_ext, i386_eflags and i386_mxcsr.
2010-02-10 H.J. Lu <hongjiu.lu@intel.com>
* target-descriptions.c (tdesc_type): Add TDESC_TYPE_I387_EXT,
TDESC_TYPE_I386_EFLAGS and TDESC_TYPE_I386_MXCSR.
(tdesc_predefined_types): Add i387_ext, i386_eflags and
i386_mxcsr.
(tdesc_find_type): New.
(tdesc_gdb_type): Use tdesc_find_type. Handle TDESC_TYPE_I387_EXT,
TDESC_TYPE_I386_EFLAGS and TDESC_TYPE_I386_MXCSR.
* target-descriptions.h (tdesc_find_type): New.
Diffstat (limited to 'gdb/target-descriptions.h')
-rw-r--r-- | gdb/target-descriptions.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/target-descriptions.h b/gdb/target-descriptions.h index 17f52eb..da0564b 100644 --- a/gdb/target-descriptions.h +++ b/gdb/target-descriptions.h @@ -176,6 +176,10 @@ const char *tdesc_register_name (struct gdbarch *gdbarch, int regno); struct type *tdesc_register_type (struct gdbarch *gdbarch, int regno); +/* Return the type associated with ID, from the target description. */ + +struct type *tdesc_find_type (struct gdbarch *gdbarch, const char *id); + /* Check whether REGNUM is a member of REGGROUP using the target description. Return -1 if the target description does not specify a group. */ |