aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2013-05-30 00:40:21 +0000
committerYao Qi <yao@codesourcery.com>2013-05-30 00:40:21 +0000
commit36d25514de83980be75c42db8c0b190fc284678c (patch)
tree0c356958fd1f8edcb2288a7a4fd50fecb59d52ea /gdb/remote.c
parent62a813ccaf87832deae8b7f7f365efd99fdf5028 (diff)
downloadgdb-36d25514de83980be75c42db8c0b190fc284678c.zip
gdb-36d25514de83980be75c42db8c0b190fc284678c.tar.gz
gdb-36d25514de83980be75c42db8c0b190fc284678c.tar.bz2
gdb/
* remote.c (remote_check_symbols): Remove unused parameter 'objfile'. Declaration update. (remote_start_remote, remote_new_objfile): Caller update.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index 9a529cf..b96b381 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -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