Re: [patch] IS_ABSOLUTE_PATH to handle both DOS and POSIX path st yles

Eli Zaretskii
2008-01-07T04:18:53Z

> Date: Sun, 6 Jan 2008 13:07:25 -0800
> From: "Doug Evans" <dje@google.com>
> Cc: drow@false.org, gdb-patches@sources.redhat.com, ARistovski@qnx.com,
> gcc-patches@gcc.gnu.org, RMansfield@qnx.com
>
> What would the option apply to? How would the user know when and when
> not to use it?

I don't really understand the question. How would the user know when
to use any other option? If they read the documentation and
understand the issues, they will know.

> One thing that occurs to me is what if I do "bash$ gdb
> /prog/with/other/path/format"? Will gdb need to know the format
> before the user gets a chance to specify the format?

No. We were talking about finding sources given file names recorded
in the debug info. Finding the program given the command-line
arguments is not the same problem, and I don't thing GDB uses any of
these macros to do that, or needs to.