mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: Paul Mackerras <paulus@samba.org>
Cc: akpm@osdl.org, Amos Waterland <apw@us.ibm.com>,
	anton@samba.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] PPC64 debugging symbols for boot wrapper
Date: Mon, 14 Mar 2005 21:22:18 +0100	[thread overview]
Message-ID: <20050314202218.GA17925@mars.ravnborg.org> (raw)
In-Reply-To: <16949.957.650893.747905@cargo.ozlabs.ibm.com>

On Mon, Mar 14, 2005 at 02:23:41PM +1100, Paul Mackerras wrote:
> This patch is from Amos Waterland <apw@us.ibm.com>.
> 
> It is really useful when debugging early boot on simulator to have debug
> symbols in the 32-bit code that uncompresses the kernel proper.
> 
> Signed-off-by: Paul Mackerras <paulus@samba.org>
> 
> diff -urN linux-2.5/arch/ppc64/boot/Makefile test/arch/ppc64/boot/Makefile
> --- linux-2.5/arch/ppc64/boot/Makefile	2005-03-07 10:46:38.000000000 +1100
> +++ test/arch/ppc64/boot/Makefile	2005-03-14 13:42:34.000000000 +1100
> @@ -27,6 +27,11 @@
>  BOOTLFLAGS	:= -Ttext 0x00400000 -e _start -T $(srctree)/$(src)/zImage.lds
>  OBJCOPYFLAGS    := contents,alloc,load,readonly,data
>  
> +ifdef CONFIG_DEBUG_INFO
> +BOOTCFLAGS		+= -g
> +BOOTAFLAGS		+= -g
> +endif

Please change it to use:
bootflags-y  := -Ttext 0x00400000 -e _start -T $(srctree)/$(src)/zImage.lds
bootflags-$(CONFIG_DEBUG_INFO) += -g

And same for BOOTAFLAGS.

	Sam

      reply	other threads:[~2005-03-14 20:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-14  3:23 Paul Mackerras
2005-03-14 20:22 ` Sam Ravnborg [this message]

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=20050314202218.GA17925@mars.ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=akpm@osdl.org \
    --cc=anton@samba.org \
    --cc=apw@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paulus@samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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

all inboxes | Powered by JetHome®