This is the mail archive of the gdb-patches@sources.redhat.com 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: [RFC] fullname attribute for GDB/MI stack frames


On Sun, May 01, 2005 at 08:54:15PM -0400, Bob Rossi wrote:
> Eli, is this correct? Is a proper fullname in windows \abc? Should the
> regex move the \\ into the first grouping with the drive letter?
> 
>   \([A-z]:\\\)?/.*basics.c
> 
> Please let me know.

If so, you want to strip the extra slash.

  ([A-Za-z]:\\|/).*[\\/]$basename

Additional backslash doubling and brace escaping is necessary with TCL
"" quoting, and this is not strictly correct in that it does not handle
files directly under a root path.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


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