diff options
author | Doug Evans <dje@google.com> | 2013-03-28 17:35:01 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2013-03-28 17:35:01 +0000 |
commit | 65e40143146022fd4108a157f530621485cb7579 (patch) | |
tree | 66638c2278b7b3b5e324317c46401624da33944f /gdb/dwarf2read.c | |
parent | eb5054e1dfa1e34230d869ab8cb03b8aa7688352 (diff) | |
download | gdb-65e40143146022fd4108a157f530621485cb7579.tar.gz |
* dwarf2read.c (dwarf2_physname): Move declaration to better spot.
(compute_symtab_includes): Remove unnecessary forward declaration.
(die_needs_namespace): Add comment marking group of functions for
dwarf2 name computation.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r-- | gdb/dwarf2read.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 4c244622ef4..a23b57962cd 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -1554,6 +1554,9 @@ static const char *dwarf2_full_name (const char *name, struct die_info *die, struct dwarf2_cu *cu); +static const char *dwarf2_physname (const char *name, struct die_info *die, + struct dwarf2_cu *cu); + static struct die_info *dwarf2_extension (struct die_info *die, struct dwarf2_cu **); @@ -1765,9 +1768,6 @@ byte_swap (offset_type value) /* The suffix for an index file. */ #define INDEX_SUFFIX ".gdb-index" -static const char *dwarf2_physname (const char *name, struct die_info *die, - struct dwarf2_cu *cu); - /* Try to locate the sections we need for DWARF 2 debugging information and return true if we have enough to do something. NAMES points to the dwarf2 section names, or is NULL if the standard @@ -6867,8 +6867,6 @@ fixup_go_packaging (struct dwarf2_cu *cu) } } -static void compute_symtab_includes (struct dwarf2_per_cu_data *per_cu); - /* Return the symtab for PER_CU. This works properly regardless of whether we're using the index or psymtabs. */ @@ -7279,6 +7277,8 @@ process_die (struct die_info *die, struct dwarf2_cu *cu) break; } } + +/* DWARF name computation. */ /* A helper function for dwarf2_compute_name which determines whether DIE needs to have the name of the scope prepended to the name listed in the |