OSDN Git Service

gdb/
authorjkratoch <jkratoch>
Fri, 8 Jan 2010 22:52:03 +0000 (22:52 +0000)
committerjkratoch <jkratoch>
Fri, 8 Jan 2010 22:52:03 +0000 (22:52 +0000)
commitfa69bb3fe9256d02610eea24d6c3a07424c02041
treef13cc43347316331d9cf4b886e044a27099f6e62
parent2acab4b0ce615a84b7b0114d05c45ba8f03cdcda
gdb/
Add from_tty to solib_create_inferior_hook.
* infcmd.c (post_create_inferior): Move solib_add after
solib_create_inferior_hook.  Pass from_tty to
solib_create_inferior_hook.  Call solib_add and SOLIB_ADD with
0 from_tty and comment why.
* infrun.c (follow_exec): Pass from_tty solib_create_inferior_hook as 0.
* linux-nat.c (linux_child_follow_fork): Likewise.
* nto-procfs.c (procfs_post_attach, procfs_create_inferior): Likewise.
* solib-darwin.c (darwin_solib_create_inferior_hook): New parameter
from_tty.
* solib-frv.c (frv_solib_create_inferior_hook): Likewise.
* solib-irix.c (irix_solib_create_inferior_hook): Likewise.
* solib-null.c (null_solib_create_inferior_hook): Likewise.
* solib-osf.c (osf_solib_create_inferior_hook): Likewise.
* solib-pa64.c (pa64_solib_create_inferior_hook): Likewise.
* solib-som.c (som_solib_create_inferior_hook): Likewise.
* solib-spu.c (spu_solib_create_inferior_hook): New parameter from_tty.
Pass it to svr4_so_ops.solib_create_inferior_hook.
* solib-sunos.c (sunos_solib_create_inferior_hook): New parameter
from_tty.
* solib-svr4.c (enable_break): New parameter from_tty.  Pass it to
solib_add.
(svr4_solib_create_inferior_hook): New parameter from_tty.  Pass it to
enable_break.
* solib-target.c (solib_target_solib_create_inferior_hook): New
parameter from_tty.
* solib.c (solib_create_inferior_hook): New parameter from_tty.  Pass
it to ops->solib_create_inferior_hook.
(reload_shared_libraries): Pass from_tty to solib_create_inferior_hook.
Move solib_add after solib_create_inferior_hook, call it now with
from_tty as 0.  New comment there.
* solib.h (solib_create_inferior_hook): New parameter from_tty.
* solist.h (struct target_so_ops <solib_create_inferior_hook>):
Likewise.
19 files changed:
gdb/ChangeLog
gdb/infcmd.c
gdb/infrun.c
gdb/linux-nat.c
gdb/nto-procfs.c
gdb/solib-darwin.c
gdb/solib-frv.c
gdb/solib-irix.c
gdb/solib-null.c
gdb/solib-osf.c
gdb/solib-pa64.c
gdb/solib-som.c
gdb/solib-spu.c
gdb/solib-sunos.c
gdb/solib-svr4.c
gdb/solib-target.c
gdb/solib.c
gdb/solib.h
gdb/solist.h