cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/10/06:21:38

Date: Mon, 10 Feb 1997 13:12:13 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Peter Berdeklis <peter AT atmosp DOT physics DOT utoronto DOT ca>
cc: djgpp AT delorie DOT com
Subject: Re: Viewing Physical Addresses in gdb or fsdb?
In-Reply-To: <Pine.SGI.3.91.970208095004.17818A-100000@chinook.physics.utoronto.ca>
Message-ID: <Pine.SUN.3.91.970210130849.2641B-100000@is>
MIME-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019