Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Matthias Pfaller <leo@marco.de>
To: gdb@sourceware.org
Subject: embedded system and "target remote"
Date: Tue, 08 Nov 2016 10:31:00 -0000	[thread overview]
Message-ID: <5821A95F.2060408@marco.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 1333 bytes --]

Hi,

I'm currently implementing gdb server support for our cortex-m3/m4 based
embedded systems.

At the moment I have the following things working:
- reading and writing memory
- reading and writing registers
- thread info
- stopping/resuming threads
- single stepping a thread

At the moment I'm implementing break points using the FPB unit.

I would like to setup the FPB unit at context switch time for thread
specific break points. Is there a way to pass the referenced thread id
with the 'Z' commands?

Is there a way to modify the behaviour of the break point commands to
always reference the currently selected thread? Gobal breakpoints do not
make sense in my usage case.

Another thing I'd really like to do is to enforce non-stop and
target-async from the target side. Is there a way to do this?

regards, Matthias

PS: How does gdb recoginze the initial stack frame? At the moment stack
trace backs of stopped threads will not stop at correct frame.
-- 
Matthias Pfaller                          Software Entwicklung
marco Systemanalyse und Entwicklung GmbH  Tel   +49 8131 5161 41
Hans-Böckler-Str. 2, D 85221 Dachau       Fax   +49 8131 5161 66
http://www.marco.de/                      Email leo@marco.de
Geschäftsführer Martin Reuter             HRB 171775 Amtsgericht München


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4349 bytes --]

             reply	other threads:[~2016-11-08 10:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-08 10:31 Matthias Pfaller [this message]
2016-11-08 11:14 ` Yao Qi
2016-11-08 12:17   ` Matthias Pfaller
2016-11-09  9:52   ` Matthias Pfaller

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=5821A95F.2060408@marco.de \
    --to=leo@marco.de \
    --cc=gdb@sourceware.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox