[RFC] fullname attribute for GDB/MI stack frames

Eli Zaretskii eliz@gnu.org
Thu May 5 18:04:00 GMT 2005


> 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

?



More information about the Gdb-patches mailing list