This is the mail archive of the
insight@sourceware.org
mailing list for the Insight project.
RE: Value format: how to change the default representation?
- From: "Spen" <spen at spen-soft dot co dot uk>
- To: "'Insight Foum'" <insight at sourceware dot org>
- Date: Wed, 22 Aug 2007 20:01:58 +0100
- Subject: RE: Value format: how to change the default representation?
- Authenticated-sender:
> >> Another issue I have, which I cannot solve immediately, is
> the fact
> >> that the values in watch windows (local variables, etc.)
> are always
> >> shown in the so-called "natural" format.
> >>
> >> My question: is there a way to switch over by default to hex
> >> representation? Or another base?
> >>
Try the following on the gdb console or put them into a init script passed
on the command line (via -x target.ini):
Change to default hex
set output-radix 16
set input-radix 16
Cheers
Spen