Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [rfc v2][0/6] Remote /proc file access
@ 2012-01-13 18:14 Ulrich Weigand
  2012-01-16 16:39 ` Pedro Alves
  0 siblings, 1 reply; 6+ messages in thread
From: Ulrich Weigand @ 2012-01-13 18:14 UTC (permalink / raw)
  To: gdb-patches, palves

Hello,

this is an updated series of patches to implement a generic
"info proc" command that works with remote/gdbserver Linux
targets.

The difference to the earlier version here:
http://sourceware.org/ml/gdb-patches/2011-12/msg00007.html
is that I've implemented Pedro's suggestions to access /proc
via generic file-access primitives instead of using the
target object mechanism.

Some code and ideas from Pedro's prototype here:
http://sourceware.org/ml/gdb-patches/2012-01/msg00353.html
has been integrated into this patch series.


1/6: Distinguish target and "fake" PID values
2/6: Always enable multi-process remote extension if possible
3/6: File I/O target operations
4/6: Readlink as file I/O target operation
5/6: Make "info proc" command generic
6/6: Implement "info proc" on Linux via target file I/O


I've also updated and tested the remote generate-core-file
patch series to use target file I/O instead of TARGET_OBJECT_PROC.
I'll post this once this approach is agreed to.


I've tested this series on i386 native and remote, as well as
on ARM remotely.   No regressions; a couple of additional
test cases (info-proc.exp) are now passing.

Any further comments comments on this approach are appreciated!


Thanks,
Ulrich

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-01-17 19:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-13 18:14 [rfc v2][0/6] Remote /proc file access Ulrich Weigand
2012-01-16 16:39 ` Pedro Alves
2012-01-16 18:27   ` Ulrich Weigand
2012-01-16 19:38     ` Pedro Alves
2012-01-17 19:41       ` Ulrich Weigand
2012-01-17 19:46         ` Pedro Alves

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