aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.h
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2014-12-16 22:00:13 -0800
committerDoug Evans <xdje42@gmail.com>2014-12-16 22:00:13 -0800
commitd01060f023ce60fea127b737298a3d4e9bc9404b (patch)
treed799e5f69ab281a48da36fb9410524b9e5f63cfe /gdb/symtab.h
parent64f0601bb42fae8cebf8f845a840bf21f14ad125 (diff)
downloadgdb-d01060f023ce60fea127b737298a3d4e9bc9404b.zip
gdb-d01060f023ce60fea127b737298a3d4e9bc9404b.tar.gz
gdb-d01060f023ce60fea127b737298a3d4e9bc9404b.tar.bz2
symtab.h (struct symbol_search) <symtab>: Delete, unnecessary.
gdb/ChangeLog: * symtab.h (struct symbol_search) <symtab>: Delete. All uses updated. * symtab.c (compare_search_syms): Use SYMBOL_SYMTAB accessor. (print_symbol_info): Delete arg symtab. All callers updated. (symtab_symbol_info): Use SYMBOL_SYMTAB accessor.
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r--gdb/symtab.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h
index 4f90140..c9b38d2 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -1457,9 +1457,7 @@ struct symbol_search
/* Information describing what was found.
- If symtab and symbol are NOT NULL, then information was found
- for this match. */
- struct symtab *symtab;
+ If symbol is NOT NULL, then information was found for this match. */
struct symbol *symbol;
/* If msymbol is non-null, then a match was made on something for