Dr. Chat
a148b965f1
KernelState should handle module launching
2016-10-24 11:01:10 -05:00
Ben Vanik
06ba273492
Warn and be ok with symbol services failing.
2016-02-21 14:26:16 -08:00
Ben Vanik
6777ce6668
Reconcile debugger and save state stuff into a single implementation.
...
Fixes #497 and fixes #496 .
Still rough edges, but at least less duplication.
2016-01-18 11:48:21 -08:00
sephiroth99
9451c0b1cf
Fix different types in std::min arguments
2015-12-30 17:42:18 -05:00
Ben Vanik
948aa2400d
Formatting all code. Too gnarly to rebase properly.
2015-12-29 13:13:34 -08:00
Dr. Chat
0f82e0d090
Make the processor automatically generate any ungenerated functions when installing a breakpoint.
2015-12-29 13:09:37 -08:00
Dr. Chat
ce2d6da2a1
Processor breakpoints: Change iterators to C++11 syntax where necessary
2015-12-29 13:09:35 -08:00
Dr. Chat
38a09cbcc2
ExecuteRaw: Pass in 0xBC... magic so Xenia will return to the guest caller.
2015-12-29 12:35:57 -08:00
Dr. Chat
42c657c40a
Remove processor dependency on XThread for breakpoints
2015-12-29 12:32:47 -08:00
Dr. Chat
41d5b41523
Automatically install any CPU breakpoints in any newly-defined functions if necessary.
2015-12-29 12:32:01 -08:00
Dr. Chat
28468f8a18
cpu::Processor now tracks a pointer to the emulator.
2015-12-29 12:32:00 -08:00
Dr. Chat
7d59258839
Processor::ExecuteRaw
...
Changed the breakpoint lock to a recursive mutex.
2015-12-29 12:28:57 -08:00
Dr. Chat
e383e2f101
Processor breakpoint support
2015-12-29 12:28:56 -08:00
Ben Vanik
15816327b4
Renaming xe::cpu::frontend to xe::cpu::ppc.
2015-12-14 21:17:55 -08:00
Ben Vanik
4af6c41740
Moving profiling.h to base - UI could be separated for cleanliness.
2015-11-07 12:31:07 -08:00
Dr. Chat
c33e95981b
Formatting.
2015-09-25 18:46:50 -05:00
Dr. Chat
a9b557e8b9
Allow passing of >7 arguments through Processor::Execute
...
Set entry status to failed if LookupFunction failed
2015-09-25 18:24:12 -05: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
Ben Vanik
f5e374f9b5
Changing the way the global lock works. Some things are better, I think.
...
Regressions are likely.
2015-09-01 09:45:32 -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
b0425f7ee2
Moving source map to Function.
2015-08-01 14:07:13 -07:00
Ben Vanik
e657276996
Mostly working stack walking (besides issue #372 ).
2015-07-29 00:15:52 -07:00
Ben Vanik
d01abd4694
Starting debugger rework, adding base async socket, removing flatbuffers.
2015-07-22 00:01:36 -07:00
Ben Vanik
91d7acf59e
Fixing some particularly bad /W4.
2015-07-18 23:04:21 -07:00
Ben Vanik
ecd4af10c9
Fixing some clang warnings/errors.
2015-07-15 23:26:58 -07:00
Ben Vanik
8c69a4df09
Cleaning up apu/ and renaming -private files to _flags.
...
Part of #296 .
2015-06-27 11:25:56 -07:00
Ben Vanik
dbcdc5b543
Function lookup is slow - replacing with a faster test.
2015-06-08 23:44:38 -07:00
Ben Vanik
9c3d2b54fb
Cleanup before kernel export refactor.
2015-05-31 16:31:19 -07:00
Ben Vanik
41cee3d337
Switching vsync to custom thread.
2015-05-25 21:12:27 -07:00
Ben Vanik
f5a2b85d42
Switching to xe::mutex.
2015-05-25 00:52:21 -07:00
Ben Vanik
576d6492dc
Basic debugger networking.
2015-05-25 00:51:22 -07:00
Ben Vanik
ad72c193a6
Fixing stack traces, making lr BC... to diff from stack scribble BE...
2015-05-20 23:28:34 -07:00
Ben Vanik
2328b34308
Cleaning up some old flags.
2015-05-19 22:28:01 -07:00
Ben Vanik
3f7da258fc
Adjusting stack padding on executes.
2015-05-17 13:35:12 -07:00
Ben Vanik
b44a7a7730
Allocating stacks in the right place.
2015-05-17 13:10:02 -07:00
Ben Vanik
147a70b9c1
Rewriting memory manager.
2015-05-17 00:16:56 +01:00
Dr. Chat
420d4e43b6
Increase audio worker thread and cpu interrupt thread stack size
2015-05-15 18:12:44 -05:00
Ben Vanik
23eb343484
Calling DllMain, fixing ref count, and fixing module search.
2015-05-09 00:56:42 -07:00
Ben Vanik
94c62b91d0
--trace_functions and --trace_function_coverage
2015-05-05 22:44:36 -07:00
Ben Vanik
ade5388728
bool-ifying xe::cpu
2015-05-05 18:52:54 -07:00
Ben Vanik
499bed21c0
Moving debugger.
2015-05-05 18:52:53 -07:00
Ben Vanik
78921c1a7e
Merging Runtime into Processor.
2015-05-03 22:28:25 -07:00
Ben Vanik
4c8f3501ad
Removing xdb and old tracing code before rewrite.
2015-05-03 22:01:31 -07:00
Ben Vanik
e3220f7ae6
Code cleanup: moving poly/ into xenia/base/
2015-05-02 03:42:51 -07:00
Ben Vanik
99816056be
Code cleanup: removing poly.h
2015-05-02 02:29:26 -07:00
Ben Vanik
642259e16f
Code cleanup: moving ExportResolver to xe::cpu
2015-05-02 02:11:11 -07:00
Ben Vanik
30f7effa73
Code cleanup: removing common.h
2015-05-02 01:25:59 -07:00
Ben Vanik
ec84a688e9
Starting to properly attribute virtual vs. physical memory accesses.
2015-03-29 11:11:35 -07:00
Ben Vanik
3a197705bb
Special memory functions for system allocs.
2015-03-28 15:54:44 -07:00