cleanup minimal image and add GDB to it

Signed-off-by: Stephano Cetola <scetola@reachtech.com>