From: "Amit S. Kale" <amitkale@emsyssoft.com>
To: Pavel Machek <pavel@ucw.cz>,
kernel list <linux-kernel@vger.kernel.org>,
Tom Rini <trini@kernel.crashing.org>
Cc: KGDB bugreports <kgdb-bugreport@lists.sourceforge.net>
Subject: Re: kgdb: rename i386-stub.c to kgdb.c
Date: Wed, 25 Feb 2004 13:03:50 +0530 [thread overview]
Message-ID: <200402251303.50102.amitkale@emsyssoft.com> (raw)
In-Reply-To: <20040224130650.GA9012@elf.ucw.cz>
On Tuesday 24 Feb 2004 6:36 pm, Pavel Machek wrote:
> Hi!
>
> kgdb uses really confusing names for arch-dependend parts. This fixes
> it. Okay to commit?
Why is arch/$x/kernel/$x-stub.c confusing? The name $x-stub.c is indicative of
architecture dependent code in it. Err, well so is the path.
PPC and sparc stubs in present vanilla kernel use this naming convention.
That's why I adopted it.
I find kernel/kgdbstub.c, arch/$x/kernel/$x-stub.c more consistent compared to
kernel/kgdbstub.c, arch/$x/kernel/kgdb.c
-Amit
> Pavel
>
> ? big.diff
> ? big.patch
> ? patchit
> Index: core-lite.patch
> ===================================================================
> RCS file: /cvsroot/kgdb/kgdb-2/core-lite.patch,v
> retrieving revision 1.3
> diff -u -u -r1.3 core-lite.patch
> --- core-lite.patch 23 Feb 2004 21:48:55 -0000 1.3
> +++ core-lite.patch 24 Feb 2004 12:58:08 -0000
> @@ -209,8 +209,8 @@
> do_basic_setup();
>
> prepare_namespace();
> ---- clean.2.5/kernel/kgdbstub.c 2004-02-17 11:38:39.000000000 +0100
> -+++ linux-mm/kernel/kgdbstub.c 2004-02-22 21:49:11.000000000 +0100
> +--- clean.2.5/kernel/kgdb.c 2004-02-17 11:38:39.000000000 +0100
> ++++ linux-mm/kernel/kgdb.c 2004-02-22 21:49:11.000000000 +0100
> @@ -0,0 +1,1268 @@
> +/*
> + * This program is free software; you can redistribute it and/or modify
> it @@ -1488,7 +1488,7 @@
> obj-$(CONFIG_COMPAT) += compat.o
> obj-$(CONFIG_IKCONFIG) += configs.o
> obj-$(CONFIG_IKCONFIG_PROC) += configs.o
> -+obj-$(CONFIG_KGDB) += kgdbstub.o
> ++obj-$(CONFIG_KGDB) += kgdb.o
>
> ifneq ($(CONFIG_IA64),y)
> # According to Alan Modra <alan@linuxcare.com.au>, the
> -fno-omit-frame-pointer is Index: i386-lite.patch
> ===================================================================
> RCS file: /cvsroot/kgdb/kgdb-2/i386-lite.patch,v
> retrieving revision 1.2
> diff -u -u -r1.2 i386-lite.patch
> --- i386-lite.patch 23 Feb 2004 21:48:55 -0000 1.2
> +++ i386-lite.patch 24 Feb 2004 12:58:45 -0000
> @@ -23,8 +23,8 @@
> config FRAME_POINTER
> bool "Compile the kernel with frame pointers"
> help
> ---- clean.2.5/arch/i386/kernel/i386-stub.c 2004-02-17 11:39:06.000000000
> +0100 -+++ linux-mm/arch/i386/kernel/i386-stub.c 2004-02-22
> 21:42:55.000000000 +0100 +--- clean.2.5/arch/i386/kernel/kgdb.c 2004-02-17
> 11:39:06.000000000 +0100 ++++ linux-mm/arch/i386/kernel/kgdb.c 2004-02-22
> 21:42:55.000000000 +0100 @@ -0,0 +1,373 @@
> +/*
> + *
> @@ -407,7 +407,7 @@
> obj-$(CONFIG_ACPI_SRAT) += srat.o
> obj-$(CONFIG_HPET_TIMER) += time_hpet.o
> obj-$(CONFIG_EFI) += efi.o efi_stub.o
> -+obj-$(CONFIG_KGDB) += i386-stub.o
> ++obj-$(CONFIG_KGDB) += kgdb.o
>
> EXTRA_AFLAGS := -traditional
>
> Index: x86_64.patch
> ===================================================================
> RCS file: /cvsroot/kgdb/kgdb-2/x86_64.patch,v
> retrieving revision 1.2
> diff -u -u -r1.2 x86_64.patch
> --- x86_64.patch 19 Feb 2004 08:52:25 -0000 1.2
> +++ x86_64.patch 24 Feb 2004 12:58:50 -0000
> @@ -119,7 +119,7 @@
> obj-$(CONFIG_DUMMY_IOMMU) += pci-nommu.o pci-dma.o
>
> obj-$(CONFIG_MODULES) += module.o
> -+obj-$(CONFIG_KGDB) += x86_64-stub.o
> ++obj-$(CONFIG_KGDB) += kgdb.o
>
> obj-y += topology.o
>
> @@ -208,10 +208,10 @@
> notify_die(DIE_DEBUG, "debug", regs, error_code, 1, SIGTRAP);
> return;
>
> -Index: linux-2.6.3-kgdb/arch/x86_64/kernel/x86_64-stub.c
> +Index: linux-2.6.3-kgdb/arch/x86_64/kernel/kgdb.c
> ===================================================================
> ---- linux-2.6.3-kgdb.orig/arch/x86_64/kernel/x86_64-stub.c 2003-01-30
> 15:54:37.000000000 +0530 -+++
> linux-2.6.3-kgdb/arch/x86_64/kernel/x86_64-stub.c 2004-02-19
> 14:09:24.234743240 +0530 +---
> linux-2.6.3-kgdb.orig/arch/x86_64/kernel/kgdb.c 2003-01-30
> 15:54:37.000000000 +0530 ++++
> linux-2.6.3-kgdb/arch/x86_64/kernel/kgdb.c 2004-02-19 14:09:24.234743240
> +0530 @@ -0,0 +1,454 @@
> +/*
> + *
next prev parent reply other threads:[~2004-02-25 7:36 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-24 13:06 kgdb: rename i386-stub.c to kgdb.c Pavel Machek
2004-02-25 7:33 ` Amit S. Kale [this message]
2004-02-25 10:37 ` Pavel Machek
2004-02-25 10:59 ` Amit S. Kale
2004-02-25 11:10 ` Pavel Machek
2004-02-25 11:23 ` Amit S. Kale
2004-02-25 21:17 ` [Kgdb-bugreport] " George Anzinger
2004-02-25 21:25 ` Pavel Machek
2004-02-25 21:28 ` Tom Rini
2004-02-25 22:31 ` George Anzinger
2004-02-26 4:24 ` Daniel Jacobowitz
2004-02-26 23:07 ` George Anzinger
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=200402251303.50102.amitkale@emsyssoft.com \
--to=amitkale@emsyssoft.com \
--cc=kgdb-bugreport@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@ucw.cz \
--cc=trini@kernel.crashing.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.