This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gdb and binutils branch master updated. 7283b932234f3501eb19c1750d79c20fc339f32a


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".

The branch, master has been updated
       via  7283b932234f3501eb19c1750d79c20fc339f32a (commit)
      from  d993ade58be7c10e1da7ab2bedff7a0b97dceec0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7283b932234f3501eb19c1750d79c20fc339f32a

commit 7283b932234f3501eb19c1750d79c20fc339f32a
Author: Pedro Alves <palves@redhat.com>
Date:   Thu Oct 24 16:10:05 2013 +0100

    Make STARTUP_WITH_SHELL a runtime toggle -- add new "set/show startup-with-shell" option.
    
    Occasionaly we hear about people having problems with GDB not being
    able to start programs (with "run"/"start").  GDB spawns a shell to
    start the program, and most often, it'll be the case that the problem
    is actually with the user's shell setup.
    
    GDB has code to disable the use of the shell to start programs.
    That's the STARTUP_WITH_SHELL macro that native targets could set to 0
    in their nm.h file (though no target actually uses it nowadays).
    
    This patch makes that setting a run-time knob instead.  This will be
    useful to quickly diagnose such shell issues, and might also come in
    handy at other times (such as when debugging the shell itself, if you
    don't have a different shell handy).
    
    gdb/
    2013-10-24  Pedro Alves  <palves@redhat.com>
    
    	* NEWS (New options): Mention set/show startup-with-shell.
    	* config/alpha/nm-osf3.h (START_INFERIOR_TRAPS_EXPECTED): Set to 2
    	instead of 3.
    	* fork-child.c (fork_inferior, startup_inferior): Handle 'set
    	startup-with-shell'.
    	(show_startup_with_shell): New function.
    	(_initialize_fork_child): Register the set/show startup-with-shell
    	commands.
    	* inf-ptrace.c (inf_ptrace_create_inferior): Remove comment.
    	* inf-ttrace.c (inf_ttrace_him): Remove comment.
    	* procfs.c (procfs_init_inferior): Remove comment.
    	* infcmd.c (startup_with_shell): New global.
    	* inferior.h (startup_with_shell): Declare global.
    	(STARTUP_WITH_SHELL): Delete.
    	(START_INFERIOR_TRAPS_EXPECTED): Set to 1 by default instead of 2.
    
    gdb/doc/
    2013-10-24  Pedro Alves  <palves@redhat.com>
    
    	* gdb.texinfo (Starting): Document set/show startup-with-shell.

-----------------------------------------------------------------------

Summary of changes:
 gdb/ChangeLog              |   18 ++++++++++++++++++
 gdb/NEWS                   |    5 +++++
 gdb/config/alpha/nm-osf3.h |    9 +++++----
 gdb/doc/ChangeLog          |    4 ++++
 gdb/doc/gdb.texinfo        |   32 ++++++++++++++++++++++++++++++--
 gdb/fork-child.c           |   31 +++++++++++++++++++++++++++----
 gdb/inf-ptrace.c           |    3 ---
 gdb/inf-ttrace.c           |    3 ---
 gdb/infcmd.c               |    6 +++++-
 gdb/inferior.h             |   42 ++++++++++++++++++++++++------------------
 gdb/procfs.c               |    2 --
 11 files changed, 118 insertions(+), 37 deletions(-)


hooks/post-receive
-- 
gdb and binutils


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]