| Index: gdb/testsuite/gdb.base/callfuncs.c
|
| diff --git a/gdb/testsuite/gdb.base/callfuncs.c b/gdb/testsuite/gdb.base/callfuncs.c
|
| index 125dd39c76040f54ab3526343eaad8fe9cd29d3b..7fb5061866dc215a58a73283b518d879dde313e1 100644
|
| --- a/gdb/testsuite/gdb.base/callfuncs.c
|
| +++ b/gdb/testsuite/gdb.base/callfuncs.c
|
| @@ -641,15 +641,18 @@ struct struct_with_fnptr function_struct = { doubleit };
|
|
|
| struct struct_with_fnptr *function_struct_ptr = &function_struct;
|
|
|
| +int *
|
| +voidfunc (void)
|
| +{
|
| + static int twentythree = 23;
|
| + return &twentythree;
|
| +}
|
| +
|
| /* Gotta have a main to be able to generate a linked, runnable
|
| executable, and also provide a useful place to set a breakpoint. */
|
|
|
| int main ()
|
| {
|
| -#ifdef usestubs
|
| - set_debug_traps();
|
| - breakpoint();
|
| -#endif
|
| malloc(1);
|
| t_double_values(double_val1, double_val2);
|
| t_structs_c(struct_val1);
|
|
|