projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Split struct symtab into two: struct symtab and compunit_symtab.
[deliverable/binutils-gdb.git]
/
gdb
/
linespec.c
diff --git
a/gdb/linespec.c
b/gdb/linespec.c
index bcfcc2a7a9c8a4f5f43321cd880213a455a78616..82384cab6207efb62d632abf48741e74beea6e3d 100644
(file)
--- a/
gdb/linespec.c
+++ b/
gdb/linespec.c
@@
-1023,7
+1023,7
@@
iterate_over_all_matching_symtabs (struct linespec_state *state,
ALL_OBJFILES (objfile)
{
ALL_OBJFILES (objfile)
{
- struct
symtab *symtab
;
+ struct
compunit_symtab *cu
;
if (objfile->sf)
objfile->sf->qf->expand_symtabs_matching (objfile, NULL,
if (objfile->sf)
objfile->sf->qf->expand_symtabs_matching (objfile, NULL,
@@
-1031,8
+1031,10
@@
iterate_over_all_matching_symtabs (struct linespec_state *state,
ALL_DOMAIN,
&matcher_data);
ALL_DOMAIN,
&matcher_data);
- ALL_OBJFILE_
PRIMARY_SYMTABS (objfile, symtab
)
+ ALL_OBJFILE_
COMPUNITS (objfile, cu
)
{
{
+ struct symtab *symtab = COMPUNIT_FILETABS (cu);
+
iterate_over_file_blocks (symtab, name, domain, callback, data);
if (include_inline)
iterate_over_file_blocks (symtab, name, domain, callback, data);
if (include_inline)
This page took
0.025664 seconds
and
4
git commands to generate.