diff options
author | Tom Tromey <tromey@adacore.com> | 2020-02-19 11:06:33 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2020-02-19 11:17:35 -0700 |
commit | 2ef5453be5e06566f60edcba7700503259c29b47 (patch) | |
tree | 058188a6487a735d4e4956ca955dbc221d0d5951 /gdb/target-float.c | |
parent | 9f1528a1bdb541510c56d48bbd77b50b617cb952 (diff) | |
download | gdb-2ef5453be5e06566f60edcba7700503259c29b47.zip gdb-2ef5453be5e06566f60edcba7700503259c29b47.tar.gz gdb-2ef5453be5e06566f60edcba7700503259c29b47.tar.bz2 |
Use obstack_strdup in ada-lang.c
I happened across a spot that was still using obstack_alloc and
strcpy, rather than obstack_strdup. This patch makes the obvious fix.
gdb/ChangeLog
2020-02-19 Tom Tromey <tromey@adacore.com>
* ada-lang.c (cache_symbol): Use obstack_strdup.
Diffstat (limited to 'gdb/target-float.c')
0 files changed, 0 insertions, 0 deletions