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: Thu, 02 Sep 2004 22:35:06 +1200

> > What version of gdb are you using?
>
> I'm using gdb 5.0 (20001113 Apple version 203 built on 11-07-2001).

This is quite old and Apple's version is slightly different from the FSF
one.

>
> After playing around with it for some time I found one problem at least.
> gud-gdb-massage-args isn't defined anymore. This function used to append
> "-fullname" to the command-line arguments for gdb.

gud-gdb-massage-args isn't defined anymore as gud.el now shows the
options explicitly. If you want the old behaviour customise
gud-gdb-command-name to "gdb -fullname" (I think).

> With the option
> source file locations are given as
>
> /somewhere/in/my/home/directory/file.c
>
> Without the option source file locations are indicated by gdb as
>
> source /somewhere/in/my/home/directory/file.c
>
> And the additional "source " throws gud.el off.
>

These are the annotations that gdb puts out. They are preceded by ^Z^Z
The fullname option (level 1 annotations) just gives the file location.
Levels
2 and 3 give the location with ^Z^Zsource and other information with
other annotations as described in the GDB info manual.

> I've looked at gdb-debug-log in the gdba case. Emacs apparently only
> receives
> gdb's startup message/version/warranty/copyright and the first prompt.
> Nothing
> else is in the log. I'll try to look at it again, but it'll probably take
> me
> a while to find the time.

Please post the full transcript. It will show why the breakdown in
communication
between GDB and Emacs occurs in this case.

Nick






reply via email to

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