Mail Archives: djgpp/1997/02/10/06:21:38
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.
- Raw text -