Newsgroups: comp.os.msdos.djgpp From: Peter Berdeklis Subject: Viewing Physical Addresses in gdb or fsdb? Message-ID: Nntp-Posting-Host: chinook.physics.utoronto.ca Sender: news AT info DOT physics DOT utoronto DOT ca (System Administrator) Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Organization: University of Toronto - Dept. of Physics Date: Sat, 8 Feb 1997 14:58:00 GMT Lines: 20 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp I've got a set of memory buffers in DOS memory for using with DMA. Instead of copying them into my linear addr space then writing them out through the transfer buffer, I modified the _dos_write routine to accept a physical addr to write the buffers to disk. As a result the buffers are never in my linear address space. Is there a way that I can reference a physical address in gdb or fsdb? Of course I have selectors for each of the buffers, so can I pass a selector:offset pair to gdb or fsdb? If I temporarily load the selector into fs (say) can I use a segment override in the addr? As always, thanks in advance. --------------- Peter Berdeklis Dept. of Physics, Univ. of Toronto