patch-2.4.22 linux-2.4.22/arch/ppc/xmon/xmon.c
Next file: linux-2.4.22/arch/ppc64/Makefile
Previous file: linux-2.4.22/arch/ppc/xmon/start_8xx.c
Back to the patch index
Back to the overall index
- Lines: 60
- Date:
2003-08-25 04:44:40.000000000 -0700
- Orig file:
linux-2.4.21/arch/ppc/xmon/xmon.c
- Orig date:
2003-06-13 07:51:31.000000000 -0700
diff -urN linux-2.4.21/arch/ppc/xmon/xmon.c linux-2.4.22/arch/ppc/xmon/xmon.c
@@ -716,7 +716,7 @@
extern char do_signal_ret, ret_from_except;
printf("backtrace:\n");
-
+
if (excp != NULL)
sp = excp->gpr[1];
else
@@ -1176,7 +1176,7 @@
byterev(unsigned char *val, int size)
{
int t;
-
+
switch (size) {
case 2:
SWAP(val[0], val[1], t);
@@ -1787,7 +1787,7 @@
{
char *sym;
unsigned long saddr;
-
+
printf("%08x", addr);
sym = xmon_find_symbol(addr, &saddr);
if (sym)
@@ -1807,7 +1807,7 @@
extern unsigned long sysmap_size;
if ( !sysmap || !sysmap_size )
return NULL;
-
+
prev = 0;
psym = NULL;
p = sysmap;
@@ -1852,7 +1852,7 @@
char *match;
int goodness = 0;
int result = 0;
-
+
extern char *sysmap;
extern unsigned long sysmap_size;
if ( !sysmap || !sysmap_size )
@@ -1883,7 +1883,7 @@
}
cur++;
}
- }
+ }
if (goodness) {
p = match;
while(p > sysmap && *p != 10)
@@ -1895,4 +1895,4 @@
}
debugger_fault_handler = 0;
return result;
-}
+}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)