OSDN Git Service

2009-01-13 Jim Blandy <jimb@codesourcery.com>
authorpalves <palves>
Tue, 13 Jan 2009 10:34:30 +0000 (10:34 +0000)
committerpalves <palves>
Tue, 13 Jan 2009 10:34:30 +0000 (10:34 +0000)
commit9399134be334fe6ac1ea838768f3ed39bc08a7ec
tree42cbacb52549ceedc388112e7dbc6f68d07eb7d0
parentf1d8f650d9d2c4c3a52574710bb7eb14881ba084
2009-01-13  Jim Blandy  <jimb@codesourcery.com>

Abstract out common code for copying value locations.

* value.h (set_value_component_location): New declaration.
* value.c (set_value_component_location): New function.
(value_primitive_field): Use it.
* valarith.c (value_subscript, value_subscripted_rvalue): Same.
* valops.c (search_struct_field, value_slice): Same.
* ada-lang.c (coerce_unspec_val_to_type)
(ada_value_primitive_packed_val): Same.
gdb/ChangeLog
gdb/ada-lang.c
gdb/valarith.c
gdb/valops.c
gdb/value.c
gdb/value.h