[gdb] add gdb_memory script (parse "info files" output)