Not yet possible, but there is a promising discussion on the GDB mailing list here and here . Alternatively, perhaps you could try the following:
dump memory filename.bin start_addr end_addr restore filename.bin binary start_addr
where you correctly fill in start_addr and end_addr. You will need to save the registers manually.
source share