OSDN Git Service

2011-03-03 Yao Qi <yao@codesourcery.com>
authorqiyao <qiyao>
Thu, 3 Mar 2011 11:18:24 +0000 (11:18 +0000)
committerqiyao <qiyao>
Thu, 3 Mar 2011 11:18:24 +0000 (11:18 +0000)
commitd7c7174d3c9d02db543ec2b2c1fb658a5dab1a97
tree0728ab8b8e4b42994fc6b446fb23275d692a13ae
parent840b5a884cbcf2bdedb0024445947d5d80fe22bd
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