mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
29dd634a4c
when func1 calls func2 from DBUG_RETURN, dbug shows the trace as | > func1 | < func1 | > func2 | < func2 because DBUG_LEAVE happens before func2(). Change that to invoke DBUG_LEAVE when the local variable goes out of scope. This uses gcc specific __attribute__((cleanup)). |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
dbug.c | ||
dbug_add_tags.pl | ||
dbug_long.h | ||
example1.c | ||
example2.c | ||
example3.c | ||
factorial.c | ||
main.c | ||
monty.doc | ||
my_main.c | ||
remove_function_from_trace.pl | ||
tests-t.pl | ||
tests.c | ||
user.r |