This is the mail archive of the
insight@sourceware.org
mailing list for the Insight project.
[PATCH] Fix breakpoint store in bpwin
- From: Keith Seitz <keiths at redhat dot com>
- To: insight at sources dot redhat dot com
- Date: Wed, 31 Aug 2005 21:07:32 -0700
- Subject: [PATCH] Fix breakpoint store in bpwin
Hi,
I've committed the attached patch which fixes insight/267.
Keith
ChangeLog
2005-08-31 Keith Seitz <keiths@redhat.com>
* library/bpwin.itb (bp_store): gdb_get_breakpoint_info outputs
the breakpoint condition, too -- include it in the lassign.
Index: library/bpwin.itb
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/library/bpwin.itb,v
retrieving revision 1.17
diff -u -p -r1.17 bpwin.itb
--- library/bpwin.itb 6 Mar 2003 01:25:50 -0000 1.17
+++ library/bpwin.itb 1 Sep 2005 04:05:23 -0000
@@ -307,7 +307,7 @@ itcl::body BpWin::bp_store {} {
foreach breakpoint [gdb_get_breakpoint_list] {
# This is an lassign
foreach {file function line_no address type \
- enable_p disp ignore cmds thread hit_count user_spec} \
+ enable_p disp ignore cmds cond thread hit_count user_spec} \
[gdb_get_breakpoint_info $breakpoint] {
break
}