Added patch to stop SEGFAULT with missing jtag config lines. Thanks Øyvind Harboe

https://lists.berlios.de/pipermail/openocd-development/2008-January/000731.html

git-svn-id: svn://svn.berlios.de/openocd/trunk@280 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
ntfreak 2008-02-04 08:25:07 +00:00
parent 57b5028c63
commit 33f72055b7
1 changed files with 3 additions and 2 deletions

View File

@ -332,7 +332,8 @@ jtag_device_t* jtag_get_device(int num)
i++;
}
return NULL;
ERROR("jtag device number %d not defined", num);
exit(-1);
}
void* cmd_queue_alloc(size_t size)