This repository has been archived by the owner on Aug 17, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 234
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split breakpoint_from_pc to breakpoint_kind_from_pc and sw_breakpoint…
…_from_kind We convert each ARCH_breakpoint_from_pc to ARCH_breakpoint_kind_from_pc and ARCH_sw_breakpoint_from_kind. Note that gdbarch doesn't have methods breakpoint_kind_from_pc and sw_breakpoint_from_kind so far. gdb: 2016-11-03 Yao Qi <[email protected]> * arch-utils.h (GDBARCH_BREAKPOINT_FROM_PC): New macro. (GDBARCH_BREAKPOINT_MANIPULATION_ENDIAN): New macro. * arm-tdep.c (arm_breakpoint_from_pc): Remove. (arm_breakpoint_kind_from_pc): New function. (arm_sw_breakpoint_from_kind): New function. (arm_breakpoint_from_pc): Call arm_breakpoint_kind_from_pc and arm_sw_breakpoint_from_kind. Use GDBARCH_BREAKPOINT_FROM_PC. (arm_remote_breakpoint_from_pc): Call arm_breakpoint_kind_from_pc. (arm_gdbarch_init): Replace set_gdbarch_breakpoint_from_pc with SET_GDBARCH_BREAKPOINT_MANIPULATION. * arc-tdep.c: Likewise. * bfin-tdep.c: Likewise. * cris-tdep.c: Likewise. * iq2000-tdep.c: Likewise. * m32r-tdep.c: Likewise. * mips-tdep.c: Likewise. * mt-tdep.c: Likewise. * nios2-tdep.c: Likewise. * rs6000-tdep.c: Likewise. * score-tdep.c: Likewise. * sh-tdep.c: Likewise. * sh64-tdep.c: Likewise. * tic6x-tdep.c: Likewise. * v850-tdep.c: Likewise. * xtensa-tdep.c: Likewise.
- Loading branch information
Yao Qi
committed
Nov 3, 2016
1 parent
44f1c4d
commit d19280a
Showing
18 changed files
with
522 additions
and
386 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,33 @@ | ||
2016-11-03 Yao Qi <[email protected]> | ||
|
||
* arch-utils.h (GDBARCH_BREAKPOINT_FROM_PC): New macro. | ||
(GDBARCH_BREAKPOINT_MANIPULATION_ENDIAN): New macro. | ||
* arm-tdep.c (arm_breakpoint_from_pc): Remove. | ||
(arm_breakpoint_kind_from_pc): New function. | ||
(arm_sw_breakpoint_from_kind): New function. | ||
(arm_breakpoint_from_pc): Call arm_breakpoint_kind_from_pc | ||
and arm_sw_breakpoint_from_kind. | ||
Use GDBARCH_BREAKPOINT_FROM_PC. | ||
(arm_remote_breakpoint_from_pc): Call | ||
arm_breakpoint_kind_from_pc. | ||
(arm_gdbarch_init): Replace set_gdbarch_breakpoint_from_pc | ||
with SET_GDBARCH_BREAKPOINT_MANIPULATION. | ||
* arc-tdep.c: Likewise. | ||
* bfin-tdep.c: Likewise. | ||
* cris-tdep.c: Likewise. | ||
* iq2000-tdep.c: Likewise. | ||
* m32r-tdep.c: Likewise. | ||
* mips-tdep.c: Likewise. | ||
* mt-tdep.c: Likewise. | ||
* nios2-tdep.c: Likewise. | ||
* rs6000-tdep.c: Likewise. | ||
* score-tdep.c: Likewise. | ||
* sh-tdep.c: Likewise. | ||
* sh64-tdep.c: Likewise. | ||
* tic6x-tdep.c: Likewise. | ||
* v850-tdep.c: Likewise. | ||
* xtensa-tdep.c: Likewise. | ||
|
||
2016-11-03 Yao Qi <[email protected]> | ||
|
||
* mips-tdep.c (mips_breakpoint_kind): New enum. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.