public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* gdb source command with env variable in the path?
@ 2006-06-15  8:02 Jason Andrews
  2006-06-15  8:24 ` Andreas Schwab
  0 siblings, 1 reply; 4+ messages in thread
From: Jason Andrews @ 2006-06-15  8:02 UTC (permalink / raw)
  To: gdb

 
Is it possible to do a source command with an
environment variable in the path?

(gdb) source $HOME/filename

I see the command `show env HOME` but no way to use
the env variable in a path.

Thanks.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gdb source command with env variable in the path?
  2006-06-15  8:02 gdb source command with env variable in the path? Jason Andrews
@ 2006-06-15  8:24 ` Andreas Schwab
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas Schwab @ 2006-06-15  8:24 UTC (permalink / raw)
  To: Jason Andrews; +Cc: gdb

"Jason Andrews" <jasona@cadence.com> writes:

> Is it possible to do a source command with an
> environment variable in the path?
>
> (gdb) source $HOME/filename

(gdb) source ~/filename

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gdb source command with env variable in the path?
  2006-06-15 10:21 Jason Andrews
@ 2006-06-15 14:01 ` Daniel Jacobowitz
  0 siblings, 0 replies; 4+ messages in thread
From: Daniel Jacobowitz @ 2006-06-15 14:01 UTC (permalink / raw)
  To: Jason Andrews; +Cc: Andreas Schwab, gdb

On Thu, Jun 15, 2006 at 01:24:29AM -0700, Jason Andrews wrote:
> > > Is it possible to do a source command with an
> > > environment variable in the path?
> > >
> > > (gdb) source $HOME/filename
> > 
> > (gdb) source ~/filename
> > 
> 
> $HOME was just an example. I'm asking if it's possible
> for a generic env variable that could be set to any path.

No, sorry.

-- 
Daniel Jacobowitz
CodeSourcery

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: gdb source command with env variable in the path?
@ 2006-06-15 10:21 Jason Andrews
  2006-06-15 14:01 ` Daniel Jacobowitz
  0 siblings, 1 reply; 4+ messages in thread
From: Jason Andrews @ 2006-06-15 10:21 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: gdb

> > Is it possible to do a source command with an
> > environment variable in the path?
> >
> > (gdb) source $HOME/filename
> 
> (gdb) source ~/filename
> 

$HOME was just an example. I'm asking if it's possible
for a generic env variable that could be set to any path.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-06-15 13:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-15  8:02 gdb source command with env variable in the path? Jason Andrews
2006-06-15  8:24 ` Andreas Schwab
2006-06-15 10:21 Jason Andrews
2006-06-15 14:01 ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).