aboutsummaryrefslogtreecommitdiff
path: root/gas/dwarf2dbg.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2000-11-17 18:07:33 +0000
committerRichard Henderson <rth@redhat.com>2000-11-17 18:07:33 +0000
commita8316fe296bb35169ef4d0bb07fc250a02148589 (patch)
tree29985c6fb43929af4c4e5db6aa1f59c14b6fca44 /gas/dwarf2dbg.c
parent9d2e1bab9d9c7aad8ccfc4a89e930a37cfaf8318 (diff)
downloadgdb-a8316fe296bb35169ef4d0bb07fc250a02148589.zip
gdb-a8316fe296bb35169ef4d0bb07fc250a02148589.tar.gz
gdb-a8316fe296bb35169ef4d0bb07fc250a02148589.tar.bz2
* dwarf2dbg.c (dwarf2_gen_line_info): Early out for no line number.
* config/obj-elf.h (ECOFF_DEBUGGING) [TC_ALPHA]: Adjust for tri-state definition of alpha_flag_mdebug. * config/tc-alpha.c (alpha_flag_mdebug): Init to -1. (s_alpha_file): Store first .file directive. (s_alpha_stab): New. (md_pseudo_table): Add stabs and stabn.
Diffstat (limited to 'gas/dwarf2dbg.c')
-rw-r--r--gas/dwarf2dbg.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c
index faa9cee..b09b8db 100644
--- a/gas/dwarf2dbg.c
+++ b/gas/dwarf2dbg.c
@@ -444,6 +444,10 @@ dwarf2_gen_line_info (addr, l)
/* No filename, no filnum => no play. */
return;
+ /* Early out for as-yet incomplete location information. */
+ if (l->line == 0)
+ return;
+
/* Must save these before the subseg_new call, as that call will change
them. */
saved_seg = now_seg;