diff options
Diffstat (limited to 'gdb/source.c')
-rw-r--r-- | gdb/source.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/source.c b/gdb/source.c index 50de939..7d22bbb 100644 --- a/gdb/source.c +++ b/gdb/source.c @@ -1499,8 +1499,7 @@ info_line_command (const char *arg, int from_tty) else if (sal.line > 0 && find_line_pc_range (sal, &start_pc, &end_pc)) { - struct gdbarch *gdbarch - = get_objfile_arch (SYMTAB_OBJFILE (sal.symtab)); + struct gdbarch *gdbarch = SYMTAB_OBJFILE (sal.symtab)->arch (); if (start_pc == end_pc) { |