|Trying to do remote debuging on a AIX host from a Windows client [message #574822]
||Mon, 19 May 2008 12:42
Originally posted by: jens.persson.cx|
Hello, I'm trying to set up a remote debugging environment for a existing
code base running on an AIX serve having varying levels of success.
I have the following design constraints:
* Clients will run Eclipse with CDT
* Server is running AIX
* I need to attach to a running process since the application uses vt220
graphics and need to be run from a terminal emulator (ie. WRQ Reflection
* The toolchain on the server needs to use IBMs xlc compiler
As a first shoot I created a wrapper around gdb that I set up eclipse to
use as the debugger. The wrapper forwards all commands given to it by
eclipse to a server running on AIX that forwards them to a gdb session
(after patching them up to change file paths and PIDs). Using this method
I have been able to start a session in a terminal session, then attach to
it from eclipse and finally debugging the server code with breakpoints,
variable inspection etc. This method works but it have some usability
problems (having eclipse popup a list of local processes that you have to
click trough etc.) that made me explore further.
I have tried various configurations using CDT, RSE both on europe and the
latest ganymede builds. I have the feeling that I'm close but I can't seem
to get the last inch :-)
Setting the make command to c:/cygwin/bin/ssh AIXhost make (and the
corresponding command for gdb) as per
This worked somewhat but I had key-problems and when I restarted eclipse
after fixing them I get:
(Cannot run program "c:\cygwin\bin\ssh.exe": The directory name is
I have gotten it to work on a linux host using gdbserver on the server but
gdbserver does not support AIX as a target (and it seems a little bit of
overkill since my remote running of gdb solves most of the problem)
I have looked at the HP plugin
http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4c bcdc3f3515b49c108973a801/?ciid=c808f44064f02110f44064f021102 75d6e10RCRD
which seems to be the solution I'm looking for but for the wrong server OS.
Enough of my ramblings and on to the question:
Have any one solved something like this before?
Have this been documented somewhere?
Is there an other solution to the base problem that I have overlooked?
Best of everything and thanks for good tools (even if I cant seem to get
them to solve my current problem :-)
jens persson # This is good. It means that whiler Ionesco
<firstname.lastname@example.org> # is dead, his spirit lives on.
Mäster Olofsväg 24 # --Gordon McMillan on how Windows attaches
S-224 66 LUND;SWEDEN # meaning to 3-character file extensions
Powered by FUDForum
. Page generated in 0.10871 seconds