-
Notifications
You must be signed in to change notification settings - Fork 192
Crash Screen Updates #888
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
someone2639
wants to merge
113
commits into
HackerN64:develop/2.4.0
Choose a base branch
from
someone2639:crash_c1
base: develop/2.4.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Crash Screen Updates #888
Changes from all commits
Commits
Show all changes
113 commits
Select commit
Hold shift + click to select a range
3e96730
add all remaining easy instructions
320237a
move branch and C1 instructions to top so that they get detected first
ce0da79
de-prioritize double bitmath because it seems to conflict with branches
7412862
fix emux print
12c3ada
deprioritize more double instructions
49586a9
Add REGIMM branches
ab2599b
Add n64sym from libdragon
e898278
turn magic numbers into defines for draw_glyph
a7648c8
Replace crash screen font; reorganize crash screen to use more of the…
c2d8188
move elements around; add some lowercase instructions
e706faa
COP1 disasm from libdragon
4aeca68
add jal address to disasm; off-by-one error in map parsing if the add…
28bc67d
give ra's funcname more space; actually draw rectangles on all pages
3f7858e
Add failsafe for instruction disasm
8ab428a
start on porting libdragon backtrace (does not work)
916f391
remove segmented addresses from sym file
8ebae9f
don't dox user in n64sym, actually get filenames
7c8f95b
remove unnecessary debug sections; pretty up page 0
ac51866
try the old heuristic
0aa4cc8
ok maybe i do need a new heuristic
c94386d
Add line support for all lines
23a009b
start moving files to src/debugger
af3a977
split out symtable and map_parser
1dbb958
diff and warning reduction; finally move crash_screen over
39142c3
--all-lines work
d221c98
properly guard --all-lines in the code itself
2f9e4a3
add text color; fix J disasm
3d576aa
fix the makefile switch; decontrast the line numbers in disasm
5b2d8cb
diff reductions
7b11772
make search_symbol return all info instead
b2ee294
add func names to starts in disasm; more robust make switches
17904c6
actually generate line tables when generating symbols; fix function n…
3a69ecc
I thought assertf was in the repo already :thinking:
b2d8658
Assert/f and aggress/f tested
856455a
new stack trace that verifies entries
d29ba9f
label the end of stack; add syscall
915ad43
fix prelim link
b8cb13c
diff reduction
c00f64c
turn off isv
f1c2660
allow stack trace to be disabled
6bf198b
fully handle disabling export_symbols
802c921
and dont include the sym file in the rom either
582126f
oops
1e724ed
set my defaults
4c0adf3
fix compile errors
5e39bf4
actually export debug data
835c216
oops
69d3b8b
aglab gave this patch to anime and games fan, and I edited it so that…
d63a464
subprocess searches the path on linux, no more mingw-specific behavio…
860bc0e
dont need objdump_exe anymore
8ddacea
add errorf
4476fb8
asserts no longer unreachable when disabled
8d357ab
merge 2.4
c52dcb3
merge upstream
a8bf89c
fix the case of errorf with one arg
d96152d
use cpp concatenation for errorf
c195c27
swap macro order
d18faaa
address feedback
a654603
DEBUG_FULL_STACK_TRACE promoted to a makefile switch
596cbb7
compile error
4ccff73
crash_screen external header
b68d787
more header moving
5fec133
C
105be23
start diff reduction
8c1db60
move the file
20e0a5c
get the diffs
8797a8c
start addressing feedback
4123c82
tool warnings (keep n64sym changes less involved so that we can pull …
994c762
assert fix
a458dde
make the condition use the newline func too
3ae7910
assert page colored
00350b2
now assert page is fully colored
c4fa4f9
add string ... function
de6cf12
truncate a bit more
aa2b355
add a margin to just about everything
e7837f5
split out foldername in path split func
d3bb8b6
handle (some) cache memes on ares
fed3323
remove debug print comment
205fd75
don't let disasm go out of bounds; fast scroll
a303132
overview
1984181
assert page with more
8581459
Add tab support
c132532
bring back the truncation
55a61bf
ellide in disasm view too
1b683ed
dont print file/line and then line
30a74dc
stuff on same line as descriptor
9106c47
and the overview screen
4a8982b
Merge branch 'develop/2.4.0' into crash_c1
someone2639 021f812
manual edit to overview page
d9282e7
allow DEBUG_EXPORT_ALL_LINES to work again
70eacc0
color overview
dd6c2f7
we dont use this define anymore
5b0462d
feed1
a0c167f
feed2
d8a1331
page_ -> CRASH_SCREEN_PAGE_
fe1e595
feedback so far
4f38e49
indent
1c9cd99
rename crashscreen.h defs
136593c
tab ->
10ff904
and order
9b727e1
translucent crash
4227828
address feedback kinda
03679f5
add comment
81b183e
Merge branch 'develop/2.4.0' into crash_c1
gheskett b2e8506
fix background on puppyprint page
aa9482e
fix spacing
f89440a
fix the disasm bug (dont even remember why i added that logic)
51b2272
add dwarf to some audio files too
84c900d
update heuristic to catch a weird edge case
35a76d6
remove debug print
5702a6b
remove all hardcoded x positions and replace them with spaces
f57652f
puppyprint swap
0dce81f
Add new Makefile flags to vscode c_cpp_properties.json
gheskett File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 was deleted.
Oops, something went wrong.
This file contains hidden or 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,19 +1,22 @@ | ||
| .include "macros.inc" | ||
| #include "src/debugger/assert.h" | ||
|
|
||
| .section .data | ||
| glabel __n64Assert_Filename | ||
| .skip 4 | ||
| glabel __n64Assert_LineNum | ||
| .skip 4 | ||
| glabel __n64Assert_Message | ||
| glabel __n64Assert_Condition | ||
| .skip 4 | ||
| glabel __n64Assert_MessageBuf | ||
| .skip ASSERT_MESGBUF_SIZE | ||
|
|
||
| .section .text | ||
|
|
||
| glabel __n64Assert | ||
| sw $a0, __n64Assert_Filename | ||
| sw $a1, __n64Assert_LineNum | ||
| sw $a2, __n64Assert_Message | ||
| sw $a2, __n64Assert_Condition | ||
| syscall | ||
| nop | ||
|
|
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.