* remote-mips.c (mips_mourn_inferior): Add missing ops parameter.

(mips_create_inferior): Likewise.
This commit is contained in:
Joel Brobecker 2009-03-16 19:38:33 +00:00
parent 267fbcde30
commit 383c038998
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2009-03-16 Joel Brobecker <brobecker@adacore.com>
* remote-mips.c (mips_mourn_inferior): Add missing ops parameter.
(mips_create_inferior): Likewise.
2009-03-16 Joel Brobecker <brobecker@adacore.com>
* go32-nat.c (go32_create_inferior): Add missing ops parameter.

View File

@ -102,7 +102,7 @@ static int mips_xfer_memory (CORE_ADDR memaddr, gdb_byte *myaddr, int len,
static void mips_files_info (struct target_ops *ignore);
static void mips_mourn_inferior (void);
static void mips_mourn_inferior (struct target_ops *ops);
static int pmon_makeb64 (unsigned long v, char *p, int n, int *chksum);
@ -2182,7 +2182,8 @@ Give up (and stop debugging it)? ")))
/* Start running on the target board. */
static void
mips_create_inferior (char *execfile, char *args, char **env, int from_tty)
mips_create_inferior (struct target_ops *ops, char *execfile,
char *args, char **env, int from_tty)
{
CORE_ADDR entry_pt;
@ -2209,7 +2210,7 @@ Can't pass arguments to remote MIPS board; arguments ignored.");
/* Clean up after a process. Actually nothing to do. */
static void
mips_mourn_inferior (void)
mips_mourn_inferior (struct target_ops *ops)
{
if (current_ops != NULL)
unpush_target (current_ops);