Mail Archives: djgpp/1997/10/26/14:36:59
At 10:21 10/24/1997 -0600, cluless wrote:
>I'm using djgpp and rhide 1.4 for pmode programming. Everything works
>great, but I do have this frustration with not being able to see a
>segment register's base and limit during debuggin, (I don't mean the 16
>bit segment selectore index stored in a seg reg, it's the 32 bit base
>address and 32 bit limit that I'm interested in.)
>
>For the time being, I have to use self-induced crashes just so that I can
>find those info in the cwsdpmi error message. Obviously this is not a very
>good way. I wonder if someone can tell me a more methodical approach. (ie.
>may be there's an option in rhide that I just overlooked).
I don't think such a thing is built in to RHIDE. The best thing I can think
of is to insert some calls to __dpmi_get_segment_base_address() and
__dpmi_get_segment_limit(), passing _my_ds() or _my_cs() or whatever as the
selector argument. Then you can look at the values they give back.
Also, I think FSDB may have a feature like this. Take a look.
Nate Eldredge
eldredge AT ap DOT net
- Raw text -