/* Support for GDB maintenance commands.
- Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2002,
- 2003, 2004, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
+ Copyright (C) 1992-1997, 1999-2004, 2007-2012 Free Software
+ Foundation, Inc.
Written by Fred Fish at Cygnus Support.
fprintf_filtered (file, _("Watchdog timer is %s.\n"), value);
}
-/*
-
- LOCAL FUNCTION
-
- maintenance_command -- access the maintenance subcommands
-
- SYNOPSIS
-
- void maintenance_command (char *args, int from_tty)
-
- DESCRIPTION
-
- */
+/* Access the maintenance subcommands. */
static void
maintenance_command (char *args, int from_tty)
cmd->flags |= MALLOCED_REPLACEMENT;
return;
}
- /* If we get here, don't leak! */
- if (replacement != NULL)
- xfree (replacement);
+ xfree (replacement);
}
/* Maintenance set/show framework. */