683026dd08
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.
28 lines
702 B
Text
28 lines
702 B
Text
$NetBSD: patch-ad,v 1.2 2005/11/13 14:16:05 shannonjr Exp $
|
|
|
|
--- gdb/cli/cli-dump.c.orig 2004-10-20 17:12:51.000000000 -0600
|
|
+++ gdb/cli/cli-dump.c
|
|
@@ -72,7 +72,6 @@ scan_expression_with_cleanup (char **cmd
|
|
static void
|
|
do_fclose_cleanup (void *arg)
|
|
{
|
|
- FILE *file = arg;
|
|
fclose (arg);
|
|
}
|
|
|
|
@@ -233,7 +232,6 @@ dump_memory_to_file (char *cmd, char *mo
|
|
void *buf;
|
|
char *lo_exp;
|
|
char *hi_exp;
|
|
- int len;
|
|
|
|
/* Open the file. */
|
|
filename = scan_filename_with_cleanup (&cmd, NULL);
|
|
@@ -521,7 +519,6 @@ static void
|
|
restore_binary_file (char *filename, struct callback_data *data)
|
|
{
|
|
FILE *file = fopen_with_cleanup (filename, FOPEN_RB);
|
|
- int status;
|
|
char *buf;
|
|
long len;
|
|
|