diff options
author | Joel Brobecker <brobecker@adacore.com> | 2015-10-09 14:12:51 -0700 |
---|---|---|
committer | Joel Brobecker <brobecker@adacore.com> | 2015-10-09 14:30:06 -0700 |
commit | f93fca700f0fd70532132ae535f48c1a936abb0a (patch) | |
tree | 54b5f5349f109a56079fcb4180227ef9ce280da0 /opcodes/m32c-dis.c | |
parent | a1c95e6b6ede168770664cdca8ae1568187554b4 (diff) | |
download | gdb-f93fca700f0fd70532132ae535f48c1a936abb0a.zip gdb-f93fca700f0fd70532132ae535f48c1a936abb0a.tar.gz gdb-f93fca700f0fd70532132ae535f48c1a936abb0a.tar.bz2 |
[Ada] split data unpacking code out of ada_value_primitive_packed_val.
This patch is just preparation work which splits the function
ada_value_primitive_packed_val into two function: one which unpacks
the data, and the other which now uses it to implement
ada_value_primitive_packed_val.
This simplifies a bit ada_value_primitive_packed_val, but will also
allow us to use the new function to unpack data without actually creating
a struct value as a result.
gdb/ChangeLog:
* ada-lang.c (ada_unpack_from_contents): New function,
extracted from ada_value_primitive_packed_val.
(ada_value_primitive_packed_val): Replace extracted out code
by call to ada_unpack_from_contents.
Diffstat (limited to 'opcodes/m32c-dis.c')
0 files changed, 0 insertions, 0 deletions