From: Leo <sdl.web@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: GDB on Mac is Broken
Date: Sat, 13 Mar 2010 16:03:14 +0000 [thread overview]
Message-ID: <xbai6350fbul.fsf@cam.ac.uk> (raw)
In-Reply-To: wld3z8zlwq.wl%mituharu@math.s.chiba-u.ac.jp
On 2010-03-13 08:05 +0000, YAMAMOTO Mitsuharu wrote:
>> Could you please explain how these two differences explain the bug?
>> I'm afraid I don't see the immediate connection.
>
> I should have been explained more why the difference in EOL conversion
> affects this issue. The hang in Emacs 23 on Mac OS X is caused by
> unexpected ^M at EOL when processing gdb output. Gdb actually outputs
> ^M, but GUD in Emacs 22 did not see ^M because it used dos (CRLF) EOL
> conversion due to the comint code I showed in my previous mail.
>
> YAMAMOTO Mitsuharu
> mituharu@math.s.chiba-u.ac.jp
Another oddity to this is if I change the process coding system
interactively by C-x RET p and give 'utf-8 for both values, the
completion will work because the coding is now:
(utf-8 . utf-8-unix)
but doing it in elisp as this:
(add-hook 'gud-mode-hook
(lambda ()
(set-buffer-process-coding-system 'utf-8 'utf-8)))
fails.
The process coding system is:
(utf-8-unix . utf-8-unix)
different to the interactive changed one.
I have found the exact same cause of the freeze and have been using this
workaround:
(add-hook 'gud-mode-hook
(lambda ()
(set-buffer-process-coding-system 'utf-8-dos 'utf-8)))
I also wish a proper fix is made available.
Best wishes,
Leo
next prev parent reply other threads:[~2010-03-13 16:03 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-12 17:20 GDB on Mac is Broken Leo
2010-03-12 17:43 ` Glenn Morris
2010-03-13 6:58 ` YAMAMOTO Mitsuharu
2010-03-13 7:51 ` Eli Zaretskii
2010-03-13 8:05 ` YAMAMOTO Mitsuharu
2010-03-13 8:43 ` Eli Zaretskii
2010-03-13 19:49 ` Glenn Morris
2010-03-13 8:43 ` bug#5712: " Eli Zaretskii
2010-03-13 16:03 ` Leo [this message]
2010-03-13 16:50 ` Eli Zaretskii
2010-03-13 3:49 ` Miles Bader
2010-03-13 7:31 ` Eli Zaretskii
2010-03-13 7:49 ` Miles Bader
2010-03-13 8:31 ` Eli Zaretskii
2010-03-13 14:25 ` Stefan Monnier
2010-03-13 16:10 ` Leo
2010-03-14 4:01 ` Miles Bader
2010-03-14 10:18 ` Andreas Schwab
2010-03-14 17:57 ` Eli Zaretskii
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=xbai6350fbul.fsf@cam.ac.uk \
--to=sdl.web@gmail.com \
--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.