[lkml]   [1996]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Reading a debugged process's LDT
> 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?

You hack some extra commands into ptrace to read the LDT table. The main
ptrace code will look after all the other bits for you.


 \ /
  Last update: 2005-03-22 13:37    [W:0.025 / U:2.520 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site