public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Juha Aaltonen <turbopultti@gmail.com>
To: gdb-mailing list <gdb@sourceware.org>
Subject: Bare metal "server" - cleaning up after a program
Date: Thu, 08 Oct 2015 22:27:00 -0000	[thread overview]
Message-ID: <CAHR0xd4Otr2YPgKgaJqmRmk-7+68oyx+YSAbeRk+3q-4wZETYQ@mail.gmail.com> (raw)

I've been writing some kind of bare metal standalone gdb server/stub
that works through a serial line.

The problem is: when to clean up between debugged programs?
I have been wondering about the beginning of loading in a new program
("X0,0"-packet).
Maybe there is a better way/situation.

Gdb seems so focused to debugging processes running within an OS, that
"interpretation" in context of bare metal environment is hard.

             reply	other threads:[~2015-10-08 22:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-08 22:27 Juha Aaltonen [this message]
2015-10-08 22:40 ` Juha Aaltonen
2015-10-08 22:59 ` Duane Ellis
2015-10-09  9:26 ` Pedro Alves

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=CAHR0xd4Otr2YPgKgaJqmRmk-7+68oyx+YSAbeRk+3q-4wZETYQ@mail.gmail.com \
    --to=turbopultti@gmail.com \
    --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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).