From 193b9a616d422fdc5f2aa4fb027a49e94ebd934c Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 3 Mar 2008 10:19:01 +0000 Subject: [PATCH] * dwarf2.h: (enum dwarf_location_atom): Add new DW_OP, DW_OP_PGI_omp_thread_num. * dwarf.c (decode_location_expression): Handle DW_OP_PGI_omp_thread_num. --- include/elf/ChangeLog | 5 +++++ include/elf/dwarf2.h | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index b1c75677e..92bd5745b 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,8 @@ +2008-03-03 Pallavi Tambay + + * dwarf2.h: (enum dwarf_location_atom): Add new DW_OP: + DW_OP_PGI_omp_thread_num. + 2008-02-04 Adam Nemet * mips.h: Update copyright. diff --git a/include/elf/dwarf2.h b/include/elf/dwarf2.h index 371a038c6..648658da3 100644 --- a/include/elf/dwarf2.h +++ b/include/elf/dwarf2.h @@ -1,7 +1,7 @@ /* Declarations and definitions of codes relating to the DWARF2 and DWARF3 symbolic debugging information formats. Copyright (C) 1992, 1993, 1995, 1996, 1997, 1999, 2000, 2001, 2002, - 2003, 2004, 2005, 2006 Free Software Foundation, Inc. + 2003, 2004, 2005, 2006, 2008 Free Software Foundation, Inc. Written by Gary Funck (gary@intrepid.com) The Ada Joint Program Office (AJPO), Florida State University and Silicon Graphics Inc. @@ -551,7 +551,9 @@ enum dwarf_location_atom DW_OP_HP_fltconst8 = 0xe3, DW_OP_HP_mod_range = 0xe4, DW_OP_HP_unmod_range = 0xe5, - DW_OP_HP_tls = 0xe6 + DW_OP_HP_tls = 0xe6, + /* PGI (STMicroelectronics) extensions. */ + DW_OP_PGI_omp_thread_num = 0xf8 }; #define DW_OP_lo_user 0xe0 /* Implementation-defined range start. */