summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_aout.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ddb/db_aout.c')
-rw-r--r--sys/ddb/db_aout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ddb/db_aout.c b/sys/ddb/db_aout.c
index 59304f4..3f7ed96 100644
--- a/sys/ddb/db_aout.c
+++ b/sys/ddb/db_aout.c
@@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: db_aout.c,v 1.17 1997/02/22 09:28:19 peter Exp $
+ * $Id: db_aout.c,v 1.18 1997/04/01 14:31:04 bde Exp $
*/
/*
@@ -250,7 +250,7 @@ X_db_line_at_pc(symtab, cursym, filename, linenum, off)
fname = NULL;
}
- if (sp->n_type == N_SO) {
+ if (sp->n_type == N_SO && *sp->n_un.n_name != '/') {
if (sp->n_value <= off && (off - sp->n_value) < sodiff) {
sodiff = off - sp->n_value;
fname = sp->n_un.n_name;
OpenPOWER on IntegriCloud