Stephen J. Turnbull writes:
>>>>> "Jeff" == Jeff Miller
<jmiller(a)cablespeed.com> writes:
Jeff> There seems to be a weird interaction with shell & gdb. But
Jeff> no matter what gdb command i enter, gdb acts like it sees it
Jeff> twice and prints the results twice.
What does stty say when you're in a shell in XEmacs?
ok, finally got the time to get back online.... here is the output of
stty -a
#2 disc;speed 9600 baud; 36 rows; 132 columns
erase = ^H; werase = ^W; kill = ^U; intr = ^C; quit = ^\; susp = ^Z
dsusp = ^Y; eof = ^D; eol = <undef>; eol2 = <undef>; stop = ^S
start = ^Q; lnext = ^V; discard = ^O; reprint = ^R; status = <undef>
time = 0; min =1
-parenb -parodd cs8 -cstopb hupcl cread -clocal -crtscts
-ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcz -igncr icrnl
-iuclc ixon -ixany -ixoff imaxbel
isig icanon -xcase echo echoe echok -echonl -noflsh -mdmbuf -nohang
-tostop echoctl -echoprt echoke -altwerase iexten -nokerninfo
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel tabs -onoeot
I managed to get 21.5.6 built on this machine. It exhibits the same
behaviour. I also found an old copy of 21.1.something. It does NOT
exhibit this behaviour. GNU Emacs 21.2 works fine as well.
I tried putting a little (message) statement into process-send-string
or maybe it was send-process, can't remember which for sure. I was
trying to see what was actually being sent to the process. The string
doesn't print but I do note that the commands are only sent once. I
verified this by printing the length of the string sent and i
basically see 1 print for command and 1 print for, i'm guessing, the
carriage return or end-of-string indicator. The first print would
always vary according to the length of the comamnd i typed in,
following by a string of length 1.
I really have no idea what to even try to look at. Does anyone know
the path between xemacs->shell process->gdb ?
--
Jeff Miller
jmiller(a)cablespeed.com