mirror of https://github.com/pvnis/srsRAN_4G.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
655 B
C
34 lines
655 B
C
4 years ago
|
/**
|
||
7 years ago
|
*
|
||
4 years ago
|
* \section COPYRIGHT
|
||
7 years ago
|
*
|
||
4 years ago
|
* Copyright 2013-2021 Software Radio Systems Limited
|
||
7 years ago
|
*
|
||
4 years ago
|
* By using this file, you agree to the terms and conditions set
|
||
|
* forth in the LICENSE file which can be found at the top level of
|
||
|
* the distribution.
|
||
7 years ago
|
*
|
||
|
*/
|
||
|
|
||
5 years ago
|
/**
|
||
|
* @file crash_handler.h
|
||
|
* @brief Common handler to catch segfaults and write backtrace to file.
|
||
|
*/
|
||
7 years ago
|
|
||
4 years ago
|
#ifndef SRSRAN_CRASH_HANDLER_H
|
||
|
#define SRSRAN_CRASH_HANDLER_H
|
||
7 years ago
|
|
||
4 years ago
|
#include "srsran/config.h"
|
||
5 years ago
|
#include <stdio.h>
|
||
7 years ago
|
|
||
7 years ago
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif // __cplusplus
|
||
|
|
||
4 years ago
|
void srsran_debug_handle_crash(int argc, char** argv);
|
||
7 years ago
|
|
||
7 years ago
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif // __cplusplus
|
||
4 years ago
|
#endif // SRSRAN_CRASH_HANDLER_H
|