diff options
author | Daniel Jacobowitz <drow@false.org> | 2007-05-14 17:21:50 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2007-05-14 17:21:50 +0000 |
commit | 14d0675011b16e24eb46c557d59f281384751dcb (patch) | |
tree | 0899e21282c33dd8810cc4f12fbd51c2c3b10194 /gdb/value.h | |
parent | f2fec8644535ac3a140f3968bc48aca9afc029b0 (diff) | |
download | gdb-14d0675011b16e24eb46c557d59f281384751dcb.zip gdb-14d0675011b16e24eb46c557d59f281384751dcb.tar.gz gdb-14d0675011b16e24eb46c557d59f281384751dcb.tar.bz2 |
* dwarf2-frame.c (dwarf2_frame_prev_register): Use pack_long
instead of store_typed_address.
* value.c (pack_long): New.
(value_from_longest): Use it.
* value.h (pack_long): New prototype.
Diffstat (limited to 'gdb/value.h')
-rw-r--r-- | gdb/value.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/value.h b/gdb/value.h index 2c93e80..bbf662d 100644 --- a/gdb/value.h +++ b/gdb/value.h @@ -271,6 +271,8 @@ extern LONGEST unpack_field_as_long (struct type *type, const gdb_byte *valaddr, int fieldno); +extern void pack_long (gdb_byte *buf, struct type *type, LONGEST num); + extern struct value *value_from_longest (struct type *type, LONGEST num); extern struct value *value_from_pointer (struct type *type, CORE_ADDR addr); extern struct value *value_from_double (struct type *type, DOUBLEST num); |