Commit 8944021f authored by Daniel Jacobowitz's avatar Daniel Jacobowitz
Browse files

Reported by timeless@gmail.com:

	* gdb/target.c (target_flash_erase): Do not return void value.
	(target_flash_done): Likewise.
	* gdb/cli/cli-cmds.c (source_command): Likewise.

	Reported by timeless@gmail.com:
	* wrapper.c (sim_target_parse_arg_array): Do not return void value.
parent 5f960e00
2008-02-08 Fred Fish <fnf@specifix.com>
2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
Reported by timeless@gmail.com:
* gdb/target.c (target_flash_erase): Do not return void value.
(target_flash_done): Likewise.
* gdb/cli/cli-cmds.c (source_command): Likewise.
2007-02-08 Fred Fish <fnf@specifix.com>
* event-top.c (handle_sigint): Set quit_flag.
(async_request_quit): Don't set quit_flag. Avoid calling quit()
......
......@@ -514,7 +514,7 @@ source_command (char *args, int from_tty)
}
}
return source_script (file, from_tty);
source_script (file, from_tty);
}
......
......@@ -1252,7 +1252,8 @@ target_flash_erase (ULONGEST address, LONGEST length)
if (targetdebug)
fprintf_unfiltered (gdb_stdlog, "target_flash_erase (%s, %s)\n",
paddr (address), phex (length, 0));
return t->to_flash_erase (t, address, length);
t->to_flash_erase (t, address, length);
return;
}
tcomplain ();
......@@ -1268,7 +1269,8 @@ target_flash_done (void)
{
if (targetdebug)
fprintf_unfiltered (gdb_stdlog, "target_flash_done\n");
return t->to_flash_done (t);
t->to_flash_done (t);
return;
}
tcomplain ();
......
2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
Reported by timeless@gmail.com:
* wrapper.c (sim_target_parse_arg_array): Do not return void value.
2006-12-21 Hans-Peter Nilsson <hp@axis.com>
* acconfig.h: Remove.
......
......@@ -770,7 +770,7 @@ sim_target_parse_arg_array (argv)
for (i = 0; argv[i]; i++)
;
return (void) sim_target_parse_command_line (i, argv);
sim_target_parse_command_line (i, argv);
}
void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment