linux-mips
[Top] [All Lists]

Re: [PATCH 2.6] DEBUG_INFO, KGDB and etc...

To: Kevin Paul Herbert <kph@cisco.com>
Subject: Re: [PATCH 2.6] DEBUG_INFO, KGDB and etc...
From: Jun Sun <jsun@mvista.com>
Date: Thu, 15 Jan 2004 14:09:53 -0800
Cc: linux-mips@linux-mips.org, jsun@mvista.com
In-reply-to: <1074196652.24675.28.camel@shakedown>; from kph@cisco.com on Thu, Jan 15, 2004 at 11:57:35AM -0800
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20040115112201.E18368@mvista.com> <1074196652.24675.28.camel@shakedown>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.2.5i
On Thu, Jan 15, 2004 at 11:57:35AM -0800, Kevin Paul Herbert wrote:
> In the top level makefile, there is already:
> 
>       ifdef CONFIG_DEBUG_INFO
>       CFLAGS          += -g
>       endif
> 
> I don't see why you need to add it to arch/mips/Makefile. Your Kconfig
> changes seem fine though.
> 

That is right.  Thanks for catching this.

The original problem started when KGDB did not cause "-g" to be included.
I simply looked at 2.4 and cooked the patch.  

The corrected patch is attached.

Jun

Attachment: junk1
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>