From: Steve Revilak <steve@srevilak.net>
To: emacs-devel@gnu.org
Subject: Re: GDB on Mac is (NOT) Broken
Date: Sun, 14 Mar 2010 22:43:29 -0400 [thread overview]
Message-ID: <20100315024329.GB3386@srevilak.net> (raw)
In-Reply-To: <20100314185409.00EDD9B718@mxperim5.sea5.speakeasy.net>
[-- Attachment #1: Type: text/plain, Size: 1313 bytes --]
>> I just compiled 23.1.94 on OSX leopard with-x and it freezes in
>> following these simple steps:
>> 1. M-x gdb
>> 2. att TAB
I reported this problem in
<http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5404>. Nick Roberts was
kind enough to guide me through some diagnostic exercies. Perhaps
our most interesting finding was message 34.
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5404#34
The hang appears to be (at least somewhat) related to the onlcr tty
setting for the gdb subprocess. And there may be some overlap with
the EOL conversions that YAMAMOTO Mitsuharu noted.
The workaround I've been using on Mac OS X is
Within the *gud-PROGRAM* buffer, run "shell stty -onlcr" after the
target program starts running, and don't try to use symbol
completion before the target program starts.
The GDB is Apple's GDB.
I tend to move around between two Mac OS systems, and two GNU/Linux
systems. 5404's behavior is reliably reproducible on Mac OS X 10.4
and 10.6 with Apple's GDB. I've never seen 5404's symptoms occur on
GNU/Linux. I don't know whether 5404's behavior appears on Windows.
Finally, I haven't had a chance to compile 23.1.94 yet (still using
23.1.93). So I can't say if any of 5404's behavior no longer applies
to 23.1.94.
Steve
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
next parent reply other threads:[~2010-03-15 2:43 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20100314185409.00EDD9B718@mxperim5.sea5.speakeasy.net>
2010-03-15 2:43 ` Steve Revilak [this message]
2010-03-15 6:23 GDB on Mac is (NOT) Broken Nick Roberts
2010-03-15 16:39 ` Chad Brown
2010-03-15 20:17 ` Nick Roberts
2010-03-16 0:18 ` YAMAMOTO Mitsuharu
2010-03-16 2:59 ` Steve Revilak
2010-03-16 5:27 ` Nick Roberts
2010-03-16 8:55 ` Chad Brown
2010-03-16 21:00 ` Nick Roberts
2010-03-20 4:10 ` YAMAMOTO Mitsuharu
2010-03-21 6:50 ` Nick Roberts
2010-03-22 1:29 ` YAMAMOTO Mitsuharu
2010-03-22 2:32 ` Nick Roberts
2010-03-22 2:46 ` Stefan Monnier
2010-03-22 3:04 ` Nick Roberts
2010-03-22 13:43 ` Stefan Monnier
2010-03-22 20:55 ` Nick Roberts
2010-03-23 1:13 ` Stefan Monnier
2010-03-23 1:55 ` YAMAMOTO Mitsuharu
2010-03-23 2:38 ` Nick Roberts
2010-03-23 3:12 ` Stefan Monnier
2010-03-26 9:02 ` Nick Roberts
2010-03-26 20:20 ` Stefan Monnier
2010-03-27 1:00 ` YAMAMOTO Mitsuharu
2010-03-17 13:30 ` Leo
2010-03-20 19:45 ` Stefan Monnier
2010-03-21 4:43 ` YAMAMOTO Mitsuharu
-- strict thread matches above, loose matches on Subject: below --
2010-03-14 0:32 Nick Roberts
2010-03-14 19:45 ` Harald Hanche-Olsen
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=20100315024329.GB3386@srevilak.net \
--to=steve@srevilak.net \
--cc=emacs-devel@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.