Ben Vanik
16c97189dd
Splitting up debugger.h.
2016-01-01 15:52:43 -08:00
Ben Vanik
07ba1be7f5
Switching debugger to not retain XThreads.
2016-01-01 15:35:48 -08:00
Ben Vanik
8770e6e6cf
Adding yaml-cpp for #428 , use rando fork until jbeder/yaml-cpp#342 lands.
2016-01-01 12:13:36 -08:00
Ben Vanik
b02ca62388
Fixing most remaining C++ warnings in clang.
2016-01-01 18:37:33 +00:00
Ben Vanik
a95be25e2f
Merge branch 'linuxfix' of https://github.com/sephiroth99/xenia into sephiroth99-linuxfix
2015-12-31 14:39:23 -08:00
Ben Vanik
952d35911c
Folding build_tools back into the main repo for simplicity.
2015-12-30 16:53:14 -08:00
Ben Vanik
0482ffad5a
Allow XMA decoder to be suspended.
2015-12-30 16:53:13 -08:00
sephiroth99
ee8e6e8822
debug_window: Use function to store from '__m128' variable.
2015-12-30 17:42:18 -05:00
sephiroth99
b0bce0d9ab
debug_window: Ignore other breakpoint types
...
In the breakpoints pane, add a default case for breakpoint types that
ignores the other possible types.
2015-12-30 17:42:18 -05:00
sephiroth99
6b31ddfb42
debug_window: Use correct format specifier for double value
...
Specifier 'LF' is 'long double'.
2015-12-30 17:42:18 -05:00
sephiroth99
fe30941c9b
debug_window: Use a string literal as a format string
...
Fixes clang "format-security" error.
2015-12-30 17:42:18 -05:00
Ben Vanik
077f73449d
More gracefully handle killed threads. Still needs some UI love.
2015-12-29 15:19:31 -08:00
Ben Vanik
cc37fb1358
Updating to the latest capstone. Fixes #440 .
2015-12-29 15:19:08 -08:00
Dr. Chat
e619e4590c
debugger: Don't feed the stack walker an XThread's wait handle
2015-12-29 13:09:54 -08:00
Ben Vanik
cc72de0f64
Moving disasm to new tables.
...
Also adding useful CPU docs.
2015-12-28 20:49:22 -08:00
Ben Vanik
990d973c74
New ppc opcode decoder.
...
Seems to work and match up with the old decoder (which may be bad).
Old decoder remains until all functionality is replaced.
2015-12-27 22:53:05 -08:00
Ben Vanik
0e58208add
Dropping elemental-forms and swapping out with imgui.
...
Too much code for such little use. This should simplify porting.
2015-12-26 20:25:24 -08:00
Ben Vanik
15816327b4
Renaming xe::cpu::frontend to xe::cpu::ppc.
2015-12-14 21:17:55 -08:00
sephiroth99
f367c4ba7b
Fix compilation under VS2015 Update 1
2015-11-30 22:56:42 -05:00
Ben Vanik
6c95ca1cdb
Moving graphics context creation around to hide actual creation.
...
Makes it easier to support APIs that don't have a concept of sharing.
2015-11-10 17:38:57 -08:00
Ben Vanik
b26f4a5719
Moving imgui input to a shared place.
2015-11-07 12:42:44 -08:00
Ben Vanik
4c2257a29d
Moving imgui to the new ImmediateDrawer.
2015-11-05 23:03:02 -08:00
Ben Vanik
5087ccd565
Tracking capstone next.
2015-11-05 18:43:15 -08:00
sephiroth99
8272beb8d2
Fix assignment of temporary value to non-const reference.
2015-09-22 07:45:57 -07:00
Ben Vanik
3fc1d02a09
Suspend some host threads that make guest callbacks.
2015-09-21 21:24:26 -07:00
Ben Vanik
4c8634bc31
Fixing breakpoints.
2015-09-21 21:10:57 -07:00
Ben Vanik
5d033f9cb3
A new debugger.
...
Lots of bugs/rough edges/etc - issues will be filed.
Old-style debugging still works (just use --emit_source_annotations to get
the helpful movs back and --break_on_instruction will still fire).
2015-09-20 21:31:05 -07:00
Ben Vanik
fa9c681c7c
Implicit Window::MakeReady on context set.
2015-09-07 09:29:07 -07:00
Ben Vanik
2b30ac393d
Source control.
2015-09-07 08:28:02 -07:00
Ben Vanik
a1a996c1e6
Shrinking UI elements in the debugger.
2015-09-06 20:49:20 -07:00
Ben Vanik
e5fbf840d2
Shuffling kernel/.
2015-09-06 18:07:52 -07:00
Ben Vanik
3c96b6fa0a
DANGER DANGER. Switching to global critical region.
...
This changes almost all locks held by guest threads to use a single global
critical region. This emulates the behavior on the PPC of disabling
interrupts (by calls like KeRaiseIrqlToDpcLevel or masking interrupts),
and prevents deadlocks from occuring when threads are suspended or
otherwise blocked.
This has performance implications and a pass is needed to ensure the
locking is as granular as possible. It could also break everything
because it's fundamentally unsound. We'll see.
2015-09-06 09:30:54 -07:00
Dr. Chat
3d684ac304
Fixup the premake files
2015-08-29 22:04:12 -05:00
Dr. Chat
f2b2a22687
Add gflags to projects that need it only
2015-08-29 21:16:57 -05:00
Ben Vanik
b7203c2989
Logging to with a ringbuffer. Much faster.
2015-08-29 18:06:30 -07:00
Ben Vanik
3c50b6739a
Capturing guest/host context and showing registers in debugger.
2015-08-29 08:08:54 -07:00
Ben Vanik
2b012f37bf
Adding base callstack control.
2015-08-16 14:29:09 -07:00
Ben Vanik
a92566dfc5
More style.
2015-08-07 21:29:03 -07:00
Ben Vanik
5e08889d93
More style cleanup.
2015-08-06 20:17:01 -07:00
Ben Vanik
eaa1a8ee3a
Refactoring SymbolInfo/FunctionInfo/Function into Symbol/Function.
2015-08-05 21:50:02 -07:00
Ben Vanik
48d6e6becf
Cleaning up debugger threading and adding hacky callstacks to UI.
2015-08-05 07:50:37 -07:00
Ben Vanik
0a8d6eec91
Simplifying debug stuff, as I'm not going to bother with gdb.
2015-08-04 18:39:51 -07:00
Ben Vanik
ec326119cf
Replacing beaengine in mmio handler with custom decoder.
...
Fixes #358 .
2015-08-04 08:25:42 -07:00
Ben Vanik
37ded9acc3
Window->Form.
2015-08-01 10:24:41 -07:00
Ben Vanik
e523ffcd51
Tweaking some thread names.
2015-07-29 23:28:45 -07:00
Ben Vanik
122114d1d1
Fixing debugger startup race.
2015-07-29 19:52:53 -07:00
Ben Vanik
40e98eab7c
Fix include.
2015-07-29 00:33:57 -07:00
Ben Vanik
e657276996
Mostly working stack walking (besides issue #372 ).
2015-07-29 00:15:52 -07:00
Ben Vanik
e4d9f38b82
These files should have been deleted.
2015-07-27 08:28:31 -07:00
Ben Vanik
7ecc6362de
Debugger stuff. Lots of wasted work :/
2015-07-26 22:47:16 -07:00