|
From: | Andre Pelletier |
Subject: | inconsistency between ddd console, and standalone gdb |
Date: | Thu, 28 Jun 2001 16:57:01 -0400 |
I connect to the remote target, but have not yet attached to a task,
so the console window in DDD acts just as if I had simply telnetted to
the same target. Using --trace option to DDD, when I hit <cr>
a couple of times, I can see that communication to the target is:
-> ""
<- "\0\0apelleti-rp>"
-> ""
<- "\0\0ap"
<- "elle"
<- "ti-r"
<- "p>"
Strangely enough, DDD interprets these '\0\ as ignore the next character,
so on the DDD console, this shows up as:
elleti-rp>
lleti-rp>
However, if I run the same GDB inferior debugger directly from the unix
command line, and attach to the same target, and hit <cr> a couple of
times, I get
apelleti-rp>
apelleti-rp>
(which is what I'd expect)
Don't ask me where the \0's are coming from in the first place, but they seem to be affecting DDD!
------
GNU DDD 3.2.1 (sparc-sun-solaris2.6)
Copyright (C) 1995-1999 Technische Universitaet Braunschweig, Germany.
Copyright (C) 1999-2000 Universitaet Passau, Germany.
Compiled with GCC 2.9-cisco-98r1, libstdc++ 2.8-cisco-98r1
Requires X11R6, Xt11R6, Motif 1.2.6 (OSF/Motif Version 1.2.6)
Includes DDD core, Manual, App defaults, XPM 3.4.10, Athena Panner
Built 2000-03-16 by rkantha <unknown>.
----
Later!
Andre
--
![]() |
Andre Pelletier - Software Engineer, Cisco Systems Inc.
"You do not really understand something unless you can explain it to your grandmother"- Einstein |
[Prev in Thread] | Current Thread | [Next in Thread] |