This is the mail archive of the insight@sourceware.org mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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
       }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]