• oharboe's avatar
    - Fixed various error handling when looking for memory leaks · 0424155d
    oharboe authored
    - Fixed memory leak in gdb_server.c
    - pushed "Error:" statements up into fn's that know something about what went wrong
    - load_image now fails if target_write_memory() fails
    - only issue an asynchronous halt() upon connect of GDB. Synchronous halt/reset
      doesn't really work as what's required to initialize the target might involve a
      special monitor sequence for the target in question
    - syntax error handling improved(fewer exit()'s)
    git-svn-id: svn://svn.berlios.de/openocd/trunk@482 b42882b7-edfa-0310-969c-e2dbd0fdcd60