Elad Ashkenazi
e0853095e3
Fixup debugger_frame double events
2023-05-30 13:11:03 +02:00
Eladash
5a365506f7
Qt/Debugger: Add Ctrl+F (find thread), Ctrl+C (copy)
2023-05-28 13:53:35 +02:00
Eladash
e1744ceab2
Debugger: Implement key-scrolling through threads
2023-05-19 23:15:40 +02:00
Eladash
b01220d2c5
debugger: Don't refresh no-thread window at a high rate
2022-10-04 16:28:34 +03:00
Nekotekina
b49a1f27eb
Warning fixes
2022-09-17 16:35:02 +03:00
Eladash
591159c4a9
Debugger: Prevent possible "current instruction" duplication when the thread is running
2022-08-30 08:57:33 +02:00
Eladash
d30ac20fad
Debugger: Fix and use centered PC by default
...
* Fix instruction-selection dependent functionality.
* Remove odd instruction position jumps in add/remove breakpoint.
* Make PC fixate at 1/3 of the frame because knowing future instructions is more important than knowing the previous.
2022-08-12 15:20:48 +03:00
Eladash
ccb2724fc4
Debugger: Implement SPU breakpoints
2022-06-21 16:59:45 +03:00
Eladash
f2920bc30d
Debugger: Fix instruction "pop-in" when resizing
...
Display incomplete elements.
2022-05-14 10:46:07 +02:00
Eladash
d043f46270
Fix recursion in the debugger
2022-05-14 10:46:07 +02:00
Eladash
c14e79f8df
Debugger: Fix instruction selection
2022-05-02 17:01:02 +03:00
Eladash
8cc6a30557
Debugger: Fix instruction pointer for good
2022-05-02 17:01:02 +03:00
Eladash
1d51f3af0c
RSX-Debugger: Implement backwards scrolling
...
* Use 2 points of known true RSX code roots and follow them in order to peek at the current section of valid RSX code:
These roots are: current RSX instruction address and the last targeted address by a branch instruction.
2022-04-15 22:34:51 +03:00
Eladash
ab50e5483e
GUI Utilities: Implement instruction search, PPU/SPU disasm improvements ( #10968 )
...
* GUI Utilities: Implement instruction search in PS3 memory
* String Searcher: Case insensitive search
* PPU DisAsm: Comment constants with ORI
* PPU DisAsm: Add 64-bit constant support
* SPU/PPU DisAsm: Print CELL errors in disasm
* PPU DisAsm: Constant comparison support
2021-10-12 23:12:30 +03:00
Megamouse
35a380676e
Qt: add missing key auto repeat checks
2021-06-14 19:02:59 +02:00
Megamouse
03b76b4606
Emu: some cleanup
2021-04-09 21:03:49 +02:00
Megamouse
452fb59c74
Qt: select target item in debugger list
...
This should make it easier to spot the item
2021-03-24 20:47:51 +01:00
Megamouse
ba45daff35
Qt: some cleanup in debugger
2021-03-24 20:47:51 +01:00
Eladash
a67b347966
debugger: Fix SPU memory viewing ( #10007 )
...
* debugger: Fix SPU memory viewing
* Fix terminal recovery from page faults (hack allocation)
2021-03-23 13:33:07 +03:00
Eladash
0652870204
New RSX Debugger
2021-01-28 17:40:26 +03:00
Eladash
2c06043617
Debugger: correctness fixes and cleanup
...
* Remove m_current_choice, it's not correct to rely on thread name entry. In extreme corner cases a newly thread can be created, old destroyed with the same entry name. (reoccuring LV2 SPU/PPU ID)
* Remove m_no_thread_selected, can be easily replaced with std::weak_ptr expired() function and is more accurate this way.
* In HandleBreakpointRequest: only remove breakpoint on valid PPU thread and not any thread! also fix potential nullptr deref if thread has recently been destroyed.
2020-12-21 13:46:26 +03:00
Eladash
ef884642e4
Cleanup disasm classes a bit
2020-12-21 13:46:26 +03:00
Eladash
15a12afe25
Debugger: Implement code flow tracking
2020-12-06 15:32:13 +03:00
Eladash
427cf91447
Debugger: rewrite GetPc()
2020-12-06 15:32:13 +03:00
RipleyTom
af8c661a64
Remove BOM markers
2020-12-06 15:30:12 +03:00
Eladash
fefab50e06
Fix vm::range_lock, imporve vm::check_addr
2020-11-11 10:30:09 +03:00
Nekotekina
f972fa26a4
Derive RSX Replay thread from cpu_thread
...
Its id is set to 0, so fix some id_type() usages.
2020-10-30 17:36:11 +03:00
Eladash
6f42297b58
Debugger: Fix scrolling using PageUp, PageDown, KeyUp, KeyDown
2020-08-25 17:43:07 +02:00
Eladash
c37bc3c55c
SPU: Make spu_thread::offset private
2020-07-19 17:58:49 +03:00
Eladash
5bc4f9df0d
debugger: Always show zeroes on no thread's instructions positions
2020-06-14 02:08:04 +03:00
Eladash
5d0066029f
debugger: Fix instructions foreground/background color changes on non-executable memory
2020-06-14 02:08:04 +03:00
Eladash
2d1d36678d
SPU/PPU disasm: replace "illegal address" with question marks
2020-05-22 17:37:22 +03:00
Eladash
0e6abd66ca
PPU disasm: do not disassmble non-executable memory
2020-05-22 17:37:22 +03:00
Nick Renieris
2fb600e458
Qt/Debugger: Don't move entire list if it's not needed
...
With 4 buffer spaces at the bottom.
2020-04-03 01:36:35 +01:00
Eladash
f2d6a1ff60
disasm: Improve instructions spacing
2020-03-19 14:18:05 +03:00
Eladash
fd45bf5fba
debugger: Force aligned memory view
...
Fixes a corner case viewing unaligned memory at the end of spu memory.
Also unaligned view isn't suitable for the debugger, for these purposes the memory viewer should be used instead.
2020-03-19 14:18:05 +03:00
Megamouse
f7666f44da
Untangle GUI and input includes
2020-02-24 16:31:01 +01:00
Nekotekina
972e0ab31d
Remove -Wno-reorder and make it an error
2020-02-21 15:20:34 +03:00
Megamouse
fe75311be2
move config structs to own files and clean up some headers
2020-02-17 15:08:17 +03:00
msuih
8150095e8f
Qt warnings cleanup
2019-08-10 16:15:24 +02:00
eladash
dfacdd8a40
fixup for rsx debugging tools segfaults
2018-10-23 18:02:03 +03:00
Nekotekina
1b37e775be
Migration to named_thread<>
...
Add atomic_t<>::try_dec instead of fetch_dec_sat
Add atomic_t<>::try_inc
GDBDebugServer is broken (needs rewrite)
Removed old_thread class (former named_thread)
Removed storing/rethrowing exceptions from thread
Emu.Stop doesn't inject an exception anymore
task_stack helper class removed
thread_base simplified (no shared_from_this)
thread_ctrl::spawn simplified (creates detached thread)
Implemented overrideable thread detaching logic
Disabled cellAdec, cellDmux, cellFsAio
SPUThread renamed to spu_thread
RawSPUThread removed, spu_thread used instead
Disabled deriving from ppu_thread
Partial support for thread renaming
lv2_timer... simplified, screw it
idm/fxm: butchered support for on_stop/on_init
vm: improved allocation structure (added size)
2018-10-19 22:22:35 +03:00
Nekotekina
8abe6489ed
Mega-cleanup for atomic_t<> and named bit-sets bs_t<>
...
Remove "atomic operator" classes
Remove test, test_and_set, test_and_reset, test_and_complement global functions
Simplify atomic_t<> with constexpr if, remove some garbage
Redesign bs_t<> to use class, mark its methods constexpr
Implement atomic_bs_t<> for optimizations
Remove unused __bitwise_ops concept (should be in other header anyway)
Bitsets can now be tested via safe bool conversion
2018-09-03 21:40:36 +03:00
Robbie
477522210e
Refactor debugger_frame into subclasses. Mostly trying to simplify
...
breakpoints.
2018-04-21 22:21:51 +04:00