Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Sep 2012 00:58:33 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r240434 - stable/9/contrib/gdb/gdb
Message-ID:  <201209130058.q8D0wXPP083604@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Thu Sep 13 00:58:32 2012
New Revision: 240434
URL: http://svn.freebsd.org/changeset/base/240434

Log:
  MFC r240163: Fix "Corrupted DWARF expression" from (k)gdb.
  
    Google turned up Debian bug 405116, which describes the problem in
    sufficient detail to identify the overflowing variables.

Modified:
  stable/9/contrib/gdb/gdb/dwarf2loc.h
Directory Properties:
  stable/9/contrib/gdb/   (props changed)

Modified: stable/9/contrib/gdb/gdb/dwarf2loc.h
==============================================================================
--- stable/9/contrib/gdb/gdb/dwarf2loc.h	Thu Sep 13 00:54:24 2012	(r240433)
+++ stable/9/contrib/gdb/gdb/dwarf2loc.h	Thu Sep 13 00:58:32 2012	(r240434)
@@ -38,7 +38,7 @@ struct dwarf2_locexpr_baton
   unsigned char *data;
 
   /* Length of the location expression.  */
-  unsigned short size;
+  unsigned long size;
 
   /* The objfile containing the symbol whose location we're computing.  */
   struct objfile *objfile;
@@ -54,7 +54,7 @@ struct dwarf2_loclist_baton
   unsigned char *data;
 
   /* Length of the location list.  */
-  unsigned short size;
+  unsigned long size;
 
   /* The objfile containing the symbol whose location we're computing.  */
   /* Used (only???) by thread local variables.  The objfile in which



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209130058.q8D0wXPP083604>