[Midnightbsd-cvs] src [8053] trunk/contrib/gdb/gdb/dwarf2loc.h: fix corrupted dwar expression from kgdb

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Thu Sep 15 17:24:18 EDT 2016


Revision: 8053
          http://svnweb.midnightbsd.org/src/?rev=8053
Author:   laffer1
Date:     2016-09-15 17:24:18 -0400 (Thu, 15 Sep 2016)
Log Message:
-----------
fix corrupted dwar expression from kgdb

Modified Paths:
--------------
    trunk/contrib/gdb/gdb/dwarf2loc.h

Modified: trunk/contrib/gdb/gdb/dwarf2loc.h
===================================================================
--- trunk/contrib/gdb/gdb/dwarf2loc.h	2016-09-15 21:22:20 UTC (rev 8052)
+++ trunk/contrib/gdb/gdb/dwarf2loc.h	2016-09-15 21:24:18 UTC (rev 8053)
@@ -38,7 +38,7 @@
   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 @@
   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



More information about the Midnightbsd-cvs mailing list