-
-
Notifications
You must be signed in to change notification settings - Fork 338
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Debugger: Add definitions for signal dispositions.
- Add header for defining the possible signal dispositions that can be configured. - Add corresponding UI helper function to map to a string representation.
- Loading branch information
Showing
3 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/* | ||
* Copyright 2015, Rene Gollent, rene@gollent.com. | ||
* Distributed under the terms of the MIT License. | ||
*/ | ||
#ifndef SIGNAL_DISPOSITION_TYPES_H | ||
#define SIGNAL_DISPOSITION_TYPES_H | ||
|
||
|
||
enum SignalDisposition { | ||
SIGNAL_DISPOSITION_IGNORE = 0, | ||
SIGNAL_DISPOSITION_STOP_AT_RECEIPT, | ||
SIGNAL_DISPOSITION_STOP_AT_SIGNAL_HANDLER, | ||
// NB: if the team has no signal handler installed for | ||
// the corresponding signal, this implies stop at receipt. | ||
|
||
SIGNAL_DISPOSITION_MAX | ||
}; | ||
|
||
|
||
#endif // SIGNAL_DISPOSITION_TYPES_H |
This file contains 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
This file contains 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