public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Keith Seitz <keiths@redhat.com>
To: Jason.Binger@Seagate.com
Cc: insight@sources.redhat.com
Subject: Re: Insight Question
Date: Thu, 09 Mar 2006 15:18:00 -0000	[thread overview]
Message-ID: <44104727.7030707@redhat.com> (raw)
In-Reply-To: <OFF6173066.27C45CB1-ON86257125.007978AE-86257125.0079B07B@seagate.com>

Jason.Binger@Seagate.com wrote:
> I started using insight as a possible debugger for a project I'm working
> on.  My question is, in the local variable view, is it possible I can set
> the default format to "Hexadecimal" rather than "Natural" ??  I did a quick
> look in the source and modified it to work on all local variables that come
> up in the list but the variables that are hidden (members of
> classes/structures) are still set at "Natural" and I have to manually
> change each.
> 
> Is there a default setting that can be easily changed?

No, there isn't, but it would not be hard to do. Edit 
Block::_findVariables (where varobj create is called for local 
variables) to apply a preference defined in prefs.tcl to set the format 
for the variables when they're created (or perhaps just after?). 
Something like "$obj format [pref get gdb/variable/default_format].

If you get to it before I do, send me a patch. Takes about 5 min to 
actually do this. The tough part is exposing this preference somewhere...

Keith

  reply	other threads:[~2006-03-09 15:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-02 22:09 Jason.Binger
2006-03-09 15:18 ` Keith Seitz [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-10-28  9:21 MichalKang
1999-10-28 10:12 ` James Ingham

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=44104727.7030707@redhat.com \
    --to=keiths@redhat.com \
    --cc=Jason.Binger@Seagate.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).