diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-05-26 20:49:03 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-05-26 20:49:03 +0000 |
commit | 577cf3491e89db5b78bbf4d11d03816ba96a01a5 (patch) | |
tree | 17becdbd40fbeaf60dba063cfdf761eefa76e8c2 /gdb/eval.c | |
parent | f457bf087e91a4235d4b473b55e68d162640f9e5 (diff) | |
download | gdb-577cf3491e89db5b78bbf4d11d03816ba96a01a5.tar.gz |
2005-05-26 Andrew Cagney <cagney@gnu.org>
* command.h (add_setshow_integer_cmd): Make VAR an integer.
* cli/cli-decode.c (add_setshow_integer_cmd): Update to match.
* valops.c (value_string): Add a cast.
* eval.c (evaluate_subexp_standard): Use gdb_byte for byte buffers.
* breakpoint.c (re_enable_breakpoints_in_shlibs): Use gdb_byte for
byte buffers.
* target.h (struct target_ops): For to_insert_hw_breakpoint and
to_remove_hw_breakpoint use gdb_byte for byte buffer parameters.
* breakpoint.h (struct bp_location): Make shadow_contents a
gdb_byte buffer.
* cli/cli-setshow.c (do_setshow_command): Fix cast.
* cli/cli-dump.c (restore_section_callback)
(restore_binary_file): Use gdb_byte for byte buffers.
* proc-service.c (ps_ptwrite, ps_ptread, ps_pdwrite): Fix casts.
(ps_xfer_memory): Use gdb_byte for byte buffers.
* tracepoint.c (mem2hex): Use gdb_byte for byte buffers, and char
for string buffers.
* ser-tcp.c (net_open): Make len a socklen_t.
Diffstat (limited to 'gdb/eval.c')
-rw-r--r-- | gdb/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/eval.c b/gdb/eval.c index 98f55809aee..0ad71793f64 100644 --- a/gdb/eval.c +++ b/gdb/eval.c @@ -559,7 +559,7 @@ evaluate_subexp_standard (struct type *expect_type, && TYPE_CODE (type) == TYPE_CODE_SET) { struct value *set = allocate_value (expect_type); - char *valaddr = value_contents_raw (set); + gdb_byte *valaddr = value_contents_raw (set); struct type *element_type = TYPE_INDEX_TYPE (type); struct type *check_type = element_type; LONGEST low_bound, high_bound; |