mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-03 21:34:46 +08:00
* win32-nat.c (safe_symbol_file_add_stub): Properly initialize linked list
pointer to beginning rather than one beyond beginning.
This commit is contained in:
@ -450,7 +450,7 @@ static int
|
||||
safe_symbol_file_add_stub (void *argv)
|
||||
{
|
||||
#define p ((struct safe_symbol_file_add_args *)argv)
|
||||
struct so_stuff *so = solib_start.next;
|
||||
struct so_stuff *so = &solib_start;
|
||||
|
||||
while ((so = so->next))
|
||||
if (strcasecmp (so->name, p->name) == 0)
|
||||
|
Reference in New Issue
Block a user