mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-03 15:23:53 +08:00
* breakpoint.c (save_breakpoints): Verify whether
breakpoint_ops.print_recreate is defined before calling it.
This commit is contained in:
parent
d26ccb4f7b
commit
26063d4963
@ -1,3 +1,8 @@
|
||||
2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
|
||||
|
||||
* breakpoint.c (save_breakpoints): Verify whether
|
||||
breakpoint_ops.print_recreate is defined before calling it.
|
||||
|
||||
2011-04-11 Gary Benson <gbenson@redhat.com>
|
||||
|
||||
Fix failure with --enable-maintainer-mode.
|
||||
|
@ -12337,7 +12337,7 @@ save_breakpoints (char *filename, int from_tty,
|
||||
if (filter && !filter (tp))
|
||||
continue;
|
||||
|
||||
if (tp->ops != NULL)
|
||||
if (tp->ops != NULL && tp->ops->print_recreate != NULL)
|
||||
(tp->ops->print_recreate) (tp, fp);
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user