X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=70736f5cc3e7b3f42b0485519af947d5d7c4db2e;hb=ff4ca5ac6a2e85177dc7efe5cbda7b956bb71fd5;hp=6424388711b240018f782ea6cbf7a2198c962fbe;hpb=2d7cc5c7973b6d1bdd9205288863bedadeaf8b41;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6424388711..70736f5cc3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,110 @@ +2017-06-08 Alan Hayward + + * mi/mi-main.c (register_changed_p): Use cooked_read_value. + +2017-06-07 Sergio Durigan Junior + + * NEWS (Changes since GDB 8.0): Announce that GDBserver is now + able to start inferiors using a shell. + (New remote packets): Announce new packet "QStartupWithShell". + * remote.c: Add PACKET_QStartupWithShell. + (extended_remote_create_inferior): Handle new + PACKET_QStartupWithShell. + (remote_protocol_features) : New entry for + PACKET_QStartupWithShell. + (_initialize_remote): Call "add_packet_config_cmd" for + QStartupShell. + +2017-06-07 Sergio Durigan Junior + Pedro Alves + + * Makefile.in (HFILES_NO_SRCDIR): Add "common/common-inferior.h" + and "nat/fork-inferior.h". + * common/common-inferior.h: New file, with contents from + "gdb/inferior.h". + * commom/common-utils.c: Include "common-utils.h". + (stringify_argv): New function. + * common/common-utils.h (stringify_argv): New prototype. + * configure.nat: Add "fork-inferior.o" as a dependency for + "*linux*", "fbsd*" and "nbsd*" hosts. + * corefile.c (get_exec_file): Update comment. + * darwin-nat.c (darwin_ptrace_him): Call "gdb_startup_inferior" + instead of "startup_inferior". + (darwin_create_inferior): Call "add_thread_silent" after + "fork_inferior". + * fork-child.c: Cleanup unnecessary includes. + (SHELL_FILE): Move to "common/common-fork-child.c". + (environ): Likewise. + (exec_wrapper): Initialize. + (get_exec_wrapper): New function. + (breakup_args): Move to "common/common-fork-child.c"; rename to + "breakup_args_for_exec". + (escape_bang_in_quoted_argument): Move to + "common/common-fork-child.c". + (saved_ui): New variable. + (prefork_hook): New function. + (postfork_hook): Likewise. + (postfork_child_hook): Likewise. + (gdb_startup_inferior): Likewise. + (fork_inferior): Move to "common/common-fork-child.c". Update + function to support gdbserver. + (startup_inferior): Likewise. + * gdbcore.h (get_exec_file): Remove declaration. + * gnu-nat.c (gnu_create_inferior): Call "gdb_startup_inferior" + instead of "startup_inferior". Call "add_thread_silent" after + "fork_inferior". + * inf-ptrace.c: Include "nat/fork-inferior.h" and "utils.h". + (inf_ptrace_create_inferior): Call "gdb_startup_inferior" + instead of "startup_inferior". Call "add_thread_silent" after + "fork_inferior". + * inferior.h: Include "common-inferior.h". + (trace_start_error): Move to "common/common-utils.h". + (trace_start_error_with_name): Likewise. + (fork_inferior): Move prototype to "nat/fork-inferior.h". + (startup_inferior): Likewise. + (gdb_startup_inferior): New prototype. + * nat/fork-inferior.c: New file, with contents from "fork-child.c". + * nat/fork-inferior.h: New file. + * procfs.c (procfs_init_inferior): Call "gdb_startup_inferior" + instead of "startup_inferior". Call "add_thread_silent" after + "fork_inferior". + * target.h (target_terminal_init): Move prototype to + "target/target.h". + (target_terminal_inferior): Likewise. + (target_terminal_ours): Likewise. + * target/target.h (target_terminal_init): New prototype, moved + from "target.h". + (target_terminal_inferior): Likewise. + (target_terminal_ours): Likewise. + * utils.c (gdb_flush_out_err): New function. + +2017-06-07 Sergio Durigan Junior + + * Makefile.in (HFILES_NO_SRCDIR): Add "common/common-gdbthread.h". + * common/common-gdbthread.h: New file, with parts from + "gdb/gdbthread.h". + * gdbthread.h: Include "common-gdbthread.h". + (switch_to_thread): Moved to "common/common-gdbthread.h". + +2017-06-07 Sergio Durigan Junior + + * Makefile.in (SFILES): Add "common/job-control.c". + (HFILES_NO_SRCDIR): Add "common/job-control.h". + (COMMON_OBS): Add "job-control.o". + * common/job-control.c: New file, with contents from + "gdb/inflow.c". + * common/job-control.h: New file, with contents from "terminal.h". + * fork-child.c: Include "job-control.h". + * inflow.c: Include "job-control.h". + (gdb_setpgid): Move to "common/common-inflow.c". + (_initialize_inflow): Move setting of "job_control" to + "handle_job_control". + * terminal.h (job_control): Moved to "common/common-terminal.h". + (gdb_setpgid): Likewise. + * top.c: Include "job_control.h". + * utils.c: Likewise. + (job_control): Moved to "job-control.c". + 2017-06-07 Pedro Alves * Makefile.in (SFILES): Add gdb_regex.c.