]> git.pld-linux.org Git - packages/gdb.git/blame - gdb-die-cu-offset-2of2.patch
- updated (performance fixes).
[packages/gdb.git] / gdb-die-cu-offset-2of2.patch
CommitLineData
f412e1b4
PS
1RFC: problem with DW_OP_GNU_deref_type and dwarf's get_base_type callback
2http://sourceware.org/ml/gdb-patches/2012-03/msg00166.html
3http://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.
This page took 0.046758 seconds and 4 git commands to generate.