From: Nick Roberts <nickrob@snap.net.nz>
To: sunway <sunwayforever@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: gud: how to set the LD_LIBRARY_PATH before run?
Date: Sat, 7 Jun 2008 09:32:42 +1200 [thread overview]
Message-ID: <18505.44282.140465.613804@kahikatea.snap.net.nz> (raw)
In-Reply-To: <20080606011817.GA24054@sunway.bupt.edu.cn>
> but the LD_LIBRARY_PATH environment variable is too long, and I don't
> want to set it every time when debugging the program in GUD, is it
> possiable to put the `set environment ..` in a bash script file and just
> source it when using gdb?
In a script file yes, but it's not a bash one. GDB has it's own syntax for
'canned' sequences of commands. Again it's all described in the GDB info
manual.
--
Nick http://www.inet.net.nz/~nickrob
prev parent reply other threads:[~2008-06-06 21:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-05 2:36 gud: how to set the LD_LIBRARY_PATH before run? sunway
2008-06-05 13:48 ` Nick Roberts
2008-06-06 1:18 ` sunway
2008-06-06 21:32 ` Nick Roberts [this message]
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=18505.44282.140465.613804@kahikatea.snap.net.nz \
--to=nickrob@snap.net.nz \
--cc=help-gnu-emacs@gnu.org \
--cc=sunwayforever@gmail.com \
/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.