Re: Bare metal "server" - cleaning up after a program
Juha Aaltonen <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <CAHR0xd5Q2cT==O=W98SX0ViPYQjfH9X1GCrsEDXN=SHGj2N4vg@mail.gmail.com> |
Or would 'kill' ('k'-packet) be "the choice"?
On Fri, Oct 9, 2015 at 1:27 AM, Juha Aaltonen <[email protected]> wrote:
> 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.