LinSysSoft Technologies Home | Contact Us | Careers | Site Map | Blog
Storage & Networking
Embedded Systems
Mobile Applications
Home > Products > KGDB
KDGB Patches:
| Back |

Current released kgdb version is 2.4 and gdbmod version is gdbmod-2.4.
Sources for GDB to used with development version of KGDB 2.4 for Linux 2.6 kernels fixed for Module debugging: gdb-6.4-kgdb-2.4.tar.bz2

Development versions of kgdb can be checked out from cvs tree, more information on it in CVS page.

Starting from version 2.0.1, kgdb patches are split into multiple patches. They are available from this site as tarballs. Each tarball contains a README file describing what each patch contains and a brief description of kernel building and booting process. The tarballs are named linux-A-kgdb-B.tar.bz2 where A is a kernel version and B is a kgdb version.

Names of kgdb patches prior to version 2.0 have following pattern: linux-A-kgdb-B.patch where A is a linux kernel version and B is a kgdb version. 

KGDB 2.3 (for i386,x86_64,ppc,arm,mips and ia64)
Patches for 2.6.13 kernel: linux-2.6.13-kgdb-2.3.tar.bz2

KGDB 2.0.1-2.0.5 (for i386 and x86_64), KGDB 2.1.0, 2.2 (for i386, ppc and x86_64)
These patches are present in directory kgdb-2.
Apply an x86_64 patch kit for kgdb versions upto 2.1.0 before applying kgdb patches to x86_64 kernels. These patchkits are available from ftp://ftp.x86-64.org/pub/linux-x86_64/v2.6

KGDB 2.0 (for i386 and x86_64 architectures)
The kgdb patch has been split into architecture specific patches and a common patch. You have to apply a common patch followed by an architecture specific patch to a kernel.
Patches for 2.6.0 kernel (2.6.0 + x86_64 patchkit in case of x86_64 architecture): common.patch i386.patch x86_64.patch

KGDB for uCLinux kernel 2.4.24
For SH4 (SH7751) , Hitachi BigSur IV Board linux-2.4.24-kgdb-SH4-BigSur.patch

KGDB 1.9 (for x86 and powerpc)
Patch for 2.4.23 kernel: linux-2.4.23-kgdb-1.9.patch 

KGDB 1.8 (for x86 and powerpc)
Patch for 2.4.23 kernel: linux-2.4.23-kgdb-1.8.patch 

KGDB 1.7
Patch for 2.4.23 kernel: linux-2.4.23-kgdb-1.7.patch

KGDB 1.6 (for x86 and x86_64)

Patch for x86_64 kernel 2.4.23: linux-2.4.23-kgdb-x86_64-1.6.patch
Patch for redhat 9.0 kernel: linux-2.4.20-6-kgdb-1.6.patch
Patch for redhat 8.0 kernel: linux-2.4.18-14-kgdb-1.6.patch
Patch for redhat 8.0 kernel (2.4.20-28.8): linux-2.4.20-28.8-1.6-patch

Patch for redhat kernel update 2.4.20-18.7: linux-2.4.20-18.7-kgdb-1.6.patch
Patch for redhat enterprise linux 3.0 kernel 2.4.21-pre1: linux-2.4.21-pre1-kgdb-1.6.patch
Patch for redhat kernel update 2.4.20-19.9: linux-2.4.20-19.9-kgdb-1.6.patch

KGDB 1.5:
Patch for 2.4.20 kernel: linux-2.4.20-kgdb-1.5.patch
Patch for redhat 7.3 kernel: linux-2.4.18-3-kgdb-1.5.patch
Patch for 2.4.18 kernel for i386 processor family: linux-2.4.18-kgdb-1.5.patch
Patch for 2.4.18 kernel for ARM Processor family 920T and Motorola MX1ADS Board: linux-2.4.18-kgdb-arm-mx1ads.patch
Patch for 2.4.16 kernel: linux-2.4.16-kgdb-1.5.patch
Patch for 2.4.10 kernel: linux-2.4.10-kgdb-1.5.patch
Patch for redhat 7.2 kernel: linux-2.4.7-10-kgdb-1.5.patch
Patch for 2.4.6 kernel: linux-2.4.6-kgdb-1.5.patch
Patch for redhat 7.1 kernel: linux-2.4.2-2-kgdb-1.5.patch


GDB
Sources for GDB to used with development version of KGDB 2.4 for Linux 2.6 kernels fixed for Module debugging: gdb-6.4-kgdb-2.4.tar.bz2
GDB-6.4-KGDB-2.4 sources built for Redhat 9.0 (binaries) are available for the following platforms :
For i386 platform : gdbmod-2.4.bz2
For x86_64 platform : x86_64-pc-linux-gdbmod-2.4.tar.bz2

Sources for GDB to used with development version of KGDB 2.3 for Linux 2.6 kernels fixed for Module debugging: gdb-6.3-kgdb-2.3.tar.bz2
GDB-6.3-KGDB-2.3 sources built for Redhat 9.0 (binaries) are available for the following platforms :
For i386 platform : gdbmod-2.3.bz2
For x86_64 platform : x86_64-pc-linux-gdbmod-2.3.bz2

Sources for GDB to used with development version of KGDB 2.2 for Linux 2.6 kernels fixed for Module debugging: gdb-6.0-kgdb-2.2.tar.bz2
GDB-6.0-KGDB-2.2 sources built for Redhat 9.0 (binaries) are available for the following platforms :
For i386 platform : gdbmod-2.2.bz2
For x86_64 platform : x86_64-pc-linux-gdbmod-2.2.bz2
Sources for GDB to used with development version of KGDB 2.0 to KGDB 2.1 for Linux 2.6 kernels: gdb-6.0-kgdb-2.1.tar.bz2
GDB-6.0-KGDB-2.1 sources built for Redhat 9.0 (binaries) are available for the following platforms :
For i386 platform : gdbmod.bz2
For x86_64 platform : x86_64-pc-linux-gdbmod.bz2

Sources for GDB to be used with KGDB 1.9: gdb-6.0-kgdb-1.9.tar.bz2
GDB-6.0-KGDB-1.9 sources built for Redhat 9.0 (binaries) are avialable for following platform :
For i386 platform : gdbmod-1.9.bz2
For x86_64: x86_64-pc-linux-gdbmod-1.9.bz2

GDB for s390 kernel debugging: gdbs390.bz2

GDB macros

Hardware debugging (for versions prior to 1.8) : hwdebugmacros
Process information macros: psmacros
Miscellaneous macros: miscmacros

Shell Scripts Loading a module for debugging (for versions prior to 1.9): loadmodule.sh
Loading into gdb a module object file (for versions prior to 1.9): getsyms.sh
Disassembling a function from an object file: disasfun.sh

KGDB patches, gdb source code and gdb scripts from this website are distributed under the terms and conditions of the GNU GENERAL PUBLIC LICENSE.

Related Links:
 
White Papers
Testimonials
 
Home | About Us | Privacy | Legal | Contact Us | Copyright 2004-2014. LinSysSoft Technologies Pvt. Ltd. All rights reserved.