diff options
Diffstat (limited to 'gdb/break-catch-syscall.c')
-rw-r--r-- | gdb/break-catch-syscall.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/break-catch-syscall.c b/gdb/break-catch-syscall.c index 3d28898..63bfec6 100644 --- a/gdb/break-catch-syscall.c +++ b/gdb/break-catch-syscall.c @@ -570,9 +570,7 @@ clear_syscall_counts (struct inferior *inf) inf_data->syscalls_counts.clear (); } -void _initialize_break_catch_syscall (); -void -_initialize_break_catch_syscall () +INIT_GDB_FILE (break_catch_syscall) { gdb::observers::inferior_exit.attach (clear_syscall_counts, "break-catch-syscall"); |