Re: VxWorks Target

Yao Qi <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CAH=s-PPfzQ8DrCb+nAqiK07JRUgENszURPf0c5AmS0-1p3xU8Q@mail.gmail.com>
On Thu, Oct 20, 2016 at 2:08 PM, Stephen Pape <[email protected]> wrote:
>
> Is there any concept of a "bare" target? For example, just a "powerpc"
> target that isn't OS specific. The targets I've seen seem like they're
> OS specific ("-linux")

There is a "bare metal" target, like powerpc-elf.

>
> I was thinking of writing a stub that speaks the GDB serial protocol.
> I can implement the "add breakpoint", "remove breakpoint", "read
> memory", "write memory" type functionality myself, but I'm trying to
> figure out how that would work with GDB. Sorry if this doesn't make
> sense, I'm just beginning to learn about GDB internals.
>

I don't know much about stubs, but you can take a look at
gdb/stubs/*.c.

-- 
Yao (齐尧)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.