Fix from upstream http://sourceware.org/ml/gdb-patches/2007-01/msg00561.html http://bugs.gentoo.org/169366 2007-01-27 Daniel Jacobowitz * dwarf2loc.h (struct dwarf2_locexpr_baton): Change size to a long. (struct dwarf2_loclist_baton): Likewise. Index: dwarf2loc.h =================================================================== RCS file: /cvs/src/src/gdb/dwarf2loc.h,v retrieving revision 1.6 diff -u -p -r1.6 dwarf2loc.h --- gdb/dwarf2loc.h 17 Dec 2005 22:33:59 -0000 1.6 +++ gdb/dwarf2loc.h 5 Jan 2007 15:31:17 -0000 @@ -39,7 +39,7 @@ struct dwarf2_locexpr_baton gdb_byte *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; @@ -55,7 +55,7 @@ struct dwarf2_loclist_baton gdb_byte *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