mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-02 04:27:46 +08:00
* remote.c: Define remote_debug to 0 and #if 0 baud_rate. Temporary
hack so this file compiles again. * remote-utils.c (gr_multi_scan): Cast return value from alloca. (gr_multi_scan): #if 0 never-reached return(-1).
This commit is contained in:
@ -535,7 +535,7 @@ gr_multi_scan (list, passthrough)
|
||||
swallowed_p = swallowed = alloca(max_length << 1);
|
||||
|
||||
/* and a list of pointers to current scan points. */
|
||||
plist = alloca(string_count * sizeof(*plist));
|
||||
plist = (char **) alloca (string_count * sizeof(*plist));
|
||||
|
||||
/* and initialize */
|
||||
for (i = 0; i < string_count; ++i)
|
||||
@ -579,8 +579,10 @@ gr_multi_scan (list, passthrough)
|
||||
swallowed_p = swallowed;
|
||||
}
|
||||
}
|
||||
|
||||
#if 0
|
||||
/* Never reached. */
|
||||
return(-1);
|
||||
#endif
|
||||
}
|
||||
|
||||
/* Get ready to modify the registers array. On machines which store
|
||||
|
Reference in New Issue
Block a user