diff options
author | Yao Qi <yao.qi@linaro.org> | 2016-11-03 14:35:13 +0000 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2016-11-03 14:35:13 +0000 |
commit | 44f1c4d7b0160a51ecf7fe1af42416f1d2a71356 (patch) | |
tree | 4558461fea9c59ecd26a82212206db5affe52234 /gdb/ChangeLog | |
parent | 598cc9dc84aeaa66e4a77efa9dc8ff03d5532620 (diff) | |
download | gdb-44f1c4d7b0160a51ecf7fe1af42416f1d2a71356.zip gdb-44f1c4d7b0160a51ecf7fe1af42416f1d2a71356.tar.gz gdb-44f1c4d7b0160a51ecf7fe1af42416f1d2a71356.tar.bz2 |
Add enum for mips breakpoint kinds
This patch adds an enum mips_breakpoint_kind to avoid using magic
numbers as much as possible.
gdb:
2016-11-03 Yao Qi <yao.qi@linaro.org>
* mips-tdep.c (mips_breakpoint_kind): New enum.
(mips_breakpoint_from_pc): Use it.
(mips_remote_breakpoint_from_pc): Likewise.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7ae7359..f4f3e8b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ 2016-11-03 Yao Qi <yao.qi@linaro.org> + * mips-tdep.c (mips_breakpoint_kind): New enum. + (mips_breakpoint_from_pc): Use it. + (mips_remote_breakpoint_from_pc): Likewise. + +2016-11-03 Yao Qi <yao.qi@linaro.org> + * arch-utils.h (GDBARCH_BREAKPOINT_MANIPULATION): New macro. (SET_GDBARCH_BREAKPOINT_MANIPULATION): New macro. aarch64-tdep.c (aarch64_breakpoint_from_pc): Remove. Use |