diff options
author | Doug Evans <dje@google.com> | 2012-04-18 06:21:09 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2012-04-18 06:21:09 +0000 |
commit | 380bca9753e8dbdf31754e2f135b6e7a9c81bfd2 (patch) | |
tree | 34cf6c149d4a10fed4a8f826bd1ace3044a9d1fe /gdb | |
parent | ec92004f95c084527fcff50653aeb76ba9453b5f (diff) | |
download | gdb-380bca9753e8dbdf31754e2f135b6e7a9c81bfd2.zip gdb-380bca9753e8dbdf31754e2f135b6e7a9c81bfd2.tar.gz gdb-380bca9753e8dbdf31754e2f135b6e7a9c81bfd2.tar.bz2 |
* dwarf2read.c: Whitespace fixes.
(lookup_signatured_type): Tweak comment.
(get_die_type_at_offset): Fix comment.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/dwarf2read.c | 9 |
2 files changed, 13 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0da4042..93aca70 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2012-04-17 Doug Evans <dje@google.com> + + * dwarf2read.c: Whitespace fixes. + (lookup_signatured_type): Tweak comment. + (get_die_type_at_offset): Fix comment. + 2012-04-17 Joel Brobecker <brobecker@adacore.com> * xcoffread.c (xcoff_secnum_to_sections): New function. diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index eec52fb..47c36c3 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -3350,7 +3350,7 @@ create_all_type_units (struct objfile *objfile) return 1; } -/* Lookup a signature based type. +/* Lookup a signature based type for DW_FORM_ref_sig8. Returns NULL if signature SIG is not present in the table. */ static struct signatured_type * @@ -6600,6 +6600,7 @@ dwarf2_ranges_read (unsigned offset, CORE_ADDR *low_return, /* Get low and high pc attributes from a die. Return 1 if the attributes are present and valid, otherwise, return 0. Return -1 if the range is discontinuous, i.e. derived from DW_AT_ranges information. */ + static int dwarf2_get_pc_bounds (struct die_info *die, CORE_ADDR *lowpc, CORE_ADDR *highpc, struct dwarf2_cu *cu, @@ -6757,6 +6758,7 @@ get_scope_pc_bounds (struct die_info *die, /* Record the address ranges for BLOCK, offset by BASEADDR, as given in DIE. */ + static void dwarf2_record_block_ranges (struct die_info *die, struct block *block, CORE_ADDR baseaddr, struct dwarf2_cu *cu) @@ -15670,6 +15672,7 @@ dwarf_decode_macros (struct line_header *lh, unsigned int offset, /* Check if the attribute's form is a DW_FORM_block* if so return true else false. */ + static int attr_form_is_block (struct attribute *attr) { @@ -15689,6 +15692,7 @@ attr_form_is_block (struct attribute *attr) may have a value that belongs to more than one of these classes; it would be ambiguous if we did, because we use the same forms for all of them. */ + static int attr_form_is_section_offset (struct attribute *attr) { @@ -15710,6 +15714,7 @@ attr_form_is_section_offset (struct attribute *attr) that, if an attribute's can be either a constant or one of the section offset classes, DW_FORM_data4 and DW_FORM_data8 should be taken as section offsets, not constants. */ + static int attr_form_is_constant (struct attribute *attr) { @@ -16231,7 +16236,7 @@ set_die_type (struct die_info *die, struct type *type, struct dwarf2_cu *cu) return type; } -/* Look up the type for the die at DIE_OFFSET in the appropriate type_hash +/* Look up the type for the die at OFFSET in the appropriate type_hash table, or return NULL if the die does not have a saved type. */ static struct type * |