mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-18 14:04:24 +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:
parent
7e295ae4db
commit
fefd0a378f
@ -1,3 +1,8 @@
|
||||
2001-10-12 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* win32-nat.c (safe_symbol_file_add_stub): Properly initialize linked
|
||||
list pointer to beginning rather than one beyond beginning.
|
||||
|
||||
2001-10-12 Daniel Jacobowitz <drow@mvista.com>
|
||||
|
||||
* symtab.h (struct block): (ALL_BLOCK_SYMBOLS): New macro.
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user