diff options
Diffstat (limited to 'gdb/maint.c')
-rw-r--r-- | gdb/maint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/maint.c b/gdb/maint.c index ee947bd..63dd25d 100644 --- a/gdb/maint.c +++ b/gdb/maint.c @@ -493,7 +493,7 @@ maintenance_translate_address (char *arg, int from_tty) const char *symbol_offset = pulongest (address - SYMBOL_VALUE_ADDRESS (sym.minsym)); - sect = SYMBOL_OBJ_SECTION(sym.minsym); + sect = SYMBOL_OBJ_SECTION(sym.objfile, sym.minsym); if (sect != NULL) { const char *section_name; |