LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   normal gdb and spec gdb for kgdb (https://www.linuxquestions.org/questions/programming-9/normal-gdb-and-spec-gdb-for-kgdb-366039/)

Igor007 09-22-2005 04:21 PM

normal gdb and spec gdb for kgdb
 
Hi Guys

I am about to debug Kernel with kgdb

According to the documentation

http://kgdb.linsyssoft.com/modreq.htm

I need special version of gdb

How can I install it???

Should I uninstall current gdb and how???

Can I have both???
If I can:

Will they conflict???

How can I distinguish between them?
Does the special version of gdb have all functionality of normal kgdb???

Mara 09-23-2005 05:15 PM

Re: normal gdb and spec gdb for kgdb
 
Quote:

Originally posted by Igor007
How can I install it???
Get the sources. Then standard install ./configure, make, make install. Note that it's a good idea to keep it in a special directory (like in /usr/local/bin) - more below.

Quote:

Should I uninstall current gdb and how???
Don't uninstall. Kdbg latest version is experimental, so it's a better idea to use standard version for other programs.

Quote:

Can I have both???
If I can:
Will they conflict???
How can I distinguish between them?
You can have both. They need to be installed into separate directories. Then, if you want to run the new one (let's say it's in /usr/local/bin) you need to run it with full patch instead of using only program name. It's a good idea to have scripts written for debugging your kernel, so you don't have to think about which version to run.

Quote:

Does the special version of gdb have all functionality of normal kgdb???
Which special version of gdb?


All times are GMT -5. The time now is 03:29 PM.