aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-fork.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2010-05-05 20:37:23 +0000
committerMichael Snyder <msnyder@vmware.com>2010-05-05 20:37:23 +0000
commit9e9547e4851f166d3ef1c3a47de18dba0871fba1 (patch)
tree3f8c4ccc84f15306de94bf42c6e41f948ff68b81 /gdb/linux-fork.c
parent75083f7e9a4f58849393d486bb24018ca030a1a6 (diff)
downloadgdb-9e9547e4851f166d3ef1c3a47de18dba0871fba1.zip
gdb-9e9547e4851f166d3ef1c3a47de18dba0871fba1.tar.gz
gdb-9e9547e4851f166d3ef1c3a47de18dba0871fba1.tar.bz2
2010-05-05 Michael Snyder <msnyder@vmware.com>
* linux-thread-db.c (add_thread_db_info): Delete unused variable. (thread_from_lwp): Delete unused variable. (enable_thread_event_reporting): Delete unused variable. (check_for_thread_db): Delete unused variables. (thread_db_find_new_threads_2): Delete unused variable. * linux-fork.c (info_checkpoints_command): Delete unused variables. (checkpoint_command): Delete unused variable. (linux_fork_context): Delete unused variables.
Diffstat (limited to 'gdb/linux-fork.c')
-rw-r--r--gdb/linux-fork.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/linux-fork.c b/gdb/linux-fork.c
index fe12829..e02f03f 100644
--- a/gdb/linux-fork.c
+++ b/gdb/linux-fork.c
@@ -468,11 +468,8 @@ static void
info_checkpoints_command (char *arg, int from_tty)
{
struct gdbarch *gdbarch = get_current_arch ();
- struct frame_info *cur_frame;
struct symtab_and_line sal;
- struct symtab *cur_symtab;
struct fork_info *fp;
- int cur_line;
ULONGEST pc;
int requested = -1;
struct fork_info *printed = NULL;
@@ -554,7 +551,6 @@ checkpoint_command (char *args, int from_tty)
struct fork_info *fp;
pid_t retpid;
struct cleanup *old_chain;
- long i;
/* Make the inferior fork, record its (and gdb's) state. */
@@ -607,8 +603,6 @@ linux_fork_context (struct fork_info *newfp, int from_tty)
{
/* Now we attempt to switch processes. */
struct fork_info *oldfp;
- ptid_t ptid;
- int id, i;
gdb_assert (newfp != NULL);