Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Kernel debugger
@ 1997-05-21  4:00 Rob Kirkbride
  0 siblings, 0 replies; only message in thread
From: Rob Kirkbride @ 1997-05-21  4:00 UTC (permalink / raw)



I have been trying with not much success to write an extention to kdbx
on osf3.2g to show me details of the thread map.

I have tried calling the various read_sym, read_sym_val etc. calls using
"thread", "thread_map" etc. Sometimes the calls work but when I try and
use a read_field_vals (which apparently works) the fields that is
returns just appear to be rubbish.
I am sure I missing something / doing something daft but I can't fathom
it and unfortunately the examples in the kernel debugging manual are a
bit spartan.

One of my ultimate aims is to print out the stack pointer for each
thread within a given process which I can use to tune the stack sizes.
If there is an easier way of doing this I would be interested to know,
but I would also like to able to read the thread map within a kernel
extension if possible.

I realise I can do a certain amount by using a thread_action from the
command line, but I would like to do some analysis and it would be
useful to have this in a C program.

Any help would be much appreciated,

Rob
-- 
Rob Kirkbride
rob@rk-comp.demon.co.uk



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-05-21  4:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-05-21  4:00 Kernel debugger Rob Kirkbride

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox