diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2001-03-26 02:48:23 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2001-03-26 02:48:23 +0000 |
commit | b9179dbce95be8ab496758e27909ad5ea2cdd8cd (patch) | |
tree | f82611bc6b0bebf0eabad402f19bbd91b5deb869 /gdb/dbxread.c | |
parent | 0285c67df190b85c05973783e204cd1869644c76 (diff) | |
download | gdb-b9179dbce95be8ab496758e27909ad5ea2cdd8cd.zip gdb-b9179dbce95be8ab496758e27909ad5ea2cdd8cd.tar.gz gdb-b9179dbce95be8ab496758e27909ad5ea2cdd8cd.tar.bz2 |
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''.
Diffstat (limited to 'gdb/dbxread.c')
-rw-r--r-- | gdb/dbxread.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/dbxread.c b/gdb/dbxread.c index 56a1ccd..0452e5b 100644 --- a/gdb/dbxread.c +++ b/gdb/dbxread.c @@ -213,7 +213,8 @@ find_text_range (bfd * sym_bfd, struct objfile *objfile) { 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) |