linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* linuxppc_2_4_devel arch/ppc/kernel/ppc-stub.c (KGDB) patch
@ 2003-04-04 18:05 Mark A. Greer
  0 siblings, 0 replies; only message in thread
From: Mark A. Greer @ 2003-04-04 18:05 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 113 bytes --]

Tom,

Please apply the attached fix for KGDB.  The ampersand should not have
been removed on that line.

Mark
--

[-- Attachment #2: ppc-stub.c.diff --]
[-- Type: text/plain, Size: 469 bytes --]

===== arch/ppc/kernel/ppc-stub.c 1.24 vs edited =====
--- 1.24/arch/ppc/kernel/ppc-stub.c	Thu Mar 27 02:26:50 2003
+++ edited/arch/ppc/kernel/ppc-stub.c	Fri Apr  4 11:00:21 2003
@@ -609,7 +609,7 @@
 	*ptr++ = hexchars[PC_REGNUM >> 4];
 	*ptr++ = hexchars[PC_REGNUM & 0xf];
 	*ptr++ = ':';
-	ptr = mem2hex((char *)regs->nip, ptr, 4);
+	ptr = mem2hex((char *)&regs->nip, ptr, 4);
 	*ptr++ = ';';
 	*ptr++ = hexchars[SP_REGNUM >> 4];
 	*ptr++ = hexchars[SP_REGNUM & 0xf];

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-04-04 18:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-04 18:05 linuxppc_2_4_devel arch/ppc/kernel/ppc-stub.c (KGDB) patch Mark A. Greer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).