Hi,
Add poll_get_char and poll_put_char for kdb. Enable kdb at boot
with:
Did you mean ...for kgdb. Enable kgdb at boot.. ?
I thought kdb and kgdb shared some infrastructure now, but your patch
and comments seem to be all about kgdb.
No I do mean kdb :) From the Documentation:
Add poll_get_char and poll_put_char for kdb. Enable kdb at boot with:
kgdboc=hvc0
or at runtime with:
echo hvc0 /sys/module/kgdboc/parameters/kgdboc
Signed-off-by: Anton Blanchard an...@samba.org
---
A couple of things:
- I needed to enable CONFIG_KGDB_SERIAL_CONSOLE in order to
enable
Hello,
I don't know if it is the right place to ask this question. Who knows how to
setup Linux kernel source level debug with NET20DC USB EHCI?
I got the information from the paper State_Of_kernel_debugging_LinuxCon2010.pdf
by Jason Wessel. But I could not get the more information about the
Hi,
Can I use the same port for both kgdb and console ?
Regards,
shaiju
--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect
On Wed, Jul 13, 2011 at 1:44 AM, Anton Blanchard an...@samba.org wrote:
Add poll_get_char and poll_put_char for kdb. Enable kdb at boot with:
Did you mean ...for kgdb. Enable kgdb at boot.. ?
I thought kdb and kgdb shared some infrastructure now, but your patch
and comments seem to be all
The BTARGS and BTSYMARG variables do not have any function in the
mainline version of kdb.
Reported-by: Tim Bird tim.b...@am.sony.com
Signed-off-by: Jason Wessel jason.wes...@windriver.com
---
kernel/debug/kdb/kdb_bt.c |5 ++---
kernel/debug/kdb/kdb_cmds |4
Linus, please pull the for_linus branch to pick up the minor kgdb/kdb
cleanups accumulated in the last few months.
git://git.kernel.org/pub/scm/linux/kernel/git/jwessel/linux-2.6-kgdb.git
for_linus
Thanks,
Jason.
---
The following changes since commit 02f8c6aee8df3cdc935e9bdd4f2d020306035dbe:
When switching from kdb mode to kgdb mode packets were getting lost
depending on the size of the fifo queue of the serial chip. When gdb
initially connects if it is in kdb mode it should entirely send any
character buffer over to the gdbstub when switching connections.
Previously kdb was
The first packet that gdb sends when the kernel is in kdb mode seems
to change with every release of gdb. Instead of continuing to add
many different gdb packets, change kdb to automatically look for any
thing that looks like a gdb packet.
Example 1 cold start test:
echo g /proc/sysrq-trigger
The DOING_KGDB2 was originally a state variable for one of the two
ways to automatically transition from kdb to kgdb. Purge all these
variables and just use one single state for the transition.
Signed-off-by: Jason Wessel jason.wes...@windriver.com
---
kernel/debug/kdb/kdb_debugger.c |4
You can try the agent-proxy, it is maintained by Jason too,
git clone git://git.kernel.org/pub/scm/utils/kernel/kgdb/agent-proxy.git
Readme:
http://git.kernel.org/?p=utils/kernel/kgdb/agent-proxy.git;a=blob;f=README.TXT;h=07fa7f00949017652f7bbc645bdfa2948a8f0262;hb=HEAD
Example:
11 matches
Mail list logo