summaryrefslogtreecommitdiff
path: root/contrib/gdb
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2012-08-29 18:37:10 +0000
committerDimitry Andric <dim@FreeBSD.org>2012-08-29 18:37:10 +0000
commitff3657eeaf3dde9596b10095659590e5e55eb7c4 (patch)
treefa268c1fe98e9673d85f133c1186d3ea929debe9 /contrib/gdb
parent7b4806d69f291f5a391fde44dfebb816520a5ffc (diff)
downloadsrc-test2-ff3657eeaf3dde9596b10095659590e5e55eb7c4.tar.gz
src-test2-ff3657eeaf3dde9596b10095659590e5e55eb7c4.zip
Notes
Diffstat (limited to 'contrib/gdb')
-rw-r--r--contrib/gdb/gdb/dwarf2read.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/gdb/gdb/dwarf2read.c b/contrib/gdb/gdb/dwarf2read.c
index 400750d969be..1093ff233105 100644
--- a/contrib/gdb/gdb/dwarf2read.c
+++ b/contrib/gdb/gdb/dwarf2read.c
@@ -4604,6 +4604,9 @@ read_attribute_value (struct attribute *attr, unsigned form,
DW_UNSND (attr) = read_1_byte (abfd, info_ptr);
info_ptr += 1;
break;
+ case DW_FORM_flag_present:
+ DW_UNSND (attr) = 1;
+ break;
case DW_FORM_sdata:
DW_SND (attr) = read_signed_leb128 (abfd, info_ptr, &bytes_read);
info_ptr += bytes_read;
@@ -7226,6 +7229,9 @@ dump_die (struct die_info *die)
else
fprintf_unfiltered (gdb_stderr, "flag: FALSE");
break;
+ case DW_FORM_flag_present:
+ fprintf_unfiltered (gdb_stderr, "flag: TRUE");
+ break;
case DW_FORM_indirect:
/* the reader will have reduced the indirect form to
the "base form" so this form should not occur */