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/m32r-tdep.c | |
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/m32r-tdep.c')
0 files changed, 0 insertions, 0 deletions