Re: How to show data in hex format?

Zarko Zivanov <[email protected]>
Newsgroups gmane.comp.debugging.ddd.general
Message-ID <[email protected]>
If you need to display many variables in specific format (eg. hex),
you can define buttons to speed-up things:

1. Go to Commands/Edit Buttons/Data Buttons

2. If you need to display 32-bit data, you can enter this:
graph display `x /1xw &()` //Long Hex
graph display `x /1ow &()` //Long Oct
graph display `x /1tw &()` //Long Bin
(if you need to display 16-bit or 8-bit data, put h or b
instead of w; for other formats check Data/Memory dialog)

3. Click on a variable name, and then on appropriate button.

There is a catch, however, you cannot change values displayed this
way, and all boxes diaplaying variables will be named X (variable name
will be displayed in the second row after memory address)

Sorry if this is too late...

> Hi,

> When debugging, How can I see the data represented in hex iso. octal or
> decimal format?

> Best rgds,

> --Geert


> _______________________________________________
> Ddd mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/ddd



Pozdrav od Žarka
mailto:[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.