This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Add enum for mips breakpoint kinds
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Thu, 03 Nov 2016 11:16:02 -0400
- Subject: [binutils-gdb] Add enum for mips breakpoint kinds
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 44f1c4d7b0160a51ecf7fe1af42416f1d2a71356 ***
Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 44f1c4d7b0160a51ecf7fe1af42416f1d2a71356
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.