kgdb
[Top] [All Lists]

[no subject]

To: kgdb@xxxxxxxxxxx
From: sfoehner@xxxxxxxxxxxxxxxxxxx (Scott Foehner)
Date: Wed, 22 Nov 2000 11:03:38 -0800 (PST)
In-reply-to: Timur Tabi <ttabi@interactivesi.com> "" (Nov 22, 10:45am)
References: <20001122164516Z553691-492+1038@oss.sgi.com>
Sender: owner-kgdb@xxxxxxxxxxx
You need to use the appropriate -p level, in this case -p2.  Or you could apply
the patch at a directory one level higher and use -p1.

You are right, in that the README says you should do "something like:
   cd /usr/src/linux
   patch -p0 < /usr/tmp/kgdb0.2-2.2.12"

I made the assumption that people in the Linux community would be familiar
enough with patch to adjust the -p option accordingly.  I apologize and will
not
make this assumption in the future.

Scott

On Nov 22, 10:45am, Timur Tabi wrote:
> Subject:
> I'm trying to install the kGDB patch for 2.2.16, and I got this error
message:
>
> [root@two linux-2.2.16-debug]# patch -p0 < kgdb_2.2.16.diff
>
> patching file `2.2.16/linux/Documentation/gdb.txt'
> can't find file to patch at input line 25
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |diff -Naur 2.2.16/linux/Makefile kgdb-2.2.16/linux/Makefile
> |--- 2.2.16/linux/Makefile      Wed Jun  7 14:26:42 2000
> |+++ kgdb-2.2.16/linux/Makefile Thu Oct 26 17:28:44 2000
> --------------------------
> File to patch:
>
> Looking at the .diff file, I see there are references to specific directory
> names.  This completely contradicts the instructions in the README.  Could
> someone please tell me:
>
> 1. How to fix this
> 2. Why the instructions are so obviously wrong
>
> Thanks!

-- 
Scott Foehner                   SGI
sfoehner@xxxxxxxxxxxx           Computer Systems Business Unit
650-933-3473                    Core OS

<Prev in Thread] Current Thread [Next in Thread>
  • [no subject], Timur Tabi
    • Message not available
      • [no subject], Scott Foehner <=