[#4298] Confusing message from kgdb

Document created by Aaronwu Employee on Aug 29, 2013
Version 1Show Document
  • View in full screen mode

[#4298] Confusing message from kgdb

Submitted By: Jie Zhang

Open Date

2008-07-30 06:41:25     Close Date

2009-03-02 05:32:17

Priority:

Medium     Assignee:

Nobody

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2008R1.5-RC3     Release:

Category:

N/A     Board:

N/A

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

08r1

App binary format:

N/A     

Summary: Confusing message from kgdb

Details:

 

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.

 

Follow-ups

 

--- 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.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes