public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* gdbserver
@ 2003-05-30  8:17 Raja Saleru
  2003-05-30 14:27 ` gdbserver Daniel Jacobowitz
  0 siblings, 1 reply; 8+ messages in thread
From: Raja Saleru @ 2003-05-30  8:17 UTC (permalink / raw)
  To: gdb


Hi,
Is it possible to compile gdbserver as Linix OS independent ?
regards
raja

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

* Re: gdbserver
  2003-05-30  8:17 gdbserver Raja Saleru
@ 2003-05-30 14:27 ` Daniel Jacobowitz
  0 siblings, 0 replies; 8+ messages in thread
From: Daniel Jacobowitz @ 2003-05-30 14:27 UTC (permalink / raw)
  To: Raja Saleru; +Cc: gdb

On Fri, May 30, 2003 at 05:17:24PM +0900, Raja Saleru wrote:
> 
> Hi,
> Is it possible to compile gdbserver as Linix OS independent ?
> regards
> raja

No, right now gdbserver only supports GNU/Linux.  If you have a
different OS you'll need to find or write a stub elsewhere.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

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

* Re: gdbserver
  2002-07-21 21:36   ` gdbserver Vinayak P Risbud
@ 2002-07-22  5:58     ` Mark Salter
  0 siblings, 0 replies; 8+ messages in thread
From: Mark Salter @ 2002-07-22  5:58 UTC (permalink / raw)
  To: vinayak; +Cc: gdb

>>>>> Vinayak P Risbud writes:

>             Thanks for your response,
>             I want to debug, my target remotely through
>             TCP/IP link.  The BootCode I have is Redboot,
>             and I am able to ping the target over LAN.

>             How can I do this using GDB ?

By default, RedBoot will listen on port 9000, so something
like this should connect you to the target:

  (gdb) target remote board_name:9000

or

  (gdb) target remote 192.168.1.100:9000

--Mark

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

* Re: gdbserver
  2002-07-20 11:41 ` gdbserver Andrew Cagney
@ 2002-07-21 21:36   ` Vinayak P Risbud
  2002-07-22  5:58     ` gdbserver Mark Salter
  0 siblings, 1 reply; 8+ messages in thread
From: Vinayak P Risbud @ 2002-07-21 21:36 UTC (permalink / raw)
  To: gdb; +Cc: Andrew Cagney, msalter, drow

            Thanks for your response,

            I want to debug, my target remotely through
            TCP/IP link.  The BootCode I have is Redboot,
            and I am able to ping the target over LAN.

            How can I do this using GDB ?

            ~
                Vinayak

Andrew Cagney wrote:

> >     Hi,
> >         I am trying to use gdbserver with redboot ?
> >         Where can I get the sources for gdbserver ?
> >         Can anyone explain me, how to integrate
> >         gdbserver with redboot ?
>
> If you have a board with RedBoot (a boot monitor that includes a GDB
> stub) then you do not need gdbserver.  GDB can talk directly to the board.
>
> GDBserver is for remote unix (and unix like) systems and makes it
> possible for GDB to debug a unix program remotly.
>
> enjoy,
> Andrew

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

* Re: gdbserver
  2002-07-20  5:08 gdbserver Vinayak P Risbud
  2002-07-20 11:41 ` gdbserver Andrew Cagney
  2002-07-20 12:01 ` gdbserver Daniel Jacobowitz
@ 2002-07-20 12:09 ` Mark Salter
  2 siblings, 0 replies; 8+ messages in thread
From: Mark Salter @ 2002-07-20 12:09 UTC (permalink / raw)
  To: vinayak; +Cc: gdb

>>>>> Vinayak P Risbud writes:

>     Hi,
>         I am trying to use gdbserver with redboot ?
>         Where can I get the sources for gdbserver ?
>         Can anyone explain me, how to integrate
>         gdbserver with redboot ?

It is not clear to me what you are trying to do. RedBoot already
has a GDB stub in it, so integrating gdbserver with RedBoot doesn't
make a lot of sense.

--Mark

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

* Re: gdbserver
  2002-07-20  5:08 gdbserver Vinayak P Risbud
  2002-07-20 11:41 ` gdbserver Andrew Cagney
@ 2002-07-20 12:01 ` Daniel Jacobowitz
  2002-07-20 12:09 ` gdbserver Mark Salter
  2 siblings, 0 replies; 8+ messages in thread
From: Daniel Jacobowitz @ 2002-07-20 12:01 UTC (permalink / raw)
  To: Vinayak P Risbud; +Cc: gdb

On Sat, Jul 20, 2002 at 05:30:45PM +0530, Vinayak P Risbud wrote:
>     Hi,
>         I am trying to use gdbserver with redboot ?
>         Where can I get the sources for gdbserver ?

In any GDB tarball.

>         Can anyone explain me, how to integrate
>         gdbserver with redboot ?

I don't think you can.  gdbserver is a tool for debugging applications
in a full Unix environment.  What are you trying to accomplish?

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

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

* Re: gdbserver
  2002-07-20  5:08 gdbserver Vinayak P Risbud
@ 2002-07-20 11:41 ` Andrew Cagney
  2002-07-21 21:36   ` gdbserver Vinayak P Risbud
  2002-07-20 12:01 ` gdbserver Daniel Jacobowitz
  2002-07-20 12:09 ` gdbserver Mark Salter
  2 siblings, 1 reply; 8+ messages in thread
From: Andrew Cagney @ 2002-07-20 11:41 UTC (permalink / raw)
  To: Vinayak P Risbud; +Cc: gdb

>     Hi,
>         I am trying to use gdbserver with redboot ?
>         Where can I get the sources for gdbserver ?
>         Can anyone explain me, how to integrate
>         gdbserver with redboot ?

If you have a board with RedBoot (a boot monitor that includes a GDB 
stub) then you do not need gdbserver.  GDB can talk directly to the board.

GDBserver is for remote unix (and unix like) systems and makes it 
possible for GDB to debug a unix program remotly.

enjoy,
Andrew


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

* gdbserver
@ 2002-07-20  5:08 Vinayak P Risbud
  2002-07-20 11:41 ` gdbserver Andrew Cagney
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Vinayak P Risbud @ 2002-07-20  5:08 UTC (permalink / raw)
  To: gdb

    Hi,
        I am trying to use gdbserver with redboot ?
        Where can I get the sources for gdbserver ?
        Can anyone explain me, how to integrate
        gdbserver with redboot ?

    ~
        Vinayak

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

end of thread, other threads:[~2003-05-30 14:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-30  8:17 gdbserver Raja Saleru
2003-05-30 14:27 ` gdbserver Daniel Jacobowitz
  -- strict thread matches above, loose matches on Subject: below --
2002-07-20  5:08 gdbserver Vinayak P Risbud
2002-07-20 11:41 ` gdbserver Andrew Cagney
2002-07-21 21:36   ` gdbserver Vinayak P Risbud
2002-07-22  5:58     ` gdbserver Mark Salter
2002-07-20 12:01 ` gdbserver Daniel Jacobowitz
2002-07-20 12:09 ` gdbserver Mark Salter

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