This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem with BFD


Hi Dmitry,

After some debugging I see that comp_unit_maybe_decode_line_info has
returned TRUE.
This is because unit->error is 0 and unit->line_table is non-zero.
On my mind, something wrong with this function.
If you take a look at the unit, its line_table is non-NULL but
variable_table and function_table are NULL.
Shouldn't comp_unit_maybe_decode_line_info set error if any of
variable_table and function_table are NULL?

No - the function is saying that line number information is available. It is not guaranteeing that variable and function name information is available.


Can you provide a small test case that reproduces the problem ?

Cheers
  Nick



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]