linux-mips
[Top] [All Lists]

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

To: Jun Sun <jsun@mvista.com>
Subject: Re: [PATCH 2.6] DEBUG_INFO, KGDB and etc...
From: Kevin Paul Herbert <kph@cisco.com>
Date: 15 Jan 2004 11:57:35 -0800
Cc: linux-mips@linux-mips.org
In-reply-to: <20040115112201.E18368@mvista.com>
Organization: cisco Systems, Inc.
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20040115112201.E18368@mvista.com>
Sender: linux-mips-bounce@linux-mips.org
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.

Kevin

On Thu, 2004-01-15 at 11:22, Jun Sun wrote:
> This patch adds the missing "-g" gcc option when kgdb is configure.
> Clean up some debugging related options (DEBUG_INFO really should
> go under KGDB and depends its not being selected)
> 
> If no objection, will check it in later.
> 
> And yes, the good news is that kgdb works in 2.6.
> 
> Jun
-- 
Kevin Paul Herbert <kph@cisco.com>
cisco Systems, Inc.


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