From: "Randy.Dunlap" <rdunlap@xenotime.net>
To: anup badhe <anup_223@yahoo.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: patching kgdb to linux
Date: Sat, 24 Sep 2005 22:11:43 -0700 [thread overview]
Message-ID: <20050924221143.73481ea8.rdunlap@xenotime.net> (raw)
In-Reply-To: <20050925035539.93945.qmail@web52407.mail.yahoo.com>
On Sat, 24 Sep 2005 20:55:39 -0700 (PDT) anup badhe wrote:
> i am trying to debug the linux kernel 2.6.10 using
> kgdb.i have downloaded the kgdb patch 2.6.10-mm2.bz2.
> after bunzip2 it gives me the file 2.6.10-mm2.
>
> problem:
> 1- which type of file is this?
It's a diff; apply it using 'patch'.
> 2- what patch command should i use(the options) so
> that i can patch it to linux 2.6.10.?
> 3-i have used the following command and it gives me
> some errors:
>
> root@localhost root]# patch -p1 <2.6.10-mm2
> can't find file to patch at input line 3
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this
> was:--------------------------|---
> linux-2.6.10/arch/alpha/defconfig 2004-10-18
> 16:55:19.000000000 -0700
> |+++ 25/arch/alpha/defconfig 2005-01-05
> 23:22:42.000000000 -0800
> --------------------------
> File to patch:
$ cd linux-2.6.10
$ patch -p1 -b < /path/to/2.6.10-mm2 # wherever you put it
$ make *config
---
~Randy
You can't do anything without having to do something else first.
-- Belefant's Law
next prev parent reply other threads:[~2005-09-25 5:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-25 3:55 anup badhe
2005-09-25 5:11 ` Randy.Dunlap [this message]
2005-09-25 7:41 ` Sam Ravnborg
2005-09-25 9:14 ` Fawad Lateef
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=20050924221143.73481ea8.rdunlap@xenotime.net \
--to=rdunlap@xenotime.net \
--cc=anup_223@yahoo.com \
--cc=linux-kernel@vger.kernel.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®