diff options
Diffstat (limited to 'gdb/gdbtk/library')
-rw-r--r-- | gdb/gdbtk/library/session.tcl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/gdbtk/library/session.tcl b/gdb/gdbtk/library/session.tcl index 6653760787f..158ffd245be 100644 --- a/gdb/gdbtk/library/session.tcl +++ b/gdb/gdbtk/library/session.tcl @@ -122,7 +122,9 @@ namespace eval Session { lassign $spec create enabled condition commands # Create the breakpoint - gdb_cmd $create + if {[catch {gdb_cmd $create} txt]} { + dbug W $txt + } # Below we use `\$bpnum'. This means we don't have to figure out # the number of the breakpoint when doing further manipulations. |