X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=gdb%2Fsymfile.h;h=d4f3fd90385dd19fb66fe516ec0e688b4a3a829b;hb=b7761f11062dc4d4fd554342ac2d2fb235b65b7a;hp=44f0c01180fd9fe3737b890d3ab4518b2a4663bd;hpb=f8eba3c61629b3c03ac1f33853eab4d8507adb9c;p=binutils-gdb.git diff --git a/gdb/symfile.h b/gdb/symfile.h index 44f0c01180f..d4f3fd90385 100644 --- a/gdb/symfile.h +++ b/gdb/symfile.h @@ -1,8 +1,6 @@ /* Definitions for reading symbol files into GDB. - Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, - 2000, 2001, 2002, 2003, 2004, 2007, 2008, 2009, 2010, 2011 - Free Software Foundation, Inc. + Copyright (C) 1990-2004, 2007-2012 Free Software Foundation, Inc. This file is part of GDB. @@ -155,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. @@ -260,13 +258,10 @@ struct quick_symbol_functions file is skipped. If FILE_MATCHER is NULL such file is not skipped. Otherwise, if KIND does not match this symbol is skipped. - + If even KIND matches, then NAME_MATCHER is called for each symbol - defined in the file. The current language, the symbol name and - DATA are passed to NAME_MATCHER. The symbol "natural" name should - be passed to NAME_MATCHER for all languages except Ada, where - the encoded name is passed instead (see la_symbol_name_compare in - struct language_defn for more details on this). + defined in the file. The symbol "search" name and DATA are passed + to NAME_MATCHER. If NAME_MATCHER returns zero, then this symbol is skipped. @@ -277,7 +272,7 @@ struct quick_symbol_functions void (*expand_symtabs_matching) (struct objfile *objfile, int (*file_matcher) (const char *, void *), - int (*name_matcher) (const struct language_defn *, const char *, void *), + int (*name_matcher) (const char *, void *), enum search_domain kind, void *data);