From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21872 invoked by alias); 7 May 2002 22:53:01 -0000 Mailing-List: contact insight-prs-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-prs-owner@sources.redhat.com Received: (qmail 21855 invoked by uid 71); 7 May 2002 22:53:01 -0000 Resent-Date: 7 May 2002 22:53:01 -0000 Resent-Message-ID: <20020507225301.21854.qmail@sources.redhat.com> Resent-From: insight-gnats@sources.redhat.com (GNATS Filer) Resent-To: nobody@sources.redhat.com Resent-Cc: insight-prs@sources.redhat.com Resent-Reply-To: insight-gnats@sources.redhat.com, craig@triscend.com Received:(qmail 18142 invoked by uid 61); 7 May 2002 22:45:44 -0000 Message-Id:<20020507224544.18141.qmail@sources.redhat.com> Date: Tue, 07 May 2002 15:53:00 -0000 From: craig@triscend.com Reply-To: craig@triscend.com To: insight-gnats@sources.redhat.com X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: insight/151: If the control char entry in the memory window prefs is blank an error and stack trace are produced X-SW-Source: 2002-q2/txt/msg00020.txt.bz2 List-Id: >Number: 151 >Category: insight >Synopsis: If the control char entry in the memory window prefs is blank an error and stack trace are produced >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Tue May 07 15:53:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: craig@triscend.com >Release: unknown-1.0 >Organization: >Environment: Windows 2000/Cygwin & Linux >Description: A stack trace is displayed if the control char is removed in the memory window prefrences. >How-To-Repeat: After connecting to a target, open the memory window, right click on the memory window and select prefrences. Remove the dot (.) from the "Control Char" entry in the Miscellaneous section. Click Apply. >Fix: See attached patch, if there is no control char, the control char defaults to a dot (.) >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: text/plain; name="mempref.itb.pat" Content-Disposition: inline; filename="mempref.itb.pat" Index: mempref.itb =================================================================== RCS file: /cvs/src/src/gdb/gdbtk/library/mempref.itb,v retrieving revision 1.3 diff -c -p -r1.3 mempref.itb *** mempref.itb 5 Mar 2002 22:22:19 -0000 1.3 --- mempref.itb 7 May 2002 22:38:37 -0000 *************** body MemPref::apply {} { *** 316,321 **** --- 316,324 ---- set format $gformat } } + if {[string length $gascii_char] <= 0} { + set gascii_char "." + } # pass all the changed values back to parent debug "$win configChange -size $size -numbytes $numbytes \