]> Git Repo - binutils.git/blobdiff - gdb/annotate.c
Automatic date update in version.in
[binutils.git] / gdb / annotate.c
index c16eb4651f3b32192a2db719ac49d2cdf141dc88..33805dcdb307b3a5d9a7d9917e5da1592da5a490 100644 (file)
@@ -448,12 +448,12 @@ annotate_source_line (struct symtab *s, int line, int mid_statement,
        return false;
 
       annotate_source (s->fullname, line, (int) (*offsets)[line - 1],
-                      mid_statement, s->objfile ()->arch (),
+                      mid_statement, s->compunit ()->objfile ()->arch (),
                       pc);
 
       /* Update the current symtab and line.  */
       symtab_and_line sal;
-      sal.pspace = s->pspace ();
+      sal.pspace = s->compunit ()->objfile ()->pspace;
       sal.symtab = s;
       sal.line = line;
       set_current_source_symtab_and_line (sal);
This page took 0.023662 seconds and 4 git commands to generate.