Wind River Support Network

HomeDefectsLIN6-8400
Fixed

LIN6-8400 : When executing kgdboc, pressing 'ctrl+c' in console can not stop 'continue' in gdb

Created: Sep 10, 2014    Updated: Dec 3, 2018
Resolved Date: Sep 11, 2014
Found In Version: 6.0
Fix Version: 6.0.0.12
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: BSP - Async

Description

When executing kgdboc, pressing 'ctrl+c' in console  can not stop 'continue' in gdb. A similar defect: http://jira.wrs.com/browse/LIN5-7612.

Host Logs:
============================
xxxx@pek-lpgtest13:/buildarea2/x_std_std_bts_new/build/bts/testcases/kgdboc$  /buildarea2/x_std_std_bts_new/bitbake_build/tmp/sysroots/x86_64-linux/usr/bin/armv7a-vfp-neon-wrs-linux-gnueabi/arm-wrs-linux-gnueabi-gdb /buildarea2/x_std_std_bts_new/build/linux-windriver/linux-xilinx-zynq-standard-build/vmlinux
GNU gdb (Wind River Linux Sourcery CodeBench 4.8-34) 7.6
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-wrs-linux-gnueabi".
For bug reporting instructions, please see:
<support@windriver.com>...
Reading symbols from /buildarea2/x_std_std_bts_new/bitbake_build/tmp/work/xilinx_zynq-wrs-linux-gnueabi/linux-windriver/3.10-r0/linux-xilinx-zynq-standard-build/vmlinux...done.
(gdb) target remote 128.224.162.136:4441
Remote debugging using 128.224.162.136:4441
Malformed response to offset query, qOffsets
(gdb) target remote 128.224.162.136:4441
Remote debugging using 128.224.162.136:4441
kgdb_breakpoint () at /buildarea2/x_std_std_bts_new/bitbake_build/tmp/work/xilinx_zynq-wrs-linux-gnueabi/linux-windriver/3.10-r0/linux/kernel/debug/debug_core.c:1019
1019		arch_kgdb_breakpoint();
(gdb) c
Continuing.
^C
Program received signal SIGTRAP, Trace/breakpoint trap.
kgdb_breakpoint () at /buildarea2/x_std_std_bts_new/bitbake_build/tmp/work/xilinx_zynq-wrs-linux-gnueabi/linux-windriver/3.10-r0/linux/kernel/debug/debug_core.c:1019
1019		arch_kgdb_breakpoint();
(gdb) c
Continuing.
      ------------> pressing 'ctrl+c' in console  can not stop 'continue' and return gdb.


Console logs:
============================
Wind River Linux 6.0.0.0 localhost console

localhost login: root
Password: 
root@localhost:~# echo "ttyPS0,115200" > /sys/module/kgdboc/parameters/kgdboc
kgdb: Registered I/O driver kgdboc.
root@localhost:~# SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) debug(g) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) force-fb(V) show-blocked-tasks(w) dump-ftrace-buffer(z) 
ttyPS0: 1 input overrun(s)
ssocInsn+#2a+$Hg0#df++$?#3f+$Hc-1#09+$qC#b4+$qAttached#8f+$qOffsets#4b+SysRq : DEBUG

Entering kdb (current=0x80936748, pid 0) on processor 0 due to Keyboard Entry
[0]kdb> +$#00+$OK#9a+$S05#b8+$OK#9a+$QCfffffffe#c3+$#00+$#00+$0200010093010da018bd928044e9018040beae8048beae80b823938093010d206700000001000000000000005cbd928018bd928040bd92805c4565804cbe088000000000000000000000000000000000000000000000000000000000000000000000000000000000#56+$ffdeffe7#fd+$33ff2fe1#60+$ffdeffe7#fd+$33ff2fe1#60+$ffdeffe7#fd+$33ff2fe1#60+$ffdeffe7#fd+$33ff2fe1#60+$ffdeffe7#fd+$ffdeffe7#fd+$ffdeffe7#fd+$01000000f0459480a8969380070000006cbd928060bd928008bf088004be088094bd928070bd92806c913880bcbe088067000000000100006700000000000000#37+$#00+$#00+$#00+$#00+$OK#9a+SysRq : DEBUG
$T05thread:fffffffe;#d5+$0200010093010da018bd928044e9018040beae8048beae80b823938093010d206700000001000000000000005cbd928018bd928040bd92805c4565804cbe088000000000000000000000000000000000000000000000000000000000000000000000000000000000#56+$ffdeffe7#fd+$33ff2fe1#60+$ffdeffe7#fd+$33ff2fe1#60+$ffdeffe7#fd+$33ff2fe1#60+$ffdeffe7#fd+$33ff2fe1#60+$ffdeffe7#fd+$ffdeffe7#fd+$ffdeffe7#fd+$01000000f0459480a8969380070000006cbd928060bd928008bf088004be088094bd928070bd92806c913880bcbe088067000000000100006700000000000000#37+$#00+
-sh: :multiprocess+: command not found
-sh: qRelocInsn+#2a:multiprocessocInsn+#2a+#df++127#3f+-1#09+#b4+#8f+#4b+: command not found
root@localhost:~# 
root@localhost:~# 
root@localhost:~# ^C
root@localhost:~# ^C
root@localhost:~# ^C
root@localhost:~# ^C
root@localhost:~#

Other Downloads


Live chat
Online