* auxv.c (target_auxv_search): Delete unused variable.
* blockframe.c (get_frame_block): Delete unused variable.
* regcache.c (regcache_cpy): Delete unused variable.
(regcache_cpy_no_passthrough): Delete unused variable.
* charset.c (wchar_iterate): Delete unused variable.
(find_charset_names): Delete unused variable.
(_initialize_charset): Delete unused variable.
* disasm.c (do_mixed_source_and_assembly):
Delete unused variable.
* source.c (set_default_source_symtab_and_line):
Delete unused variable.
(set_substitute_path_command): Delete unused variable.
* value.c (preserve_values): Delete unused variable.
(value_from_double): Delete unused variable.
+2010-05-06 Michael Snyder <msnyder@vmware.com>
+
+ * auxv.c (target_auxv_search): Delete unused variable.
+ * blockframe.c (get_frame_block): Delete unused variable.
+ * regcache.c (regcache_cpy): Delete unused variable.
+ (regcache_cpy_no_passthrough): Delete unused variable.
+ * charset.c (wchar_iterate): Delete unused variable.
+ (find_charset_names): Delete unused variable.
+ (_initialize_charset): Delete unused variable.
+ * disasm.c (do_mixed_source_and_assembly):
+ Delete unused variable.
+ * source.c (set_default_source_symtab_and_line):
+ Delete unused variable.
+ (set_substitute_path_command): Delete unused variable.
+ * value.c (preserve_values): Delete unused variable.
+ (value_from_double): Delete unused variable.
+
2010-05-05 Michael Snyder <msnyder@vmware.com>
* psymtab.c (lookup_partial_symbol): Delete unused variable.
gdb_byte *data;
LONGEST n = target_read_alloc (ops, TARGET_OBJECT_AUXV, NULL, &data);
gdb_byte *ptr = data;
- int ents = 0;
if (n <= 0)
return n;
get_frame_block (struct frame_info *frame, CORE_ADDR *addr_in_block)
{
const CORE_ADDR pc = get_frame_address_in_block (frame);
- struct frame_info *next_frame;
struct block *bl;
int inline_count;
size_t orig_in = iter->bytes;
size_t out_avail = out_request * sizeof (gdb_wchar_t);
size_t num;
- gdb_wchar_t result;
size_t r = iconv (iter->desc,
(ICONV_CONST char **) &iter->input, &iter->bytes,
/* The size of buf is chosen arbitrarily. */
char buf[1024];
char *start, *r;
- int len, keep_going;
+ int len;
r = fgets (buf, sizeof (buf), in);
if (!r)
void
_initialize_charset (void)
{
- struct cmd_list_element *new_cmd;
-
/* The first element is always "auto". */
VEC_safe_push (char_ptr, charsets, xstrdup ("auto"));
find_charset_names ();
int i;
int out_of_order = 0;
int next_line = 0;
- CORE_ADDR pc;
int num_displayed = 0;
struct cleanup *ui_out_chain;
struct cleanup *ui_out_tuple_chain = make_cleanup (null_cleanup, 0);
void
regcache_cpy (struct regcache *dst, struct regcache *src)
{
- int i;
- gdb_byte *buf;
-
gdb_assert (src != NULL && dst != NULL);
gdb_assert (src->descr->gdbarch == dst->descr->gdbarch);
gdb_assert (src != dst);
void
regcache_cpy_no_passthrough (struct regcache *dst, struct regcache *src)
{
- int i;
gdb_assert (src != NULL && dst != NULL);
gdb_assert (src->descr->gdbarch == dst->descr->gdbarch);
/* NOTE: cagney/2002-05-17: Don't let the caller do a no-passthrough
void
set_default_source_symtab_and_line (void)
{
- struct symtab_and_line cursal;
-
if (!have_full_symbols () && !have_partial_symbols ())
error (_("No symbol table is loaded. Use the \"file\" command."));
static void
set_substitute_path_command (char *args, int from_tty)
{
- char *from_path, *to_path;
char **argv;
struct substitute_path_rule *rule;
htab_t copied_types;
struct value_history_chunk *cur;
struct internalvar *var;
- struct value *val;
int i;
/* Create the hash table. We allocate on the objfile's obstack, since
struct value *val = allocate_value (type);
struct type *base_type = check_typedef (type);
enum type_code code = TYPE_CODE (base_type);
- int len = TYPE_LENGTH (base_type);
if (code == TYPE_CODE_FLT)
{