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 Mon, May 02, 2005 at 10:28:17PM +0300, Eli Zaretskii wrote:
> > Date: Sun, 1 May 2005 20:54:15 -0400
> > From: Bob Rossi <bob@brasko.net>
> > Cc: Dennis Brueni <dbrueni@slickedit.com>, gdb-patches@sources.redhat.com
> > 
> > > The proper regexp should be something like
> > > 
> > >    \([A-z]:\)?[/\\].*basics.c
> > 
> > Eli, is this correct? Is a proper fullname in windows \abc?
> 
> Yes, "\abc" is a proper absolute file name on DOS/Windows.  Why did
> you think it wasn't?

I've just never seen that before. I always thought that \abc actually
referred to A:\abc or whatever the current drive is. However, I didn't
know if the compiler would end up seeing \abc, or if it would know that
it is actually A:\abc.

Also, I realized that a network drive would have to be accounted for
(\\gateway\abc), however, if \ is a proper absolute file name on
DOS/Windows, then your regex accounts for network drives also.

If from my comments above you think that \abc might not be OK, let us 
know, and I'll look into a new regex. Otherwise, I'll use the regex 
you posted.

Thanks,
Bob Rossi


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