Subject: port-hpcmips/26426: pbsdboot.exe does not load symbols
To: None <>
From: Matthew Orgass <>
List: netbsd-bugs
Date: 07/25/2004 00:40:02
>Number:         26426
>Category:       port-hpcmips
>Synopsis:       pbsdboot.exe does not load symbols
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-hpcmips-maintainer
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 25 04:52:00 UTC 2004
>Release:        NetBSD 2.0_BETA

  Clio C-1000


  pbsdboot.exe seems to be unable to load symbols.


  Unknown.  As a workaround (and generally good idea) this patch trys
ksyms if no symbols are found so that dbsym can be used.  Note that if
"load symbols" is enabled in pbsdboot then no symbols will be loaded but
ksyms will also not be used.  It might be worth removing this option
until the loading problem is fixed.

Index: machdep.c
RCS file: /cvsroot/src/sys/arch/hpcmips/hpcmips/machdep.c,v
retrieving revision 1.86
diff -u -r1.86 machdep.c
--- machdep.c	13 Feb 2004 11:36:13 -0000	1.86
+++ machdep.c	25 Jul 2004 04:34:55 -0000
@@ -452,6 +452,8 @@
 	/* init symbols if present */
 	if (esym)
 		ksyms_init(symbolsz, &end, esym);
+	else /* try symbols via dbsym */
+		ksyms_init(0, NULL, NULL);
 #endif /* DDB */
 	 * Alloc u pages for lwp0 stealing KSEG0 memory.