diff options
author | Tom Tromey <tromey@adacore.com> | 2025-04-15 12:29:50 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2025-04-17 09:25:55 -0600 |
commit | 2b4909278a4c664b9f457efbcc475ed288b730ac (patch) | |
tree | cff38301a403690474689dc1e08fd4f412d89f70 /gdb/testsuite/gdb.base/source-execution.c | |
parent | 64a6faa2b6ce9a4c8049fe55a5247733b4aa3cfd (diff) | |
download | binutils-2b4909278a4c664b9f457efbcc475ed288b730ac.zip binutils-2b4909278a4c664b9f457efbcc475ed288b730ac.tar.gz binutils-2b4909278a4c664b9f457efbcc475ed288b730ac.tar.bz2 |
Clean up value_struct_elt_bitpos
value_struct_elt_bitpos is weird: it takes an in/out value parameter,
and it takes an error string parameter. However, it only has a single
caller, which never uses the "out" value.
I think it was done this way to mimic value_struct_elt. However,
value_struct_elt is pretty ugly and I don't think it's worth
imitating.
This patch cleans up value_struct_elt_bitpos a bit.
Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/testsuite/gdb.base/source-execution.c')
0 files changed, 0 insertions, 0 deletions