This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFC] fullname attribute for GDB/MI stack frames
- From: "Eli Zaretskii" <eliz at gnu dot org>
- To: Dennis Brueni <dbrueni at slickedit dot com>, gdb-patches at sources dot redhat dot com
- Date: Thu, 05 May 2005 21:01:53 +0300
- Subject: Re: [RFC] fullname attribute for GDB/MI stack frames
- References: <ECCC6E9907B4CD4A83260A191A91F20E22C6D2@wampa.office.slickedit.com> <20050430191755.GF7009@nevyn.them.org> <20050501021945.GA19962@white> <01c54e7a$Blat.v2.4$e31afae0@zahav.net.il> <20050505171910.GB31758@white>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Thu, 5 May 2005 13:19:10 -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
>
> I sent this question to Eli, but thought others might be interested.
> The regex above woks on /.* and d:\.* and \\.* and \.* but it doesn't
> work on d:.*. I can't see a simple way to add that last case. Does
> anyone else?
>
> This is the only way I could solve the last case,
> \([A-z]:[^\].*\)|\([A-z]:\)?[/\\].*basics.c
How about
\(\([A-z]:.*\)\|[/\\]\).*basics.c
?