mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-12 06:26:17 +00:00
(obj_coff_line): Set symbol lnno field with this_base, not line_base. (Patch
from Andreas Arens, ari@obelix.av.rwth-aachen.de.)
This commit is contained in:
parent
c3b0ae93d2
commit
8304c303d6
@ -1125,7 +1125,6 @@ obj_coff_line (ignore)
|
||||
line_base = this_base;
|
||||
}
|
||||
|
||||
|
||||
#ifndef NO_LISTING
|
||||
{
|
||||
extern int listing;
|
||||
@ -1136,7 +1135,7 @@ obj_coff_line (ignore)
|
||||
}
|
||||
#endif
|
||||
S_SET_NUMBER_AUXILIARY (def_symbol_in_progress, 1);
|
||||
SA_SET_SYM_LNNO (def_symbol_in_progress, line_base);
|
||||
SA_SET_SYM_LNNO (def_symbol_in_progress, this_base);
|
||||
|
||||
demand_empty_rest_of_line ();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user