James Benton
64ec1ec02a
libdecaf: Add debugger config options enabled and break_on_entry.
2016-06-14 20:10:51 +01:00
James Benton
f5abc2367b
Fix tools builds.
2016-06-14 01:17:31 +01:00
James Benton
dd236e55fe
common: Fix typo of PROT_EXEC in platform_posix_memory.
2016-06-14 00:38:46 +01:00
James Benton
a3fd51927c
decaf-sdl: Fix usage of class name in member function declaration.
...
Damn copy pasta.
2016-06-14 00:38:43 +01:00
James Benton
872b77d8fd
debugger: Fix missing include of condition_variable.
2016-06-14 00:38:41 +01:00
James Benton
8533d98b88
common: Fix some missing includes.
2016-06-14 00:38:39 +01:00
James Benton
49ce6b2df2
cmake: Update CMakeLists to use GLOB_RECURSE.
...
We do not develop with CMakeLists as our primary platform, it makes it too
hard to maintain the file list in CMakeLists.
GLOB_RECURSE will have to do for now.
2016-06-14 00:38:37 +01:00
James Benton
b060dd49f8
libdecaf: Remove src/decaf folder
2016-06-14 00:33:29 +01:00
James Benton
cd0b32e34f
debugger: Fix usage of unsafe string functions in debugger ui.
2016-06-14 00:24:59 +01:00
James Benton
e88f221ae6
coreinit: Add support for converting coreinit enums to strings.
2016-06-14 00:24:54 +01:00
James Benton
eabec5d530
coreinit: Move enums to coreinit namespace.
2016-06-14 00:24:47 +01:00
Brett Lawson
7f8e6d253c
Fix bug causing cores to not stop on breakpoints accurately.
2016-06-14 04:09:57 -07:00
Brett Lawson
4d82dfab41
Added NIA information to the thread view.
2016-06-14 03:34:37 -07:00
Brett Lawson
c4ea14798d
Properly handle core paused state information.
2016-06-14 03:25:20 -07:00
Brett Lawson
a9f841c232
Add the current execution status to the debug info window.
2016-06-14 02:57:38 -07:00
Brett Lawson
4286822007
Properly shut down the application even if the debugger is paused.
2016-06-14 02:57:37 -07:00
Brett Lawson
3a241ba95e
Refactor debugger entirely into its own namespace.
2016-06-14 02:57:37 -07:00
Brett Lawson
e2fb3e3b2c
Make emulator window resizeable.
2016-06-14 01:19:52 -07:00
Brett Lawson
441a602215
Implement the generation of stack unwinding meta-data on Win64.
...
This allows debuggers (like Visual Studio) to unwind the stack of
our JIT'd functions giving us better insight when debugging through
JIT stack frames.
2016-06-14 00:59:40 -07:00
Brett Lawson
0e863573e2
Use large virtual memory region for JIT'd code.
...
This is a prerequiste change of supporting stack unwinding
data for x64 inside the JIT.
2016-06-14 00:58:49 -07:00
Brett Lawson
2ccec31e9e
Use virtual memory instead of memory mapped file APIs.
...
This gives us better control of the protection attributes of
the memory that we are allocating. Note that the mem::protect
method is no longer needed as reserved pages are not granted
any access permissions by default.
2016-06-14 00:56:47 -07:00
Brett Lawson
c4ba066980
Fix font path for ImgUi.
...
This was somehow unstaged from my index before I
made the previous commit...
2016-06-14 00:37:40 -07:00
James Benton
2cc1b306b8
Refactor decaf api and update decaf-cli to use SDL.
2016-06-13 23:53:02 +01:00
James Benton
a8ff5e00a8
Initial folder restructuring.
2016-06-13 13:03:01 +01:00
Brett Lawson
9a7684950a
Add a glyph font to the debuggers font atlas.
2016-06-13 04:05:11 -07:00
Brett Lawson
9e6eab5d86
Added support for function keys in keyboard input handling.
2016-06-13 03:56:42 -07:00
James Benton
6d30f061f1
Add some missing new lines at end of files.
2016-06-12 22:15:18 +01:00
James Benton
c0a647bf33
decaf-cli: Fix usage of renamed mTvWindow in getWindowBorderHeight.
2016-06-12 13:56:59 +01:00
James Benton
f9777ac0ab
namingConvention.
...
zzz
2016-06-12 13:34:02 +01:00
James Benton
2711a01fbb
kernel: Fix switchThread not passing current fiber to platform::swapToFiber.
...
Passing the current fiber is required for posix platforms so swapContext
will save the current context.
2016-06-12 13:11:41 +01:00
James Benton
504efb4ec8
decaf-cli: Remove unnecessary switch cases from glfw translateKeyCode.
2016-06-12 13:01:34 +01:00
James Benton
66b0b3a0dc
debugger: Add missing const for auto ref.
2016-06-12 12:53:34 +01:00
James Benton
60c3c9cea2
decaf: Add missing include for size_t.
2016-06-12 12:53:33 +01:00
James Benton
7a324fc022
cmake: Update CMakeLists for new project structure.
2016-06-12 12:53:33 +01:00
James Benton
7bd4c8816e
platform: Fix segv handler for platform_posix_exception.
2016-06-12 12:53:33 +01:00
James Benton
cb7592d1a6
cmake: Add missing fastregionmap.h to common lib.
2016-06-12 12:53:33 +01:00
James Benton
b003d7757e
decaf: Fix include using a backslash instead of forward slash.
2016-06-12 12:53:33 +01:00
James Benton
71aa5295c8
decaf-cli: Add missing include in config
2016-06-12 12:53:33 +01:00
James Benton
4b9773d991
decaf: Fix usage of deleted operator= for std::atomic_bool
2016-06-12 12:53:33 +01:00
James Benton
15025f7835
ppcutils: Fix ppcinvoke compiling for gcc.
...
If we specify <LogFn> tempalte parameter we need to specify more parameters,
so instead we should pass it as a argument instead of template parameter.
2016-06-12 12:53:33 +01:00
James Benton
ee4b92ab24
kernel: Fix usage of Windows only ExitThread by introduction platform::exitThread.
2016-06-12 12:53:33 +01:00
James Benton
7f1dbde7c6
Add missing end of file newlines.
2016-06-12 11:45:28 +01:00
James Benton
5a968a87b9
Use using typedefs to defined function pointer types.
2016-06-12 11:45:07 +01:00
James Benton
f2ef1939cc
decaf-cli: Print help if parser options are empty.
2016-06-12 11:43:28 +01:00
James Benton
89ef1ca29a
Use snprintf in main_{glfw,sdl}.cpp to fix compiler warnings.
2016-06-12 11:23:42 +01:00
James Benton
4bea6c36c2
Remove random #include <Windows.h>
2016-06-12 11:22:24 +01:00
James Benton
fe6f40cc9a
Reorder include to fix compiler warning.
2016-06-12 11:22:09 +01:00
Brett Lawson
5e79d298e4
Added basic memory view to debugger.
2016-06-11 15:10:40 -07:00
Brett Lawson
47c462e885
Added basic info view to debugger.
2016-06-11 15:10:40 -07:00
Brett Lawson
8ace6d6fee
Display shortcut key information in debugger menus.
2016-06-11 15:03:51 -07:00