]>
Commit | Line | Data |
---|---|---|
f412e1b4 PS |
1 | RFC: problem with DW_OP_GNU_deref_type and dwarf's get_base_type callback |
2 | http://sourceware.org/ml/gdb-patches/2012-03/msg00166.html | |
3 | http://sourceware.org/ml/gdb-cvs/2012-03/msg00118.html | |
4 | ||
5 | ### src/gdb/ChangeLog 2012/03/06 22:48:49 1.13968 | |
6 | ### src/gdb/ChangeLog 2012/03/06 23:41:47 1.13969 | |
7 | ## -1,3 +1,8 @@ | |
8 | +2012-03-06 Joel Brobecker <brobecker@adacore.com> | |
9 | + | |
10 | + * dwarf2read.c (dwarf2_get_die_type): Pass absolute offset | |
11 | + in call to get_die_type_at_offset. | |
12 | + | |
13 | 2012-03-06 Stan Shebs <stan@codesourcery.com> | |
14 | ||
15 | * mi/mi-cmd-break.c: Enforce coding standards, fix comments. | |
16 | --- src/gdb/dwarf2read.c 2012/03/02 01:55:15 1.618 | |
17 | +++ src/gdb/dwarf2read.c 2012/03/06 23:41:50 1.619 | |
18 | @@ -14269,7 +14269,7 @@ | |
19 | struct dwarf2_per_cu_data *per_cu) | |
20 | { | |
21 | dw2_setup (per_cu->objfile); | |
22 | - return get_die_type_at_offset (die_offset, per_cu); | |
23 | + return get_die_type_at_offset (per_cu->offset + die_offset, per_cu); | |
24 | } | |
25 | ||
26 | /* Follow the signature attribute ATTR in SRC_DIE. |