diff options
Diffstat (limited to 'gdb/break-catch-syscall.c')
-rw-r--r-- | gdb/break-catch-syscall.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/break-catch-syscall.c b/gdb/break-catch-syscall.c index 7335377f899..9100ac6d544 100644 --- a/gdb/break-catch-syscall.c +++ b/gdb/break-catch-syscall.c @@ -607,7 +607,8 @@ _initialize_break_catch_syscall () { initialize_syscall_catchpoint_ops (); - gdb::observers::inferior_exit.attach (clear_syscall_counts); + gdb::observers::inferior_exit.attach (clear_syscall_counts, + "break-catch-syscall"); add_catch_command ("syscall", _("\ Catch system calls by their names, groups and/or numbers.\n\ |