gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 14 Jan 2010 20:48:26 +0000 (20:48 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 14 Jan 2010 20:48:26 +0000 (20:48 +0000)
commitb8040f198caee93044ccfc5aacaa0c3244057b0a
tree377164e5942eca841914b8e2169f7962d72e3275
parenta2a7d12cfc7afce610d6f2c45e7f8883668c9c56
gdb/
* solib-svr4.c (svr4_relocate_main_executable): Move the static exec
code part to ...
(svr4_static_exec_displacement): ... a new function.
(svr4_exec_displacement): New function.
(svr4_relocate_main_executable): Call svr4_exec_displacement.  Allocate
new_offsets using alloca now.  Remove variable old_chain and changed.
Call objfile_relocate unconditionally now.

gdb/testsuite/
* gdb.base/break-interp.exp: New file.
gdb/ChangeLog
gdb/solib-svr4.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/break-interp.exp [new file with mode: 0644]