[commit+7.5] [patchv2] Write bpt at the ON_STACK bpt address

Jan Kratochvil
2012-07-31T07:37:49Z

On Fri, 27 Jul 2012 20:46:33 +0200, Jan Kratochvil wrote:
> gdb/
> 2012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> * infcall.c (call_function_by_hand): Move BP_ADDR comment to
> AT_ENTRY_POINT.
> (call_function_by_hand) <ON_STACK>: Call write_memory with
> gdbarch_breakpoint_from_pc, if possible.
> (call_function_by_hand) <AT_ENTRY_POINT>: The BP_ADDR comment is moved
> here.
>
> gdb/testsuite/
> 2012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> * gdb.base/valgrind-infcall.c: New file.
> * gdb.base/valgrind-infcall.exp: New file.

Checked in:
http://sourceware.org/ml/gdb-cvs/2012-07/msg00256.html
and for 7.5:
http://sourceware.org/ml/gdb-cvs/2012-07/msg00257.html

without these in fact unrelated parts:

> gdb/doc/
> 2012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> * gdbint.texinfo (Defining Other Architecture Features): Clarify *pcptr
> encoding for gdbarch_breakpoint_from_pc, bp_addr for
> gdbarch_push_dummy_call and bp_addr for gdbarch_push_dummy_code.

> * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.

Thanks,
Jan