$OpenBSD: patch-src_installers_80x86_openbsd_diag_out_c,v 1.1.1.1 2003/08/04 23:37:06 avsm Exp $
--- src/installers/80x86/openbsd/diag_out.c.orig	2003-02-10 05:34:39.000000000 -0500
+++ src/installers/80x86/openbsd/diag_out.c	2003-08-03 11:23:29.000000000 -0400
@@ -279,6 +279,11 @@ stabd(long findex, long lno, int seg)
 			fprintf (dg_file, "%sL.%ld:\n", local_prefix, i);
 			fprintf (dg_file, "\t.stabn\t0x%x,0,%ld,%sL.%ld",
 					 seg, lno, local_prefix, i);
+			if (in_proc) {
+				outs ("-");
+				out_procname ();
+			}
+
 			outnl ();
 		}
     }
