[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Remote debugging option not interpreted by DDD 3.3.1
From: |
Wolfgang Schoch |
Subject: |
Remote debugging option not interpreted by DDD 3.3.1 |
Date: |
Mon, 26 Aug 2002 19:25:49 +0200 |
DDD Version: GNU DDD 3.3.1 (i386-suse-linux)
Hello,
while trying to use DDD with a GDB debugger running on a remote machine, the
remote debugging option --host and --rhost with the hostname of the remote
machine is not correctly interpreted by DDD.
ddd --host hostname remote_program
ddd --rhost hostname remote_program
After starting DDD a message window "GDB could not be started" is displayed
and the following error message occurs in the GDB console window:
sh: exec: hostname: not found
It seems that the option name --rhost is recognized by DDD but the given
hostname is passed to GDB as a filename for execution.
With DDD Version 3.2.1 everything is running fine, but Version 3.3.1 doesn't
work well in that case.
I attached the trace of DDD startup. Maybe this will help you more.
If there is already a bugfix available, i would be very thankful, when you can
give me a short message reply.
Thanks in advance and happy Bug-Hunting ;-)
Wolfgang Schoch
------------------------------------------------------------------------------------------------------
Command line: ddd --trace --rhost ide-mr1 /home/wsc/mt_test/bin/sdbserver
Local-Hostname: wsc
Remote-Hostname: ide-mr1
Executable: /home/wsc/mt_test/bin/sdbserver
Trace:
------------------------------------------------------------------------------------------------------
wsc@wsc:~> ddd --trace --rhost ide-mr1 /home/wsc/mt_test/bin/sdbserver
GNU DDD 3.3.1 (i386-suse-linux)
Copyright (C) 1995-1999 Technische Universität Braunschweig, Germany.
Copyright (C) 1999-2001 Universität Passau, Germany.
Compiled with GCC 2.95.3 20010315 (SuSE), GNU libc 2.2
Requires X11R6, Xt11R6, Motif 2.1.30 (Motif Version 2.1.30)
Includes XPM 3.4.11, Athena Panner, DDD core
Built 2002-03-26 by root <root@D4.suse.de>.
$ ddd --trace --rhost ide-mr1 /home/wsc/mt_test/bin/sdbserver
+ ide-mr1
# Hello, world!
# Opening session "11ac16029a000103038187700000013040062"...
# Enabling core dumps...
# Enabling core dumps...done.
# Running GDB (pid 3944, tty /dev/pts/6)...
<- "sh: exec: ide-mr1: not found\n"
# Current language: C/C++
# Searching "vsllib/ddd.vsl"...
# Trying "/home/wsc/.ddd/vsllib/ddd.vsl"
# Trying "/usr/share/ddd-3.3.1/vsllib/ddd.vsl"
# Searching "vsllib/ddd.vsl"..."/usr/share/ddd-3.3.1/vsllib/ddd.vsl".
# Running GDB (pid 3944, tty /dev/pts/6)...Exit 127.
# Creating
"/home/wsc/.ddd/sessions/11ac16029a000103038187700000013040062/"...
# Creating
"/home/wsc/.ddd/sessions/11ac16029a000103038187700000013040062/"...d
one.
# Copying "/home/wsc/.ddd/init" to
"/home/wsc/.ddd/sessions/11ac16029a000103038
187700000013040062/init"...
# Copying "/home/wsc/.ddd/init" to
"/home/wsc/.ddd/sessions/11ac16029a000103038
187700000013040062/init"...done.
# Copying "/home/wsc/.ddd/history" to
"/home/wsc/.ddd/sessions/11ac16029a000103
038187700000013040062/history"...
# Copying "/home/wsc/.ddd/history" to
"/home/wsc/.ddd/sessions/11ac16029a000103
038187700000013040062/history"...done.
# Saving session in
"/home/wsc/.ddd/sessions/11ac16029a000103038187700000013040
062/init"...
# Searching "ddd/Ddd"...
# Trying "/home/wsc/.ddd/ddd/Ddd"
# Trying "/usr/share/ddd-3.3.1/ddd/Ddd"
# Searching "ddd/Ddd"..."/usr/share/ddd-3.3.1/ddd/Ddd".
# Saving session in
"/home/wsc/.ddd/sessions/11ac16029a000103038187700000013040
062/init"...done.
==> Exit button pressed:
# Deleting session "11ac16029a000103038187700000013040062"...
# Current session is [none].
# Deleting session "11ac16029a000103038187700000013040062"...done.
# Thanks for using DDD 3.3.1!
-------------------------------------------------------------------------------------------------------
--
___________________________________________________________
Wolfgang Schoch wschoch@sysgo.de
Sysgo Real-Time Solutions GmbH http://www.sysgo.de
Am Pfaffenstein 14 Voice: +49-(0)6136-9948-0
D-55270 Klein-Winternheim Fax: +49-(0)6136-9948-10
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Remote debugging option not interpreted by DDD 3.3.1,
Wolfgang Schoch <=