This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH] 2nd thinko in infttrace.c


2000-09-06  Fred Fish  <fnf@cygnus.com>

	* infttrace.c (update_thread_state_after_attach): Pass address
	of ttstate_t object, not the object itself.

Index: infttrace.c
===================================================================
RCS file: /cvs/src/src/gdb/infttrace.c,v
retrieving revision 1.3
diff -c -p -r1.3 infttrace.c
*** infttrace.c	2000/07/30 01:48:25	1.3
--- infttrace.c	2000/09/07 00:30:19
*************** update_thread_state_after_attach (int pi
*** 4711,4717 ****
        if (NULL == p)		/* ?We just added it! */
  	error ("Internal error adding a thread on attach.");
  
!       copy_ttstate_t (&p->last_stop_state, thread_state);
        p->have_state = 1;
  
        if (DO_ATTACH_CONTINUE == kind_of_go)
--- 4711,4717 ----
        if (NULL == p)		/* ?We just added it! */
  	error ("Internal error adding a thread on attach.");
  
!       copy_ttstate_t (&p->last_stop_state, &thread_state);
        p->have_state = 1;
  
        if (DO_ATTACH_CONTINUE == kind_of_go)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]