2011-03-03 Yao Qi <yao@codesourcery.com>
authorYao Qi <yao@codesourcery.com>
Thu, 3 Mar 2011 02:18:24 +0000 (02:18 +0000)
committerYao Qi <yao@codesourcery.com>
Thu, 3 Mar 2011 02:18:24 +0000 (02:18 +0000)
commitbf9f652ab6728e11fb3e993c57a9e7133045aad1
tree9e9aca78c117c28e034e75424dde40c3525c294b
parent240f9570d5fd873479a18e00be49519cd3aedbfc
2011-03-03  Yao Qi  <yao@codesourcery.com>

* gdb/arm-tdep.c (shifted_reg_val): Replace magic number 15 with
ARM_PC_REGNUM.
(thumb_get_next_pc_raw, arm_get_next_pc_raw): Likewise.
(displaced_write_reg, displaced_read_reg): Likewise.
(copy_ldr_str_ldrb_strb, cleanup_block_load_all): Likewise.
(cleanup_block_load_pc, copy_block_xfer): Likewise.
(cleanup_branch): Replace magic number 14 and 15 with
ARM_LR_REGNUM and ARM_PC_REGNUM respectively.
gdb/ChangeLog
gdb/arm-tdep.c