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

Alan



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