summaryrefslogtreecommitdiff
path: root/usr/src/cmd/sgs/rtld/common/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/sgs/rtld/common/debug.c')
-rw-r--r--usr/src/cmd/sgs/rtld/common/debug.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr/src/cmd/sgs/rtld/common/debug.c b/usr/src/cmd/sgs/rtld/common/debug.c
index 377a2da34a..6942ef8434 100644
--- a/usr/src/cmd/sgs/rtld/common/debug.c
+++ b/usr/src/cmd/sgs/rtld/common/debug.c
@@ -20,7 +20,7 @@
*/
/*
- * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -145,9 +145,11 @@ dbg_setup(const char *options, Dbg_desc *dbp)
dbg_ino = status.st_ino;
/*
- * Now that the output file is established, generate help
- * output if the user specified the debug help token.
+ * Now that the output file is established, identify the linker
+ * package, and generate help output if the user specified the
+ * debug help token.
*/
+ Dbg_version();
if (dbp->d_extra & DBG_E_HELP)
Dbg_help();