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.
This commit is contained in:
Michael Snyder 2010-05-05 20:37:23 +00:00
parent 75083f7e9a
commit 9e9547e485
3 changed files with 10 additions and 14 deletions

View file

@ -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);