This is the mail archive of the insight@sourceware.org mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Value format: how to change the default representation?


> >> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]