* resize timeout message with gdb
@ 2002-10-17 17:48 Theodric Young
2002-10-26 17:09 ` Ivan Kanis
0 siblings, 1 reply; 2+ messages in thread
From: Theodric Young @ 2002-10-17 17:48 UTC (permalink / raw)
Hi folks,
I use the gdb debugger from within emacs for debugging programs that I
write in C for a Linux machine. Whenever I try to run a program from
within gdb, I get the following very annoying message:
(gdb) run
Starting program: /usr/local/dev/bin/myprogram
^[7^[[r^[[999;999H^[[6n
resize: Time out occurred
It's annoying because it sits and waits for about 15 seconds between
printing the control characters on the second line and the timeout
message on the third line. After getting this message, gdb works
great from within emacs and I can step through my program with no
problems.
I assume that it's trying to send some sort of resize command to my
window that my window is ignoring. But I don't know what command or
function it's calling to do this, and I don't know why it's not
working, or even why it's trying to do this.
I'm not actually using X here, I'm running emacs in text mode from an
ssh shell (so no mouse control, etc.). I do this same exact thing on
several different systems, including a Solaris machine and a couple
different Linux systems, and I never see this problem on any other
machine.
I thought perhaps it was a configuration issue with the emacs/gdb
installation that came with our Linux distribution, but I've
downloaded and compiled the latest versions of emacs and gdb and I
still see the same problem. I've also tried changing a lot of
different environment variables (like TERM, HOSTNAME, etc.) to see if
those were confusing emacs, but those have no effect.
When I change the size of my terminal window, emacs changes the
size of it's buffers exactly as one would expect, so there *is*
communication between my shell window and the emacs process which
*does* work correctly. The only time I see a problem is when trying
to run a program from within gdb.
If I run gdb from the command line, I don't see this message. The
message only occurs when invoking gdb from within emacs.
emacs version:
GNU Emacs 21.2.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
system:
Red Hat Linux release 7.0 (Guinness)
Kernel 2.2.17-8 on an i686
I assume that it's a configuration option that's just set wrong
somewhere, but I really don't know where to look. Any help here would
be greatly appreciated.
Thanks in advance,
Theodric Young
WMBR 88.1 FM at MIT
<theodric@mit.edu>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: resize timeout message with gdb
2002-10-17 17:48 resize timeout message with gdb Theodric Young
@ 2002-10-26 17:09 ` Ivan Kanis
0 siblings, 0 replies; 2+ messages in thread
From: Ivan Kanis @ 2002-10-26 17:09 UTC (permalink / raw)
Theodric> (gdb) run Starting program:
Theodric> /usr/local/dev/bin/myprogram ^[7^[[r^[[999;999H^[[6n
Theodric> resize: Time out occurred
Could it be the program that you are debugging that's trying to do the
resize? I don't think gdb would do that.
Cheers,
Ivan
--
/-----------------------------------------------------------------------------*
| "Chess is a foolish expedient for making idle people | Ivan Kanis |
| believe they are doing something very clever when | ivank@juliva.com |
| they are only wasting their time." | www.juliva.com |
| (George Bernard Shaw) | |
*-----------------------------------------------------------------------------/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-10-26 17:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-17 17:48 resize timeout message with gdb Theodric Young
2002-10-26 17:09 ` Ivan Kanis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).