public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: "Mark A. Greer" <mgreer@mvista•com>
To: linuxppc-dev <linuxppc-dev@lists•linuxppc.org>
Subject: linuxppc_2_4_devel arch/ppc/kernel/ppc-stub.c (KGDB) patch
Date: Fri, 04 Apr 2003 11:05:10 -0700	[thread overview]
Message-ID: <3E8DC956.20800@mvista.com> (raw)

[-- 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];

                 reply	other threads:[~2003-04-04 18:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E8DC956.20800@mvista.com \
    --to=mgreer@mvista$(echo .)com \
    --cc=linuxppc-dev@lists$(echo .)linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox