projects
/
platform
/
upstream
/
binutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ppc476 workaround sizing
[platform/upstream/binutils.git]
/
gdb
/
jv-lang.c
diff --git
a/gdb/jv-lang.c
b/gdb/jv-lang.c
index
243a45a
..
421e665
100644
(file)
--- a/
gdb/jv-lang.c
+++ b/
gdb/jv-lang.c
@@
-25,7
+25,6
@@
#include "language.h"
#include "symfile.h"
#include "objfiles.h"
#include "language.h"
#include "symfile.h"
#include "objfiles.h"
-#include <string.h>
#include "value.h"
#include "c-lang.h"
#include "jv-lang.h"
#include "value.h"
#include "c-lang.h"
#include "jv-lang.h"
@@
-35,7
+34,6
@@
#include "demangle.h"
#include "dictionary.h"
#include <ctype.h>
#include "demangle.h"
#include "dictionary.h"
#include <ctype.h>
-#include "gdb_assert.h"
#include "charset.h"
#include "valprint.h"
#include "cp-support.h"
#include "charset.h"
#include "valprint.h"
#include "cp-support.h"
@@
-175,7
+173,7
@@
add_class_symtab_symbol (struct symbol *sym)
{
struct symtab *symtab
= get_java_class_symtab (get_objfile_arch (SYMBOL_SYMTAB (sym)->objfile));
{
struct symtab *symtab
= get_java_class_symtab (get_objfile_arch (SYMBOL_SYMTAB (sym)->objfile));
- struct blockvector *bv = BLOCKVECTOR (symtab);
+
const
struct blockvector *bv = BLOCKVECTOR (symtab);
dict_add_symbol (BLOCK_DICT (BLOCKVECTOR_BLOCK (bv, GLOBAL_BLOCK)), sym);
}
dict_add_symbol (BLOCK_DICT (BLOCKVECTOR_BLOCK (bv, GLOBAL_BLOCK)), sym);
}