diff options
author | Yao Qi <yao.qi@linaro.org> | 2016-03-18 14:39:09 +0000 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2016-03-18 14:39:09 +0000 |
commit | 941319d15194580a047484a53f232d374dc2d712 (patch) | |
tree | 076bd6243885f904fcc6508d6e1ffb73a904a88b /gdb/ChangeLog | |
parent | 35ac8b3e2dbbe1fcd107dfcc6bbc4faed6bdc63f (diff) | |
download | gdb-941319d15194580a047484a53f232d374dc2d712.zip gdb-941319d15194580a047484a53f232d374dc2d712.tar.gz gdb-941319d15194580a047484a53f232d374dc2d712.tar.bz2 |
[spu] throw error when target_read_memory fails
I happen to see that 1 is returned in spu_software_single_step when
target_read_memory returns 1. It must be wrong. That patch changes
it to throwing an error. Note that I choose to throw error because I
find the code in the end of spu_software_single_step throws errors.
gdb:
2016-03-18 Yao Qi <yao.qi@linaro.org>
* spu-tdep.c (spu_software_single_step): Throw error when
target_read_memory fails.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2df6ccd..c074568 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2016-03-18 Yao Qi <yao.qi@linaro.org> + + * spu-tdep.c (spu_software_single_step): Throw error when + target_read_memory fails. + 2016-03-17 Jan Kratochvil <jan.kratochvil@redhat.com> * linux-thread-db.c (check_pid_namespace_match): Extend the message. |