all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dick Brown <rab@stolaf.edu>
To: help-gnu-emacs@gnu.org
Subject: Re: trouble with comint-sent-input for gdb
Date: Wed, 9 Feb 2011 09:12:32 -0600	[thread overview]
Message-ID: <AANLkTikhH8O4NKnQSD8iuRFU7LJGNM2Zh=N6cz3vfPJA@mail.gmail.com> (raw)
In-Reply-To: <AANLkTik=WCx-eM9=fDsp6h8xMA7fqrOFKHByOYAaYWnD@mail.gmail.com>

[-- 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 --]

      reply	other threads:[~2011-02-09 15:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-08 17:12 trouble with comint-sent-input for gdb Dick Brown
2011-02-09 15:12 ` Dick Brown [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTikhH8O4NKnQSD8iuRFU7LJGNM2Zh=N6cz3vfPJA@mail.gmail.com' \
    --to=rab@stolaf.edu \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.