Skip to content

Commit db06c4a

Browse files
andrurogerzcompnerd
authored andcommitted
[linux] remove SIGTRAP warning message on si_code <= 0
This warning message was added in a55e03a. It shows up somewhat frequently in logs when `si_code == 0` and should not be treated as a warning (it never was previously).
1 parent e774642 commit db06c4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Target/Linux/Thread.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ ErrorCode Thread::updateStopInfo(int waitStatus) {
114114
// If the value of si_code is <= 0, then the signal was generated by a
115115
// user process via kill(2), sigsend(2), abort(3C), raise(3C), etc. No
116116
// action is needed other than updating the thread's stop info.
117-
DS2LOG(Warning, "sigtrap code %d recieved from %" PRI_PID, si.si_code,
117+
DS2LOG(Debug, "sigtrap code %d recieved from %" PRI_PID, si.si_code,
118118
si.si_pid);
119119
_stopInfo.reason = StopInfo::kReasonTrap;
120120
break;

0 commit comments

Comments
 (0)