binutils-gdb/gdb/testsuite/gdb.arch
Maciej W. Rozycki 14132e8924 gdb/
* infrun.c (handle_inferior_event): Move the check for return
	trampolines ahead of the check for function trampolines.
	* mips-tdep.h (MIPS_S2_REGNUM, MIPS_GP_REGNUM): New macros.
	* mips-tdep.c (mips_str_mips16_call_stub): New variable.
	(mips_str_mips16_ret_stub): Likewise.
	(mips_str_call_fp_stub): Likewise.
	(mips_str_call_stub): Likewise.
	(mips_str_fn_stub): Likewise.
	(mips_str_pic): Likewise.
	(mips_in_frame_stub): New function.
	(mips_unwind_pc): Return the return address rather than the PC
	if the PC of an intermediate frame is inside a call thunk.
	(mips_is_stub_suffix): New function.
	(mips_is_stub_mode): Likewise.
	(mips_get_mips16_fn_stub_pc): Likewise.
	(mips_skip_mips16_trampoline_code): Update to handle all the
	currently generated stub types.  Don't recurse into __fn_stub
	thunks.  Remove heuristics to handle stubs beyond etext/_etext.
	Use cooked register accesses.
	(mips_in_return_stub): Reintroduce function.
	(mips_skip_trampoline_code): Traverse trampolines recursively.
	(mips_gdbarch_init): Handle MIPS16 return trampolines.

	gdb/testsuite/
	* gdb.arch/mips16-thunks-inmain.c: New file.
	* gdb.arch/mips16-thunks-main.c: New file.
	* gdb.arch/mips16-thunks-sin.c: New file.
	* gdb.arch/mips16-thunks-sinfrob.c: New file.
	* gdb.arch/mips16-thunks-sinfrob16.c: New file.
	* gdb.arch/mips16-thunks-sinmain.c: New file.
	* gdb.arch/mips16-thunks-sinmips16.c: New file.
	* gdb.arch/mips16-thunks.exp: New file.
2012-04-26 16:56:18 +00:00
..
Makefile.in gdb/ 2011-10-09 19:21:39 +00:00
alpha-step.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
alpha-step.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
altivec-abi.c ChangeLog: 2011-02-08 13:25:01 +00:00
altivec-abi.exp gdb/testsuite/ 2012-03-02 18:43:46 +00:00
altivec-regs.c
altivec-regs.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
amd64-byte.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
amd64-disp-step.S Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
amd64-disp-step.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
amd64-dword.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
amd64-entry-value.cc Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
amd64-entry-value.exp Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
amd64-entry-value.s Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
amd64-i386-address.S Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
amd64-i386-address.exp Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
amd64-prologue-xmm.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
amd64-prologue-xmm.exp Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
amd64-prologue-xmm.s Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
amd64-pseudo.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
amd64-word.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
arm-disp-step.S Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
arm-disp-step.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
e500-abi.c
e500-abi.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
e500-prologue.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
e500-prologue.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
e500-regs.c
e500-regs.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
gcore.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
gdb1291.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
gdb1291.s Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
gdb1431.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
gdb1431.s Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
gdb1558.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
gdb1558.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
i386-avx.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
i386-avx.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
i386-bp_permanent.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
i386-byte.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
i386-cpuid.h Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
i386-disp-step.S Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
i386-disp-step.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
i386-dr3-watch.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
i386-dr3-watch.exp Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
i386-gnu-cfi-asm.S Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
i386-gnu-cfi.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
i386-gnu-cfi.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
i386-permbkpt.S Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
i386-permbkpt.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
i386-prologue.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
i386-prologue.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
i386-pseudo.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
i386-signal.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
i386-signal.exp Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
i386-size-overlap.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
i386-size-overlap.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
i386-size.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
i386-size.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
i386-sse.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
i386-sse.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
i386-unwind.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
i386-unwind.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
i386-word.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
ia64-breakpoint-shadow.S Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
ia64-breakpoint-shadow.exp Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
iwmmxt-regs.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
iwmmxt-regs.exp Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
mips16-thunks-inmain.c gdb/ 2012-04-26 16:56:18 +00:00
mips16-thunks-main.c gdb/ 2012-04-26 16:56:18 +00:00
mips16-thunks-sin.c gdb/ 2012-04-26 16:56:18 +00:00
mips16-thunks-sinfrob.c gdb/ 2012-04-26 16:56:18 +00:00
mips16-thunks-sinfrob16.c gdb/ 2012-04-26 16:56:18 +00:00
mips16-thunks-sinmain.c gdb/ 2012-04-26 16:56:18 +00:00
mips16-thunks-sinmips16.c gdb/ 2012-04-26 16:56:18 +00:00
mips16-thunks.exp gdb/ 2012-04-26 16:56:18 +00:00
pa-nullify.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
pa-nullify.s
pa64-nullify.s
powerpc-aix-prologue.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
powerpc-aix-prologue.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
powerpc-d128-regs.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
powerpc-d128-regs.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
powerpc-prologue.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
powerpc-prologue.exp Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
ppc-dfp.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
ppc-dfp.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
ppc-fp.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
ppc-fp.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
ppc64-atomic-inst.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
ppc64-atomic-inst.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
spu-info.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
spu-info.exp Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
spu-ls.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
spu-ls.exp Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
system-gcore.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
thumb-prologue.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
thumb-prologue.exp Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
thumb-singlestep.S Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
thumb-singlestep.exp Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
thumb2-it.S Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
thumb2-it.exp Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
vsx-regs.c
vsx-regs.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00