* eval.c (evaluate_subexp_standard): Delete unused variable.
* valops.c (value_cast_pointers): Delete unused variable.
(value_dynamic_cast): Delete unused variable.
(value_array): Delete unused variable.
(find_overload_match): Delete unused variable.
* valarith.c (value_subscript): Delete unused variable.
(value_binop): Delete unused variable.
* valprint.c (_initialize_valprint): Delete unused variable.
* printcmd.c (print_command_1): Delete unused variable.
(address_info): Delete unused variable.
(printf_command): Delete unused variable.
2010-05-06 Michael Snyder <msnyder@vmware.com>
+ * eval.c (evaluate_subexp_standard): Delete unused variable.
+ * valops.c (value_cast_pointers): Delete unused variable.
+ (value_dynamic_cast): Delete unused variable.
+ (value_array): Delete unused variable.
+ (find_overload_match): Delete unused variable.
+ * valarith.c (value_subscript): Delete unused variable.
+ (value_binop): Delete unused variable.
+ * valprint.c (_initialize_valprint): Delete unused variable.
+ * printcmd.c (print_command_1): Delete unused variable.
+ (address_info): Delete unused variable.
+ (printf_command): Delete unused variable.
+
* auxv.c (target_auxv_search): Delete unused variable.
* blockframe.c (get_frame_block): Delete unused variable.
* regcache.c (regcache_cpy): Delete unused variable.
struct type *type;
int nargs;
struct value **argvec;
- int upper, lower, retcode;
+ int upper, lower;
int code;
int ix;
long mem_offset;
{
/* Unpack it locally so we can properly handle overload
resolution. */
- struct type *qual_type;
char *name;
int local_tem;
if (exp && *exp)
{
- struct type *type;
expr = parse_expression (exp);
old_chain = make_cleanup (free_current_contents, &expr);
cleanup = 1;
static void
address_info (char *exp, int from_tty)
{
- struct block *block;
struct gdbarch *gdbarch;
int regno;
struct symbol *sym;
{
struct gdbarch *gdbarch
= get_type_arch (value_type (val_args[i]));
- enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
struct type *wctype = lookup_typename (current_language, gdbarch,
"wchar_t", NULL, 0);
struct type *valtype;
struct value *
value_subscript (struct value *array, LONGEST index)
{
- struct value *bound;
int c_style = current_language->c_style_arrays;
struct type *tarray;
if (TYPE_CODE (type1) == TYPE_CODE_DECFLOAT
|| TYPE_CODE (type2) == TYPE_CODE_DECFLOAT)
{
- struct type *v_type;
int len_v1, len_v2, len_v;
enum bfd_endian byte_order_v1, byte_order_v2, byte_order_v;
gdb_byte v1[16], v2[16];
struct value *
value_cast_pointers (struct type *type, struct value *arg2)
{
- struct type *type1 = check_typedef (type);
struct type *type2 = check_typedef (value_type (arg2));
struct type *t1 = check_typedef (TYPE_TARGET_TYPE (type));
struct type *t2 = check_typedef (TYPE_TARGET_TYPE (type2));
struct value *
value_dynamic_cast (struct type *type, struct value *arg)
{
- int unambiguous = 0, full, top, using_enc;
+ int full, top, using_enc;
struct type *resolved_type = check_typedef (type);
struct type *arg_type = check_typedef (value_type (arg));
struct type *class_type, *rtti_type;
unsigned int typelength;
struct value *val;
struct type *arraytype;
- CORE_ADDR addr;
/* Validate that the bounds are reasonable and that each of the
elements have the same size. */
int num_fns = 0;
struct type *basetype = NULL;
int boffset;
- int ix;
- int static_offset;
struct cleanup *old_cleanups = NULL;
const char *obj_type_name = NULL;
void
_initialize_valprint (void)
{
- struct cmd_list_element *c;
-
add_prefix_cmd ("print", no_class, set_print,
_("Generic command for setting how things print."),
&setprintlist, "set print ", 0, &setlist);