Design of register/memory viewers
kuba at mareimbrium.org
Thu Sep 1 14:15:24 UTC 2005
On Thursday 01 September 2005 02:40, Vladimir Prus wrote:
> On Wednesday 31 August 2005 20:04, Kuba Ober wrote:
> > For memory viewers, it'd be nice to be able to select (morph) a viewer
> > to: - display whole memory of a process, with starting address being
> > adjustable by typing a new value in the input box + scroll of course
> > would work
> That's tricky. How do you get "whole memory of process". The use case I
> have here is DSP processor with 3 memory ranges -- one at 0x00000000,
> another at 0x80000000 and yet another at 0xC0000000. So there's no single
> continuous region of memory.
Which is fine. I didn't say it has to be contiguous ;)
> And some of those memory ranges is 64M --
> might be not so good to show that much. And for orginary PC, memory range
> can be even larger.
Fine too. You don't have (and even can't -- would be impractical) to display
all of it. Only the visible stuff should be queried from the debugger and
then displayed. Some targets have horrible memory dump speeds when debugging
(Z8 Encore! comes to mind) so it's not feasible to even ask the debugger for
all of it if it's not needed. This needs to be interactively querying the
debugger whenever you scroll/change address. I see no other way.
More information about the KDevelop-devel