[#4298] Confusing message from kgdb
Submitted By: Jie Zhang
2008-07-30 06:41:25 Close Date
Closed Fixed In Release:
Found In Release:
ALL Silicon Revision:
Is this bug repeatable?:
Uboot version or rev.:
Toolchain version or rev.:
App binary format:
Summary: Confusing message from kgdb
When I played kgdb last time years ago, IIRC kernel with kgdb patch would print out
Waiting for connection from remote gdb...
when it booted. But today it does not print out it when it boots. Instead, it prints it out when gdb connects to it.
--- Sonic Zhang 2008-07-30 23:08:34
Not a bug. If you choose debug over UART, you will find this menu option.
Debugging over ethernet doesn't support early connection.
--- Mike Frysinger 2008-07-30 23:20:47
i dont follow ... if you choose "debug over ethernet", then why do you
get that "waiting for connection from remote gdb..." message ? ive
seen this before as well, i just ignored it
--- Sonic Zhang 2008-07-30 23:31:32
That's a messaging when the first kgdb trap is entered. In UART mode, kgdb code
can trigger this trap at the very beginning.
--- Jie Zhang 2008-07-31 00:07:23
I don't think this is related to UART mode. I saw the message when I was using
KGDB over ethernet. I think this message should appear on console before gdb
connects, but currently it appears when gdb connects. It's not a serious bug.
But it really confused me when I started playing KGDB, gave me perception that
gdb didn't connect to KGDB correctly.
--- Sonic Zhang 2008-07-31 00:16:19
That's because in former kgdb patch, this option is also enabled for ethernet.
But, since the IP address is configured very late when kernel boot, this
meaningless early debugging trap was then disabled for ethernet.
File Name File Type File Size Posted By
No Files Were Found