aboutsummaryrefslogtreecommitdiff
path: root/gdb/observer.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/observer.c')
-rw-r--r--gdb/observer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/observer.c b/gdb/observer.c
index b5a2578..fb9beb1 100644
--- a/gdb/observer.c
+++ b/gdb/observer.c
@@ -91,6 +91,7 @@ static struct observer_list *
xalloc_observer_list_node (void)
{
struct observer_list *node = XMALLOC (struct observer_list);
+
node->observer = XMALLOC (struct observer);
return node;
}