mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-16 22:06:04 +00:00

This patch upgrades the Linux process plugin to handle a larger range of signal events. For example, we can detect when the inferior has "crashed" and why, interrupt a running process, deliver an arbitrary signal, and so on. llvm-svn: 128547
32 lines
708 B
C++
32 lines
708 B
C++
//===-- LinuxSignals.h ------------------------------------------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef liblldb_LinuxSignals_H_
|
|
#define liblldb_LinuxSignals_H_
|
|
|
|
// C Includes
|
|
// C++ Includes
|
|
// Other libraries and framework includes
|
|
// Project includes
|
|
#include "lldb/Target/UnixSignals.h"
|
|
|
|
/// Linux specific set of Unix signals.
|
|
class LinuxSignals
|
|
: public lldb_private::UnixSignals
|
|
{
|
|
public:
|
|
LinuxSignals();
|
|
|
|
private:
|
|
void
|
|
Reset();
|
|
};
|
|
|
|
#endif
|