Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Apr 2008 17:28:33 -0400
From:      Coleman Kane <cokane@FreeBSD.org>
To:        current@FreeBSD.org
Cc:        jhb@FreeBSD.org
Subject:   Patch to fix crashing experienced while using GDB
Message-ID:  <1208208513.1279.51.camel@localhost>

next in thread | raw e-mail | index | archive | help

--=-XSsj4+O5m+M8LFFtlRMG
Content-Type: multipart/mixed; boundary="=-nNwGrSwM9BDFsEPxaF7b"


--=-nNwGrSwM9BDFsEPxaF7b
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hello,

Some time ago, I got the attached patch from jhb (IIRC). It has worked
for me and cured a problem that was making a bunch of my code
un-traceable using GDB on FreeBSD. Debugging would result in a crash of
GDB, preventing me from seeing what bug I had that crashed my program.

Anyhow, my question is: Is there any reason this shouldn't be pushed
into the tree? Who do I need to talk to (obrien? the compiler
maintainers?) about it?

--=20
Coleman Kane


--=-nNwGrSwM9BDFsEPxaF7b
Content-Disposition: attachment; filename=contrib_gdb_gdb_target.c.patch
Content-Transfer-Encoding: base64
Content-Type: text/x-patch; name=contrib_gdb_gdb_target.c.patch; charset=UTF-8

ZGlmZiAtLWdpdCBhL2NvbnRyaWIvZ2RiL2dkYi90YXJnZXQuYyBiL2NvbnRyaWIvZ2RiL2dkYi90
YXJnZXQuYw0KaW5kZXggZmY0N2FjMS4uYzI0MTY3NiAxMDA2NDQNCi0tLSBhL2NvbnRyaWIvZ2Ri
L2dkYi90YXJnZXQuYw0KKysrIGIvY29udHJpYi9nZGIvZ2RiL3RhcmdldC5jDQpAQCAtMTQyNSw2
ICsxNDI1LDEzIEBAIHRhcmdldF9yZXNpemVfdG9fc2VjdGlvbnMgKHN0cnVjdCB0YXJnZXRfb3Bz
ICp0YXJnZXQsIGludCBudW1fYWRkZWQpDQogCSAgICAgICgqdCktPnRvX3NlY3Rpb25zX2VuZCA9
IHRhcmdldC0+dG9fc2VjdGlvbnNfZW5kOw0KIAkgICAgfQ0KIAl9DQorDQorICAgICAgIC8qIEpI
QjogTmVlZCB0byB1cGRhdGUgY3VycmVudF90YXJnZXQgdG9vLiAqLw0KKyAgICAgICBpZiAoY3Vy
cmVudF90YXJnZXQudG9fc2VjdGlvbnMgPT0gb2xkX3ZhbHVlKQ0KKyAgICAgICAgew0KKyAgICAg
ICAgICBjdXJyZW50X3RhcmdldC50b19zZWN0aW9ucyA9IHRhcmdldC0+dG9fc2VjdGlvbnM7DQor
ICAgICAgICAgIGN1cnJlbnRfdGFyZ2V0LnRvX3NlY3Rpb25zX2VuZCA9IHRhcmdldC0+dG9fc2Vj
dGlvbnNfZW5kOw0KKyAgICAgICAgfQ0KICAgICB9DQogICANCiAgIHJldHVybiBvbGRfY291bnQ7
DQo=


--=-nNwGrSwM9BDFsEPxaF7b--

--=-XSsj4+O5m+M8LFFtlRMG
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (FreeBSD)

iEYEABECAAYFAkgDzH4ACgkQcMSxQcXat5fRaQCcDuj6UaxgfiEslGxO/1nYBuVs
6QEAn0/pm5H3o267ghN7MQRvgysDLZEs
=UgNu
-----END PGP SIGNATURE-----

--=-XSsj4+O5m+M8LFFtlRMG--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1208208513.1279.51.camel>