pkgsrc/devel/gdbada/patches/patch-ae
shannonjr 683026dd08 Update to gdbada-6.3. This is a version of GDB, maintained by AdaCore,
where Ada support has been added. Most of these changes are not part
of the official sources yet. The source used in this port is a snapshot
of AdaCore's CVS repository.
2005-11-13 14:16:05 +00:00

15 lines
515 B
Text

$NetBSD: patch-ae,v 1.2 2005/11/13 14:16:05 shannonjr Exp $
--- gdb/cli/cli-script.c.orig 2004-10-20 17:12:51.000000000 -0600
+++ gdb/cli/cli-script.c
@@ -1083,9 +1083,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;