[rfc][0/4] Remote /proc file access

Ulrich Weigand uweigand@de.ibm.com
Thu Dec 1 19:38:00 GMT 2011


Hello,

this series of patches implements the suggestion discussed here:
http://sourceware.org/ml/gdb-patches/2011-11/msg00616.html
under "Option 2", up to implementing a generic "info proc"
command that works across remote/gdbserver testing on Linux.

1/4: Preparation; consolidate TARGET_OBJECT_SPU handling
2/4: Basic support for TARGET_OBJECT_PROC (native + gdbserver)
3/4: Make "info proc" command generic
4/4: Implement "info proc" on Linux via TARGET_OBJECT_PROC

A follow-on series of patches will also use TARGET_OBJECT_PROC
to implement remote generate-core-file support without the
need for any further remote protocol extensions.

The whole series was tested on Cell/B.E. native and remote,
and on ARM remotely.   No regressions; a couple of additional
test cases (info-proc.exp) are now passing.

I'd appreciate any comments on this approach!

I'd also be grateful if someone could test the series on a
procfs target (Solaris, Irix, Tru64) to make sure there are
no regressions.

Thanks,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com



More information about the Gdb-patches mailing list