[patch] Add discriminator support to gas .loc directive

Nick Clifton nickc@redhat.com
Fri Jul 3 16:21:00 GMT 2009


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



More information about the Binutils mailing list