Reading a debugged process's LDT

Eric Weaver (weav@a.crl.com)
Thu, 30 May 1996 14:05:25 -0700


I wish to be able to read a debugged process's LDT, to allow GDB to
handle breakpoints in 16-bit mode better. I can imagine an approach
in which the "inferior" is made to call modify_ldt, but that can require
many K of space in the inferior. Is there a way (or could one be
patched in without TOO much trouble) to spy on an inferior's LDT?

Thanks in adv.....

-- 
Eric C. Weaver	  Toe Sucking Software Geek Without Portfolio
& Chief Eng., KFJC 89.7, Foothill College, Los Altos Hills CA 94022