From Andrew Cagney <
ac131313@redhat.com>
* coffread.c (coff_symtab_read): Initialize
``fcn_first_line_addr''. Check that the ``.bf'' always preceeds
the ``.ef'' info.
* dbxread.c (find_text_range): Initialize ``start'' and ``end''.
+2001-03-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
+
+ From Andrew Cagney <ac131313@redhat.com>
+
+ * coffread.c (coff_symtab_read): Initialize
+ ``fcn_first_line_addr''. Check that the ``.bf'' always preceeds
+ the ``.ef'' info.
+ * dbxread.c (find_text_range): Initialize ``start'' and ``end''.
+
2001-03-23 Andrew Cagney <ac131313@redhat.com>
* config/sparc/tm-sp64.h (GDB_MULTI_ARCH): Down grade to
char *filestring = "";
int depth = 0;
int fcn_first_line = 0;
- CORE_ADDR fcn_first_line_addr;
+ CORE_ADDR fcn_first_line_addr = 0;
int fcn_last_line = 0;
int fcn_start_addr = 0;
long fcn_line_ptr = 0;
}
else if (STREQ (cs->c_name, ".ef"))
{
+ if (!within_function)
+ error ("Bad coff function information\n");
/* the value of .ef is the address of epilogue code;
not useful for gdb. */
/* { main_aux.x_sym.x_misc.x_lnsz.x_lnno
{
asection *sec;
int found_any = 0;
- CORE_ADDR start, end;
+ CORE_ADDR start = 0;
+ CORE_ADDR end = 0;
for (sec = sym_bfd->sections; sec; sec = sec->next)
if (bfd_get_section_flags (sym_bfd, sec) & SEC_CODE)