From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5023 invoked by alias); 20 Sep 2002 06:16:25 -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 5015 invoked from network); 20 Sep 2002 06:16:24 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 20 Sep 2002 06:16:24 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id g8K5x3i16223 for ; Fri, 20 Sep 2002 01:59:03 -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 g8K6GNh07105 for ; Fri, 20 Sep 2002 02:16:23 -0400 Received: from localhost.localdomain (IDENT:nOBjRCVhOnLekFkYDConbTuCluDvRAj5@romulus.sfbay.redhat.com [172.16.27.251]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id g8K6GNf07120 for ; Fri, 20 Sep 2002 02:16:23 -0400 From: "Martin M. Hunt" Organization: Red Hat Inc To: insight@sources.redhat.com Subject: [patch] 64-bit fix for srctextwin Date: Thu, 19 Sep 2002 23:16:00 -0000 User-Agent: KMail/1.4.1 MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="------------Boundary-00=_F14QOL201VHRH70M1KWP" Message-Id: <200209192315.15820.hunt@redhat.com> X-SW-Source: 2002-q3/txt/msg00178.txt.bz2 --------------Boundary-00=_F14QOL201VHRH70M1KWP Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8bit Content-length: 294 Checked this in too. Thought we fixed all these. -- Martin Hunt GDB Engineer Red Hat, Inc. 2002-09-19 Martin M. Hunt * library/srctextwin.itb (FillAssembly): Fix debug statement for 64-bit addresses. (showBPBalloon): Fix for 64-bit addresses. --------------Boundary-00=_F14QOL201VHRH70M1KWP Content-Type: text/x-diff; charset="us-ascii"; name="p" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="p" Content-length: 998 Index: library/srctextwin.itb =================================================================== RCS file: /cvs/src/src/gdb/gdbtk/library/srctextwin.itb,v retrieving revision 1.35 retrieving revision 1.36 diff -u -u -r1.35 -r1.36 --- library/srctextwin.itb 7 Jun 2002 09:22:44 -0000 1.35 +++ library/srctextwin.itb 20 Sep 2002 06:12:28 -0000 1.36 @@ -1026,7 +1026,7 @@ set oldpane $pane set result [LoadFromCache $w $addr A $lib] if {$result == 1} { - #debug [format "Disassembling at %x" $addr] + #debug "Disassembling at $addr" #debug "cf=$current(filename) name=$filename" if {[catch {gdb_load_disassembly $win nosource \ [scope _map] $Cname $addr} mess]} { @@ -2324,7 +2324,7 @@ if {$need_lf} {append str \n} - append str [format "breakpoint %d at %s:%d (%#x)\n %s %s %s" \ + append str [format "breakpoint %d at %s:%d (%s)\n %s %s %s" \ $b $file $linenum $addr $enabled $type $disposition] if {$thread != "-1"} { --------------Boundary-00=_F14QOL201VHRH70M1KWP--