diff options
author | Tom Tromey <tom@tromey.com> | 2024-02-01 18:56:43 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2024-02-05 12:12:18 -0700 |
commit | 4b858d4dbbdc2d497231d6340a49414c88db7dbb (patch) | |
tree | a787975b8955035e3b44468bb11a028671e7fd00 /gdb/mi/mi-interp.c | |
parent | 9c0aa4c53104b1c4333d55aeaf11b41053307929 (diff) | |
download | fsf-binutils-gdb-4b858d4dbbdc2d497231d6340a49414c88db7dbb.zip fsf-binutils-gdb-4b858d4dbbdc2d497231d6340a49414c88db7dbb.tar.gz fsf-binutils-gdb-4b858d4dbbdc2d497231d6340a49414c88db7dbb.tar.bz2 |
Avoid an allocation in attr_to_dynamic_prop
I noticed that attr_to_dynamic_prop allocates a dwarf_block, when no
allocation is required. This patch stack-allocates the object
instead.
Reviewed-By: Tom de Vries <tdevries@suse.de>
Diffstat (limited to 'gdb/mi/mi-interp.c')
0 files changed, 0 insertions, 0 deletions