diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2014-01-08 21:42:07 +0100 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2014-02-16 08:30:09 +0100 |
commit | c82f56d9d760a9b4034eeaac44f2f0fa5779ff69 (patch) | |
tree | 92aa45199a271e9175914f00b90bce4dac5173e2 /elfcpp | |
parent | 3398af6aa352b0611bc9d66aed72080a876e42d4 (diff) | |
download | gdb-c82f56d9d760a9b4034eeaac44f2f0fa5779ff69.zip gdb-c82f56d9d760a9b4034eeaac44f2f0fa5779ff69.tar.gz gdb-c82f56d9d760a9b4034eeaac44f2f0fa5779ff69.tar.bz2 |
Hurd: Adjust to startup-with-shell changes.
In commit 98882a26513e25b2161b41dfd4bed97b59b2c01a, STARTUP_WITH_SHELL was made
a runtime toggle, startup-with-shell. The Hurd code was missed to be adjusted;
it had a value hard-coded instead of using START_INFERIOR_TRAPS_EXPECTED. Fix
that, and also simplify gnu-nat's pending_execs handling from counting to just
a flag.
gdb/
* gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
flag. Adjust all users; in particular...
(gnu_wait): ..., don't decrement its value in here...
(gnu_create_inferior): ..., and instead set the flag in here,
around the startup_inferior call, and call that one with
START_INFERIOR_TRAPS_EXPECTED.
Diffstat (limited to 'elfcpp')
0 files changed, 0 insertions, 0 deletions