public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* RFC/Windows: look for USERPROFILE/HOMEPATH+HOMEDRIVE if HOME not defined?
@ 2016-06-06 17:45 Joel Brobecker
  0 siblings, 0 replies; only message in thread
From: Joel Brobecker @ 2016-06-06 17:45 UTC (permalink / raw)
  To: gdb

Hello!

It occurs to me that HOME is not a standard environment variable
on Windows. This makes me think that perhaps, if not found on Windows,
we should be looking at more standard environment variables.
The easiest would be to look at USERPROFILE. Less easy, but probably
more correct, we could use %HOMEDRIVE% + %HOMEPATH%.

Any thoughts on that? If people agree, I could probably whip something
up! I think it would make GDB a little easier to use on Windows.

-- 
Joel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-06-06 17:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-06 17:45 RFC/Windows: look for USERPROFILE/HOMEPATH+HOMEDRIVE if HOME not defined? Joel Brobecker

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).