Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Yao Qi <qiyaoltc@gmail.com>
To: Stephen Pape <srpape@gmail.com>
Cc: GDB <gdb@sourceware.org>
Subject: Re: VxWorks Target
Date: Thu, 20 Oct 2016 18:47:00 -0000	[thread overview]
Message-ID: <CAH=s-PPfzQ8DrCb+nAqiK07JRUgENszURPf0c5AmS0-1p3xU8Q@mail.gmail.com> (raw)
In-Reply-To: <CADdUxCxj2=pN9Ni9rfEMh4XobycTKdk0eaPbsD4WOuC84u2cVQ@mail.gmail.com>

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 (齐尧)


  reply	other threads:[~2016-10-20 18:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-18 21:09 Stephen Pape
2016-10-19  8:17 ` Yao Qi
2016-10-19 14:36   ` Stephen Pape
2016-10-19 15:45     ` Yao Qi
2016-10-20 18:09       ` Stephen Pape
2016-10-20 18:47         ` Yao Qi [this message]
2016-10-21 15:30         ` Joel Brobecker
2016-10-26 15:51           ` Stephen Pape

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='CAH=s-PPfzQ8DrCb+nAqiK07JRUgENszURPf0c5AmS0-1p3xU8Q@mail.gmail.com' \
    --to=qiyaoltc@gmail.com \
    --cc=gdb@sourceware.org \
    --cc=srpape@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox