Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-debug-dev] info thread failure

Hi,

 

Thanks Yoni!

 

I can use gdb from the cygwin command line when cross debugging my MIPS target over the serial port.

But when I type “info threads” in the gdb command line, the same message is appeared as “Warning: RMT ERROR: failed to get remote thread list”. Other than that, I still can do other things.

 

My gdb- insight 6.1 for mips target

Gcc- gcc 3.3  for mips target

Newlib 1.12.0

Eclipse: 3.01

CDT:2.02

My target is mips4kc core.

 

My helloworld is just a single thread program.

 

In the CDT, there must have code to call “info threads” when the debugger is loading. I hardly trace the code because it is very slow when remote serial debug.

I tried the simulation, “info threads” has no output, but at least I think it is ok.

 

How could I get rid of the “Warning: RMT ERROR: failed to get remote thread list” and let CDT won’t hang.

 

Appreciated,

 

Julie

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

-----Original Message-----
From: Yoni Rabinovitch [mailto:Yoni.Rabinovich@xxxxxxxxxxxxxxxxxxxxx]
Sent: Tuesday, December 07, 2004 2:04 AM
To: cdt-debug-dev@xxxxxxxxxxx
Cc: Julie Tao
Subject: RE: [cdt-debug-dev] info thread failure

 

Julie -

 

  Does gdb work for you from the command-line when cross debugging your MIPS target over the Serial port ?

What versions of gcc and gdb are you using, and how did you configure them ? 

You may want to look at   https://bugs.eclipse.org/bugs/show_bug.cgi?id=79969 to see if that rings any bells.

 

 - Yoni

-----Original Message-----
From: cdt-debug-dev-admin@xxxxxxxxxxx [mailto:cdt-debug-dev-admin@xxxxxxxxxxx]On Behalf Of Julie Tao
Sent: Monday, December 06, 2004 7:57 PM
To: cdt-debug-dev@xxxxxxxxxxx
Subject: [cdt-debug-dev] info thread failure

Hi,

 

I built a helloworld using mipsisa32-elf compiler, and try to debug it in the eclipse 3.01 and CDT 2.02.

 

I used the gdb server debugger, and my pc’s serial port is connected to the target’s serial port, the target has monitor which has remote gdb stub.

 

In the gdb.ini file:

 

set remotebaud 38400

target remote /dev/com1

load

 

After I pressed “Debug”, I got the messages from the console:

 

Info threads

 

Warning: RMT ERROR: failed to get remote thread list

 

Quit

 

It seems failure because of “info threads”, how could I let CDT not call “info threads”?

 

Your help is much appreciated!

 

Julie

 


Back to the top