delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-Authentication-Warning: | eos.vss.fsi.com: ford owned process doing -bs |
Date: | Wed, 29 Jan 2003 10:29:22 -0600 (CST) |
From: | Brian Ford <ford AT vss DOT fsi DOT com> |
X-X-Sender: | ford AT eos |
To: | cygwin AT cygwin DOT com |
cc: | gdb-patches AT sources DOT redhat DOT com |
Subject: | Re: Fall back from Windows to cygwin PIDs |
In-Reply-To: | <Pine.GSO.4.44.0301071058530.544-200000@eos> |
Message-ID: | <Pine.GSO.4.44.0301290958350.25762-200000@eos> |
MIME-Version: | 1.0 |
---559023410-758783491-1043857762=:25762 Content-Type: TEXT/PLAIN; charset=US-ASCII I haven't gotten any response from gdb-patches yet, so I thought I would ping the cygwin list too. I think this is a valuable addition since it adds functionality that most UNIX users expect without changing current behavior. I also saw a posting (gdb or cygwin, I can't remember which) that said a patch for this would probably be accepted if submitted. Thanks. 2003-01-29 Brian Ford <ford AT vss DOT fsi DOT com> * win32-nat.c (cygwin_pid): Removed as unused. (child_attach): Try fall back to Cygwin pid. > On Mon, Jan 06, 2003 at 01:23:35PM -0600, Brian Ford wrote: > >The attached patch attempts to fall back from Windows to Cygwin PIDs. >This only adds functionality, without changing the previous behavior. As >such, I believe it will lessen confusion for those expecting normal >Unix like behavior under Cygwin. Thanks and please CC me on replies. > -- Brian Ford Senior Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International Phone: 314-551-8460 Fax: 314-551-8444 ---559023410-758783491-1043857762=:25762 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="win32-nat.patch" Content-Transfer-Encoding: BASE64 Content-ID: <Pine DOT GSO DOT 4 DOT 44 DOT 0301291029220 DOT 25762 AT eos> Content-Description: Content-Disposition: attachment; filename="win32-nat.patch" SW5kZXg6IHdpbjMyLW5hdC5jDQo9PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQpS Q1MgZmlsZTogL2N2cy9zcmMvc3JjL2dkYi93aW4zMi1uYXQuYyx2DQpyZXRy aWV2aW5nIHJldmlzaW9uIDEuNjgNCmRpZmYgLXUgLXAgLXUgLXAgLXIxLjY4 IHdpbjMyLW5hdC5jDQotLS0gd2luMzItbmF0LmMJMTQgSmFuIDIwMDMgMDA6 NDk6MDQgLTAwMDAJMS42OA0KKysrIHdpbjMyLW5hdC5jCTI5IEphbiAyMDAz IDE2OjI2OjM2IC0wMDAwDQpAQCAtMTI0LDcgKzEyNCw2IEBAIHN0YXRpYyBE RUJVR19FVkVOVCBjdXJyZW50X2V2ZW50OwkvKiBUaGUNCiBzdGF0aWMgSEFO RExFIGN1cnJlbnRfcHJvY2Vzc19oYW5kbGU7CS8qIEN1cnJlbnRseSBleGVj dXRpbmcgcHJvY2VzcyAqLw0KIHN0YXRpYyB0aHJlYWRfaW5mbyAqY3VycmVu dF90aHJlYWQ7CS8qIEluZm8gb24gY3VycmVudGx5IHNlbGVjdGVkIHRocmVh ZCAqLw0KIHN0YXRpYyBEV09SRCBtYWluX3RocmVhZF9pZDsJCS8qIFRocmVh ZCBJRCBvZiB0aGUgbWFpbiB0aHJlYWQgKi8NCi1zdGF0aWMgcGlkX3QgY3ln d2luX3BpZDsJCS8qIHBpZCBvZiBjeWd3aW4gcHJvY2VzcyAqLw0KIA0KIC8q IENvdW50cyBvZiB0aGluZ3MuICovDQogc3RhdGljIGludCBleGNlcHRpb25f Y291bnQgPSAwOw0KQEAgLTE0NjcsMTIgKzE0NjYsMjEgQEAgY2hpbGRfYXR0 YWNoIChjaGFyICphcmdzLCBpbnQgZnJvbV90dHkpDQogICAgICAgcHJpbnRm X3VuZmlsdGVyZWQgKCJUaGlzIGNhbiBjYXVzZSBhdHRhY2ggdG8gZmFpbCBv biBXaW5kb3dzIE5ULzJLL1hQXG4iKTsNCiAgICAgfQ0KIA0KLSAgcGlkID0g c3RydG91bCAoYXJncywgMCwgMCk7DQorICBwaWQgPSBzdHJ0b3VsIChhcmdz LCAwLCAwKTsgLyogV2luZG93cyBwaWQgKi8NCiAgIG9rID0gRGVidWdBY3Rp dmVQcm9jZXNzIChwaWQpOw0KICAgc2F3X2NyZWF0ZSA9IDA7DQogDQogICBp ZiAoIW9rKQ0KLSAgICBlcnJvciAoIkNhbid0IGF0dGFjaCB0byBwcm9jZXNz LiIpOw0KKyAgICB7DQorICAgICAgLyogVHJ5IGZhbGwgYmFjayB0byBDeWd3 aW4gcGlkICovDQorICAgICAgcGlkID0gY3lnd2luX2ludGVybmFsIChDV19D WUdXSU5fUElEX1RPX1dJTlBJRCwgcGlkKTsNCisNCisgICAgICBpZiAocGlk ID4gMCkNCisgICAgICAgIG9rID0gRGVidWdBY3RpdmVQcm9jZXNzIChwaWQp Ow0KKw0KKyAgICAgIGlmICghb2spDQorICAgICAgICBlcnJvciAoIkNhbid0 IGF0dGFjaCB0byBwcm9jZXNzLiIpOw0KKyAgICB9DQogDQogICBpZiAoaGFz X2RldGFjaF9hYmlsaXR5ICgpKQ0KICAgICB7DQo= ---559023410-758783491-1043857762=:25762 Content-Type: text/plain; charset=us-ascii -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ ---559023410-758783491-1043857762=:25762--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |