Subject: CVS commit: [netbsd-3] src/gnu/dist/gdb/gdb
To: None <source-changes@NetBSD.org>
From: Jeff Rizzo <riz@netbsd.org>
List: source-changes
Date: 01/05/2006 05:24:40
Module Name:	src
Committed By:	riz
Date:		Thu Jan  5 05:24:40 UTC 2006

Modified Files:
	src/gnu/dist/gdb/gdb [netbsd-3]: shnbsd-tdep.c

Log Message:
Pull up following revision(s) (requested by uwe in ticket #1082):
	gnu/dist/gdb/gdb/shnbsd-tdep.c: revision 1.4
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.3.2.1 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.