Magellan Linux

Contents of /trunk/gdb/patches/gdb-6.6-corrupted-DWARF-expression.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 144 - (show annotations) (download)
Tue May 8 20:06:05 2007 UTC (17 years ago) by niro
File size: 1120 byte(s)
-import

1 Fix from upstream
2
3 http://sourceware.org/ml/gdb-patches/2007-01/msg00561.html
4 http://bugs.gentoo.org/169366
5
6 2007-01-27 Daniel Jacobowitz <dan@codesourcery.com>
7
8 * dwarf2loc.h (struct dwarf2_locexpr_baton): Change size to a long.
9 (struct dwarf2_loclist_baton): Likewise.
10
11 Index: dwarf2loc.h
12 ===================================================================
13 RCS file: /cvs/src/src/gdb/dwarf2loc.h,v
14 retrieving revision 1.6
15 diff -u -p -r1.6 dwarf2loc.h
16 --- gdb/dwarf2loc.h 17 Dec 2005 22:33:59 -0000 1.6
17 +++ gdb/dwarf2loc.h 5 Jan 2007 15:31:17 -0000
18 @@ -39,7 +39,7 @@ struct dwarf2_locexpr_baton
19 gdb_byte *data;
20
21 /* Length of the location expression. */
22 - unsigned short size;
23 + unsigned long size;
24
25 /* The objfile containing the symbol whose location we're computing. */
26 struct objfile *objfile;
27 @@ -55,7 +55,7 @@ struct dwarf2_loclist_baton
28 gdb_byte *data;
29
30 /* Length of the location list. */
31 - unsigned short size;
32 + unsigned long size;
33
34 /* The objfile containing the symbol whose location we're computing. */
35 /* Used (only???) by thread local variables. The objfile in which