Add missing call to obstack_init for ada-lang.c::cache_space
authorJoel Brobecker <brobecker@adacore.com>
Mon, 10 Feb 2014 08:52:15 +0000 (12:52 +0400)
committerJoel Brobecker <brobecker@adacore.com>
Mon, 10 Feb 2014 08:57:13 +0000 (12:57 +0400)
commit9dee8cc6aa668228309de7d0e23e1775beb7d12f
tree3a143f16f3b19513bc8b3186454eebdef726df61
parent3d9434b5ddc141178be232048e3d944955cc1f91
Add missing call to obstack_init for ada-lang.c::cache_space

This bit was meant to be merged with the following patch:

    commit 3d9434b5ddc141178be232048e3d944955cc1f91
    Subject: [Ada] Add a symbol lookup cache

... but I forgot :-(. This causes the cache to be undefined, and
with a bit of (bad) luck:

    % gdb
    (gdb) set lang ada
    (gdb) set $xxx := 1
    [SEGV]

gdb/ChangeLog:

        * ada-lang.c (_initialize_ada_language): Initialize
        cache_space obstack.
gdb/ChangeLog
gdb/ada-lang.c
This page took 0.028087 seconds and 4 git commands to generate.