Skip to contentSkip to conversation

status of gdb with recent linuxppc devel kernel for 405GP

DISCUSSION Matthias Fuchs 3 participants 3 messages Oct 8, 2001

lore
Share & tools
lore
#0 lore raw

Hi,

is it currently possible to use gdb with the recent devel version of the 405GP kernel ?
It seems not, am I right ?

Some weeks ago somebody send me a patch for the old 2.4.2 kernel to get gdb working. Is this checked in already ?

Matthias

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 12 lines · Matthias Fuchs

Hi,

is it currently possible to use gdb with the recent devel version of the 405GP kernel ?
It seems not, am I right ?

Some weeks ago somebody send me a patch for the old 2.4.2 kernel to get gdb working. Is this checked in already ?

Matthias

You are right, it does not. It's something I am working on.

-- armin

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#2 lore raw
In reply to Matthias Fuchs
Quoted 3 lines · Matthias Fuchs

is it currently possible to use gdb with the recent devel version of the 405GP kernel ?
It seems not, am I right ?

There were some issues with context switching the debug registers that I didn't sort out when I pushed the recent changes. I believe I just received, or will soon receive, a patch from Armin that will correct this.

Quoted 2 lines

Some weeks ago somebody send me a patch for the old 2.4.2 kernel to get gdb working. Is this checked in already ?

I don't believe that will work in the latest kernel. All of the recent updates I have made came from the HHL 2.0 release, which is based on a 2.4.2 kernel. The gdb support is certainly working there, and if it would have merged without changes, it would also be in the latest tree.

Thanks.

	-- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/