[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ddd hangs on start-up with remote dbx
From: |
Aaron Gross |
Subject: |
ddd hangs on start-up with remote dbx |
Date: |
09 Sep 2001 11:15:34 +0300 |
User-agent: |
Gnus/5.0802 (Gnus v5.8.2) XEmacs/21.1 (Channel Islands) |
I'm running ddd locally on Linux (Redhat 7.0), and I'm trying to use
it with a remote dbx session running (by ssh) on a Sun. When I start
up ddd, it just hangs after reading some shared libraries. The
program I'm trying to debug is just a "hello, world" program, and dbx
works fine with it when I run dbx directly from the command line on
the Sun.
I saw in the list archives basically the same problem posted by
someone else about a year ago, but there was no answer. Anyone know
what I'm doing wrong? For various reasons, I can't just switch from
dbx to gdb.
Here's the output from "ddd --check-configuration":
Checking for X11 library directory... /usr/X11R6/lib/X11
Checking for XKeysymDB... /usr/share/xemacs-21.1.12/etc/XKeysymDB
No configuration problems found.
--------------------------------------------------------------------------
Here's the information for the remote host:
sundev2:~% uname -a
SunOS sundev2 5.8 Generic_108528-08 sun4u sparc SUNW,Sun-Fire
sundev2:~% dbx -V
Sun WorkShop 6 update 1 Dbx Debugger 6.1 2000/09/12
--------------------------------------------------------------------------
Here's the ddd trace:
DDD 3.1.6 (i686-pc-linux-gnu), Copyright (C) 1999 TU Braunschweig.
Compiled with GCC egcs-2.91.66 19990314/Linux (egcs-1.1.2 release), GNU libc 2.1
Requires X11R6, Xt11R6, Motif 1.2 (GNU LessTif 0.88 1)
Includes DDD core, manual, app-defaults, XPM 3.4.10, Athena Panner
Built 1999-08-11 by Alec Habig <address@hidden>.
$ ddd --debugger /opt/SUNWspro/bin/dbx --dbx --trace --host
sundev2.bloomberg.com /home/aaron/tmp/hello
+ ssh sundev2.bloomberg.com /bin/sh -c
''\''DISPLAY=${DISPLAY-'\''\'\'''\''hecate.bfr.co.il:0.0'\''\'\'''\''}; export
DISPLAY; exec /opt/SUNWspro/bin/dbx
'\''\'\'''\''/home/aaron/tmp/hello'\''\'\'''\'''\'''
# Hello, world!
# Starting DBX...
# Running DBX (pid 5636, tty /dev/pts/2)...
# Current language: c/c++
<- "Reading hello\n"
<- "Reading ld.so.1\n"
<- "Reading libc.so.1\n"
<- "Reading libdl.so.1\n"
"Reading libc_psr.so.1\n"
# Running DBX (pid 5636, tty /dev/pts/2)...Exit 255.
Exit 255
# Thanks for using DDD 3.1.6!
--------------------------------------------------------------------------
- ddd hangs on start-up with remote dbx,
Aaron Gross <=