From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13723 invoked by alias); 1 Sep 2005 04:07:48 -0000 Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org Received: (qmail 13427 invoked by uid 22791); 1 Sep 2005 04:07:35 -0000 Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 01 Sep 2005 04:07:35 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j8147YjQ013319 for ; Thu, 1 Sep 2005 00:07:34 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j8147YV08916 for ; Thu, 1 Sep 2005 00:07:34 -0400 Received: from [127.0.0.1] (sebastian-int.corp.redhat.com [172.16.52.221]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id j8147W54014855 for ; Thu, 1 Sep 2005 00:07:33 -0400 Message-ID: <43167E84.10906@redhat.com> Date: Thu, 01 Sep 2005 04:07:00 -0000 From: Keith Seitz User-Agent: Mozilla Thunderbird 1.0.6-1.1.fc4 (X11/20050720) MIME-Version: 1.0 To: insight@sources.redhat.com Subject: [PATCH] Fix breakpoint store in bpwin Content-Type: multipart/mixed; boundary="------------010804030205030907030303" X-SW-Source: 2005-q3/txt/msg00094.txt.bz2 This is a multi-part message in MIME format. --------------010804030205030907030303 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 270 Hi, I've committed the attached patch which fixes insight/267. Keith ChangeLog 2005-08-31 Keith Seitz * library/bpwin.itb (bp_store): gdb_get_breakpoint_info outputs the breakpoint condition, too -- include it in the lassign. --------------010804030205030907030303 Content-Type: text/x-patch; name="save-bps.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="save-bps.patch" Content-length: 678 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 } --------------010804030205030907030303--