diff options
author | Yao Qi <yao.qi@linaro.org> | 2016-01-26 14:08:26 +0000 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2016-01-26 14:08:26 +0000 |
commit | 4d18591be953e2faeaaa280484d375fe05857770 (patch) | |
tree | 4c5bbcc7514ab016e52fb52f655f940d05fb2b08 /gdb/ChangeLog | |
parent | d80209703ec2fc85e0a4b3d4d23e7ed448987aca (diff) | |
download | gdb-4d18591be953e2faeaaa280484d375fe05857770.zip gdb-4d18591be953e2faeaaa280484d375fe05857770.tar.gz gdb-4d18591be953e2faeaaa280484d375fe05857770.tar.bz2 |
Remove argument pc in get_next_pcs
Nowadays, get_next_pcs in linux_target_ops has two parameters PC
and REGCACHE. Parameter PC looks redundant because it can be go
from REGCACHE. The patch is to remove PC from the arguments for
various functions.
gdb:
2016-01-26 Yao Qi <yao.qi@linaro.org>
* arch/arm-get-next-pcs.c (thumb_deal_with_atomic_sequence_raw):
Remove argument pc. Get pc by regcache_read_pc. Callers updated.
(arm_deal_with_atomic_sequence_raw): Likewise.
(thumb_get_next_pcs_raw): Likewise.
(arm_get_next_pcs_raw): Likewise.
(arm_get_next_pcs): Remove argument pc. Callers updated.
* arch/arm-get-next-pcs.h (arm_get_next_pcs): Update declaration.
gdb/gdbserver:
2016-01-26 Yao Qi <yao.qi@linaro.org>
* linux-arm-low.c (arm_gdbserver_get_next_pcs): Remove argument pc.
* linux-low.c (install_software_single_step_breakpoints): Don't
call regcache_read_pc.
* linux-low.h (struct linux_target_ops) <get_next_pcs>: Remove
argument pc.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8a4453c..099c10c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,13 @@ +2016-01-25 Yao Qi <yao.qi@linaro.org> + + * arch/arm-get-next-pcs.c (thumb_deal_with_atomic_sequence_raw): + Remove argument pc. Get pc by regcache_read_pc. Callers updated. + (arm_deal_with_atomic_sequence_raw): Likewise. + (thumb_get_next_pcs_raw): Likewise. + (arm_get_next_pcs_raw): Likewise. + (arm_get_next_pcs): Remove argument pc. Callers updated. + * arch/arm-get-next-pcs.h (arm_get_next_pcs): Update declaration. + 2016-01-25 Mark Wielaard <mjw@redhat.com> * ada-lang.c (ada_evaluate_subexp): Add proper else block. |