aboutsummaryrefslogtreecommitdiff
path: root/gdb/tm-mips.h
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1991-11-04 23:15:31 +0000
committerPer Bothner <per@bothner.com>1991-11-04 23:15:31 +0000
commitabefb1f107afeef549f30b47d73dd0b4d9cbe08b (patch)
tree71d887f16381f6ee775ccc1e3a3c216edcd50353 /gdb/tm-mips.h
parent6a8687f3c73e4054f225e034a009afb7803db294 (diff)
downloadgdb-abefb1f107afeef549f30b47d73dd0b4d9cbe08b.zip
gdb-abefb1f107afeef549f30b47d73dd0b4d9cbe08b.tar.gz
gdb-abefb1f107afeef549f30b47d73dd0b4d9cbe08b.tar.bz2
* infrun.c: Fixed typo in comment.
* utils.c: All the v*fprintf emulation is now in libiberty, so we can get rid of some junk. * xm-sun3os4.h, xm-sun4os4.h, xconfig/decstation, xconfig/i386sco, xconfig/sun3os4, xconfig/sun4os4: Don`t need HAVE_STRSTR any more. * m68k-pinsn.c (print_insn_arg): Support BB/BW/BL type operands, as used by branch instructions. * gmalloc.c: Fix prototype of memcpy. * elfread.c: Comment out register_addr, since it conflicts with the one in coredep.c. * buildsym.h: Remove extern declarations of two functions that are really static in buildsym.c. * tm-mips.h: Add symbolic names for more registers. * mips-xdep.c (store_inferior_registers): Use new register names. * xm-mips.h: Simplify REGISTER_U_ADDR, since it is now only used for core files, not ptrace. Therefore, the KERNEL_U_ADDR hack is no longer needed. The mapping to ptrace number is now in in mips-xdep.c. * mips-xdep.c: Define REGISTER_PTRACE_ADDR (using the mapping from the old REGISTER_U_ADDR), and use it in {fetch,store}_inferior_registers. * mipsread.c: Rename #include ecoff.h to new name coff-mips.h. * mips-tdep.c (mips_push_dummy_frame, mips_pop_frame): Save/restore FP regs correctly (?). * dbxread.c: Remove duplicate define_symbol and type_synonym_name (these had been previously moved to buildsym.c). Hence, define_symbol becomes extern instead of static. * buildsym.c (read_struct_type): Comment out bogus handling of C++ operator methods. Minor hacking of reading of class contexts. Make define_symbol non-static, so dbxread.c can call it.
Diffstat (limited to 'gdb/tm-mips.h')
-rw-r--r--gdb/tm-mips.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/tm-mips.h b/gdb/tm-mips.h
index edc6aab..f872a04 100644
--- a/gdb/tm-mips.h
+++ b/gdb/tm-mips.h
@@ -120,12 +120,15 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
to be actual register numbers as far as the user is concerned
but do serve to get the desired values when passed to read_register. */
+#define ZERO_REGNUM 0 /* read-only register, always 0 */
#define SP_REGNUM 29 /* Contains address of top of stack */
-#define PC_REGNUM 37 /* Contains program counter */
#define RA_REGNUM 31 /* Contains return address value */
#define PS_REGNUM 32 /* Contains processor status */
#define HI_REGNUM 34 /* Multiple/divide temp */
#define LO_REGNUM 33 /* ... */
+#define BADVADDR_REGNUM 35 /* bad vaddr for addressing exception */
+#define CAUSE_REGNUM 36 /* describes last exception */
+#define PC_REGNUM 37 /* Contains program counter */
#define FP0_REGNUM 38 /* Floating point register 0 (single float) */
#define FCRCS_REGNUM 70 /* FP control/status */
#define FCRIR_REGNUM 71 /* FP implementation/revision */