Conversation
Register handling: - Fix fetch_registers() GPR loop using loop index instead of -1 - Fix FPR index offset (subtract base register number) - Fix loop bounds: 32 registers not 31 - Gate AltiVec register access on ECF_VECTOR context flag - Implement store_registers() using IDebug->WriteTaskContext() Trap/signal handling: - Replace raw PPC vector numbers with SDK TRAPNUM_* values from exec/interrupts.h (ExceptionContext.Traptype uses these) - Add handling for TRAP_TRAP (breakpoints), TRAP_DATA_BREAKPOINT (DABR), TRAP_INST_BREAKPOINT, TRAP_TRACE (single-step) - Preserve actual signal type in wait() instead of collapsing SEGV/BUS/FPE/ILL/ALRM to generic GDB_SIGNAL_0 Process control: - Implement attach() - find task by name/address, suspend, install debug hook - Fix kill() - use Signal(SIGBREAKF_CTRL_C) + RestartTask instead of DeleteTask on Process objects Message pool safety: - Add NULL check to alloc_message() with Forbid/Permit guards - Add Forbid/Permit to free_message() for consistency - Add NULL checks to all alloc_message() calls in debug callback BFD file path fix: - Skip canonicalize_file_name() on AmigaOS in gdb_realpath() - AmigaOS realpath() resolves assigns (T: -> "RAM Disk:T/") and volume names (SYS: -> "AmigaOS:") producing paths that fail when BFD's file cache tries to reopen them Minor cleanup: - Fix typos in comments - Use gdbarch register numbers consistently
10 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Created A PR from derfsss RP on adtools with the changes towards the binutils-gdb source repo.