Breakpoint" to popup menu.
2000-12-07 Tom Tromey <tromey@redhat.com>
+ * srctextwin.itb (SrcTextWin::do_source_popup): Added "Set
+ Breakpoint" to popup menu.
+
* srcwin.itb (SrcWin::edit): Use uplevel, not eval, to evaluate
external editor expression.
-command [list $this addToWatch $variable]
$popups(source) add command -label "Dump Memory at $variable" \
-command [list ManagedWin::open MemWin -force -addr_exp $variable]
+ $popups(source) add command -label "Set Breakpoint at $variable" \
+ -command [list gdb_cmd "break $variable"]
$popups(source) add separator
}
}