aboutsummaryrefslogtreecommitdiff
path: root/gdb/printcmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/printcmd.c')
-rw-r--r--gdb/printcmd.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/printcmd.c b/gdb/printcmd.c
index 16ea2a6..d202330 100644
--- a/gdb/printcmd.c
+++ b/gdb/printcmd.c
@@ -959,7 +959,6 @@ print_command_1 (char *exp, int inspect, int voidprint)
if (exp && *exp)
{
- struct type *type;
expr = parse_expression (exp);
old_chain = make_cleanup (free_current_contents, &expr);
cleanup = 1;
@@ -1175,7 +1174,6 @@ sym_info (char *arg, int from_tty)
static void
address_info (char *exp, int from_tty)
{
- struct block *block;
struct gdbarch *gdbarch;
int regno;
struct symbol *sym;
@@ -2383,7 +2381,6 @@ printf_command (char *arg, int from_tty)
{
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;