diff options
author | graydon <graydon> | 2005-09-01 02:53:53 +0000 |
---|---|---|
committer | graydon <graydon> | 2005-09-01 02:53:53 +0000 |
commit | e7a012f0b1eea7e225b4097edf03ae27d0815fba (patch) | |
tree | a78443da1d72a2bece5816187539c7bb0abe9f23 /loc2c.c | |
parent | 6315bd76d0484d0800fbb6f3a9851932262c1fbc (diff) | |
download | systemtap-steved-e7a012f0b1eea7e225b4097edf03ae27d0815fba.tar.gz systemtap-steved-e7a012f0b1eea7e225b4097edf03ae27d0815fba.tar.xz systemtap-steved-e7a012f0b1eea7e225b4097edf03ae27d0815fba.zip |
2005-08-31 Graydon Hoare <graydon@redhat.com>
PR systemtap/1258
* tapsets.cxx (dwflpp::literal_stmt_for_local):
Support DW_TAG_enumeration_type tag as synonymous with
DW_TAG_base_type.
* loc2c.c (base_byte_size): Likewise.
* testsuite/buildok/seven.stp: Adjust to work on UP kernels.
Diffstat (limited to 'loc2c.c')
-rw-r--r-- | loc2c.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1129,7 +1129,8 @@ c_translate_pointer (struct obstack *pool, int indent, static Dwarf_Word base_byte_size (Dwarf_Die *typedie, struct location *origin) { - assert (dwarf_tag (typedie) == DW_TAG_base_type); + assert (dwarf_tag (typedie) == DW_TAG_base_type || + dwarf_tag (typedie) == DW_TAG_enumeration_type); Dwarf_Attribute attr_mem; Dwarf_Word size; |