* MAINTAINERS: Change my e-mail address.
[deliverable/binutils-gdb.git] / gdb / dwarf2expr.c
index aa391ebd6a5e0b698ee7e808351fdb16daaeec2d..3d1523b601009508f8b0d1a3e6d956b0eeb5b469 100644 (file)
@@ -641,6 +641,14 @@ execute_stack_op (struct dwarf_expr_context *ctx, unsigned char *op_ptr,
          break;
 
        case DW_OP_GNU_push_tls_address:
+         /* Variable is at a constant offset in the thread-local
+         storage block into the objfile for the current thread and
+         the dynamic linker module containing this expression. Here
+         we return returns the offset from that base.  The top of the
+         stack has the offset from the beginning of the thread
+         control block at which the variable is located.  Nothing
+         should follow this operator, so the top of stack would be
+         returned.  */
          result = dwarf_expr_fetch (ctx, 0);
          dwarf_expr_pop (ctx);
          result = (ctx->get_tls_address) (ctx->baton, result);
This page took 0.023073 seconds and 4 git commands to generate.