aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lang.c
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2023-01-12 16:18:53 +0000
committerAndrew Burgess <aburgess@redhat.com>2023-02-13 14:50:51 +0000
commitd27ff777c65654bc4166165cc45743fcc7bae3a0 (patch)
treee2c2ac155bd04e7994152cf671eac35a0f9b67c2 /gdb/ada-lang.c
parent9ae4519da9026cf1748a7e78783847de530de488 (diff)
downloadbinutils-d27ff777c65654bc4166165cc45743fcc7bae3a0.zip
binutils-d27ff777c65654bc4166165cc45743fcc7bae3a0.tar.gz
binutils-d27ff777c65654bc4166165cc45743fcc7bae3a0.tar.bz2
gdb/tui: don't leak the known_window_types map
This commit finishes the task that was started in the previous commit. Now that all Python TUI window factories are correctly deleted when the Python interpreter is shut down, we no longer need to dynamically allocate the known_window_types map in tui-layout.c This commit changes known_window_types to a statically allocated data structure, removes the dynamic allocation from initialize_known_windows, and then replaces lots of '->' with '.' throughout this file. There should be no user visible changes after this commit. Reviewed-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/ada-lang.c')
0 files changed, 0 insertions, 0 deletions