This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] 64-bit fix for srctextwin


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"} {

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]