All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Gebert <martin.gebert@alpha-bit.de>
To: TriKri <kristoferkrus@hotmail.com>
Cc: linux-mips@linux-mips.org
Subject: Re: Debugging the MIPS processor using GDB
Date: Tue, 12 Aug 2008 16:14:22 +0200	[thread overview]
Message-ID: <48A19ABE.5060104@alpha-bit.de> (raw)
In-Reply-To: <18944199.post@talk.nabble.com>


> Finally, there's a program called gdbserver, which comes with GDB. If I
> write a remote stub, do I need this program? Where should it be run? Where
> should my program be run? Since the stub is a c file, but lacks of a main
> function, how do I compile it?
>   

At least this I can answer. In short, you need to call gdbserver on your 
target machine in order to do remote debugging from your workstation. 
The first Google match for "using gdbserver" reveals this:

http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/gdb/server.html

HTH

Martin

  reply	other threads:[~2008-08-12 14:14 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-12 13:23 Debugging the MIPS processor using GDB TriKri
2008-08-12 14:14 ` Martin Gebert [this message]
2008-08-12 14:37   ` Brian Foster
2008-08-12 16:27     ` Maciej W. Rozycki
2008-08-13  7:05       ` Brian Foster
2008-08-13 13:49         ` Maciej W. Rozycki
2008-08-13 15:07           ` Brian Foster
2008-08-13 15:16             ` Maciej W. Rozycki
2008-08-14 11:42             ` Debugging the MIPS processor using GDB (and FS2 EJTAG probe breakpoint issues) Brian Foster
2008-08-14 23:11               ` Maciej W. Rozycki
2008-08-13 14:41         ` Debugging the MIPS processor using GDB Jon Fraser
2008-08-13 15:12           ` Brian Foster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48A19ABE.5060104@alpha-bit.de \
    --to=martin.gebert@alpha-bit.de \
    --cc=kristoferkrus@hotmail.com \
    --cc=linux-mips@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.