emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using gdb in emacs 21 on Mac OS X 10.1.5


From: Nick Roberts
Subject: Re: Using gdb in emacs 21 on Mac OS X 10.1.5
Date: Mon, 30 Aug 2004 00:35:12 +1200

> When I run M-x gdb in emacs 20.7 (the one shipped by Apple) I get a gdb
> subprocess buffer on top, and a source buffer with ==> indicating the
> current line below.

> How do I set this up in emacs 21 (CVS version 8/21/2004, carbon)? I get
> the gdb subprocess buffer but not the source buffer. Instead emacs
> displays the current line directly before the prompt in the gdb buffer. Is
> this
> intended?
 
No.
 
Ken Coleman had problems with Mac OS X. See the thread on this
mailing list (in the archive at lists.gnu.org) called, something like, gdb-ui and Mac OS X
from Feb/Mar/Apr this year.
 
I have no access to CVS Emacs at the moment and won't have for the next month
In any case I don't have a Mac. So if you can debug the problem that would be great.
The above thread talks about a lisp variable called (something like) gdb-enable-debug-log.
If you set that and evauate gdb-debug-log, it might help you.
 
> Changing process-connection-type didn't help.
> (although I had to change it to get M-x gdb to work reliably in CVS emacs,
> somehow Apple's version doesn't seem to suffer from the pty bug...)
I think this has been covered on the mailing list before.
 
> Also, running gdb with or without --annotate=3 didn't change anything
> except for all the annotations cluttering my gdb buffer.

What version of gdb are you using?
 
Nick

 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]