Bare metal "server" - cleaning up after a program
Juha Aaltonen <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <CAHR0xd4Otr2YPgKgaJqmRmk-7+68oyx+YSAbeRk+3q-4wZETYQ@mail.gmail.com> |
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.