aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.h
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2012-12-16 18:57:16 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2012-12-16 18:57:16 +0000
commitb57a636e4b4d23ba89c9d18118ed231500b0de06 (patch)
tree0f84de7c407e0db84050d712234af6958f96f332 /gdb/symtab.h
parent2344b8da6ee2fa235bce354c0da505933c055559 (diff)
downloadgdb-b57a636e4b4d23ba89c9d18118ed231500b0de06.zip
gdb-b57a636e4b4d23ba89c9d18118ed231500b0de06.tar.gz
gdb-b57a636e4b4d23ba89c9d18118ed231500b0de06.tar.bz2
gdb/
Code cleanup. * breakpoint.c (clear_command): Remove variable sal_name_len and its initialization, remove it from the compare_filenames_for_search call. * dwarf2read.c (dw2_map_symtabs_matching_filename): Remove variable name_len and its initialization, remove it from the compare_filenames_for_search calls. * psymtab.c (partial_map_symtabs_matching_filename): Likewise. * symtab.c (compare_filenames_for_search): Remove the search_len parameter, update the function comment, new variable search_len initialized from SEARCH_NAME. (iterate_over_some_symtabs): Remove variable name_len and its initialization, remove it from the compare_filenames_for_search calls. * symtab.h (compare_filenames_for_search): Remove the search_len parameter,
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r--gdb/symtab.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h
index 6683cf5..ea39326 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -1309,8 +1309,7 @@ extern int symtab_create_debug;
extern int basenames_may_differ;
int compare_filenames_for_search (const char *filename,
- const char *search_name,
- int search_len);
+ const char *search_name);
int iterate_over_some_symtabs (const char *name,
const char *full_path,