aboutsummaryrefslogtreecommitdiff
path: root/gdb/d-lang.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2012-10-24 18:17:22 +0000
committerJoel Brobecker <brobecker@gnat.com>2012-10-24 18:17:22 +0000
commitf69c91ad24e3704234ffde45557fc5edddd7af8a (patch)
tree0cd308ffc63accc030c19227f1b159ae5f7ceac5 /gdb/d-lang.c
parentd99dcf51e1ace49b2e69fa72d2f9d0a048faa0de (diff)
downloadgdb-f69c91ad24e3704234ffde45557fc5edddd7af8a.zip
gdb-f69c91ad24e3704234ffde45557fc5edddd7af8a.tar.gz
gdb-f69c91ad24e3704234ffde45557fc5edddd7af8a.tar.bz2
[Ada] use lbasename when testing if file is part of Ada runtime.
We use a list of regular expressions to match a symtab filenames against the names of the files in the Ada runtime. These regular expressions do assume that the filename is a basename, however. So make sure to evaluate these regular expressions against the symtab's filename. Without this patch, we run into problems when the Ada runtime was built using a project file (through gprbuild). gdb/ChangeLog: * ada-lang.c (is_known_support_routine): Use lbasename when matching the symtab's filename against known_runtime_file_name_patterns.
Diffstat (limited to 'gdb/d-lang.c')
0 files changed, 0 insertions, 0 deletions