diff options
author | David Carlton <carlton@bactrian.org> | 2003-02-04 21:55:26 +0000 |
---|---|---|
committer | David Carlton <carlton@bactrian.org> | 2003-02-04 21:55:26 +0000 |
commit | 4d46f3e4e6fc38cc8ddd87089b33c0d97611b65c (patch) | |
tree | f273f2426a0a82d310794d94229fc6972d8585ad /gdb/jv-lang.c | |
parent | f48b0ff4b17cc374864fdacf85d460ff984237a4 (diff) | |
download | gdb-4d46f3e4e6fc38cc8ddd87089b33c0d97611b65c.tar.gz |
2003-02-04 David Carlton <carlton@math.stanford.edu>
* objfiles.c (allocate_objfile): Always set name. Add comment at
start of function.
* jv-lang.c (get_dynamics_objfile): Add comment.
Diffstat (limited to 'gdb/jv-lang.c')
-rw-r--r-- | gdb/jv-lang.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/jv-lang.c b/gdb/jv-lang.c index 3afdebdb467..b283f36cbc8 100644 --- a/gdb/jv-lang.c +++ b/gdb/jv-lang.c @@ -68,6 +68,12 @@ static struct objfile *dynamics_objfile = NULL; static struct type *java_link_class_type (struct type *, struct value *); +/* FIXME: carlton/2003-02-04: This is the main or only caller of + allocate_objfile with first argument NULL; as a result, this code + breaks every so often. Somebody should write a test case that + exercises GDB in various ways (e.g. something involving loading a + dynamic library) after this code has been called. */ + static struct objfile * get_dynamics_objfile (void) { |