all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dylan <crazy808s@yahoo.com>
To: help-gnu-emacs@gnu.org
Subject: Re: gdb hangs in Emacs 23.2.1 (Mac OSX 10.6.3)
Date: Wed, 9 Feb 2011 12:30:14 -0800 (PST)	[thread overview]
Message-ID: <0957d7f6-8dd1-4f63-a060-a2bf2b7dd5d9@z27g2000prz.googlegroups.com> (raw)
In-Reply-To: mailman.0.1297245224.21406.help-gnu-emacs@gnu.org

> 1.) Don't repeat in ~/.bash_profile what you've set in ~/.MacOSX/
> environment.plist! Better use cleverly:
>
>         PATH=`defaults read "${HOME}/.MacOSX/environment" PATH`

OK. Took care of that. The shell seems to be recognizing the correct
PATH this time around.

> 3.) In Emacs you can check its process environment by two means. In  
> *scratch* buffer you can execute this Lisp and similar code:
>
>         (getenv "PATH")

Checked this as well - it agrees with the PATH I established in the
environment.plist file.

> 4.) You can also invoke:
>
>         M-x shell-command RET which <name of fsf-gdb binary> RET
>

After invoking this in Emacs, it did indeed echo the correct path to
the fsf-gdb executable.

> 5.) What is GUD/GDB documentation telling you about the name of the  
> gdb executable? Is it fixed or is set to some value by a variable?  
> I've seen a
>
>         (defcustom gud-gud-gdb-command-name "gdb --fullname"
>
> ... which could explain why a name "fsf-gdb" would never be found.
>

Yes, it does seem to be set to some variable. After reading the gdb
documentation, when Emacs opens
gdb as a sub-routine it apparently opens it with the option "-f", the
fullname option. I am not sure how to
change this behavior in Emacs.

I think I am getting really close!

Thanks,
Dylan


  parent reply	other threads:[~2011-02-09 20:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-04 21:37 gdb hangs in Emacs 23.2.1 (Mac OSX 10.6.3) Dylan
2011-02-05 10:24 ` Peter Dyballa
     [not found] ` <mailman.2.1296901461.7938.help-gnu-emacs@gnu.org>
2011-02-07 19:28   ` Dylan
2011-02-07 23:10     ` Peter Dyballa
     [not found]     ` <mailman.4.1297120219.8034.help-gnu-emacs@gnu.org>
2011-02-09  0:48       ` Dylan
2011-02-09  9:53         ` Peter Dyballa
     [not found]         ` <mailman.0.1297245224.21406.help-gnu-emacs@gnu.org>
2011-02-09 20:30           ` Dylan [this message]
2011-02-10 23:26             ` Peter Dyballa
2011-02-11 13:55             ` Peter Dyballa
     [not found]             ` <mailman.0.1297381915.13481.help-gnu-emacs@gnu.org>
2011-02-11 20:11               ` Dylan

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=0957d7f6-8dd1-4f63-a060-a2bf2b7dd5d9@z27g2000prz.googlegroups.com \
    --to=crazy808s@yahoo.com \
    --cc=help-gnu-emacs@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.