diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/breakpoint.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 683b24b..4864bc7 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -7959,6 +7959,7 @@ clone_momentary_breakpoint (struct breakpoint *orig) if (orig == NULL) return NULL; + gdb_assert (orig->ops == &momentary_breakpoint_ops); return momentary_breakpoint_from_master (orig, orig->type, orig->ops, 0); } |