projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2c7840
)
* breakpoint.c (bpstat_stop_status): Check 'breakpoint_at' before
author
Tom Tromey
<tromey@redhat.com>
Wed, 25 Jan 2012 15:57:04 +0000
(15:57 +0000)
committer
Tom Tromey
<tromey@redhat.com>
Wed, 25 Jan 2012 15:57:04 +0000
(15:57 +0000)
dereferencing.
gdb/ChangeLog
patch
|
blob
|
history
gdb/breakpoint.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index b03445067f0aa5afb7c276dbbf8de5865ec46ce2..15a7b6af2b9007705f1866e69ce56619b06aa1e9 100644
(file)
--- a/
gdb/ChangeLog
+++ b/
gdb/ChangeLog
@@
-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:
diff --git
a/gdb/breakpoint.c
b/gdb/breakpoint.c
index 0da099be31deba0991371b59bda70dd91bd8f221..ec7f348d26d13bdeff3996a64f7ebd41a3c3b60e 100644
(file)
--- a/
gdb/breakpoint.c
+++ b/
gdb/breakpoint.c
@@
-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;