~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/stacktrace.h

  • Committer: Brian Aker
  • Date: 2008-10-06 06:47:29 UTC
  • Revision ID: brian@tangent.org-20081006064729-2i9mhjkzyvow9xsm
RemoveĀ uint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
extern "C" {
24
24
#endif
25
25
 
26
 
#if defined(HAVE_BACKTRACE) && HAVE_BACKTRACE_SYMBOLS && HAVE_CXXABI_H && HAVE_ABI_CXA_DEMANGLE
 
26
#if HAVE_BACKTRACE && HAVE_BACKTRACE_SYMBOLS && HAVE_CXXABI_H && HAVE_ABI_CXA_DEMANGLE
27
27
#define BACKTRACE_DEMANGLE 1
28
28
#endif
29
29
 
30
 
#if defined(BACKTRACE_DEMANGLE)
 
30
#if BACKTRACE_DEMANGLE
31
31
  char *my_demangle(const char *mangled_name, int *status);
32
32
#endif
33
33
 
47
47
#endif /* defined HAVE_OS_LINUX */
48
48
 
49
49
#ifdef HAVE_STACKTRACE
50
 
  void print_stacktrace(unsigned char* stack_bottom, size_t thread_stack);
 
50
  void print_stacktrace(unsigned char* stack_bottom, ulong thread_stack);
51
51
  void safe_print_str(const char* name, const char* val, int max_len);
52
52
#else
53
53
/* Define empty prototypes for functions that are not implemented */