[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gud: how to set the LD_LIBRARY_PATH before run?
From: |
Nick Roberts |
Subject: |
Re: gud: how to set the LD_LIBRARY_PATH before run? |
Date: |
Sat, 7 Jun 2008 09:32:42 +1200 |
> 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