[Top] [All Lists]

Re: Debugging the MIPS processor using GDB

To: TriKri <>
Subject: Re: Debugging the MIPS processor using GDB
From: Martin Gebert <>
Date: Tue, 12 Aug 2008 16:14:22 +0200
In-reply-to: <>
Original-recipient: rfc822;
References: <>
User-agent: Thunderbird (X11/20080730)

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:



<Prev in Thread] Current Thread [Next in Thread>