diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-10-30 22:54:40 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-10-30 22:54:40 +0000 |
commit | 24e0595198db53c091cee0757a231d7639f72b73 (patch) | |
tree | 9c3c00d34b045591346142fd95ccc06d1bd43dd9 /gdb/mips-linux-tdep.c | |
parent | 613e114ff9d8c0f2bbe5177ef94f702123bb8885 (diff) | |
download | gdb-24e0595198db53c091cee0757a231d7639f72b73.zip gdb-24e0595198db53c091cee0757a231d7639f72b73.tar.gz gdb-24e0595198db53c091cee0757a231d7639f72b73.tar.bz2 |
2004-10-30 Andrew Cagney <cagney@gnu.org>
* config/mips/tm-mips.h (PS_REGNUM): Delete.
* mips-tdep.h (MIPS_PS_REGNUM): Add.
* remote-vxmips.c, mipsv4-nat.c, mips-tdep.c: Update.
* mips-linux-nat.c: Update.
Diffstat (limited to 'gdb/mips-linux-tdep.c')
-rw-r--r-- | gdb/mips-linux-tdep.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/mips-linux-tdep.c b/gdb/mips-linux-tdep.c index faaa836..60c62ca 100644 --- a/gdb/mips-linux-tdep.c +++ b/gdb/mips-linux-tdep.c @@ -124,7 +124,7 @@ supply_gregset (elf_gregset_t *gregsetp) (char *)(regp + EF_CP0_EPC)); supply_32bit_reg (mips_regnum (current_gdbarch)->badvaddr, (char *)(regp + EF_CP0_BADVADDR)); - supply_32bit_reg (PS_REGNUM, (char *)(regp + EF_CP0_STATUS)); + supply_32bit_reg (MIPS_PS_REGNUM, (char *)(regp + EF_CP0_STATUS)); supply_32bit_reg (mips_regnum (current_gdbarch)->cause, (char *)(regp + EF_CP0_CAUSE)); @@ -152,7 +152,7 @@ fill_gregset (elf_gregset_t *gregsetp, int regno) fill_gregset (gregsetp, mips_regnum (current_gdbarch)->hi); fill_gregset (gregsetp, mips_regnum (current_gdbarch)->pc); fill_gregset (gregsetp, mips_regnum (current_gdbarch)->badvaddr); - fill_gregset (gregsetp, PS_REGNUM); + fill_gregset (gregsetp, MIPS_PS_REGNUM); fill_gregset (gregsetp, mips_regnum (current_gdbarch)->cause); return; @@ -173,7 +173,7 @@ fill_gregset (elf_gregset_t *gregsetp, int regno) regaddr = EF_CP0_EPC; else if (regno == mips_regnum (current_gdbarch)->badvaddr) regaddr = EF_CP0_BADVADDR; - else if (regno == PS_REGNUM) + else if (regno == MIPS_PS_REGNUM) regaddr = EF_CP0_STATUS; else if (regno == mips_regnum (current_gdbarch)->cause) regaddr = EF_CP0_CAUSE; @@ -402,7 +402,7 @@ mips64_supply_gregset (mips64_elf_gregset_t *gregsetp) (char *)(regp + MIPS64_EF_CP0_EPC)); regcache_raw_supply (current_regcache, mips_regnum (current_gdbarch)->badvaddr, (char *)(regp + MIPS64_EF_CP0_BADVADDR)); - regcache_raw_supply (current_regcache, PS_REGNUM, + regcache_raw_supply (current_regcache, MIPS_PS_REGNUM, (char *)(regp + MIPS64_EF_CP0_STATUS)); regcache_raw_supply (current_regcache, mips_regnum (current_gdbarch)->cause, (char *)(regp + MIPS64_EF_CP0_CAUSE)); @@ -431,7 +431,7 @@ mips64_fill_gregset (mips64_elf_gregset_t *gregsetp, int regno) mips64_fill_gregset (gregsetp, mips_regnum (current_gdbarch)->hi); mips64_fill_gregset (gregsetp, mips_regnum (current_gdbarch)->pc); mips64_fill_gregset (gregsetp, mips_regnum (current_gdbarch)->badvaddr); - mips64_fill_gregset (gregsetp, PS_REGNUM); + mips64_fill_gregset (gregsetp, MIPS_PS_REGNUM); mips64_fill_gregset (gregsetp, mips_regnum (current_gdbarch)->cause); return; @@ -452,7 +452,7 @@ mips64_fill_gregset (mips64_elf_gregset_t *gregsetp, int regno) regaddr = MIPS64_EF_CP0_EPC; else if (regno == mips_regnum (current_gdbarch)->badvaddr) regaddr = MIPS64_EF_CP0_BADVADDR; - else if (regno == PS_REGNUM) + else if (regno == MIPS_PS_REGNUM) regaddr = MIPS64_EF_CP0_STATUS; else if (regno == mips_regnum (current_gdbarch)->cause) regaddr = MIPS64_EF_CP0_CAUSE; |