diff options
author | Martin Hunt <hunt@redhat.com> | 2003-02-04 07:15:49 +0000 |
---|---|---|
committer | Martin Hunt <hunt@redhat.com> | 2003-02-04 07:15:49 +0000 |
commit | 82f26dff315599e868517e25ad3db5cd257a5f81 (patch) | |
tree | 74da41182df0492fe4d57629e4b5827538e5504f /gdb/gdbtk/library | |
parent | 8f3f33da14c48171c0f38568edb4c47a10545188 (diff) | |
download | gdb-82f26dff315599e868517e25ad3db5cd257a5f81.tar.gz |
2003-02-03 Martin M. Hunt <hunt@redhat.com>
* library/session.tcl (_recreate_bps): Catch errors.
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. |