Commit graph

427 commits

Author SHA1 Message Date
Henrik Rydgard
6ec74ef99e Be consistent about how we read and update the UI state variable 2014-06-22 09:57:01 +02:00
Unknown W. Brackets
9efbc2694b Add an invalidate all method to the jit. 2014-06-19 01:13:06 -07:00
Unknown W. Brackets
9f01c02626 Don't try to read breakpoint info after exit.
Fixes a crash on exit when on a breakpoint.
2014-05-31 10:03:01 -07:00
Kingcom
6256f64507 Display label name in status bar 2014-03-31 17:00:48 +02:00
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
Henrik Rydgård
b7651b61c7 Merge pull request #5546 from chinhodado/fixes
some minor fixes and changes
2014-02-23 19:12:42 +07:00
chinhodado
9ba79f31a2 minor change in file filter 2014-02-22 22:35:15 -05:00
chinhodado
6491557c17 fix a wrong parameter 2014-02-22 21:29:03 -05:00
Unknown W. Brackets
f6abfb9444 Fix hang if you use disasm goto outside game. 2014-02-20 01:02:39 -08:00
Unknown W. Brackets
f62eb4848d Add a few more safety checks for SendMessage().
Broadcasting is bad.
2014-02-17 21:08:34 -08:00
Unknown W. Brackets
ec34c31416 Initialize the status bar earlier.
We try to set its text sometimes before creating it, which can cause a
random hang.  It could also maybe be causing the window titles to be
blanked out.
2014-02-17 20:52:38 -08:00
Unknown W. Brackets
8f09a341df Fix a few leaks in the Windows UI code. 2014-02-14 21:08:24 -08:00
Kingcom
2b7a601c17 Add checkboxes to GenericListControl, use them in CtrlBreakpointList 2014-02-13 10:24:42 +01:00
Kingcom
880be6d41d Module list in Windows debugger 2014-01-27 00:35:16 +01:00
Henrik Rydgård
efd44a6933 Merge branch 'debugger2' of https://github.com/unknownbrackets/ppsspp into unknownbrackets-debugger2
Conflicts:
	Core/Debugger/Breakpoints.cpp
2014-01-26 23:10:37 +01:00
Unknown W. Brackets
fe2b62c27d Make the "on change" checkbox for memchecks work.
But, for now, only on sw and similar instructions, the rest don't work
yet and just always break.
2014-01-26 11:57:39 -08: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
Unknown W. Brackets
0fa371ccbf windows: Check PSP_IsInited() in more places.
This prevents showing buttons as clickable, etc. in the debugger mainly.
2014-01-19 14:25:12 -08:00
Kingcom
b6404728ec Jump to function on pressing return in the function list 2014-01-12 01:12:35 +01:00
The Dax
52aa7ee9cf Only set the dialog text if the virtual PSP is inited, as well. 2014-01-02 16:49:26 -05:00
The Dax
db4abcd0c5 Don't crash when the virtual PSP isn't inited. 2014-01-02 14:55:09 -05:00
Unknown W. Brackets
db77dcd149 Fix some includes on Windows/etc. 2013-12-29 15:59:36 -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
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