mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-23 13:21:43 +08:00
* breakpoint.c (bpstat_stop_status): Check 'breakpoint_at' before
dereferencing.
This commit is contained in:
parent
c2c7840a42
commit
5d26827631
@ -1,3 +1,8 @@
|
||||
2012-01-25 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* breakpoint.c (bpstat_stop_status): Check 'breakpoint_at' before
|
||||
dereferencing.
|
||||
|
||||
2012-01-24 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
PR symtab/12406:
|
||||
|
@ -4303,7 +4303,7 @@ bpstat_stop_status (struct address_space *aspace,
|
||||
"catch unload". */
|
||||
for (bs = bs_head; bs != NULL; bs = bs->next)
|
||||
{
|
||||
if (bs->breakpoint_at->type == bp_shlib_event)
|
||||
if (bs->breakpoint_at && bs->breakpoint_at->type == bp_shlib_event)
|
||||
{
|
||||
handle_solib_event ();
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user