linux-mips
[Top] [All Lists]

Re: [PATCH] add CONFIG_DEBUG_INFO

To: "Kip Walker" <kwalker@broadcom.com>
Subject: Re: [PATCH] add CONFIG_DEBUG_INFO
From: Juan Quintela <quintela@mandrakesoft.com>
Date: Mon, 03 Mar 2003 20:50:28 +0100
Cc: linux-mips@linux-mips.org, "Ralf Baechle" <ralf@linux-mips.org>
In-reply-to: <3E63B047.D3BA2A2C@broadcom.com> ("Kip Walker"'s message of "Mon, 03 Mar 2003 11:43:03 -0800")
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20030220113404.E7466@mvista.com> <3E63B047.D3BA2A2C@broadcom.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2.93
>>>>> "kip" == Kip Walker <kwalker@broadcom.com> writes:

Hi

kip> KipIndex: arch/mips/config-shared.in
kip> ===================================================================
kip> RCS file: /home/cvs/linux/arch/mips/Attic/config-shared.in,v
kip> retrieving revision 1.1.2.48
kip> diff -u -r1.1.2.48 config-shared.in
kip> --- arch/mips/config-shared.in     26 Feb 2003 21:14:23 -0000      1.1.2.48
kip> +++ arch/mips/config-shared.in     3 Mar 2003 19:41:11 -0000
kip> @@ -976,6 +976,7 @@
 
kip> bool 'Are you using a crosscompiler' CONFIG_CROSSCOMPILE
kip> bool 'Enable run-time debugging' CONFIG_RUNTIME_DEBUG
kip> +bool 'Debugging symbols' CONFIG_DEBUG_INFO
kip> bool 'Remote GDB kernel debugging' CONFIG_KGDB
kip> dep_bool '  Console output to GDB' CONFIG_GDB_CONSOLE $CONFIG_KGDB
kip> if [ "$CONFIG_SIBYTE_SB1xxx_SOC" = "y" ]; then

Once there, doing something like:

bool 'Remote GDB kernel debugging' CONFIG_KGDB
if [ "$CONFIG_KGDB" = "y" ]; then
   define_bool CONFIG_DEBUG_INFO n
else
   bool 'Debugging symbols' CONFIG_DEBUG_INFO
fi

And you can use single ifdefs in Makefiles?

Later, Juan.

-- 
In theory, practice and theory are the same, but in practice they 
are different -- Larry McVoy

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