From: nickrob@snap.net.nz (Nick Roberts)
To: Steve Revilak <steve@srevilak.net>
Cc: emacs-pretest-bug@gnu.org
Subject: bug#5404: 23.1.91; Nextstep port: M-x gdb hangs in tab completion of symbols
Date: Tue, 19 Jan 2010 22:52:18 +1300 [thread overview]
Message-ID: <19285.32978.732406.38527@totara.tehura.co.nz> (raw)
In-Reply-To: <20100119002604.GC744@srevilak.net>
> Value:
> ((recv . "^M\n\x1a\x1apre-prompt^M\n(gdb) ^M\n\x1a\x1aprompt^M\n")
> (recv . "No breakpoints or watchpoints.^M\n")
> (recv . "^M\n\x1a\x1apost-prompt^M\n")
> (send-item "server info breakpoints\n" gdb-info-breakpoints-handler)
> (recv . "^M\n\x1a\x1apre-prompt^M\n(gdb) ^M\n\x1a\x1aprompt^M\n")
> (recv . "&\"\\n\\032\\032error-begin\\n\"^M\n~\"\\n\\032\\032error\\n\"^M\n^error,msg=\"No registers.\"^M\n(gdb) ^M\n")
> (recv . "^M\n\x1a\x1apost-prompt^M\n")
> (send-item "server interpreter mi -stack-info-frame\n" gdb-frame-handler-1)
> (recv . "^M\n\x1a\x1apre-prompt^M\n(gdb) ^M\n\x1a\x1aprompt^M\n")
> (recv . "b add_one^M\nb add_profil^M\n")
> (recv . "b add_fdes^M\n")
> (recv . "^M\n\x1a\x1apost-prompt^M\n")
> (send-item .
> #("complete b add_\n" 9 15
> (fontified t))))
I think the terminal settings in the GUD buffer must be different for recent
Macs.
Try:
(gdb) shell stty -onlcr
(assuming "shell stty -a" gives onlcr).
Emacs doesn't expect the extra ^M characters and so it fails to parse the
output correctly. If modifying the terminal doesn't work (but I think it
should), you could try changing gud-gdb-marker-regexp and
gud-gdb-marker-filter to look for ^M\n instead of just \n.
--
Nick http://users.snap.net.nz/~nickrob
next prev parent reply other threads:[~2010-01-19 9:52 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-17 14:25 bug#5404: 23.1.91; Nextstep port: M-x gdb hangs in tab completion of symbols Steve Revilak
2010-01-17 22:05 ` Nick Roberts
2010-01-18 15:50 ` Steve Revilak
2010-01-18 22:47 ` Nick Roberts
2010-01-19 0:26 ` Steve Revilak
2010-01-19 9:52 ` Nick Roberts [this message]
2010-01-20 3:25 ` Steve Revilak
2010-01-25 3:16 ` Steve Revilak
2010-01-19 1:52 ` Steve Revilak
2010-01-19 2:32 ` Nick Roberts
2011-01-16 20:40 ` bug#5404: FIXED: " Steve Revilak
2011-01-16 20:42 ` Steve Revilak
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=19285.32978.732406.38527@totara.tehura.co.nz \
--to=nickrob@snap.net.nz \
--cc=emacs-pretest-bug@gnu.org \
--cc=steve@srevilak.net \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).