[hatari-devel] unexpected output of 'm' with count or range in debugger

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


In the debugger I wanted see a single byte so I issued a "m b 5120 1" expecting  a single byte to echo back.  Instead it printed 1 *line* of output.

Likewise, specifying a range "m b 5120-5120" or "m b 5120-5121" prints an entire line also.

The reason I bring this up is that being able to print a byte, word or long only or any arbitrary number instead of line granularity would be very helpful when looking at structures.

Example, breaking on the change of a variable and printing the structure associated with it with each line showing a member of the structure.

'b ($5120).b ! ($5120).b :file breakpoint.bkp'

and $5120 is the beginning of a structure with two bytes and a word just for example.

So in the breakpoint file "breakpoint.bkp" it could print the structure out:

m b $5120 1

m b $5121 1

m w $5122 1

which could be very helpful visualizing structure changes.  Is this possible?




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/