From: "Martin M. Hunt" <hunt@redhat.com>
To: insight <insight@sources.redhat.com>
Subject: [patch] yet another 64-bit patch
Date: Tue, 24 Sep 2002 15:23:00 -0000 [thread overview]
Message-ID: <3D90E5A5.7070907@redhat.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 197 bytes --]
Checked in another 64-bit fix.
2002-09-24 Martin M. Hunt <hunt@redhat.com>
* library/srctextwin.itb (FillMixed): Fix debug
statement for 64-bit.
(_highlightAsmLine): Fix 64-bit arithmetic.
[-- Attachment #2: p --]
[-- Type: text/plain, Size: 980 bytes --]
Index: srctextwin.itb
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/library/srctextwin.itb,v
retrieving revision 1.36
diff -u -u -r1.36 srctextwin.itb
--- srctextwin.itb 20 Sep 2002 06:12:28 -0000 1.36
+++ srctextwin.itb 24 Sep 2002 22:15:15 -0000
@@ -1091,7 +1091,7 @@
set mode_changed 0
set oldpane $pane
if {[LoadFromCache $w $funcname M $lib]} {
- # debug [format "Disassembling at %x" $addr]
+ # debug "Disassembling at $addr"
if {[catch {gdb_load_disassembly $win source \
[scope _map] $Cname $addr} mess] } {
# print some intelligent error message
@@ -1134,7 +1134,7 @@
if {[info exists _map($Cname,pc=$addr)]} {
set current(asm_line) $_map($Cname,pc=$addr)
} else {
- set x [format "0x%x" [expr $current(addr)-2]]
+ set x [gdb_incr_addr $current(addr) -2]
if {[info exists _map($Cname,pc=$x)]} {
set current(asm_line) $_map($Cname,pc=$x)
}
reply other threads:[~2002-09-24 22:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=3D90E5A5.7070907@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).