gdb/
authorYao Qi <yao@codesourcery.com>
Thu, 30 May 2013 00:40:21 +0000 (00:40 +0000)
committerYao Qi <yao@codesourcery.com>
Thu, 30 May 2013 00:40:21 +0000 (00:40 +0000)
* remote.c (remote_check_symbols): Remove unused parameter
'objfile'.
Declaration update.
(remote_start_remote, remote_new_objfile): Caller update.

gdb/ChangeLog
gdb/remote.c

index aecb5e1..7c00a8e 100644 (file)
@@ -1,5 +1,12 @@
 2013-05-30  Yao Qi  <yao@codesourcery.com>
 
+       * remote.c (remote_check_symbols): Remove unused parameter
+       'objfile'.
+       Declaration update.
+       (remote_start_remote, remote_new_objfile): Caller update.
+
+2013-05-30  Yao Qi  <yao@codesourcery.com>
+
        * mi/mi-cmds.c (mi_cmds): Define MI command
        '-exec-arguments' by macro DEF_MI_CMD_CLI_1 instead of
        DEF_MI_CMD_CLI.
index 9a529cf..b96b381 100644 (file)
@@ -219,7 +219,7 @@ static int remote_upload_trace_state_variables (struct uploaded_tsv **utsvp);
   
 static void remote_query_supported (void);
 
-static void remote_check_symbols (struct objfile *objfile);
+static void remote_check_symbols (void);
 
 void _initialize_remote (void);
 
@@ -3577,7 +3577,7 @@ remote_start_remote (int from_tty, struct target_ops *target, int extended_p)
   if (target_has_execution)
     {
       if (exec_bfd)    /* No use without an exec file.  */
-       remote_check_symbols (symfile_objfile);
+       remote_check_symbols ();
     }
 
   /* Possibly the target has been engaged in a trace run started
@@ -3646,7 +3646,7 @@ init_all_packet_configs (void)
 /* Symbol look-up.  */
 
 static void
-remote_check_symbols (struct objfile *objfile)
+remote_check_symbols (void)
 {
   struct remote_state *rs = get_remote_state ();
   char *msg, *reply, *tmp;
@@ -11694,7 +11694,7 @@ static void
 remote_new_objfile (struct objfile *objfile)
 {
   if (remote_desc != 0)                /* Have a remote connection.  */
-    remote_check_symbols (objfile);
+    remote_check_symbols ();
 }
 
 /* Pull all the tracepoints defined on the target and create local