Changing common/debug.h to crash_handler.h

master
Pedro Alvarez 6 years ago
parent c3ef88e112
commit 597cf18b9d

@ -38,6 +38,7 @@
#include "srslte/srslte.h"
#include "srslte/phy/rf/rf_utils.h"
#include "srslte/common/crash_handler.h"
#ifndef DISABLE_RF

@ -32,12 +32,19 @@
* Reference:
*****************************************************************************/
#ifndef SRSLTE_COMMON_DEBUG_H
#define SRSLTE_COMMON_DEBUG_H
#ifndef SRSLTE_CRASH_HANDLER_H
#define SRSLTE_CRASH_HANDLER_H
#include <stdio.h>
#include "srslte/config.h"
#ifdef __cplusplus
extern "C" {
#endif // __cplusplus
void srslte_debug_handle_crash(int argc, char **argv);
#ifdef __cplusplus
}
#endif // __cplusplus
#endif // SRSLTE_COMMON_DEBUG

@ -49,7 +49,6 @@
#include "srslte/phy/common/sequence.h"
#include "srslte/phy/common/phy_common.h"
#include "srslte/phy/common/phy_logger.h"
#include "srslte/common/debug.h"
#include "srslte/phy/ch_estimation/chest_ul.h"
#include "srslte/phy/ch_estimation/chest_dl.h"

@ -31,7 +31,7 @@
#include <stdlib.h>
#include "srslte/version.h"
#include "srslte/common/debug.h"
#include "srslte/common/crash_handler.h"
const static char crash_file_name[] = "./srsLTE.backtrace.crash";
static int bt_argc;

@ -31,7 +31,7 @@
#include <pthread.h>
#include "srslte/common/config_file.h"
#include "srslte/common/debug.h"
#include "srslte/common/crash_handler.h"
#include <iostream>
#include <string>

@ -34,17 +34,17 @@ if (RPATH)
endif (RPATH)
add_executable(srsepc main.cc )
target_link_libraries(srsepc srsepc_mme
srsepc_hss
srsepc_sgw
srslte_upper
srslte_common
${CMAKE_THREAD_LIBS_INIT}
${Boost_LIBRARIES}
${SEC_LIBRARIES}
${LIBCONFIGPP_LIBRARIES}
${SCTP_LIBRARIES})
add_executable(srsepc main.cc)
target_link_libraries( srsepc srsepc_mme
srsepc_hss
srsepc_sgw
srslte_upper
srslte_common
${CMAKE_THREAD_LIBS_INIT}
${Boost_LIBRARIES}
${SEC_LIBRARIES}
${LIBCONFIGPP_LIBRARIES}
${SCTP_LIBRARIES})
add_executable(srsmbms mbms-gw/main.cc )
target_link_libraries(srsmbms srsepc_mbms_gw

@ -27,6 +27,7 @@
#include <signal.h>
#include <boost/program_options.hpp>
#include <boost/algorithm/string.hpp>
#include "srslte/common/crash_handler.h"
#include "srslte/common/bcd_helpers.h"
#include "srslte/common/config_file.h"
#include "srsepc/hdr/mme/mme.h"
@ -39,7 +40,7 @@ namespace bpo = boost::program_options;
bool running = true;
void
void
sig_int_handler(int signo){
running = false;
}

@ -38,7 +38,7 @@
#include "srsue/hdr/ue.h"
#include "srslte/common/config_file.h"
#include "srslte/common/debug.h"
#include "srslte/common/crash_handler.h"
#include "srslte/srslte.h"
#include "srsue/hdr/metrics_stdout.h"
#include "srsue/hdr/metrics_csv.h"

Loading…
Cancel
Save