This is the mail archive of the gdb-cvs@sourceware.org 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]
Other format: [Raw text]

src/gdb ChangeLog inf-ttrace.c


CVSROOT:	/cvs/src
Module name:	src
Changes by:	brobecke@sourceware.org	2012-08-16 23:54:37

Modified files:
	gdb            : ChangeLog inf-ttrace.c 

Log message:
	inf_ttrace_follow_fork: detach_breakpoints called twice for child.
	
	When debugging a program that forks with follow-fork set to follow
	the parent, we end up calling detach_breakpoints for the child twice.
	On ia64-hpux, this leads to a warning when trying to remove the
	breakpoints the second time around, because the ia64 code detects
	that the address does not point to a breakpoint instruction.
	
	gdb/ChangeLog:
	
	* inf-ttrace.c (inf_ttrace_follow_fork): When following the
	parent, only call detach_breakpoints if tts.tts_event ==
	TTEVT_VFORK.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.14595&r2=1.14596
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/inf-ttrace.c.diff?cvsroot=src&r1=1.63&r2=1.64


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