This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: VxWorks Target


On Thu, Oct 20, 2016 at 2:08 PM, Stephen Pape <srpape@gmail.com> 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 (齐尧)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]