This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: [RFA] more 64-bit patches
- To: "Martin M. Hunt" <hunt at redhat dot com>
- Subject: Re: [RFA] more 64-bit patches
- From: Keith Seitz <keiths at cygnus dot com>
- Date: Mon, 29 Oct 2001 12:55:00 -0800 (PST)
- cc: Insight Mailing List <insight at sources dot redhat dot com>
On Mon, 29 Oct 2001, Martin M. Hunt wrote:
> Well, it is very small, of course. Only way around that is to set some
> limits. Perhaps we should force either 32 or 64-bit displays? To do that,
> we just change the following in srcbar.itcl:
>
> # This holds the text that is shown in the address label.
> public variable address {} {
> if {[string length $address] > 10} {
> # 64-bit address plus "0x"
> set width 18
> } else {
> # 32-bit address plus "0x"
> set width 10
> }
> $Tool itemconfigure addr -text $address -font src-font -width $width
> }
>
> So if you start insight with no inferior, the address width will be 10. Then
> if you load a 64-bit binary, it will expand to 18. OK?
Yeah, that's perfect. Even better than what I had in mind.
Thanks! (And it's good to see you back into Insight again!)
Keith