all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* trouble with comint-sent-input for gdb
@ 2011-02-08 17:12 Dick Brown
  2011-02-09 15:12 ` Dick Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Dick Brown @ 2011-02-08 17:12 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 825 bytes --]

Greetings!  When I start gdb within emacs (e.g.,     (gdb "gdb /tmp/hello")
), I find the same behavior described by IvanAndrus in
http://www.emacswiki.org/emacs/DebuggingWithEmacs , namely, entering a
command (such as   break main  ) and pressing RET causes the command to turn
bold correctly, but nothing else happens.  The program isn't already
running, and RET is correclty bound to comint-send-input (I bound another
key to comint-send-input and tried that, just to be sure, with the same
results).  This is happening on
GNU Emacs 23.2.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.20.1)
 of 2010-05-13 on x86-07.phx2.fedoraproject.org

but it does not happen on
GNU Emacs 22.2.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.12.9)
 of 2008-05-23 on xenbuilder2.fedora.redhat.com

Any ideas?  Thanks.

Dick Brown
rab@stolaf.edu

[-- Attachment #2: Type: text/html, Size: 1090 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: trouble with comint-sent-input for gdb
  2011-02-08 17:12 trouble with comint-sent-input for gdb Dick Brown
@ 2011-02-09 15:12 ` Dick Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Dick Brown @ 2011-02-09 15:12 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 2046 bytes --]

Here is a little more info about my question yesterday:

    1.  The following shows in the gdb window:

Current directory is /tmp/
GNU gdb (GDB) Fedora (7.1-26.fc13)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /tmp/hello...done.
(gdb) break main

break main

    The final "break main" above indicates that there was no response from
the first one, so I eventually tried it again.

    2.  When I request the value of comint-output-filter-function, I get *

*comint-output-filter-functions's value is
(comint-postoutput-scroll-to-bottom comint-watch-for-password-prompt)

    whether I am in the gdb window or another window.

Thank again for any clues to what may be happening.

Dick
*
*
On Tue, Feb 8, 2011 at 11:12 AM, Dick Brown <rab@stolaf.edu> wrote:

> Greetings!  When I start gdb within emacs (e.g.,     (gdb "gdb
> /tmp/hello")  ), I find the same behavior described by IvanAndrus in
> http://www.emacswiki.org/emacs/DebuggingWithEmacs , namely, entering a
> command (such as   break main  ) and pressing RET causes the command to turn
> bold correctly, but nothing else happens.  The program isn't already
> running, and RET is correclty bound to comint-send-input (I bound another
> key to comint-send-input and tried that, just to be sure, with the same
> results).  This is happening on
> GNU Emacs 23.2.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.20.1)
>  of 2010-05-13 on x86-07.phx2.fedoraproject.org
>
> but it does not happen on
> GNU Emacs 22.2.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.12.9)
>  of 2008-05-23 on xenbuilder2.fedora.redhat.com
>
> Any ideas?  Thanks.
>
> Dick Brown
> rab@stolaf.edu
>
>

[-- Attachment #2: Type: text/html, Size: 2895 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-02-09 15:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-08 17:12 trouble with comint-sent-input for gdb Dick Brown
2011-02-09 15:12 ` Dick Brown

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.