From: Joel Brobecker Date: Mon, 16 Mar 2009 19:38:33 +0000 (+0000) Subject: * remote-mips.c (mips_mourn_inferior): Add missing ops parameter. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=383c0389987560500a6678e734d28cef67d0a4f4;p=binutils-gdb.git * remote-mips.c (mips_mourn_inferior): Add missing ops parameter. (mips_create_inferior): Likewise. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 23969d3adbd..0ba4dcc0f1a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2009-03-16 Joel Brobecker + + * remote-mips.c (mips_mourn_inferior): Add missing ops parameter. + (mips_create_inferior): Likewise. + 2009-03-16 Joel Brobecker * go32-nat.c (go32_create_inferior): Add missing ops parameter. diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c index 66e8328a284..348a63cc815 100644 --- a/gdb/remote-mips.c +++ b/gdb/remote-mips.c @@ -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);