gdb
authorTom Tromey <tromey@redhat.com>
Mon, 16 Jan 2012 20:40:53 +0000 (20:40 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 16 Jan 2012 20:40:53 +0000 (20:40 +0000)
commit4aac40c83727ce9e8ec9d6968d589df0939c9827
tree6dd54fa985311dd9b7d78ed28315dac7f1ffdf7e
parentcafec441901459c36ad92f1cd9eef648534ea53b
gdb
* NEWS: Add item.
* symtab.h (compare_filenames_for_search): Declare.
* symtab.c (compare_filenames_for_search): New function.
(iterate_over_some_symtabs): Use it.
* symfile.h (struct quick_symbol_functions)
<map_symtabs_matching_filename>: Change spec.
* psymtab.c (partial_map_symtabs_matching_filename): Use
compare_filenames_for_search.  Update for new spec.
* dwarf2read.c (dw2_map_symtabs_matching_filename): Use
compare_filenames_for_search.  Update for new spec.
* breakpoint.c (clear_command): Use compare_filenames_for_search.
gdb/doc
* gdb.texinfo (Specify Location): Document relative file name
handling.
gdb/testsuite
* gdb.linespec/linespec.exp: Change some tests to use $decimal.
Add tests for relative directory.
12 files changed:
gdb/ChangeLog
gdb/NEWS
gdb/breakpoint.c
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/dwarf2read.c
gdb/psymtab.c
gdb/symfile.h
gdb/symtab.c
gdb/symtab.h
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.linespec/linespec.exp