mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 11:39:26 +08:00
* dwarf2dbg.c (dwarf2_finish): Output file info even when no
line info.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2001-06-19 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
* dwarf2dbg.c (dwarf2_finish): Output file info even when no
|
||||||
|
line info.
|
||||||
|
|
||||||
2001-06-13 Philip Blundell <philb@gnu.org>
|
2001-06-13 Philip Blundell <philb@gnu.org>
|
||||||
|
|
||||||
* config/tc-arm.c (thumb_shift): Improve wording of error message.
|
* config/tc-arm.c (thumb_shift): Improve wording of error message.
|
||||||
|
@ -1212,7 +1212,7 @@ dwarf2_finish ()
|
|||||||
struct line_seg *s;
|
struct line_seg *s;
|
||||||
|
|
||||||
/* If no debug information was recorded, nothing to do. */
|
/* If no debug information was recorded, nothing to do. */
|
||||||
if (all_segs == NULL)
|
if (all_segs == NULL && files_in_use <= 1)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/* Calculate the size of an address for the target machine. */
|
/* Calculate the size of an address for the target machine. */
|
||||||
@ -1239,7 +1239,7 @@ dwarf2_finish ()
|
|||||||
|
|
||||||
/* If this is assembler generated line info, we need .debug_info
|
/* If this is assembler generated line info, we need .debug_info
|
||||||
and .debug_abbrev sections as well. */
|
and .debug_abbrev sections as well. */
|
||||||
if (debug_type == DEBUG_DWARF2)
|
if (all_segs != NULL && debug_type == DEBUG_DWARF2)
|
||||||
{
|
{
|
||||||
segT abbrev_seg;
|
segT abbrev_seg;
|
||||||
segT info_seg;
|
segT info_seg;
|
||||||
|
Reference in New Issue
Block a user