summaryrefslogtreecommitdiff
path: root/devel/gdb6/patches/patch-ai
blob: e39f842d2b34153f00aed3fe248d3c0bec0c7279 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-ai,v 1.1 2005/10/20 17:48:49 wiz Exp $

--- gdb/cli/cli-cmds.c.orig	2004-02-28 11:04:37.000000000 -0700
+++ gdb/cli/cli-cmds.c
@@ -225,7 +225,6 @@ compare_strings (const void *arg1, const
 static void
 complete_command (char *arg, int from_tty)
 {
-  int i;
   int argpoint;
   char **completions, *point, *arg_prefix;
 
@@ -836,7 +835,7 @@ disassemble_command (char *arg, int from
 {
   CORE_ADDR low, high;
   char *name;
-  CORE_ADDR pc, pc_masked;
+  CORE_ADDR pc;
   char *space_index;
 #if 0
   asection *section;