projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68dc640
)
* dwarf2read.c (load_cu): Move assert to more useful location.
author
Doug Evans
<dje@google.com>
Mon, 2 Jan 2012 00:29:19 +0000
(
00:29
+0000)
committer
Doug Evans
<dje@google.com>
Mon, 2 Jan 2012 00:29:19 +0000
(
00:29
+0000)
gdb/ChangeLog
patch
|
blob
|
history
gdb/dwarf2read.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index 253013c5a09b5351005fa0ffc049bcc844f2d7a2..7e8c18b280acd9ab8a89dfe710e1b2a7c8814bb0 100644
(file)
--- a/
gdb/ChangeLog
+++ b/
gdb/ChangeLog
@@
-1,5
+1,7
@@
2012-01-01 Doug Evans <dje@google.com>
+ * dwarf2read.c (load_cu): Move assert to more useful location.
+
* dwarf2read.c (free_heap_comp_unit): Renamed from free_one_comp_unit.
All callers updated.
diff --git
a/gdb/dwarf2read.c
b/gdb/dwarf2read.c
index b0c4dd0fcd3cdafbcab99bfdc15149dcb01e2c6c..359d8ac72454d8e5b649a5f47b962e35c5399447 100644
(file)
--- a/
gdb/dwarf2read.c
+++ b/
gdb/dwarf2read.c
@@
-1833,9
+1833,9
@@
load_cu (struct dwarf2_per_cu_data *per_cu)
else
load_full_comp_unit (per_cu, per_cu->objfile);
- dwarf2_find_base_address (per_cu->cu->dies, per_cu->cu);
-
gdb_assert (per_cu->cu != NULL);
+
+ dwarf2_find_base_address (per_cu->cu->dies, per_cu->cu);
}
/* Read in the symbols for PER_CU. OBJFILE is the objfile from which