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 b4225d9..873c33c 100644 --- a/gdb/maint.c +++ b/gdb/maint.c @@ -492,7 +492,7 @@ maintenance_translate_address (char *arg, int from_tty) { const char *symbol_name = MSYMBOL_PRINT_NAME (sym.minsym); const char *symbol_offset - = pulongest (address - MSYMBOL_VALUE_ADDRESS (sym.minsym)); + = pulongest (address - BMSYMBOL_VALUE_ADDRESS (sym)); sect = MSYMBOL_OBJ_SECTION(sym.objfile, sym.minsym); if (sect != NULL) |