Re: Anyone use kgdb for kernel "development"

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

 



>  Ravi,   Thanks for the reply.  The patch apply didn't go
> cleanly.
> Because this is first time I use kgdb and patch, I am
> wondering you may
> point out what is the problem and how to fix these?

 Can't make out much from the output of patch, other than
the fact that there were many failures. Many files have to
be patched by hand now.
In case of failures, patch keeps a copy of the original
file (with a .orig extension) and saves the rejected patch
in a file with .rej extension. If you send all the
partially patched files, reject files and the original
files, I might be able to fix them. (Guess it's better
to send the files to me privately, not to the list).

When applying a patch, I use the '-b' option so that
original files are saved even if the patch applies cleanly.

> patching file arch/i386/config.in
> Hunk #1 FAILED at 381.
> 1 out of 1 hunk FAILED -- saving rejects to file
> arch/i386/config.in.rej
 
That explains why you didn't find the remote debugger
config option. config.in didn't get patched at all.

-Ravi.


__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux