15 lines
509 B
Text
15 lines
509 B
Text
$NetBSD: patch-ag,v 1.1 2005/10/20 17:48:49 wiz Exp $
|
|
|
|
--- gdb/cli/cli-script.c.orig 2004-02-25 08:57:42.000000000 -0700
|
|
+++ gdb/cli/cli-script.c
|
|
@@ -1071,9 +1071,8 @@ define_command (char *comname, int from_
|
|
CMD_POST_HOOK
|
|
};
|
|
struct command_line *cmds;
|
|
- struct cmd_list_element *c, *newc, *oldc, *hookc = 0;
|
|
+ struct cmd_list_element *c, *newc, *hookc = 0;
|
|
char *tem = comname;
|
|
- char *tem2;
|
|
char tmpbuf[MAX_TMPBUF];
|
|
int hook_type = CMD_NO_HOOK;
|
|
int hook_name_size = 0;
|