aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/python.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2025-04-18 08:22:24 -0600
committerTom Tromey <tromey@adacore.com>2025-05-06 09:01:54 -0600
commit1d9fb3ba19c2c4daf5feb792c2abda9ad8b0c426 (patch)
treebe80ea152f05374f223a3a5113e9ca2d3cd32568 /gdb/python/python.c
parentb6acdd724dde54ac74fec2edbbeaf9c4a4c44f0f (diff)
downloadbinutils-1d9fb3ba19c2c4daf5feb792c2abda9ad8b0c426.zip
binutils-1d9fb3ba19c2c4daf5feb792c2abda9ad8b0c426.tar.gz
binutils-1d9fb3ba19c2c4daf5feb792c2abda9ad8b0c426.tar.bz2
Use OBSTACK_ZALLOC when allocating batons
I found some places in dwarf2/read.c that allocate a location baton, but fail to initialize one of the fields. It seems safer to me to use OBSTACK_ZALLOC here, so this patch makes this change. This will be useful in a subsequent patch as well, where a new field is added to one of the batons.
Diffstat (limited to 'gdb/python/python.c')
0 files changed, 0 insertions, 0 deletions