Mercurial > emacs
comparison configure.in @ 111688:7153f8068e69
Mark debugger related variables and functions as EXTERNALLY_VISIBLE
so that they do not get optimized away.
* configure.in (EXTERNALLY_VISIBLE): New definition.
* src/emacs.c (gdb_use_union, gdb_valbits,gdb_gctypebits)
(gdb_data_seg_bits, gdb_array_mark_flag, PVEC_FLAG)
(gdb_pvec_type):
* src/print.c (print_output_debug_flag):
* src/lisp.h (debug_print): Mark as EXTERNALLY_VISIBLE.
(safe_debug_print): New declaration.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Tue, 23 Nov 2010 10:47:23 -0800 |
parents | 17d793ffe36f |
children |
comparison
equal
deleted
inserted
replaced
111687:17d793ffe36f | 111688:7153f8068e69 |
---|---|
3631 #define NO_INLINE __attribute__((noinline)) | 3631 #define NO_INLINE __attribute__((noinline)) |
3632 #else | 3632 #else |
3633 #define NO_INLINE | 3633 #define NO_INLINE |
3634 #endif | 3634 #endif |
3635 | 3635 |
3636 #if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 1)) | |
3637 #define EXTERNALLY_VISIBLE __attribute__((externally_visible)) | |
3638 #else | |
3639 #define EXTERNALLY_VISIBLE | |
3640 #endif | |
3641 | |
3636 /* Some versions of GNU/Linux define noinline in their headers. */ | 3642 /* Some versions of GNU/Linux define noinline in their headers. */ |
3637 #ifdef noinline | 3643 #ifdef noinline |
3638 #undef noinline | 3644 #undef noinline |
3639 #endif | 3645 #endif |
3640 | 3646 |