diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2007-10-18 09:33:56 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2007-10-18 09:33:56 +0300 |
commit | abdc47d51cbd910f47d8415cadc93a5b94fcecf6 (patch) | |
tree | 4183b75f54690c0c0ee0a14f1e3f513ac3a45953 /tools | |
parent | a6c8f8086e263352afc16a76800966d9c3696f59 (diff) | |
download | rpm-abdc47d51cbd910f47d8415cadc93a5b94fcecf6.tar.gz rpm-abdc47d51cbd910f47d8415cadc93a5b94fcecf6.tar.bz2 rpm-abdc47d51cbd910f47d8415cadc93a5b94fcecf6.zip |
debugedit mishandles DW_FORM_ref_addr (Roland McGrath)
Diffstat (limited to 'tools')
-rw-r--r-- | tools/debugedit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/debugedit.c b/tools/debugedit.c index ca30877e2..920624197 100644 --- 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; |