From: Cary Coutant Date: Thu, 26 Jul 2012 18:20:39 +0000 (+0000) Subject: 2012-07-26 Teresa Johnson X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f725daa870859ce411549931f9d7fe36e8371a07;p=binutils-gdb.git 2012-07-26 Teresa Johnson * bfd/dwarf2.c (find_line): Initialize discriminator_ptr if it is non-NULL. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index d350f0cdd50..96b8e51d07c 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2012-07-26 Teresa Johnson + + * bfd/dwarf2.c (find_line): Initialize discriminator_ptr + if it is non-NULL. + 2012-07-26 Meador Inge Nick Clifton diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c index 069d6141a77..a4dc52b278c 100644 --- a/bfd/dwarf2.c +++ b/bfd/dwarf2.c @@ -3344,6 +3344,8 @@ find_line (bfd *abfd, if (functionname_ptr != NULL) *functionname_ptr = NULL; *linenumber_ptr = 0; + if (discriminator_ptr) + *discriminator_ptr = 0; if (! _bfd_dwarf2_slurp_debug_info (abfd, NULL, debug_sections, symbols, pinfo))