From kdevelop-devel Thu Sep 01 12:14:22 2005 From: Kuba Ober Date: Thu, 01 Sep 2005 12:14:22 +0000 To: kdevelop-devel Subject: Re: Design of register/memory viewers Message-Id: <200509010814.22996.kuba () mareimbrium ! org> X-MARC-Message: https://marc.info/?l=kdevelop-devel&m=112557879215982 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. Kuba _______________________________________________ KDevelop-devel mailing list KDevelop-devel@barney.cs.uni-potsdam.de http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel