This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
[patch] 64-bit fix for srctextwin
- From: "Martin M. Hunt" <hunt at redhat dot com>
- To: insight at sources dot redhat dot com
- Date: Thu, 19 Sep 2002 23:15:15 -0700
- Subject: [patch] 64-bit fix for srctextwin
- Organization: Red Hat Inc
Checked this in too. Thought we fixed all these.
--
Martin Hunt
GDB Engineer
Red Hat, Inc.
2002-09-19 Martin M. Hunt <hunt@redhat.com>
* library/srctextwin.itb (FillAssembly): Fix debug
statement for 64-bit addresses.
(showBPBalloon): Fix for 64-bit addresses.
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"} {