This is the mail archive of the gdb-patches@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] |
On Wed, 25 Jul 2012 16:12:14 +0200, Marc Khouzam wrote:The final goal is to allow the eclipse user to interact with GDB using the same command-line features as the standard GDB CLI,If it should be used somehow more regularly the TCP port needs to be reconsidered. It is already problem with gdbserver fortunately now solved by the stdio communication option. Otherwise there is problem with security on multi-user systems, also unique port allocation (why I introduced --once to gdbserver) etc.
In detail, the features Eclipse needs are:The current problem of GDB is that its CLI is not built on top of MI (*).
Coding anything new is needlessly complicated needlessly combining all the modes of operation together. And instead of fixing that you go the exactly opposite direction extending use of this CLI-and-MI mixed interface even more.
- Readline features: This is more complicated. We could implement the same readline features directly in Eclipse (there is probably a package we could use to get this working) but re-using GDB's existing feature seems a simpler path to take. Also, and I'm not sure of this, it may be even more effort to get this to work for Windows also, while GDB provides all this already.There are some Java GNU readline-like packages. Personally I would be more interested in simple C/C++ thin client using GNU readline on top of the MI (or other) interface.
Sorry but 'screen' (or 'vnc' for Eclip=se) serves this purpose better.Beyond the Eclipse use-case, I personally feel that this telnet feature adds value to GDB for other situations. For example, a designer could remote connect to a running GDB that was setup in the lab, or one could continue a debug session after having gone home.
Stan stan@codesourcery.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |