From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16676 invoked by alias); 23 May 2002 20:13: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 16658 invoked by uid 71); 23 May 2002 20:13:01 -0000 Resent-Date: 23 May 2002 20:13:01 -0000 Resent-Message-ID: <20020523201301.16657.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 15603 invoked by uid 61); 23 May 2002 20:08:40 -0000 Message-Id:<20020523200840.15602.qmail@sources.redhat.com> Date: Thu, 23 May 2002 13:13: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/159: Stack trace within register window X-SW-Source: 2002-q2/txt/msg00031.txt.bz2 List-Id: >Number: 159 >Category: insight >Synopsis: Stack trace within register window >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Thu May 23 13:13:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: craig@triscend.com >Release: unknown-1.0 >Organization: >Environment: Windows 2K/Cygwin arm-elf-gdb >Description: A stack trace is displayed if a register is removed from the register window, and then an empty cell is clicked and then try to selecte display all registers. >How-To-Repeat: Start GDB and open the register window. Click on a register value and remove it from the display. Click on an empty cell (one that does not contain a register) and then selecte display all registers. >Fix: See the attached patch file, which also contains a fix for bug report 142. >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: text/plain; name="regwin.itb.pat" Content-Disposition: inline; filename="regwin.itb.pat" Index: regwin.itb =================================================================== RCS file: /cvs/src/src/gdb/gdbtk/library/regwin.itb,v retrieving revision 1.16 diff -c -p -r1.16 regwin.itb *** regwin.itb 16 May 2002 01:09:37 -0000 1.16 --- regwin.itb 23 May 2002 19:58:46 -0000 *************** body RegWin::_build_win {} { *** 225,231 **** -background [pref get gdb/font/highlight_bg] $itk_component(table) tag raise highlight $itk_component(table) tag configure sel \ ! -foreground [pref get gdb/font/select_fg] $itk_component(table) tag configure header \ -foreground [pref get gdb/font/header_fg] \ -background [pref get gdb/font/header_bg] \ --- 225,232 ---- -background [pref get gdb/font/highlight_bg] $itk_component(table) tag raise highlight $itk_component(table) tag configure sel \ ! -foreground [pref get gdb/font/select_fg] \ ! -background [pref get gdb/font/select_bg] $itk_component(table) tag configure header \ -foreground [pref get gdb/font/header_fg] \ -background [pref get gdb/font/header_bg] \ *************** body RegWin::_display_all {} { *** 715,721 **** if {[catch {$itk_component(table) index active} cell]} { set active {} } else { ! set active $_register($cell) } _layout_table if {$active != ""} { --- 716,724 ---- if {[catch {$itk_component(table) index active} cell]} { set active {} } else { ! if {[catch {set active $_register($cell)}]} { ! set active {} ! } } _layout_table if {$active != ""} {