mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-23 02:06:48 +08:00
* python/py-event.h (gdbpy_initialize_event_generic): Use
CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION. * python/py-evts.c (add_new_registry): Use CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION. * python/python-internal.h (CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION): New macro.
This commit is contained in:
@ -53,6 +53,13 @@
|
||||
#define CPYCHECKER_SETS_EXCEPTION
|
||||
#endif
|
||||
|
||||
#ifdef WITH_CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION_ATTRIBUTE
|
||||
#define CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION \
|
||||
__attribute__ ((cpychecker_negative_result_sets_exception))
|
||||
#else
|
||||
#define CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
/* Python 2.4 doesn't include stdint.h soon enough to get {u,}intptr_t
|
||||
|
Reference in New Issue
Block a user