public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: "Martin M. Hunt" <hunt@redhat.com>
To: insight@sources.redhat.com
Subject: [patch] 64-bit fix for srctextwin
Date: Thu, 19 Sep 2002 23:16:00 -0000	[thread overview]
Message-ID: <200209192315.15820.hunt@redhat.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 294 bytes --]

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.



[-- Attachment #2: p --]
[-- Type: text/x-diff, Size: 998 bytes --]

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

             reply	other threads:[~2002-09-20  6:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-19 23:16 Martin M. Hunt [this message]
2002-09-20  8:43 ` Keith Seitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200209192315.15820.hunt@redhat.com \
    --to=hunt@redhat.com \
    --cc=insight@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).