Commit graph

404 commits

Author SHA1 Message Date
Nemoumbra
7517b7a4e8
Debugger comments actualized (#17385)
* Comments actualized

* Event name fixed

* Updated cpu.stepping description
2023-05-23 08:46:49 +02:00
Henrik Rydgård
67a35d3476
Merge pull request #17356 from unknownbrackets/minor-cleanup
Cleanup some more string formats, mostly in debugger
2023-05-23 08:29:23 +02:00
Unknown W. Brackets
3d61f97b81 Debugger: Fix allocs+writes collapsing together. 2023-05-06 13:39:31 -07:00
Unknown W. Brackets
6da10463f9 Debugger: Make reg names safer, stop using v000.
Better to use S000, etc. as that's more clear throughout.
2023-04-29 09:48:33 -07:00
Unknown W. Brackets
3a21941f0b Debugger: Make disassembly parsing safer. 2023-04-29 09:23:54 -07:00
Unknown W. Brackets
46101581c0 Core: Cleanup disasm buffer usage. 2023-04-29 09:07:25 -07:00
Henrik Rydgård
7723aebb9b Buildfixes 2023-04-28 21:56:39 +02:00
Henrik Rydgård
6945deec01 Replace a LOT of sprintf with snprintf, and a few strcpy with truncate_cpy 2023-04-28 21:04:05 +02:00
Henrik Rydgård
39d7651866
Merge pull request #17270 from unknownbrackets/debugger-cond
Debugger: Add memory breakpoint conditions
2023-04-12 23:13:26 +02:00
Unknown W. Brackets
6998b188f3 Debugger: Fix disasm at start of kernel RAM.
We ended up with an unaligned start address for our window.
2023-04-12 01:14:30 -07:00
Unknown W. Brackets
069ff3e58c Debugger: Add memory bp conditions to websockets. 2023-04-12 01:07:56 -07:00
Unknown W. Brackets
c47e88529d Debugger: Add memory check conditions.
Currently, this isn't exposed anywhere.
2023-04-12 01:07:56 -07:00
Unknown W. Brackets
0f5859510e x86jit: Simplify memcheck handling.
Now it's mostly the same as the other jits.
2023-04-12 01:07:48 -07:00
Henrik Rydgård
7f60acf898
Merge pull request #17259 from unknownbrackets/debugger-minor
A few more debugger things
2023-04-09 22:25:04 +02:00
Unknown W. Brackets
8a74d95eb2 Debugger: Fix format for 32-bit OS. 2023-04-09 12:07:41 -07:00
Henrik Rydgård
f390c3a6ee
Merge pull request #17244 from unknownbrackets/debugger-memcheck
Debugger: Trigger mem breakpoints for mirrors
2023-04-06 07:56:56 +02:00
Unknown W. Brackets
e73474e590 Debugger: Cache memcheck ranges.
Rebuilding these can be a bit slow each time, speed up jit compilation by
caching them.
2023-04-05 17:13:00 -07:00
Unknown W. Brackets
1d3f262eda Debugger: Trigger mem breakpoints for mirrors. 2023-04-05 06:57:42 -07:00
Unknown W. Brackets
09f3c446b8 Debugger: Improve perf with write-only memchecks. 2023-04-05 06:36:40 -07:00
Henrik Rydgård
0b574613b9 Address assorted feedback 2023-04-01 09:01:27 +02:00
Henrik Rydgård
04d3d3111c Clean up __Ctrl button functions. 2023-04-01 08:55:45 +02:00
Henrik Rydgård
38f4cc4cc9 Make reverse mapping lookup work for the simple PSP buttons. 2023-03-31 11:05:29 +02:00
Henrik Rydgård
d586ec0d5e Don't create Host objects except in headless/unittest 2023-03-25 10:47:01 +01:00
Henrik Rydgård
9e125eeba7 Remove NotifyUserMessage from Host 2023-03-25 10:32:09 +01:00
Henrik Rydgård
5a5779dcd6 Remove symbol-map related functions from Host 2023-03-24 18:08:31 +01:00
Henrik Rydgård
dda8635c89 Move three notifications out of Host 2023-03-21 13:37:19 +01:00
Henrik Rydgård
06fcc9ccd7 Add System_Notify 2023-03-21 13:37:16 +01:00
Henrik Rydgård
dc74778dea Do the last ones too 2023-02-09 10:27:29 +01:00
Unknown W. Brackets
265a3cf7a0 Debugger: Fix a dumb typo. 2023-01-18 21:42:36 -08:00
Unknown W. Brackets
5b74937780 Debugger: Make sure we don't restore twice.
Aside from the lock, we also don't want to restore emuhacks/replacements
or resume from stepping early.
2023-01-04 23:48:14 -08:00
Unknown W. Brackets
a937e5dce3 Debugger: Fix mem lock with optimizations disabled. 2023-01-04 21:41:59 -08:00
Unknown W. Brackets
21332c677b Build: Allow compiling without armips. 2022-12-17 10:08:46 -08:00
Henrik Rydgård
e48a1599d4 Delete a few obsolete lines of code 2022-12-11 10:01:55 +01:00
Unknown W. Brackets
9cfcbc46e6 Global: Cleanup initialization/pointer checks.
Cleaning up a lot of cases of uninitialized data, unchecked return values
for failures, and similar.
2022-12-10 21:13:36 -08:00
Unknown W. Brackets
f44852bb18 Global: Cleanup virtual/override specifiers.
Also missing virtual destructors, hidden non-overrides, etc.
2022-12-10 21:13:36 -08:00
Henrik Rydgård
cd56425c73
Merge pull request #16397 from unknownbrackets/meminfo
Debugger: Combine mem info on duplicates
2022-11-19 15:04:41 +01:00
Unknown W. Brackets
3938c0a3af Debugger: Combine mem info on duplicates.
Gran Turismo does some churn on texture sizes, we can combine them and
reduce the speed hit even when detailed.
2022-11-18 23:11:11 -08:00
Unknown W. Brackets
0f79afa172 interp: Support memory breakpoints too. 2022-11-13 17:45:43 -08:00
Unknown W. Brackets
f9da9e6b60 interp: Centralize memory size handling. 2022-11-13 17:38:53 -08:00
Unknown W. Brackets
76cf4dbf12 interp: Allow breakpoints in release mode. 2022-11-13 16:52:40 -08:00
Unknown W. Brackets
b0b03af50d Debugger: Keep flag for any breakpoints.
Oops, only had these checks for memchecks before.
2022-11-13 16:01:13 -08:00
Unknown W. Brackets
8cefb98e97 Debugger: Fix input.analog.send validation. 2022-10-29 17:38:37 -07:00
Unknown W. Brackets
907b41ab4f
Merge pull request #16220 from Nemoumbra/remote-API-tests
hle.func.scan update and code improvements
2022-10-16 07:25:07 -07:00
Nemoumbra
73e5791b08 Code cleanup, optional param renamed: "recreate" -> "remove" 2022-10-16 14:43:56 +03:00
Nemoumbra
4a967966ef Removed the bugged part of hle.func.scan + new comments 2022-10-15 16:01:12 +03:00
Nemoumbra
a772e87072 Comments updated, default value for parameter "recreate" set to false 2022-10-12 12:09:05 +03:00
Nemoumbra
acdaaae7a4 Added optional parameter to hle.func.scan, improved code of hle.func.removeRange 2022-10-12 11:55:01 +03:00
Unknown W. Brackets
416265431b GE Debugger: Display if tex is framebuf.
Rather than guessing based on size, let's show explicitly.
2022-10-10 22:35:42 -07:00
Unknown W. Brackets
825450a373 jit: Defer invalidations made while running.
Previously, invalidating icache could happen while running, which might
cause the CPU to return into outer space.  This runs such invalidations
after letting the CPU exit.

It was easy to trigger this with the debugger: step using the GE debugger,
add a CPU memory breakpoint, then resume from the GE debugger.
However, cheats and the like could cause similar issues.
2022-10-09 21:26:13 -07:00
Nemoumbra
e67cc16660 Remote API: hle.func.removeRange added 2022-10-09 19:11:14 +03:00