)]}'
{
  "commit": "98882a26513e25b2161b41dfd4bed97b59b2c01a",
  "tree": "b93c6f85e6e42780f974f82faff02d1eaf9d6db5",
  "parents": [
    "c9737c08e7f804dfa80f71b74cb5678d0b69308e"
  ],
  "author": {
    "name": "Pedro Alves",
    "email": "palves@redhat.com",
    "time": "Thu Oct 24 16:10:05 2013 +0100"
  },
  "committer": {
    "name": "Tom Tromey",
    "email": "tromey@sourceware.org",
    "time": "Fri Oct 25 14:02:59 2013 +0000"
  },
  "message": "Make STARTUP_WITH_SHELL a runtime toggle -- add new \"set/show startup-with-shell\" option.\n\nOccasionaly we hear about people having problems with GDB not being\nable to start programs (with \"run\"/\"start\").  GDB spawns a shell to\nstart the program, and most often, it\u0027ll be the case that the problem\nis actually with the user\u0027s shell setup.\n\nGDB has code to disable the use of the shell to start programs.\nThat\u0027s the STARTUP_WITH_SHELL macro that native targets could set to 0\nin their nm.h file (though no target actually uses it nowadays).\n\nThis patch makes that setting a run-time knob instead.  This will be\nuseful to quickly diagnose such shell issues, and might also come in\nhandy at other times (such as when debugging the shell itself, if you\ndon\u0027t have a different shell handy).\n\ngdb/\n2013-10-24  Pedro Alves  \u003cpalves@redhat.com\u003e\n\n\t* NEWS (New options): Mention set/show startup-with-shell.\n\t* config/alpha/nm-osf3.h (START_INFERIOR_TRAPS_EXPECTED): Set to 2\n\tinstead of 3.\n\t* fork-child.c (fork_inferior, startup_inferior): Handle \u0027set\n\tstartup-with-shell\u0027.\n\t(show_startup_with_shell): New function.\n\t(_initialize_fork_child): Register the set/show startup-with-shell\n\tcommands.\n\t* inf-ptrace.c (inf_ptrace_create_inferior): Remove comment.\n\t* inf-ttrace.c (inf_ttrace_him): Remove comment.\n\t* procfs.c (procfs_init_inferior): Remove comment.\n\t* infcmd.c (startup_with_shell): New global.\n\t* inferior.h (startup_with_shell): Declare global.\n\t(STARTUP_WITH_SHELL): Delete.\n\t(START_INFERIOR_TRAPS_EXPECTED): Set to 1 by default instead of 2.\n\ngdb/doc/\n2013-10-24  Pedro Alves  \u003cpalves@redhat.com\u003e\n\n\t* gdb.texinfo (Starting): Document set/show startup-with-shell.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0c61c89642e3c922c330036ca824c7bdc8a176d1",
      "old_mode": 33188,
      "old_path": "gdb/ChangeLog",
      "new_id": "5d17998aa31b8f557dd0ad454a2e7c76570eb5d6",
      "new_mode": 33188,
      "new_path": "gdb/ChangeLog"
    },
    {
      "type": "modify",
      "old_id": "10834df8391a3ea90d3fd6fcc059f40914c6870d",
      "old_mode": 33188,
      "old_path": "gdb/NEWS",
      "new_id": "6eb50906880ab2cc5d06e9587be77b732c6c8d80",
      "new_mode": 33188,
      "new_path": "gdb/NEWS"
    },
    {
      "type": "modify",
      "old_id": "b3a082d02d214e3d648d017a0070e64b36f84f49",
      "old_mode": 33188,
      "old_path": "gdb/config/alpha/nm-osf3.h",
      "new_id": "7dd278ab60d45ae32533abd3a6b3adac148fa472",
      "new_mode": 33188,
      "new_path": "gdb/config/alpha/nm-osf3.h"
    },
    {
      "type": "modify",
      "old_id": "eb69fdda395bed7955f97552444c6fba83d661d3",
      "old_mode": 33188,
      "old_path": "gdb/doc/ChangeLog",
      "new_id": "c66a152819380733b7abf35d3eaeb54fc382fdc8",
      "new_mode": 33188,
      "new_path": "gdb/doc/ChangeLog"
    },
    {
      "type": "modify",
      "old_id": "44fb174fbf362bdd84bb8d33dd7870b8a107ce59",
      "old_mode": 33188,
      "old_path": "gdb/doc/gdb.texinfo",
      "new_id": "32516ae202049d917a59a965960cb6e918a6864f",
      "new_mode": 33188,
      "new_path": "gdb/doc/gdb.texinfo"
    },
    {
      "type": "modify",
      "old_id": "6820872a04252e122aee962751c5ee18760bb793",
      "old_mode": 33188,
      "old_path": "gdb/fork-child.c",
      "new_id": "a1e49029e2c6833c730d8a3e978e6d8e3cb873be",
      "new_mode": 33188,
      "new_path": "gdb/fork-child.c"
    },
    {
      "type": "modify",
      "old_id": "9e6e98058b8277dadc5578012943792990ae1e8c",
      "old_mode": 33188,
      "old_path": "gdb/inf-ptrace.c",
      "new_id": "bdebe65f8fd04f012982a4906347c24250026188",
      "new_mode": 33188,
      "new_path": "gdb/inf-ptrace.c"
    },
    {
      "type": "modify",
      "old_id": "3ba830fa6692fa6ece84141aa0f250dc5d68da6d",
      "old_mode": 33188,
      "old_path": "gdb/inf-ttrace.c",
      "new_id": "36bf4cb722f6f4ee52cdd4dbc33a06d2e8d4721d",
      "new_mode": 33188,
      "new_path": "gdb/inf-ttrace.c"
    },
    {
      "type": "modify",
      "old_id": "20f88570697b6a91e1a68afa65b75a614b13807b",
      "old_mode": 33188,
      "old_path": "gdb/infcmd.c",
      "new_id": "4ad8ad30738c28b161423bbbf32019f04f2917f1",
      "new_mode": 33188,
      "new_path": "gdb/infcmd.c"
    },
    {
      "type": "modify",
      "old_id": "fff072bbb7068dc13ef9bc1a0c411943afd209ad",
      "old_mode": 33188,
      "old_path": "gdb/inferior.h",
      "new_id": "d33a01afaa478cc4ca308bd7792cd1a25381c0b0",
      "new_mode": 33188,
      "new_path": "gdb/inferior.h"
    },
    {
      "type": "modify",
      "old_id": "5a425ed466510101d76fc4603901c74229bfde9e",
      "old_mode": 33188,
      "old_path": "gdb/procfs.c",
      "new_id": "e0130968b796dcb59e31a3d684f0f416bf6e9db9",
      "new_mode": 33188,
      "new_path": "gdb/procfs.c"
    }
  ]
}
