Patch for new DW_OP

Nick Clifton nickc@redhat.com
Mon Mar 3 10:21:00 GMT 2008


Hi Pallavi,

> This patch adds the following dwarf operation as a PGI
> (STMicroelectronics) extension.

As a matter of interest have PGI submitted this extension to the DWARF 
committee for consideration ?

> elf/ChangeLog
> 2008-02-29  Pallavi Tambay  <pallavi.tambay@amd.com>
> 
> 	* dwarf2.h: (enum dwarf_location_atom): Add new DW_OP,
> 	DW_OP_PGI_omp_thread_num.

Approved and applied.

I also applied the attached patch to allow objdump and readelf to decode 
this op.

Cheers
   Nick

binutils/ChangeLog
2008-03-03  Nick Clifton  <nickc@redhat.com>

	* dwarf.c (decode_location_expression): Handle
	DW_OP_PGI_omp_thread_num.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dwarf.c.patch
Type: text/x-patch
Size: 1451 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20080303/a6d81478/attachment.bin>


More information about the Binutils mailing list