CLI frontend: Add missing name to gdb thread

This broke in 101fa1ef58.
This commit is contained in:
Emmanuel Gil Peyrot 2020-12-16 21:55:26 +01:00
parent d503376558
commit 02e49123da
1 changed files with 5 additions and 4 deletions

View File

@ -252,10 +252,11 @@ error:
*/
#ifdef GDB_STUB
void *
createThread_gdb( void (*thread_function)( void *data),
void *thread_data) {
SDL_Thread *new_thread = SDL_CreateThread( (int (*)(void *data))thread_function,
thread_data);
createThread_gdb(void (*thread_function)(void *data),
void *thread_data) {
SDL_Thread *new_thread = SDL_CreateThread((int (*)(void *data))thread_function,
"gdb-stub",
thread_data);
return new_thread;
}