public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* KGDB: automatic loading of modules in gdb
@ 2003-12-23 12:48 Amit S. Kale
  2003-12-24 17:32 ` Daniel Jacobowitz
  0 siblings, 1 reply; 3+ messages in thread
From: Amit S. Kale @ 2003-12-23 12:48 UTC (permalink / raw)
  To: linux-kernel

Hi,

I have integrated a couple of kgdb features from TimeSys Linux distribution.

1.  Automatic loading of module files in gdb:
A special version of gdb is provided with this feature. It can detect loading 
and unloading of modules in a kernel. Whenever a module is loaded, gdb loads 
the module object file and makes it available for debugging. loadmodule.sh 
script is no longer needed.

2. Better kernel stack traces:
Kernel stack traces stop at entry points into the kernel and few invalid stack 
frames appear in gdb kernel backtraces, if any.

These features are available in kgdb-1.9 at http://kgdb.sourceforge.net

-- 
Amit Kale
EmSysSoft (http://www.emsyssoft.com)
KGDB: Linux Kernel Source Level Debugger (http://kgdb.sourceforge.net)


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: KGDB: automatic loading of modules in gdb
  2003-12-23 12:48 KGDB: automatic loading of modules in gdb Amit S. Kale
@ 2003-12-24 17:32 ` Daniel Jacobowitz
  2003-12-25 14:59   ` Amit S. Kale
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Jacobowitz @ 2003-12-24 17:32 UTC (permalink / raw)
  To: Amit S. Kale; +Cc: linux-kernel

On Tue, Dec 23, 2003 at 06:18:02PM +0530, Amit S. Kale wrote:
> Hi,
> 
> I have integrated a couple of kgdb features from TimeSys Linux distribution.
> 
> 1.  Automatic loading of module files in gdb:
> A special version of gdb is provided with this feature. It can detect loading 
> and unloading of modules in a kernel. Whenever a module is loaded, gdb loads 
> the module object file and makes it available for debugging. loadmodule.sh 
> script is no longer needed.

Have you or TimeSys, oh, I don't know, considered sending information
about this feature to the GDB developers so that KGDB does not require
a custom version of the GDB client?

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: KGDB: automatic loading of modules in gdb
  2003-12-24 17:32 ` Daniel Jacobowitz
@ 2003-12-25 14:59   ` Amit S. Kale
  0 siblings, 0 replies; 3+ messages in thread
From: Amit S. Kale @ 2003-12-25 14:59 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: linux-kernel

I am going to be sending these patches to gdb developers also for 
review/feedback. I'll work on this feature myself for gdb.

On Wednesday 24 Dec 2003 11:02 pm, Daniel Jacobowitz wrote:
> On Tue, Dec 23, 2003 at 06:18:02PM +0530, Amit S. Kale wrote:
> > Hi,
> >
> > I have integrated a couple of kgdb features from TimeSys Linux
> > distribution.
> >
> > 1.  Automatic loading of module files in gdb:
> > A special version of gdb is provided with this feature. It can detect
> > loading and unloading of modules in a kernel. Whenever a module is
> > loaded, gdb loads the module object file and makes it available for
> > debugging. loadmodule.sh script is no longer needed.
>
> Have you or TimeSys, oh, I don't know, considered sending information
> about this feature to the GDB developers so that KGDB does not require
> a custom version of the GDB client?

-- 
Amit Kale
EmSysSoft (http://www.emsyssoft.com)
KGDB: Linux Kernel Source Level Debugger (http://kgdb.sourceforge.net)


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-12-25 14:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-23 12:48 KGDB: automatic loading of modules in gdb Amit S. Kale
2003-12-24 17:32 ` Daniel Jacobowitz
2003-12-25 14:59   ` Amit S. Kale

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox