This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: RMT ERROR : failed to get remote thread list


If I understand good, I must to compile gdbserver for my target ARM9,
and place it and start it on my embedded board ?
Does exist some tutorial for this ?

Peter 


-----Original Message-----
From: Daniel Jacobowitz [mailto:drow@false.org] 
Sent: Wednesday, September 19, 2007 4:28 PM
To: Peter Skvarka
Cc: gdb@sourceware.org
Subject: Re: RMT ERROR : failed to get remote thread list

On Wed, Sep 19, 2007 at 04:22:59PM +0200, Peter Skvarka wrote:
> I need to run "info threads" dgb command to see address of text 
> section for some running executable.
> Does not exist some other way how to determine address of text section 
> of loaded executable ?
> "info threads" is in gdb only way I know, but I dont know gdb very good. 

Again, you can not debug Linux userspace programs by using OpenOCD and JTAG.
You need to use the gdbserver program.  When you connect to your board using
OpenOCD, you can only debug the kernel and you won't see a threads list.

--
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]