Commit Graph

13 Commits

Author SHA1 Message Date
Exzap
14dd7a72a7 Add coding style guidelines and clang-format file 2023-09-14 20:52:40 +02:00
Michael
d27935a1bd
Update URLs related towards cemu_graphic_packs repo. (#764) 2023-04-13 04:37:53 +02:00
Crementif
6d75776b28
Add GDB stub for debugging (#657)
* Implement GDB stub debugger

Can be enabled by using the "--enable-gdbstub" option (and the debugger GUI, although that's untested) which'll pause any game you launch at start-up. Will start at port 1337 although it'll eventually be user-editable. The code is a bit weirdly sorted and also just needs a general cleanup, so expect that eventually too. And uses egyptian braces but formatting was easier to do at the end, so that's also something to do.

It has been tested to work with IDA Pro, Clion and the standalone interface for now, but I plan on writing some instructions in the PR to follow for people who want to use this. Memory breakpoints aren't possible yet, only execution breakpoints.

This code was aimed to be decoupled from the existing debugger to be able to be ported to the Wii U for an equal debugging experience. That's also why it uses the Cafe OS's thread sleep and resuming functions whenever possible instead of using recompiler/interpreter controls.

* Add memory writing and floating point registers support

* Reformat code a bit

* Format code to adhere to Cemu's coding style

* Rework GDB Stub settings in GUI

* Small styling fixes

* Rework execution breakpoints

Should work better in some edge cases now. But this should also allow for adding access breakpoints since it's now more separated.

* Implement access breakpoints

* Fix some issues with breakpoints

* Fix includes for Linux

* Fix unnecessary include

* Tweaks for Linux compatibility

* Use std::thread instead of std::jthread to fix MacOS support

* Enable GDB read/write breakpoints on x86 only

* Fix compilation for GCC compilers at least

The thread type varies on some platforms, so supporting this is hell... but let's get it to compile on MacOS first.

* Disable them for MacOS due to lack of ptrace

---------

Co-authored-by: Exzap <13877693+Exzap@users.noreply.github.com>
2023-02-19 15:41:49 +01:00
UltraHDR
4014de622b
Add macOS to README.md (#599) 2023-01-13 13:49:01 +01:00
Crementif
cebdccfdf5
Update readme about matrix server
Supersedes https://github.com/cemu-project/Cemu/pull/245
2022-09-15 04:06:40 +02:00
Crementif
6cf5dc9a56
Add matrix server for non-discord chatting
Fixes https://github.com/cemu-project/Cemu/issues/113
2022-09-11 16:56:51 +02:00
uranuspucksaxophone
6dda53e84f
Improve docs (#216) 2022-09-09 18:39:23 +02:00
TotalCaesar659
76313fc238
Update bug tracker URL to use HTTPS (#211) 2022-09-08 23:52:45 +02:00
TotalCaesar659
7b1f74b3d5
Update URLs to HTTPS (#44) 2022-08-25 15:33:12 +02:00
Exzap
0507e1ac89
Pasted the wrong URL. Whoops 2022-08-24 06:55:46 +02:00
Exzap
0e7389ee83
Add announcement post link to readme
Also testing CI builds with this commit
2022-08-24 06:48:07 +02:00
Exzap
560a2e536f
Tweak readme 2022-08-23 05:56:08 +02:00
Crementif
736d529ea5
Expand readme with links and description 2022-08-23 02:37:05 +02:00