This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit/Ada] use lbasename when testing if file is part of Ada runtime.
- From: Tom Tromey <tromey at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 24 Oct 2012 14:20:21 -0600
- Subject: Re: [commit/Ada] use lbasename when testing if file is part of Ada runtime.
- References: <1351102680-24854-1-git-send-email-brobecker@adacore.com>
>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:
Joel> We use a list of regular expressions to match a symtab filenames
Joel> against the names of the files in the Ada runtime. These regular
Joel> expressions do assume that the filename is a basename, however.
Joel> So make sure to evaluate these regular expressions against
Joel> the symtab's filename.
I see some that are absolute, e.g.:
"/usr/shlib/libpthread\\.so",
Tom