This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit/obvious] add missing ops parameter in remote-mips.c...


... More brownie points :)

2009-03-16  Joel Brobecker  <brobecker@adacore.com>

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

Checked in.

There's still one line that doesn't compile, but because of something
else. I'm looking into it.

-- 
Joel
Index: remote-mips.c
===================================================================
RCS file: /cvs/src/src/gdb/remote-mips.c,v
retrieving revision 1.96
diff -u -p -r1.96 remote-mips.c
--- remote-mips.c	25 Feb 2009 02:14:22 -0000	1.96
+++ remote-mips.c	16 Mar 2009 19:37:59 -0000
@@ -102,7 +102,7 @@ static int mips_xfer_memory (CORE_ADDR m
 
 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 boar
 /* 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);

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]