mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 01:07:52 +00:00
* 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.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2008-03-03 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* dwarf.c (decode_location_expression): Handle
|
||||
DW_OP_PGI_omp_thread_num.
|
||||
|
||||
2008-03-01 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* objdump.c (objdump_print_addr): Initialise "sym".
|
||||
|
||||
@@ -1014,6 +1014,15 @@ decode_location_expression (unsigned char * data,
|
||||
/* FIXME: Is there data associated with this OP ? */
|
||||
break;
|
||||
|
||||
/* PGI (STMicroelectronics) extensions. */
|
||||
case DW_OP_PGI_omp_thread_num:
|
||||
/* Pushes the thread number for the current thread as it would be
|
||||
returned by the standard OpenMP library function:
|
||||
omp_get_thread_num(). The "current thread" is the thread for
|
||||
which the expression is being evaluated. */
|
||||
printf ("DW_OP_PGI_omp_thread_num");
|
||||
break;
|
||||
|
||||
default:
|
||||
if (op >= DW_OP_lo_user
|
||||
&& op <= DW_OP_hi_user)
|
||||
|
||||
Reference in New Issue
Block a user