Date: Mon, 10 Feb 1997 13:12:13 +0200 (IST) From: Eli Zaretskii To: Peter Berdeklis cc: djgpp AT delorie DOT com Subject: Re: Viewing Physical Addresses in gdb or fsdb? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sat, 8 Feb 1997, Peter Berdeklis wrote: > 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? I think there's an easier way. GDB has a command to call any function in your program with certain arguments. Write a function that displays the contents of your private transfer buffer (I presume that is what you want to do, right?), add it to your program, relink, then call it with the necessary selector/offset values when the program stops at a breakpoint.