extern CORE_ADDR startup_file_start; /* From blockframe.c */
extern CORE_ADDR startup_file_end; /* From blockframe.c */
extern CORE_ADDR entry_scope_lowpc; /* From blockframe.c */
-extern CORE_ADDR entry_scope_highpc; /* From blockframc.c */
+extern CORE_ADDR entry_scope_highpc; /* From blockframe.c */
extern CORE_ADDR main_scope_lowpc; /* From blockframe.c */
-extern CORE_ADDR main_scope_highpc; /* From blockframc.c */
+extern CORE_ADDR main_scope_highpc; /* From blockframe.c */
extern int info_verbose; /* From main.c; nonzero => verbose */
-
+extern char *warning_pre_print; /* From utils.c */
/* The DWARF debugging information consists of two major pieces,
one is a block of DWARF Information Entries (DIE's) and the other
va_start (ap);
fmt = va_arg (ap, char *);
warning_setup ();
- fprintf (stderr, "DWARF warning (ref 0x%x): ", curdie -> dieref);
+ fprintf (stderr, "warning: DWARF ref 0x%x: ", curdie -> dieref);
if (curdie -> at_name)
{
fprintf (stderr, "'%s': ", curdie -> at_name);
{
if (pst->readin)
{
- warning ("Psymtab for %s already read in. Shouldn't happen.",
+ warning ("psymtab for %s already read in. Shouldn't happen.",
pst -> filename);
}
else
{
if (pst -> readin)
{
- warning ("Psymtab for %s already read in. Shouldn't happen.",
+ warning ("psymtab for %s already read in. Shouldn't happen.",
pst -> filename);
}
else
if (objfile -> global_psymbols.list)
{
- (*objfile -> free) (objfile -> global_psymbols.list);
+ mfree (objfile -> md, objfile -> global_psymbols.list);
}
if (objfile -> static_psymbols.list)
{
- (*objfile -> free) (objfile -> static_psymbols.list);
+ mfree (objfile -> md, objfile -> static_psymbols.list);
}
/* Current best guess is that there are approximately a twentieth
objfile -> static_psymbols.size = total_symbols / 10;
objfile -> global_psymbols.next =
objfile -> global_psymbols.list = (struct partial_symbol *)
- (*objfile -> xmalloc) (objfile -> global_psymbols.size
+ xmmalloc (objfile -> md, objfile -> global_psymbols.size
* sizeof (struct partial_symbol));
objfile -> static_psymbols.next =
objfile -> static_psymbols.list = (struct partial_symbol *)
- (*objfile -> xmalloc) (objfile -> static_psymbols.size
+ xmmalloc (objfile -> md, objfile -> static_psymbols.size
* sizeof (struct partial_symbol));
}