public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* problen with gdbserver
@ 2002-07-08 23:32 rajendra.sisodia
  2002-07-09  8:33 ` Daniel Jacobowitz
  0 siblings, 1 reply; 2+ messages in thread
From: rajendra.sisodia @ 2002-07-08 23:32 UTC (permalink / raw)
  To: gdb


I am facing problem in doing remote debugging using gdb. When I run gdbserver at the target, it is not waiting for the host to connect.

for example when I run

target> gdbserver host:port binaryFile

I am getting gdb prompt directly.

at host
when I run gdb and give the following command
host> remote target target:port

I am getting the message
" target:port success"



Is there any problem in gdbserver or I am using different binary for gdbserver. Please give me some pointer regarding this (how adn where to get gdbserver binary). I have read the gdb manual and doing exactly what is written there.

I am using gdb and gdbserver version 5.0.

Can any one help me by replying where exactly is the problem.

Thanks in advance.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: problen with gdbserver
  2002-07-08 23:32 problen with gdbserver rajendra.sisodia
@ 2002-07-09  8:33 ` Daniel Jacobowitz
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2002-07-09  8:33 UTC (permalink / raw)
  To: rajendra.sisodia; +Cc: gdb

On Tue, Jul 09, 2002 at 07:30:20AM +0100, rajendra.sisodia@philips.com wrote:
> 
> I am facing problem in doing remote debugging using gdb. When I run gdbserver at the target, it is not waiting for the host to connect.
> 
> for example when I run
> 
> target> gdbserver host:port binaryFile
> 
> I am getting gdb prompt directly.

Then you don't have any normal gdbserver installed.  Please download
the source (see http://sources.redhat.com/gdb/) and build a cross-gdb
from that.  You can build gdbserver following the instructions in
gdb/gdbserver/README.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-07-09 15:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-08 23:32 problen with gdbserver rajendra.sisodia
2002-07-09  8:33 ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).