Commit graph

108 commits

Author SHA1 Message Date
Henrik Rydgård
cfbd1b07e8 Some code reformatting in SymbolMap 2013-12-02 15:30:03 +01:00
Henrik Rydgård
16369dde47 Protect against a buffer overflow in symbolmap 2013-12-02 15:29:35 +01:00
pal1000
cfcfb20622 Warning fix in DisassemblyManager.cpp (Visual Studio 2013) 2013-12-02 12:39:01 +02:00
Henrik Rydgård
1c04e923f6 Merge pull request #4706 from Kingcom/Debugger
Automatically pause core when changing breakpoints
2013-12-02 01:51:15 -08:00
Kingcom
df40850617 Automatically pause core when changing breakpoints 2013-12-02 10:42:20 +01:00
Unknown W. Brackets
7de0b28961 Fix an unhandled case value warning. 2013-12-01 11:21:17 -08: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
Unknown W. Brackets
79322103f2 Optimize DisassemblyFunction::getLineNum() a bit.
Improves scrolling performance in some cases in the debugger.
2013-11-28 23:48:12 -08: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
bb41e015b9 Truncate func names when reading symbol maps.
Otherwise they'll get trashed.
2013-11-27 22:11:18 -08:00
Kingcom
577a46be09 Remove useless comment 2013-11-28 00:48:05 +01:00
Kingcom
561379f5c2 Create data directives in disassembler 2013-11-28 00:33:21 +01:00
Kingcom
eeb9667726 Fix QT build (hopefully) 2013-11-27 15:06:41 +01:00
Kingcom
5844d0107b Rewrite SymbolTable 2013-11-27 13:33:30 +01:00
Kingcom
33da416a82 Reduce disassembler memory usage 2013-11-26 22:20:12 +01:00
Kingcom
274632f304 Minor disassembly tweaks 2013-11-26 11:38:01 +01:00
Kingcom
3d4bb3f20b Remove obsolete functions 2013-11-26 00:51:04 +01:00
Kingcom
00a801f6a3 Don't overwrite label name if it already exists, get label value 2013-11-26 00:43:31 +01:00
Kingcom
7c585485bb Save labels separately from symbols 2013-11-26 00:23:17 +01:00
Kingcom
b71bfe5a62 -Get branch lines for opcodes outside of a function
-fix labels causing analyzing issues
2013-11-25 21:53:01 +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
945dc48ea7 Don't recompute number of lines of a function every time 2013-11-25 16:52:42 +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
42c5fe0164 Massive speed optimizations 2013-11-25 13:56:43 +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
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
Kingcom
92e2cdcf59 Read function size from .sym 2013-11-01 14:14:06 +01:00
Peter Tissen
d8b4ec6680 added disasm debugger features to remove and add functions 2013-10-30 16:13:18 +01:00
Unknown W. Brackets
da20bda729 Make memchecks ignore cached/uncached memory.
You usually want both.
2013-10-27 13:15:12 -07:00
Unknown W. Brackets
6b510c1c2f Allow step/run when two breakpoints trip.
If a memcheck and breakpoint were triggered on the same line, you wouldn't
be able to pass it, which is probably not what you'd expect.
2013-10-27 12:50:32 -07:00
Henrik Rydgård
f85b4a4252 Buildfix 2013-10-18 15:07:04 +02:00
Henrik Rydgård
07c818251c Some formatting cleanup.
Yeah, I said we shouldn't do big overhauls..
2013-10-18 14:39:04 +02:00
Kingcom
d12d3058e7 Don't show ListBox if it was hidden before 2013-10-02 09:11:38 +02:00
adrian17
7e3f35dfe3 Removed redundant includes 2013-09-30 19:05:04 +02:00
Unknown W. Brackets
cfb50bf4d6 Add some more locking to prevent crash on reset. 2013-09-15 09:53:49 -07:00
Unknown W. Brackets
7349de55d1 Fix some initialization/sprintf warnings. 2013-09-01 01:15:07 -07:00
Unknown W. Brackets
b558189c37 Just invalidate blocks on ClearCacheAt().
This makes it safe to call from a jitted syscall, etc.
2013-09-01 00:32:43 -07:00
Unknown W. Brackets
8ccd3773d9 Open files using wide functions on win32.
Fixes #3432.
2013-08-27 00:28:46 -07:00
Unknown W. Brackets
18792f64f9 Fix debugger wstring usage. 2013-08-26 23:54:48 -07:00
Henrik Rydgard
55aa3d13c7 Win32: Switch to a UNICODE build. This took quite a bit of fixing. 2013-08-26 19:00:16 +02:00
Unknown W. Brackets
109ad17ac6 Use a typesafe struct for opcodes.
Also, correctly read delayslots using Read_Instruction on ARM.
2013-08-24 15:36:24 -07:00
Unknown W. Brackets
c6c821a0f7 Fix some unitinialized values. 2013-08-12 23:33:11 -07:00