Subject: CVS commit: src/gnu/dist/gdb/gdb
To: None <source-changes@NetBSD.org>
From: Valeriy E. Ushakov <uwe@netbsd.org>
List: source-changes
Date: 01/02/2006 17:35:55
Module Name:	src
Committed By:	uwe
Date:		Mon Jan  2 17:35:55 UTC 2006

Modified Files:
	src/gnu/dist/gdb/gdb: shnbsd-tdep.c

Log Message:
Handle the case when control transfer instruction jumps to its own
delay slot (e.g. PLT entries use such code).  We can not set the
breakpoint there, as trapa is illegal in the delay slot.  Set the
breakpoint to the next instruction instead.  We are guaranteed to
arrive there, as control transfers are illegal in the delay slot.


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 src/gnu/dist/gdb/gdb/shnbsd-tdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.