summaryrefslogtreecommitdiff
path: root/gdb/record.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2010-05-07 02:09:55 +0000
committerMichael Snyder <msnyder@vmware.com>2010-05-07 02:09:55 +0000
commitc6913b7d1e1863c208fb6495b227ef5ea119243e (patch)
treefd0dce52b205e9792e3f8c6965befd9e6b8ef863 /gdb/record.c
parent1c5465ac6061382a64975cbe2e619054bfc71c45 (diff)
downloadbinutils-gdb-c6913b7d1e1863c208fb6495b227ef5ea119243e.tar.gz
2010-05-06 Michael Snyder <msnyder@vmware.com>
* xml-support.c (xinclude_start_include): Delete unused variable. (xml_process_xincludes): Delete unused variable. * xml-syscall.c (syscall_parse_xml): Delete unused variable. * target-descriptions.c (tdesc_gdb_type): Delete unused variable. (tdesc_find_arch_register): Delete unused variable. (tdesc_use_registers): Delete unused variable. * xml-tdesc.c (tdesc_start_target): Delete unused variable. * inferior.c (print_inferior): Delete unused variable. * record.c (record_open_1): Delete unused variable. (record_restore): Delete unused variable. (cmd_record_save): Delete unused variable. * gcore.c (derive_heap_segment): Delete unused variable. (objfile_find_memory_regions): Use unused variable. * jit.c (jit_inferior_init): Delete unused variable. * progspace.c (clone_program_space): Delete unused variable. (pspace_empty_p): Delete unused variable.
Diffstat (limited to 'gdb/record.c')
-rw-r--r--gdb/record.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/record.c b/gdb/record.c
index fa6cfbbee89..8da10d46944 100644
--- a/gdb/record.c
+++ b/gdb/record.c
@@ -838,8 +838,6 @@ record_core_open_1 (char *name, int from_tty)
static void
record_open_1 (char *name, int from_tty)
{
- struct target_ops *t;
-
if (record_debug)
fprintf_unfiltered (gdb_stdlog, "Process record: record_open\n");
@@ -2174,7 +2172,6 @@ record_restore (void)
while (1)
{
- int ret;
uint8_t rectype;
uint32_t regnum, len, signal, count;
uint64_t addr;
@@ -2333,7 +2330,6 @@ static void
cmd_record_save (char *args, int from_tty)
{
char *recfilename, recfilename_buffer[40];
- int recfd;
struct record_entry *cur_record_list;
uint32_t magic;
struct regcache *regcache;