aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2004-02-16 21:14:24 +0000
committerDaniel Jacobowitz <drow@false.org>2004-02-16 21:14:24 +0000
commit7dcaac91121f34041bc1b607d100524bfdbb3a1b (patch)
tree5b74da90b9b134719976a71e84f906c0bb43c931
parent88289b6e68fce3e7663aa73308e8f06cdeb92089 (diff)
downloadgdb-7dcaac91121f34041bc1b607d100524bfdbb3a1b.zip
gdb-7dcaac91121f34041bc1b607d100524bfdbb3a1b.tar.gz
gdb-7dcaac91121f34041bc1b607d100524bfdbb3a1b.tar.bz2
* objfiles.c (terminate_minimal_symbol_table): Remove unnecessary
initializations.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/objfiles.c5
2 files changed, 5 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 91f131f..d9d9b7f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2004-02-16 Daniel Jacobowitz <drow@mvista.com>
+
+ * objfiles.c (terminate_minimal_symbol_table): Remove unnecessary
+ initializations.
+
2004-02-16 Andrew Cagney <cagney@redhat.com>
* tui/tui-windata.c: Include "gdb_string.h".
diff --git a/gdb/objfiles.c b/gdb/objfiles.c
index 314e27e..ce23210 100644
--- a/gdb/objfiles.c
+++ b/gdb/objfiles.c
@@ -283,11 +283,6 @@ terminate_minimal_symbol_table (struct objfile *objfile)
= &objfile->msymbols[objfile->minimal_symbol_count];
memset (m, 0, sizeof (*m));
- DEPRECATED_SYMBOL_NAME (m) = NULL;
- SYMBOL_VALUE_ADDRESS (m) = 0;
- MSYMBOL_INFO (m) = NULL;
- MSYMBOL_SIZE (m) = 0;
- MSYMBOL_TYPE (m) = mst_unknown;
SYMBOL_INIT_LANGUAGE_SPECIFIC (m, language_unknown);
}
}