projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6c8f80
)
debugedit mishandles DW_FORM_ref_addr (Roland McGrath)
author
Panu Matilainen
<pmatilai@redhat.com>
Thu, 18 Oct 2007 06:33:56 +0000
(09:33 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Thu, 18 Oct 2007 06:33:56 +0000
(09:33 +0300)
tools/debugedit.c
patch
|
blob
|
history
diff --git
a/tools/debugedit.c
b/tools/debugedit.c
index
ca30877
..
9206241
100644
(file)
--- a/
tools/debugedit.c
+++ b/
tools/debugedit.c
@@
-821,6
+821,7
@@
edit_attributes (DSO *dso, unsigned char *ptr, struct abbrev_tag *t, int phase)
switch (form)
{
+ case DW_FORM_ref_addr: /* ptr_size in DWARF 2, offset in DWARF 3 */
case DW_FORM_addr:
ptr += ptr_size;
break;
@@
-846,7
+847,6
@@
edit_attributes (DSO *dso, unsigned char *ptr, struct abbrev_tag *t, int phase)
case DW_FORM_udata:
read_uleb128 (ptr);
break;
- case DW_FORM_ref_addr:
case DW_FORM_strp:
ptr += 4;
break;