diff options
author | Kevin Buettner <kevinb@redhat.com> | 2001-05-04 04:15:33 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2001-05-04 04:15:33 +0000 |
commit | 39f770628a4eaf018fec8d55684bf2ec16ada9cc (patch) | |
tree | 69027cfb7df2ecc521ab2cc1d25a7dd6cbe56632 /gdb/mips-tdep.c | |
parent | b1af961c8433821f61dd1849cff9eb9a8bb974e8 (diff) | |
download | gdb-39f770628a4eaf018fec8d55684bf2ec16ada9cc.zip gdb-39f770628a4eaf018fec8d55684bf2ec16ada9cc.tar.gz gdb-39f770628a4eaf018fec8d55684bf2ec16ada9cc.tar.bz2 |
Phase 1 of the ptid_t changes.
Diffstat (limited to 'gdb/mips-tdep.c')
-rw-r--r-- | gdb/mips-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index b29a33a..2b312f3 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -546,9 +546,9 @@ pc_is_mips16 (bfd_vma memaddr) all registers should be sign extended for simplicity? */ static CORE_ADDR -mips_read_pc (int pid) +mips_read_pc (ptid_t ptid) { - return read_signed_register_pid (PC_REGNUM, pid); + return read_signed_register_pid (PC_REGNUM, ptid); } /* This returns the PC of the first inst after the prologue. If we can't |