mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-03 13:23:00 +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:
@ -37,7 +37,7 @@ static struct PyModuleDef EventModuleDef =
|
||||
|
||||
/* Initialize python events. */
|
||||
|
||||
static int
|
||||
static int CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION
|
||||
add_new_registry (eventregistry_object **registryp, char *name)
|
||||
{
|
||||
*registryp = create_eventregistry_object ();
|
||||
|
Reference in New Issue
Block a user