Kingcom
f6cedcbff5
Replace assembler with a submodule
2014-11-23 21:09:40 +01:00
Unknown W. Brackets
2b16b5b79b
Use XXH64 on 64-bit systems.
...
I'm not able to reproduce any real performance difference, but I know
there are some games which do more hashing and it may help there.
2014-10-26 17:49:24 -07:00
Henrik Rydgård
3b1476c8ec
MIPSTables: Annotate fp and hi/lo in/out more accurately than just "other"
...
Some typo fixes
2014-10-12 19:46:50 +02:00
Henrik Rydgard
f84ebf6bff
sprintf->snprintf, fix some too short buffers
2014-09-14 00:14:11 +02:00
Henrik Rydgard
1d7642fa48
Remove most mentions of the "_XBOX" define
2014-08-24 14:21:35 +02:00
Unknown W. Brackets
cd413ab659
Correctly break when disabled and temp bps overlap.
...
Only affects debugging, not usual gameplay. Fixes #6700 .
2014-08-08 08:53:44 -07:00
Unknown W. Brackets
55403e42c2
Introduce a memory shutdown lock.
...
This allows the debugger to access memory in a safe way that should never
crash.
2014-07-19 23:30:19 -07:00
Sacha
cd20288d99
Fix some compiler warnings.
2014-07-17 00:49:58 +10:00
Kingcom
dc80123b93
Add options to import/export .sym files from the menu
2014-06-30 00:02:22 +02:00
Unknown W. Brackets
2f6b63385d
On breakpoint change, don't wait for core too long.
...
Fixes #6366 .
2014-06-19 01:16:24 -07:00
Unknown W. Brackets
9efbc2694b
Add an invalidate all method to the jit.
2014-06-19 01:13:06 -07:00
Unknown W. Brackets
561d0e5ef9
Check more ops for changing memory in debugger.
2014-06-19 00:48:33 -07:00
Unknown W. Brackets
38dde1f6b5
Fix a debugger crash on shutdown.
2014-06-08 16:35:39 -07: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
Henrik Rydgård
0b3f1e4a5b
Merge pull request #5621 from chinhodado/patch-2
...
Avoid using an invalidated iterator
2014-03-22 16:17:13 +01:00
Unknown W. Brackets
06b9e731e8
Linux buildfix.
...
Arg, stupid memcmp/sprintf...
2014-03-15 11:56:52 -07:00
Unknown W. Brackets
996fa39684
Reduce some unnecessary includes in Core/.
2014-03-15 10:41:07 -07:00
Henrik Rydgard
c80510fb3b
MemMap should not be included in MIPS.h.
2014-03-15 10:45:39 +01:00
chinhodado
481250931c
Avoid using an invalidated iterator
2014-03-07 16:43:02 -05:00
Henrik Rydgård
374e12afc3
Merge pull request #5590 from unknownbrackets/xbox
...
Merge more parts of #4716
2014-03-03 13:37:21 +07:00
Ced2911
d82911de58
[Xbox] fixes
2014-03-02 11:27:20 -08:00
Ced2911
cc9f238d36
[xbox] 360 support for Core
2014-03-02 11:22:02 -08:00
Unknown W. Brackets
e3506ead69
Clear the symbol map between each test.
...
This way we could, for example, test function replacement properly.
Actually slows down tests because it spends more time correctly
determining the function boundaries.
2014-03-02 10:20:40 -08:00
Unknown W. Brackets
d22793e257
Avoid a dangerous cast in LoadSymbolMap().
...
Not sure if we can have any safety with an int cast like that...
2014-02-15 16:23:18 -08: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
0f4ccf52f4
Update README. Avoid recursing the symbolmap lock when we don't need to.
2014-02-11 14:21:40 +01: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
Henrik Rydgard
aae787168e
Did not mean to commit this line.
2014-02-09 23:48:31 +01:00
Henrik Rydgard
ca500b0bf4
Add setting for Kitkat Immersive Mode on Android.
2014-02-09 23:16:08 +01:00
Kingcom
880be6d41d
Module list in Windows debugger
2014-01-27 00:35:16 +01:00
Unknown W. Brackets
199552bc1b
Small merge fix.
2014-01-26 14:13:43 -08: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
6b06494940
Oops, missed a c_str() conversion.
2014-01-26 01:56:28 -08:00
Unknown W. Brackets
983e195dd2
Fix possible module index overlap.
2014-01-26 00:02:01 -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
b1af4f4911
Write symbol maps as ".ppmap" instead.
...
This has some benefits:
* They are smaller, but zgrep/zcat etc. still work.
* Since the format is slightly different, bisecting won't overwrite.
* It avoids conflicts with .map file associations.
2014-01-25 21:12:16 -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
Unknown W. Brackets
4de20258eb
Don't bother writing an empty symbol map.
...
For example, when accidentally opening an invalid file.
2014-01-19 21:34:16 -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
Unknown W. Brackets
db77dcd149
Fix some includes on Windows/etc.
2013-12-29 15:59:36 -08:00
Henrik Rydgård
be74da8f3c
More include cleanup, hopefully buildfix Symbian
2013-12-30 00:23:04 +01:00
Henrik Rydgård
ce378b231f
Delete CPU.cpp/h , cleanup
2013-12-30 00:11:29 +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
12713a44a1
Attempt to prevent shutdown crash in debugger.
2013-12-14 14:56:04 -08:00
Henrik Rydgård
cfbd1b07e8
Some code reformatting in SymbolMap
2013-12-02 15:30:03 +01:00