From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19873 invoked by alias); 7 Mar 2002 06:09:01 -0000 Mailing-List: contact insight-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sources.redhat.com Received: (qmail 19815 invoked from network); 7 Mar 2002 06:09:00 -0000 Received: from unknown (HELO localhost.localdomain) (12.230.181.242) by sources.redhat.com with SMTP; 7 Mar 2002 06:09:00 -0000 Received: from there (DRAGON [127.0.0.1]) by localhost.localdomain (8.11.6/8.11.6) with SMTP id g2768Sx31307 for ; Wed, 6 Mar 2002 22:08:28 -0800 Message-Id: <200203070608.g2768Sx31307@localhost.localdomain> Content-Type: text/plain; charset="iso-8859-1" From: "Martin M. Hunt" Organization: Red Hat Inc To: Insight Mailing List Subject: [PATCH] breakpoint table left-justify Date: Wed, 06 Mar 2002 22:09:00 -0000 X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SW-Source: 2002-q1/txt/msg00186.txt.bz2 I'm calling this an obvious patch because not many people like right-justified tables, especially when some function names are very long and some very short. -- Martin Hunt GDB Engineer Red Hat, Inc. 2002-03-06 Martin M. Hunt * library/bpwin.itb: Left-justify the labels in the table. Index: library/bpwin.itb =================================================================== RCS file: /cvs/src/src/gdb/gdbtk/library/bpwin.itb,v retrieving revision 1.11 diff -u -p -r1.11 bpwin.itb --- bpwin.itb 2002/03/05 22:22:19 1.11 +++ bpwin.itb 2002/03/07 06:05:54 @@ -238,9 +238,9 @@ body BpWin::bp_add {bp_event {tracepoint } if {$tracepoints} { - label $twin.num$i -text "$number " -relief flat -anchor e -font global/fixed -bg $bg1 + label $twin.num$i -text "$number " -relief flat -anchor w -font global/fixed -bg $bg1 } - label $twin.addr$i -text "[$bp_event get address] " -relief flat -anchor e -font global/fixed -bg $bg1 + label $twin.addr$i -text "[$bp_event get address] " -relief flat -anchor w -font global/fixed -bg $bg1 if {[info exists _files(short,$file)]} { set file $_files(short,$file) } else { @@ -249,13 +249,13 @@ body BpWin::bp_add {bp_event {tracepoint } if {$show_threads} { if {$thread == "-1"} {set thread "ALL"} - label $twin.thread$i -text "$thread " -relief flat -anchor e -font global/fixed -bg $bg1 + label $twin.thread$i -text "$thread " -relief flat -anchor w -font global/fixed -bg $bg1 } - label $twin.file$i -text "$file " -relief flat -anchor e -font global/fixed -bg $bg1 - label $twin.line$i -text "[$bp_event get line] " -relief flat -anchor e -font global/fixed -bg $bg1 - label $twin.func$i -text "[$bp_event get function] " -relief flat -anchor e -font global/fixed -bg $bg1 + label $twin.file$i -text "$file " -relief flat -anchor w -font global/fixed -bg $bg1 + label $twin.line$i -text "[$bp_event get line] " -relief flat -anchor w -font global/fixed -bg $bg1 + label $twin.func$i -text "[$bp_event get function] " -relief flat -anchor w -font global/fixed -bg $bg1 if {$tracepoints} { - label $twin.pass$i -text "[$bp_event get pass_count] " -relief flat -anchor e -font global/fixed -bg $bg1 + label $twin.pass$i -text "[$bp_event get pass_count] " -relief flat -anchor w -font global/fixed -bg $bg1 } if {$mbar} {