This is the mail archive of the
archer-commits@sourceware.org
mailing list for the Archer project.
[SCM] archer-tromey-optional-psymtab: remove a couple of unused functions
- From: tromey at sourceware dot org
- To: archer-commits at sourceware dot org
- Date: 14 Dec 2009 21:47:18 -0000
- Subject: [SCM] archer-tromey-optional-psymtab: remove a couple of unused functions
The branch, archer-tromey-optional-psymtab has been updated
via 3b95aee7019988e3a7e779bcf35b6105fdceacb3 (commit)
from aa6c81f2709d781f7f14a0c6a9684cd9b322480b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit 3b95aee7019988e3a7e779bcf35b6105fdceacb3
Author: Tom Tromey <tromey@redhat.com>
Date: Mon Dec 14 14:46:06 2009 -0700
remove a couple of unused functions
-----------------------------------------------------------------------
Summary of changes:
gdb/dwarf2read.c | 59 ------------------------------------------------------
1 files changed, 0 insertions(+), 59 deletions(-)
First 500 lines of diff:
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 5ef9504..9b1ee73 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -2289,65 +2289,6 @@ dw2_lookup_symtab (struct objfile *objfile, const char *name,
return 0;
}
-static enum address_class
-dw2_tag_class (unsigned long tag)
-{
- switch (tag)
- {
- case DW_TAG_subprogram:
- return LOC_BLOCK;
-
- case DW_TAG_variable:
- /* Anything indicating a variable. */
- return LOC_COMPUTED;
-
- case DW_TAG_typedef:
- case DW_TAG_base_type:
- case DW_TAG_subrange_type:
- case DW_TAG_namespace:
- case DW_TAG_class_type:
- case DW_TAG_interface_type:
- case DW_TAG_structure_type:
- case DW_TAG_union_type:
- case DW_TAG_enumeration_type:
- return LOC_TYPEDEF;
-
- case DW_TAG_enumerator:
- return LOC_CONST;
-
- default:
- /* complaint? */
- return LOC_COMPUTED;
- }
-}
-
-static domain_enum
-dw2_tag_domain (unsigned long tag)
-{
- switch (tag)
- {
- case DW_TAG_subprogram:
- case DW_TAG_variable:
- case DW_TAG_typedef:
- case DW_TAG_base_type:
- case DW_TAG_subrange_type:
- case DW_TAG_namespace:
- case DW_TAG_enumerator:
- return VAR_DOMAIN;
-
- case DW_TAG_class_type:
- case DW_TAG_interface_type:
- case DW_TAG_structure_type:
- case DW_TAG_union_type:
- case DW_TAG_enumeration_type:
- return STRUCT_DOMAIN;
-
- default:
- /* complaint? */
- return VAR_DOMAIN;
- }
-}
-
static struct symtab *
dw2_lookup_symbol (struct objfile *objfile, int block_index,
const char *name, const char *linkage_name,
hooks/post-receive
--
Repository for Project Archer.