Unknown W. Brackets
f70f70925d
Highlight arguments from the selected range.
...
For example, if "lui v0,0x8000" is selected, highlight "v0" or "0x8000"
used as arguments on other lines. Makes it a bit easier to follow.
2014-03-02 22:49:22 -08:00
chinhodado
9ba79f31a2
minor change in file filter
2014-02-22 22:35:15 -05:00
Unknown W. Brackets
76afb2a8d5
Avoid returning points from the symbol map.
...
Now that it uses a lookup, this is even more dangerous. But, the maps
could be reordered while it's trying to print the pointer and cause that
data to become invalid.
This should be safe from race conditions.
2014-01-25 21:40:23 -08:00
Henrik Rydgard
455a73bba7
Bugfix replace function inlining (compilerPC needs to be increased). Misc.
2013-12-20 15:37:37 +01:00
Henrik Rydgard
2eab4aa1bf
Play around with function replacement. Turned off by default of course.
2013-12-17 23:40:27 +01:00
Henrik Rydgard
2140892074
Initial preparations for ability to replace game functions with custom implementations.
...
Also auto-saves hashmap additions and reapplies the hashmap on function
rename so that if you rename a function that exists in several copies
they will all be labelled.
Note that actual function replacement is not activated yet.
2013-12-17 12:27:20 +01:00
Henrik Rydgård
1296aad6c7
Merge pull request #4675 from Kingcom/Debugger
...
Small debugger fixes and enhancements
2013-11-29 08:30:08 -08:00
Kingcom
85abd37ed1
Small debugger fixes and enhancements
2013-11-29 17:21:48 +01:00
Henrik Rydgård
f8227132f9
Merge pull request #4657 from Kingcom/Debugger
...
Create data directives in disassembler
2013-11-28 01:20:21 -08:00
Unknown W. Brackets
aa37461084
Allow adding functions by selection range.
2013-11-27 23:50:08 -08:00
Kingcom
561379f5c2
Create data directives in disassembler
2013-11-28 00:33:21 +01:00
Kingcom
33dee2d287
Sort symbols when adding or removing function
2013-11-27 13:38:32 +01:00
Kingcom
5844d0107b
Rewrite SymbolTable
2013-11-27 13:33:30 +01:00
Kingcom
274632f304
Minor disassembly tweaks
2013-11-26 11:38:01 +01:00
Kingcom
7c585485bb
Save labels separately from symbols
2013-11-26 00:23:17 +01:00
Kingcom
8146e7bfb0
Fix stepping
2013-11-25 19:51:16 +01:00
Kingcom
ea38eb4318
Correctly rescan visible data
2013-11-25 17:31:39 +01:00
Kingcom
60987d9217
Minor optimization
2013-11-25 14:19:45 +01:00
Kingcom
aab6f588f1
Fix branch lines
2013-11-24 14:46:53 +01:00
Kingcom
0672458a33
Fix follow branch, display symbols
2013-11-24 13:53:50 +01:00
Kingcom
9ea00b2761
Fix copy disasm
2013-11-24 13:53:50 +01:00
Kingcom
63e2f34beb
Correctly identify the start of a line when changing the address
2013-11-24 13:53:50 +01:00
Kingcom
a928c62ad1
Basic implementation and integration of DisassemblyManager
2013-11-24 13:53:50 +01:00
Unknown W. Brackets
c1c1b5213e
Fix logging missing in headless with --log.
2013-11-17 10:15:13 -08:00
Kingcom
819ffec322
Improve copied disassembly
2013-11-16 12:21:05 +01:00
Kingcom
7ba00fa65f
Change register value by "assembling" "reg=value"
2013-11-16 10:49:39 +01:00
Kingcom
2ec48b0154
-scan functions on vscroll
...
-scroll without moving the cursor with ctrl+up/down
-set cursor to start/end of window with ctrl+prior/next
2013-11-16 10:26:46 +01:00
Unknown W. Brackets
3771ec1959
Use Ctrl-C/Ctrl-Insert to copy in disasm.
...
This means trading Ctrl-C (was find again) for F3. Also made Ctrl-F find
as well as Ctrl-S.
2013-11-09 10:57:43 -08:00
Kingcom
aae08173f1
Extend follow functionality of disassembly
2013-11-05 21:20:21 +01:00
Henrik Rydgård
ebd3763c7e
Merge pull request #4458 from Kingcom/KeyStateFix
...
Correct use of GetAsyncKeyState
2013-11-05 02:36:39 -08:00
Kingcom
0e61913839
Remove redundant != 0 checks
2013-11-05 11:34:53 +01:00
Kingcom
a972b5d0dc
Correct use of GetAsyncKeyState
2013-11-05 11:29:55 +01:00
Henrik Rydgård
2af9ef45a3
Merge pull request #4413 from Kingcom/Debugger
...
Change "goto in memory view" behavior
2013-11-03 03:19:12 -08:00
Kingcom
6ac29b314a
Advance cursor after assembling
2013-11-03 10:14:46 +01:00
Kingcom
e8b8f89aa8
Use the disassembly's memory view for "goto in memory view"
2013-11-02 17:39:39 +01:00
Henrik Rydgård
7678107a4a
Merge pull request #4380 from Bigpet/disasm_additions
...
added disasm debugger features to remove and add functions
2013-10-30 11:45:59 -07:00
Peter Tissen
d8b4ec6680
added disasm debugger features to remove and add functions
2013-10-30 16:13:18 +01:00
Kingcom
5bb7ac8b7e
Various debug ui fixes and enhancements
2013-10-30 12:12:33 +01:00
Unknown W. Brackets
f9e4cae3c0
Debugger: fix "run to here" functionality.
2013-10-27 12:52:21 -07:00
Kingcom
ef1e34bffd
Only display full disassembly lines
2013-10-19 00:58:42 +02:00
Henrik Rydgård
1e6aa83bb6
Merge pull request #4210 from Kingcom/Debugger
...
Highlight branch arrows that reference the current opcode
2013-10-17 02:58:01 -07:00
Kingcom
35a7cb437b
Don't create the pen before the function is sure to run until the end
2013-10-16 15:23:12 +02:00
Kingcom
4483b5cff0
Delete pen
2013-10-16 15:19:32 +02:00
Kingcom
ff5e4b0cf3
Highlight branch arrows in a different color if they start/end at the current opcode
2013-10-16 15:15:00 +02:00
Unknown W. Brackets
9fe1a99ab3
Fix some warnings.
2013-10-14 22:09:21 -07:00
Kingcom
480c766776
Fix rotrv (dis)assembly
2013-10-13 10:36:43 +02:00
Unknown W. Brackets
a528f797b1
32-bit warning fixes in the debugger/win UI.
2013-09-23 23:44:58 -07:00
Unknown W. Brackets
a7f9723528
Warning fixes.
2013-09-22 19:06:01 -07:00
Kingcom
595693cacb
Scan after assembling
2013-09-22 13:04:31 +02:00
Kingcom
86cba76bb2
Crash fix and more scanning
2013-09-22 13:00:25 +02:00