mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 21:41:47 +08:00
2012-07-26 Teresa Johnson <tejohnson@google.com>
* bfd/dwarf2.c (find_line): Initialize discriminator_ptr if it is non-NULL.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2012-07-26 Teresa Johnson <tejohnson@google.com>
|
||||||
|
|
||||||
|
* bfd/dwarf2.c (find_line): Initialize discriminator_ptr
|
||||||
|
if it is non-NULL.
|
||||||
|
|
||||||
2012-07-26 Meador Inge <meadori@codesourcery.com>
|
2012-07-26 Meador Inge <meadori@codesourcery.com>
|
||||||
Nick Clifton <nickc@redhat.com>
|
Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
@ -3344,6 +3344,8 @@ find_line (bfd *abfd,
|
|||||||
if (functionname_ptr != NULL)
|
if (functionname_ptr != NULL)
|
||||||
*functionname_ptr = NULL;
|
*functionname_ptr = NULL;
|
||||||
*linenumber_ptr = 0;
|
*linenumber_ptr = 0;
|
||||||
|
if (discriminator_ptr)
|
||||||
|
*discriminator_ptr = 0;
|
||||||
|
|
||||||
if (! _bfd_dwarf2_slurp_debug_info (abfd, NULL,
|
if (! _bfd_dwarf2_slurp_debug_info (abfd, NULL,
|
||||||
debug_sections, symbols, pinfo))
|
debug_sections, symbols, pinfo))
|
||||||
|
Reference in New Issue
Block a user