gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 31 Jul 2012 07:33:16 +0000 (07:33 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 31 Jul 2012 07:33:16 +0000 (07:33 +0000)
commita14dd77ea7e057d2bd7af3d23c65ecef2a1f41a1
treee944a0f95ab2f3e5721a0d4479778f0e72dbb5a1
parent1467929f3fc301abb4d9e0c1746952d078595adb
gdb/
* 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/
* gdb.base/valgrind-infcall.c: New file.
* gdb.base/valgrind-infcall.exp: New file.
gdb/ChangeLog
gdb/infcall.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/valgrind-infcall.c [new file with mode: 0644]
gdb/testsuite/gdb.base/valgrind-infcall.exp [new file with mode: 0644]