aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2010-04-02 01:18:35 +0000
committerPedro Alves <palves@redhat.com>2010-04-02 01:18:35 +0000
commit5cea2a26596faf0ea2e67dd9f885543ff638cdd0 (patch)
tree12de505d9a0453148d23df614a9395a87fb1b798 /gdb/remote.c
parent9406745256877df5fca7c8b2b672a0da901cb2d2 (diff)
downloadgdb-5cea2a26596faf0ea2e67dd9f885543ff638cdd0.zip
gdb-5cea2a26596faf0ea2e67dd9f885543ff638cdd0.tar.gz
gdb-5cea2a26596faf0ea2e67dd9f885543ff638cdd0.tar.bz2
* breakpoint.h (struct counted_command_line): Moved definition to
breakpoint.c, and forward declare. (breakpoint_commands): Declare. * breakpoint.c (struct counted_command_line): Moved here. (breakpoint_commands): New. * tracepoint.c (encode_actions): Use breakpoint_commands. * remote.c (remote_download_tracepoint): Ditto.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index 0108fdb..685be7a 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -9507,7 +9507,7 @@ remote_download_tracepoint (struct breakpoint *t)
warning (_("Target does not support source download."));
}
remote_download_command_source (t->number, loc->address,
- t->commands->commands);
+ breakpoint_commands (t));
}
do_cleanups (old_chain);