mirror of
https://github.com/linux-msm/openocd.git
synced 2026-02-25 13:15:07 -08:00
Charles Hardin ckhardin at gmail.com
This address the >32 bit problem with drscan also added a check for bypass in the execute since this will manifest itself as a memory corruption when this check helps to debug the problem alot easier git-svn-id: svn://svn.berlios.de/openocd/trunk@794 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -188,7 +188,7 @@ int ceil_f_to_u32(float x)
|
||||
return y;
|
||||
}
|
||||
|
||||
char* buf_to_str(u8 *buf, int buf_len, int radix)
|
||||
char* buf_to_str(const u8 *buf, int buf_len, int radix)
|
||||
{
|
||||
const char *DIGITS = "0123456789abcdef";
|
||||
float factor;
|
||||
@@ -238,7 +238,7 @@ char* buf_to_str(u8 *buf, int buf_len, int radix)
|
||||
return str;
|
||||
}
|
||||
|
||||
int str_to_buf(char* str, int str_len, u8 *buf, int buf_len, int radix)
|
||||
int str_to_buf(const char *str, int str_len, u8 *buf, int buf_len, int radix)
|
||||
{
|
||||
char *charbuf;
|
||||
u32 tmp;
|
||||
|
||||
Reference in New Issue
Block a user