mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-18 21:34:13 +08:00
(dwarf2_finish): Check for the existence of a file table before deciding to
produce a .debug_line section to match up with a user provided .debug_info section.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2004-11-02 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
* dwarf2dbg.c (dwarf2_finish): Check for the existence of a file
|
||||||
|
table before deciding to produce a .debug_line section to match up
|
||||||
|
with a user provided .debug_info section.
|
||||||
|
|
||||||
2004-10-28 Tomer Levi <Tomer.Levi@nsc.com>
|
2004-10-28 Tomer Levi <Tomer.Levi@nsc.com>
|
||||||
|
|
||||||
* config/tc-crx.c (getreg_image): Bug fix, a return value was
|
* config/tc-crx.c (getreg_image): Bug fix, a return value was
|
||||||
|
@ -1363,7 +1363,8 @@ dwarf2_finish (void)
|
|||||||
below. */
|
below. */
|
||||||
if (all_segs == NULL
|
if (all_segs == NULL
|
||||||
&& debug_type != DEBUG_DWARF2
|
&& debug_type != DEBUG_DWARF2
|
||||||
&& bfd_get_section_by_name (stdoutput, ".debug_info") == NULL)
|
&& (bfd_get_section_by_name (stdoutput, ".debug_info") == NULL
|
||||||
|
|| files_in_use == 0))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/* Calculate the size of an address for the target machine. */
|
/* Calculate the size of an address for the target machine. */
|
||||||
|
Reference in New Issue
Block a user