diff options
Diffstat (limited to 'packages/Python/lldbsuite/test/lang/c/shared_lib/main.c')
-rw-r--r-- | packages/Python/lldbsuite/test/lang/c/shared_lib/main.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/Python/lldbsuite/test/lang/c/shared_lib/main.c b/packages/Python/lldbsuite/test/lang/c/shared_lib/main.c new file mode 100644 index 0000000..b4377de --- /dev/null +++ b/packages/Python/lldbsuite/test/lang/c/shared_lib/main.c @@ -0,0 +1,13 @@ +#include <stdio.h> +#include "foo.h" + +int +main () +{ + struct foo *my_foo_ptr; + my_foo_ptr = GetMeAFoo(); + + printf ("My sub foo has: %d.\n", GetMeASubFoo(my_foo_ptr)->sub_1); // Set breakpoint 0 here. + + return 0; +} |