[Crash-utility] [PATCH 3/6] MIPS: remove symbol debug

Rabin Vincent rabin.vincent at axis.com
Fri Apr 24 14:09:15 UTC 2015


Almost everytime I use crash -d 8 I end up commenting out this line
because it simply prints too much information.  There are other ways of
obtaining the symbol table, and the print can be easily restored to
debug symbol table issues, so remove it by default.
---
 mips.c |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/mips.c b/mips.c
index bf81115..77077fb 100644
--- a/mips.c
+++ b/mips.c
@@ -740,9 +740,6 @@ mips_vmalloc_start(void)
 static int
 mips_verify_symbol(const char *name, ulong value, char type)
 {
-	if (CRASHDEBUG(8) && name && strlen(name))
-		fprintf(fp, "%08lx %s\n", value, name);
-
 	if (STREQ(name, "_text"))
 		machdep->flags |= KSYMS_START;
 
-- 
1.7.10.4




More information about the Crash-utility mailing list