Re: patching kgdb to linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux