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: [patch] Add discriminator support to gas .loc directive


Hi Cary,

It would be nice if the line table reader would silently ignore
opcodes it doesn't understand (as the DWARF spec suggests), but it
seems to be a deliberate decision here to complain, so I'll leave that
as is.

The reason for complaining about unrecognised opcodes is that:


A. They might be bugs in the code being examined and the user wants to know about them.

B. They might be new opcodes and producing a warning will prompt the maintainers to add code to handle them...


bfd/ChangeLog:

* dwarf2.c (decode_line_info): Ignore DW_LNE_set_discriminator.

Approved - please apply.


Cheers
  Nick


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