Commit Graph

74 Commits

Author SHA1 Message Date
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
Unknown W. Brackets
8786ec74ca Fix some potential threading probs with SymbolMap.
Got some strange crashes.
2013-08-10 20:54:55 -07:00
Kingcom
a8ef18c039 Add pc, hi, and lo to the register list 2013-07-31 10:24:24 +02:00
Kingcom
584c20a84e Slightly more efficient implementation of getDirectSymbol 2013-07-29 19:38:20 +02:00
Kingcom
862cf047da Basic .sym support 2013-07-29 13:06:01 +02:00
Unknown W. Brackets
7b7801d59a Switch to including Windows.h from an intermediate.
This makes it easier for Xbox which uses a separate header.
2013-07-28 21:04:19 -07:00
Kingcom
0eeebf5221 -display disabled breakpoints with separate icon
-toggling disabled breakpoints will enable them
-confirmation on toggling breakpoints with a custom condition
2013-07-10 10:56:03 +02:00
Unknown W. Brackets
932e0b857c Fix a possible infinite loop in the symbol map. 2013-07-07 01:58:23 -07:00
Unknown W. Brackets
0ca8f5c655 Improve performance of ScanForFunctions().
Mostly affects games with a lot of modules and exports.
2013-07-06 16:58:17 -07:00
Unknown W. Brackets
77670876cd Fix memcheck range intersect check. 2013-07-06 12:08:34 -07:00
Unknown W. Brackets
540bd13222 Correctly match ranges in memchecks with ends. 2013-07-05 01:16:57 -07:00
Kingcom
2521a88207 Use ChangeBreakPointAddCond function 2013-07-02 17:43:34 +02:00
Kingcom
c41b08f9e2 Add expression parser to breakpoints 2013-07-02 11:51:29 +02:00
Henrik Rydgård
c28109dfa0 Merge pull request #2576 from Kingcom/master
Expression parser update
2013-07-01 08:23:42 -07:00
Kingcom
e3d3d75e38 Moved expression parser to native and changed how it's accessed 2013-07-01 01:41:06 +02:00
Unknown W. Brackets
f3e27ad9dd Ensure only the very next instruction is skipped. 2013-06-30 16:35:49 -07:00
Unknown W. Brackets
70cd8798be Actually enforce temp breakpoints having no cond. 2013-06-30 16:35:49 -07:00
Unknown W. Brackets
9d8bdee089 Buffer the breakpoints in UI to avoid overflows. 2013-06-30 16:35:48 -07:00
Unknown W. Brackets
9209a30d9b Add skeleton for conditional breakpoints. 2013-06-30 16:35:47 -07:00
Unknown W. Brackets
d513fab60d Fix names with newlines in the symbol map. 2013-06-30 16:35:47 -07:00
Unknown W. Brackets
6bd4383a8a Give memchecks/breakpoints a consistent interface.
Removes the limit on max breakpoints, and makes everything use accessors
for both that look roughly the same.
2013-06-30 15:16:58 -07:00
Unknown W. Brackets
f7b37ee00a Read symbols with spaces in their names.
Before it was changing "UNK: hex" and "EXP: hex" into "UNK:" and "EXP:".
2013-06-30 10:19:29 -07:00
Unknown W. Brackets
c1834908b1 Keep the symbol map entries unique.
Duplicates are annoying, and we have hacks upstream to prevent them that
cause trouble.
2013-06-30 10:04:48 -07:00
Kingcom
6df25d52f0 -ctrl+g for goto in mem viewer/disassembly
-removed skipping of zz_/z_ in disassembly
-fixes to the expression parser
2013-06-29 22:25:17 +02:00
Unknown W. Brackets
609f8d6340 Allow hitting Go on a breakpoint to continue.
Doesn't work for branches though, because of delay slots.
2013-06-29 11:23:24 -07:00
Kingcom
8ce9ad6cf1 Linux build fix 2013-06-29 17:53:45 +02:00
Kingcom
ab1aa09dce Expression parser 2013-06-29 15:17:00 +02:00
Kingcom
d4214af710 Breakpoint list at the bottom of the disassembly window 2013-06-27 21:07:49 +02:00
Kingcom
76f135e077 -edit register by double clicking
-copy register with ctrl+c
2013-06-27 11:50:59 +02:00
Kingcom
827d13c34f -Fix step over for conditional branches
-don't redraw the disassembly window while waiting for a temporary breakpoint
2013-06-26 23:14:15 +02:00
Kingcom
26c4f57691 Shortcuts for the disassembly view, step over extended, fixes 2013-06-26 21:49:15 +02:00
Kingcom
7d0e6ff199 -disassembly view redesigned
-change the cursor with the mouse or with the keyboard
-displays symbols on the left and in opcode arguments
-press tab to toggle displaying of symbols
-click on the highlighted line to toggle a breakpoint at that position
-press right to follow a branch and left to go back a level
2013-06-25 23:52:56 +02:00
Kingcom
41fc339362 -fixed "Copy value" in memory view
-SetFocus on right click in memory view
-added a few more default symbols to the symbol map
2013-06-25 13:17:27 +02:00
Sacha
b39a572043 Buildfixes.
Fix C++11 usage.
Remove redundancy.
Fix st_*time re-usage.
2013-06-02 13:26:39 +10:00
Unknown W. Brackets
82dd2780f5 Improve perf when loading a large debug map file. 2013-05-26 16:02:08 -07:00