This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Multi-Process Mode for gdbserver


Hi,

I'm interested in using the Multi-Process Mode for gdbserver to attach and detach from running processes.
>From what I read in the doc, which I then tried, I can start a gdbserver with --multi and I can have gdb
tell it to attach/detach to a running process.  This is really cool.

>From what I gather though, there is no monitor command to list the processes that are available
where gdbserver is running.  Is there a good reason for that, or is it just that no one has had the time?

If it is a missing patch, then I am willing to look into implementing this.  However, I wonder how to deal
with the fact that such a function is OS dependent.  Personally, I want it for Linux.  Is it ok
to try to enhance gdbserver to have "monitor list processes" but only for Linux?  And if so, it is ok to
simply have gdbserver call ps?

Thanks for the expertise

Marc


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]