aboutsummaryrefslogtreecommitdiff
path: root/gdb/jv-lang.c
diff options
context:
space:
mode:
authorDavid Carlton <carlton@bactrian.org>2003-02-04 21:55:26 +0000
committerDavid Carlton <carlton@bactrian.org>2003-02-04 21:55:26 +0000
commiteb9a305d4006fa2ca1e22add3bfe7abd48a9f56c (patch)
treef0d642c0aa41ded54e147175466d0e382a1bd9e9 /gdb/jv-lang.c
parent406fc7fbebc6e4493f0fc348c434d01c7bde2d9b (diff)
downloadgdb-eb9a305d4006fa2ca1e22add3bfe7abd48a9f56c.zip
gdb-eb9a305d4006fa2ca1e22add3bfe7abd48a9f56c.tar.gz
gdb-eb9a305d4006fa2ca1e22add3bfe7abd48a9f56c.tar.bz2
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.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/jv-lang.c b/gdb/jv-lang.c
index 3afdebd..b283f36 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)
{