summaryrefslogtreecommitdiff
path: root/gdb/symfile.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-01-16 20:40:47 +0000
committerTom Tromey <tromey@redhat.com>2012-01-16 20:40:47 +0000
commit024e0e8b29c57131c65424b31e931e6f8f511248 (patch)
tree83e423e4a9dc457087a4a1a83e9fcbb292055d3f /gdb/symfile.h
parenteb28de4a09f016d3de7caccec781eb70995a4001 (diff)
downloadgdb-024e0e8b29c57131c65424b31e931e6f8f511248.tar.gz
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.
Diffstat (limited to 'gdb/symfile.h')
-rw-r--r--gdb/symfile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symfile.h b/gdb/symfile.h
index 6d3916256bc..6b664cd36b2 100644
--- a/gdb/symfile.h
+++ b/gdb/symfile.h
@@ -153,7 +153,7 @@ struct quick_symbol_functions
/* Expand and iterate over each "partial" symbol table in OBJFILE
where the source file is named NAME.
- If there is no '/' in the name, a match after a '/' in the symbol
+ If NAME is not absolute, a match after a '/' in the symbol
table's file name will also work. FULL_PATH is the absolute file
name, and REAL_PATH is the same, run through gdb_realpath.