diff options
author | Daniel Jacobowitz <dan@debian.org> | 2007-09-10 21:14:11 +0000 |
---|---|---|
committer | Daniel Jacobowitz <dan@debian.org> | 2007-09-10 21:14:11 +0000 |
commit | f17c84c2b78d6fde4bba0660c5962fbd3bba573a (patch) | |
tree | c911c1b9f6ab0cfde413db3c703a1bbc290cfcfc /gdb/mips-tdep.h | |
parent | 2eddd513bffe2d99bc8ccf1c4c1aabf80ec4d441 (diff) | |
download | gdb-f17c84c2b78d6fde4bba0660c5962fbd3bba573a.tar.gz |
* arch-utils.c (gdbarch_info_fill): Also try core_bfd.
* corelow.c (core_read_description): New.
(init_core_ops): Set to_read_description.
* gdbarch.sh: Add gdbarch_core_read_description.
* mips-linux-tdep.c (mips_linux_core_read_description): New.
(mips_linux_init_abi): Call set_gdbarch_core_read_description.
* mips-tdep.c (mips_tdesc_gp32, mips_tdesc_gp64): New.
(mips_register_g_packet_guesses): Use them.
(_initialize_mips_tdep): Initialize them.
* mips-tdep.h (mips_tdesc_gp32, mips_tdesc_gp64): Declare.
* gdbarch.h, gdbarch.c: Regenerated.
Diffstat (limited to 'gdb/mips-tdep.h')
-rw-r--r-- | gdb/mips-tdep.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/mips-tdep.h b/gdb/mips-tdep.h index ec3a611e5a0..bb2a0d04bdf 100644 --- a/gdb/mips-tdep.h +++ b/gdb/mips-tdep.h @@ -102,4 +102,9 @@ extern int mips_pc_is_mips16 (bfd_vma memaddr); /* Return the currently configured (or set) saved register size. */ extern unsigned int mips_abi_regsize (struct gdbarch *gdbarch); +/* Target descriptions which only indicate the size of general + registers. */ +extern struct target_desc *mips_tdesc_gp32; +extern struct target_desc *mips_tdesc_gp64; + #endif /* MIPS_TDEP_H */ |