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.
This commit is contained in:
David Carlton 2003-02-04 21:55:26 +00:00
parent 406fc7fbeb
commit eb9a305d40
3 changed files with 25 additions and 0 deletions

View file

@ -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)
{