No (not from my code at least).
Single stepping doesn't seem to give me more at the moment, will see
what I can dig up stepping asm after finishen the test body...
some gdb logging from my stripped test group described in a previous mail:
$ cat gdb.txt
Breakpoint 1 at 0x418e03: file ../../../../src/bsp/init.c, line 37.
Starting program:
/work/Mobitron/proj/fat90v2/appl/build/pc/src/bsp/tests/bsp_tests
[New Thread 4728.0xad4]
[New Thread 4728.0x1fec]
Breakpoint 1, bsp_init () at ../../../../src/bsp/init.c:37
37 if (initialized++)
#0 bsp_init () at ../../../../src/bsp/init.c:37
#1 0x004011ab in TEST_BSP_Init_Test::testBody (this=0x8003cc80) at
../../../../../src/bsp/tests/bsp_tests.cpp:21
#2 0x0040d8f6 in helperDoTestBody (data=0x8003cc80) at
src/CppUTest/Utest.cpp:85
#3 0x00416c87 in PlatformSpecificSetJmp (function=0x40d8de
<helperDoTestBody(void*)>, data=0x8003cc80)
at src/Platforms/Gcc/UtestPlatform.cpp:58
#4 0x0040ee30 in Utest::run (this=0x8003cc80) at src/CppUTest/Utest.cpp:469
#5 0x0040dc5d in UtestShell::runOneTest (this=0x42f01c,
plugin=0x28ab58, result=...) at src/CppUTest/Utest.cpp:198
#6 0x0040d958 in helperDoRunOneTest (data=0x28aa84) at
src/CppUTest/Utest.cpp:110
#7 0x00416c87 in PlatformSpecificSetJmp (function=0x40d912
<helperDoRunOneTest(void*)>, data=0x28aa84)
at src/Platforms/Gcc/UtestPlatform.cpp:58
#8 0x0040db70 in UtestShell::runOneTestWithPlugins (this=0x42f01c,
plugin=0x28ab58, result=...) at src/CppUTest/Utest.cpp:172
#9 0x0041626e in TestRegistry::runAllTests (this=0x4316e0,
result=...) at src/CppUTest/TestRegistry.cpp:62
#10 0x0040d6da in CommandLineTestRunner::runAllTests (this=0x28abb8)
at src/CppUTest/CommandLineTestRunner.cpp:103
#11 0x0040d503 in CommandLineTestRunner::runAllTestsMain
(this=0x28abb8) at src/CppUTest/CommandLineTestRunner.cpp:80
#12 0x0040d3d9 in CommandLineTestRunner::RunAllTests (ac=1,
av=0x28ac30) at src/CppUTest/CommandLineTestRunner.cpp:62
#13 0x00401190 in main (argc=1, argv=0x28ac30) at
../../../../../src/tests/run_tests.cpp:6
42 }
TEST_BSP_Init_Test::testBody (this=0x8003cc80) at
../../../../../src/bsp/tests/bsp_tests.cpp:22
22 bsp_shutdown();
bsp_shutdown () at ../../../../src/bsp/init.c:46
46 initialized = 0;
68 }
__static_initialization_and_destruction_0 (__initialize_p=-
2147234688,
__priority=65535)
at ../../../../../src/bsp/tests/bsp_tests.cpp:23
23 }
19 TEST(BSP, Init)
23 }
Program received signal SIGSEGV, Segmentation fault.
0x8003c007 in ?? ()
A debugging session is active.
Inferior 1 [process 4728] will be killed.
Quit anyway? (y or n) error return
/netrel/src/gdb-7.3.50-3/gdb/windows-nat.c:1251 was 5
2012/7/1
Ja...@grenning.net <
Ja...@grenning.net>: