Skip to content
Snippets Groups Projects
Commit 998f60f1 authored by Jean Coquet's avatar Jean Coquet
Browse files

crash handler added

parent 48d8c505
Branches
Tags
No related merge requests found
...@@ -10,10 +10,10 @@ static const char *RcsId = "$Id $"; ...@@ -10,10 +10,10 @@ static const char *RcsId = "$Id $";
// //
// project : TANGO Device Server // project : TANGO Device Server
// //
// $Author: olivierroux $ // $Author: jean_coquet $
// //
// $Revision: 1.1 $ $ // $Revision: 1.2 $ $
// $Date: 2010-11-05 10:36:03 $ // $Date: 2010-11-22 08:55:08 $
// //
// SVN only: // SVN only:
// $HeadURL: $ // $HeadURL: $
...@@ -21,6 +21,9 @@ static const char *RcsId = "$Id $"; ...@@ -21,6 +21,9 @@ static const char *RcsId = "$Id $";
// CVS only: // CVS only:
// $Source: /users/chaize/newsvn/cvsroot/Instrumentation/Lakeshore_336/src/main.cpp,v $ // $Source: /users/chaize/newsvn/cvsroot/Instrumentation/Lakeshore_336/src/main.cpp,v $
// $Log: not supported by cvs2svn $ // $Log: not supported by cvs2svn $
// Revision 1.1 2010/11/05 10:36:03 olivierroux
// - initial import
//
// //
// copyleft : European Synchrotron Radiation Facility // copyleft : European Synchrotron Radiation Facility
// BP 220, Grenoble 38043 // BP 220, Grenoble 38043
...@@ -36,9 +39,18 @@ static const char *RcsId = "$Id $"; ...@@ -36,9 +39,18 @@ static const char *RcsId = "$Id $";
#include <tango.h> #include <tango.h>
#if defined(ENABLE_CRASH_REPORT)
# include <crashreporting/crash_report.h>
#else
# define DECLARE_CRASH_HANDLER
# define INSTALL_CRASH_HANDLER
#endif
DECLARE_CRASH_HANDLER;
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
INSTALL_CRASH_HANDLER;
Tango::Util *tg; Tango::Util *tg;
try try
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment