projects
/
platform
/
upstream
/
elfutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc3f8d7
)
Fix for kernel debuginfo files
author
Takashi Iwai
<tiwai@novell.com>
Thu, 8 Nov 2012 02:10:56 +0000
(18:10 -0800)
committer
Chanho Park
<chanho61.park@samsung.com>
Wed, 26 Nov 2014 14:33:39 +0000
(23:33 +0900)
Above BZ originally occured with Systemtap testsuite (stmt_rel.exp).
# stap -e 'probe kernel.statement("bio_put@fs/bio.c:*") {}'
semantic error: libdw failure (dwarf_getsrcfiles): invalid DWARF
...
libdw/dwarf_getsrclines.c
patch
|
blob
|
history
diff --git
a/libdw/dwarf_getsrclines.c
b/libdw/dwarf_getsrclines.c
index
7b174cf
..
ae49527
100644
(file)
--- a/
libdw/dwarf_getsrclines.c
+++ b/
libdw/dwarf_getsrclines.c
@@
-306,8
+306,10
@@
dwarf_getsrclines (Dwarf_Die *cudie, Dwarf_Lines **lines, size_t *nlines)
/* Consistency check. */
if (unlikely (linep != header_start + header_length))
{
+#if 0
__libdw_seterrno (DWARF_E_INVALID_DWARF);
goto out;
+#endif
}
/* We are about to process the statement program. Initialize the