Commit Graph

50 Commits

Author SHA1 Message Date
Henrik Rydgård 644f5e4e6c Expose PSPModule (so the debugger can access it later) 2025-03-31 09:56:08 +02:00
Henrik Rydgård c1828f69b9 Add an option to compress .ppsym files when saving or not (was always on before). 2025-03-29 18:17:41 +01:00
Henrik Rydgård 1a93d8a1f9 Some work on symbol export, minor cleanups 2025-03-29 14:23:59 +01:00
Henrik Rydgård 3e198c53b2 More include cleanup 2024-12-18 13:57:26 +01:00
Henrik Rydgård dd26bcf1af Cache symbols and use a clipper to speed up the symbol list. 2024-11-07 11:11:47 +01:00
Henrik Rydgård cf6d06c56a Start work on imdbg 2024-11-07 11:10:12 +01:00
Henrik Rydgård 5a5779dcd6 Remove symbol-map related functions from Host 2023-03-24 18:08:31 +01:00
Henrik Rydgård 025bcb1673 Introduce Path, start using it all over the place.
Still lots left to convert!

Convert GetSysDirectory to return Path.

More buildfixing

Remove unnecessary Path( constructors
2021-05-13 10:39:16 +02:00
Unknown W. Brackets 89f89ec749 Debugger: Defer active symbol updates.
This makes it faster when loading many modules/functions/etc., for example
when using the freeze debug feature.
2017-12-26 18:11:22 -08:00
Henrik Rydgard 26a2d42731 Big mutex overhaul - remove our custom ones, make them non-recursive where possible 2017-02-28 11:40:29 +01:00
Unknown W. Brackets 86127b3d0d Update armips to latest version.
The new version has some speed and other improvements.
2015-12-26 20:30:35 -08:00
Henrik Rydgard b998131581 Move the symbol map to the heap, deallocate it when no game is running. 2015-10-31 23:01:19 +01:00
Unknown W. Brackets e0f85a9c6b Native merge part 1: skip native/ in includes. 2015-09-06 12:19:33 -07:00
Unknown W. Brackets 58ff826b73 Cleanup to link assembler on arm unittest builds. 2014-12-07 15:41:11 -08:00
Kingcom f6cedcbff5 Replace assembler with a submodule 2014-11-23 21:09:40 +01:00
Kingcom dc80123b93 Add options to import/export .sym files from the menu 2014-06-30 00:02:22 +02:00
Unknown W. Brackets c3a6092e26 Upgrade symbolmaps with module address info.
This fixes some issues with jit replacement only if you had a map laying
around.
2014-05-04 01:24:18 -07:00
Unknown W. Brackets 8948990871 Optimize searching for existing symbols.
Checking every time is slow, we should just skip by the address.  Some is
just the locking overhead.
2014-02-14 22:26:35 -08:00
Unknown W. Brackets 04776c8125 Small optimization: avoid fallback if possible.
Speeds up symbol map loading a little bit (when inserting new items.)
2014-02-14 22:07:39 -08:00
Unknown W. Brackets 26b4335637 Optimize symbol map in debug mode a bit more.
Avoid UpdateActiveSymbols().
2014-02-14 21:49:20 -08:00
Unknown W. Brackets d279dcd454 Fix renaming a function from disassembly. 2014-02-11 07:45:13 -08:00
Henrik Rydgård b1d6eefb8a Call UpdateActiveSymbols only once from MIPSAnalyst instead of for every recognized function.
Reduces startup slowdown when using a function signature file drastically.
2014-02-11 11:21:56 +01:00
Kingcom 880be6d41d Module list in Windows debugger 2014-01-27 00:35:16 +01: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 a2fa53d5c4 Track modules in the symbol map.
This makes it so things don't overlap confusingly, and also so that we can
replace funcs more correctly and sanely.

This is unfortunately a bunch more complicated...
2014-01-25 20:59:53 -08:00
Henrik Rydgård e5e17fbc6e More include cleanup. Hoping for very slightly faster compile times.. 2013-12-30 10:49:05 +01:00
Henrik Rydgård 00c32ddadb Mostly get rid of including "Globals.h" 2013-12-30 10:17:11 +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 cfbd1b07e8 Some code reformatting in SymbolMap 2013-12-02 15:30:03 +01:00
Unknown W. Brackets dd2e996838 Fix some type comparison warnings. 2013-12-01 11:21:16 -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
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 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 9a29e8b0bf More efficient "loose" opcode detection, clear entries when symbols were loaded 2013-11-25 16:18:29 +01:00
Peter Tissen d8b4ec6680 added disasm debugger features to remove and add functions 2013-10-30 16:13:18 +01: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
Unknown W. Brackets 8786ec74ca Fix some potential threading probs with SymbolMap.
Got some strange crashes.
2013-08-10 20:54:55 -07:00
Kingcom 862cf047da Basic .sym support 2013-07-29 13:06:01 +02: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 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 ab1aa09dce Expression parser 2013-06-29 15:17:00 +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
Xele02 69b837f18b Add debug dialogs (DisAsm, Memory, VFPU).
New features : Breakpoint display, thread status, display list status
Update translation and start french translation
2013-02-10 17:33:34 +01:00
Henrik Rydgard db92bdda17 Cleanup of horrible ancient symbolmap code - no more global arrays. 2013-01-13 12:12:14 +01:00
Henrik Rydgard 64cc573703 Switch to "GPL 2.0 or later" for various reasons. I wrote most of the code I imported from Dolphin (which is GPL2-but-not-later), so it should be OK. 2012-11-04 23:24:00 +01:00
Henrik Rydgard 4f7ad15758 Add snapshot of the whole source code. 2012-11-01 16:19:01 +01:00