diff options
Diffstat (limited to 'gdb/mi/mi-symbol-cmds.c')
-rw-r--r-- | gdb/mi/mi-symbol-cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mi/mi-symbol-cmds.c b/gdb/mi/mi-symbol-cmds.c index 1b08854..5d6d341 100644 --- a/gdb/mi/mi-symbol-cmds.c +++ b/gdb/mi/mi-symbol-cmds.c @@ -50,7 +50,7 @@ mi_cmd_symbol_list_lines (const char *command, char **argv, int argc) already sorted by increasing values in the symbol table, so no need to perform any other sorting. */ - gdbarch = s->objfile ()->arch (); + gdbarch = s->compunit ()->objfile ()->arch (); ui_out_emit_list list_emitter (uiout, "lines"); if (s->linetable () != NULL && s->linetable ()->nitems > 0) |