Skip to content

Conversation

@bwrsandman
Copy link
Contributor

@bwrsandman bwrsandman commented Aug 14, 2019

Check TracerPid in /proc/self/status for attached debugger.
Add SIGTRAP handler to prevent signal from halting app while not running
in a debugger.
Log DebugPrint in clog (stderr).

Copy link
Member

@DrChat DrChat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Just one change requested.

@bwrsandman bwrsandman force-pushed the linux_debug branch 2 times, most recently from 2807ad6 to d1dc554 Compare February 14, 2020 08:25
CDAGaming added a commit to CDAGaming/xenia-canary that referenced this pull request Mar 31, 2020
@bwrsandman bwrsandman requested a review from DrChat April 8, 2020 21:18
Copy link
Member

@JoelLinn JoelLinn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although it's a small changeset, I tested all these functions and there indeed was an issue. With that fixed everything works.

My recommendation is to merge this immediately after the typo is fixed.

Check TracerPid in /proc/self/status for attached debugger.
Add SIGTRAP handler to prevent signal from halting app while not running
in a debugger.
Log DebugPrint in clog (stderr).
@gibbed gibbed merged commit e348cac into xenia-project:master Nov 14, 2020
@bwrsandman bwrsandman deleted the linux_debug branch November 15, 2020 02:15
@bwrsandman bwrsandman restored the linux_debug branch November 15, 2020 02:15
@bwrsandman bwrsandman deleted the linux_debug branch November 15, 2020 02:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants