Commit Graph
205 Commits
Author SHA1 Message Date
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
Unknown W. Brackets dd2e996838 Fix some type comparison warnings. 2013-12-01 11:21:16 -08: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 Rydgard 55500d4bb6 Reorder VFPU registers in memory so that we can flush and reload them in bulk more often.
Doesn't actually do that yet, that's for the NEON branch.
2013-11-28 13:27:51 +01:00
Henrik Rydgård 620bb14d6b Merge pull request #4662 from Kingcom/Debugger
Disassembler fix
2013-11-28 02:04:13 -08:00
Kingcom cca750aab5 Fix invalid memory access on start, remove combo box code from symbol map 2013-11-28 10:49:02 +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 32f4a7594a Add bounds checks to columns accessors.
Hit a crash in one of these on a rare case, so better to check.
2013-11-27 23:53:18 -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 9a29e8b0bf More efficient "loose" opcode detection, clear entries when symbols were loaded 2013-11-25 16:18:29 +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
pal1000 c2d7b1eb10 Build fix 2013-11-21 22:00:57 +02:00
pal1000 1d00da98e3 Pause emulation if needed only when user clicks OK on Dump Memory Window 2013-11-21 15:45:32 +02:00
pal1000 2f52872eb3 Performed cleanup in CtrlMemView.cpp 2013-11-21 15:10:20 +02:00
Henrik Rydgård 89b48cf95b Add missing brace. 2013-11-20 16:57:12 +01:00
pal1000 e2aa554884 Indentation fix part 2 2013-11-20 17:46:01 +02:00
pal1000 8fa99749c9 Indentation fix for CtrlMemView.cpp 2013-11-20 17:43:26 +02:00
Henrik Rydgård fdaa3df4af Merge pull request #4534 from Bigpet/WinRegisterlistFix
Windows Register List fixes
2013-11-19 13:25:50 -08:00
pal1000 77cad8f5be Attempted an indentation fix 2013-11-19 19:37:09 +02:00
pal1000 de09ce6d1c Fix: Auto resume emulation if emulation was in running state to begin with 2013-11-19 19:29:38 +02:00
pal1000 37e52f8b92 Attempt on fixing breakage caused by pull #4575 by using a simpler and more cautious coding 2013-11-19 19:18:08 +02:00
pal1000 34be878d2a Automatically resume emulation after memory dump only if the emulation was active beforehand 2013-11-19 15:11:47 +02:00
pal1000 3d2d3cdaaa Ask the user about resuming emulation after memory dump completed. 2013-11-18 15:38:31 +02:00
pal1000 c64ba56d6e Update windows Memory Viewer: Attempt automatic pause/resume when dumping RAM
May need testing.
2013-11-18 12:30:52 +02:00
Unknown W. Brackets c1c1b5213e Fix logging missing in headless with --log. 2013-11-17 10:15:13 -08:00
Unknown W. Brackets 5f3d7d5c97 Add support for fpu and vfpu regs in expressions.
This way you can break based on the value.
2013-11-17 02:15:15 -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
Peter Tissen d1d3097f66 Windows Register List fixes
make the rightclick work in the registerlist for all displayed registers.
The LO HI and PC registers couldn't be rightclicked previously.

Also, if you rightlick a valid row and then rightclick on the leftmost 16
pixels you'd get the popup menu for the old selection (even on invalid y
indices).

Make the "change register value"-dialog start with '0x' because otherwise
values starting with an alphabetical hexadecimal symbol will yield
be parsed as a symbol instead of a number and yield 'unknown symbol'
2013-11-14 00:41:51 +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 ee553afebc Reset cycle counter when stepping out 2013-11-08 17:41:50 +01:00
Henrik Rydgård 44c866e90c Merge pull request #4474 from Kingcom/Debugger
Periodically redraw memory view
2013-11-07 11:38:53 -08:00
Henrik Rydgård 02204bac7c Merge pull request #4475 from Kingcom/MemView
Allow copying 16 and 32 bit values from the memory view
2013-11-07 11:38:33 -08:00
Kingcom c85a7623cc Allow copying 16 and 32 bit values from the memory view 2013-11-07 19:49:46 +01:00