This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]