-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch adds a unit test about memory error occurs on reading memory, and check MEMORY_ERROR exception is always thrown. gdb: 2017-01-26 Yao Qi <[email protected]> * disasm-selftests.c (memory_error_test): New function. (_initialize_disasm_selftests): Register memory_error_test.
- Loading branch information
Yao Qi
committed
Jan 26, 2017
1 parent
79843d4
commit 658ca58
Showing
2 changed files
with
47 additions
and
0 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,8 @@ | ||
2017-01-26 Yao Qi <[email protected]> | ||
|
||
* disasm-selftests.c (memory_error_test): New function. | ||
(_initialize_disasm_selftests): Register memory_error_test. | ||
|
||
2017-01-26 Yao Qi <[email protected]> | ||
|
||
* Makefile.in (SFILES): Add disasm-selftests.c and | ||
|
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