mariadb/dbug
Sergei Golubchik 29dd634a4c dbug: correct trace for DBUG_RETURN(func()); -- gcc only
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)).
2015-11-16 07:55:55 +01:00
..
CMakeLists.txt MDEV-6410 Cross-compile fixes 2014-07-08 19:34:53 +02:00
dbug.c dbug: correct trace for DBUG_RETURN(func()); -- gcc only 2015-11-16 07:55:55 +01:00
dbug_add_tags.pl mysql-5.5.18 merge 2011-11-03 19:17:05 +01:00
dbug_long.h small dbug cleanup 2011-07-10 19:50:29 +02:00
example1.c document DBUG_OUTPUT() 2004-11-11 14:42:35 +01:00
example2.c document DBUG_OUTPUT() 2004-11-11 14:42:35 +01:00
example3.c document DBUG_OUTPUT() 2004-11-11 14:42:35 +01:00
factorial.c remove duplicate code from the factorial dbug example 2012-08-23 15:30:43 +02:00
main.c document DBUG_OUTPUT() 2004-11-11 14:42:35 +01:00
monty.doc dbug changes: 2006-02-14 22:36:11 +01:00
my_main.c move safemalloc out of dbug. 2011-12-12 22:58:24 +01:00
remove_function_from_trace.pl Fixed bug LP#605798 "wrong data in bitmap" after recovery. 2010-09-10 02:42:12 +03:00
tests-t.pl move safemalloc out of dbug. 2011-12-12 22:58:24 +01:00
tests.c Fixed compile warnings 2012-05-18 16:40:16 +03:00
user.r move safemalloc out of dbug. 2011-12-12 22:58:24 +01:00