This is the mail archive of the frysk@sources.redhat.com mailing list for the frysk 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: The memory window


On Wed, 2006-07-05 at 07:34 -0500, Rick Moseley wrote:
> That looks nice Mike!  Good work there.
> 
> I was thinking there needs to be some way to easily determine in what 
> format the data is being displayed and make it pretty easy to change 
> formats, preferably, IMHO, from the main screen.  Maybe there could be 
> tabs with a view showing each format(dec, hex, oct, etc.).  Maybe these 
> tabs could be "tear-away" where a user could look at 2 or more formats 
> simultaneously?
> 
> Just my 2Â.
> 
> Rick
> 
> 
> Mike Cvet wrote:
> > Hey all,
> >
> > Currently I'm working on implementing the memory window. If any of you
> > have ever used the 'examine memory' data tool from ddd, this is similar
> > to the functionality I would like to have. 
> >
> > As of last week, the window displayed all 32 bit words in binary, octal,
> > decimal and hex from the current program counter to a predetermined
> > memory location. 
> >
> > As of today, I am working on supporting endian-ness and reading
> > information from memory in 4, 8, 16, 32, and 64 bit chunks.
> >
> > As you can see in the screenshot, the "from" spinbox determines where
> > the words should begin to be read from (will default to the PC) and "to"
> > is where the reading ends. "edit columns" displays options for the
> > number of bits, endian-ness, and radix. 
> >
> > Let me know if there are any suggestions, on the interface or otherwise.
> >
> > Mike
> >   
> >
> > ------------------------------------------------------------------------
> >
> 

Rick,

Good ideas! 

I've attached a screenshot with some further work. This was just
committed this evening and so is partially functional. Still having some
problems with memory reads though.

There are options to select endian-ness, number of bits, and radix, as
suggested.

In a little while I'll work on getting the SpinButtons to increment in
multiple radii as well, and maybe implement some tabs. I know that the
alignment/organization of the window is off, so let me know what the
best arrangement might look like. I'm not very good with Glade yet.

Mike

Attachment: screenshot.jpg
Description: JPEG image


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