From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8431 invoked by alias); 14 Oct 2013 09:11:26 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 8408 invoked by uid 9514); 14 Oct 2013 09:11:25 -0000 Date: Mon, 14 Oct 2013 09:11:00 -0000 Message-ID: <20131014091123.7862.qmail@sourceware.org> From: pmuldoon@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] tromey/python: Merge remote-tracking branch 'gdb/master' into tromey/python X-Git-Refname: refs/heads/tromey/python X-Git-Reftype: branch X-Git-Oldrev: a2060eb1c26e8143110e253d5d86d38c2a216bb0 X-Git-Newrev: aed684a9a6f3dab80262ca21d6c728e99526b37f X-SW-Source: 2013-q4/txt/msg00000.txt.bz2 List-Id: The branch, tromey/python has been updated via aed684a9a6f3dab80262ca21d6c728e99526b37f (commit) via ce4a91da2b21b95abffe43121c900f2116bc61d3 (commit) via 3321e62ab255b4aa700aa265aed86c1d2cff4072 (commit) via dd2cc6d103d7754193cfd6140d230ea3705a94cb (commit) via 6d67c68661780281dc39f07aac468c909d68d9be (commit) via 725e567b57557602e3b0ba50931086fe1df5f757 (commit) via 4f7d2fdf43497f8ca82e3ebc40f955a3af1e1ade (commit) via e298025b0522578a3ab0d2acc04e88575ccff1ae (commit) via 08d8813b332ece618f0fc1fbd50a63300119491b (commit) via 335d5195b0b0d542336e3bf9c36b8c76f1a7e2fd (commit) via 3aca49c5506196015ea43dea976f6d03528d6287 (commit) via 4cc76ed29292ed185ad68a4ed2202f4a66cd22e2 (commit) via 64d741ed5d86294ad917c6b489085f96a5cf5a38 (commit) via b8829116ffe16348d4d11393ef7ed9ec2e1403ad (commit) via 0b42e200e2db895678548c979f6ca897f0cb535e (commit) via 1f8d858cab10848c0330706f5a287195cdd64ae6 (commit) via 988805e84cab69ce3af29bbf24a9b0bb7f279ef9 (commit) via 86c8dea5188d7c0a9b6070268500c52d3f24ff26 (commit) via 77ff84070b9ac7ae6078dc5c3fa352201ba28d9f (commit) via 584529ca6570579ba59bc0480f302d4108d4775f (commit) via b3ca8048b0c43163f61daf22c9601ab95262cbe7 (commit) via 9c3eea2f53a791fe4f7624b68e3503fb2ae0d8b4 (commit) via dc5942c1b6a34378adb18097a56e919360d83997 (commit) via 2ab50d31b4fc0d9146ec7d014bb8f48e361e16f7 (commit) via 66c73976c34494b0873621ba2b97ae9adcee56b4 (commit) via 7e2f1f17871b71174f2131d9e3a54c81fe7ad954 (commit) via 8b8cf970d524b84ba7f8a47635f4b9f1d6ecb138 (commit) via a8e98c97ed5cbf252f8c66a684e86db7c00c9288 (commit) via b40e58a5b1307806812183a6b2a3fd0bbd0c401f (commit) via ee9007efed0ea73292676b4986bc583fa5cd19e0 (commit) via e28eae2f4f09783b06bdd35dba7034de44771118 (commit) via 71db6182b6d75e4351bc5b5739d6db8572b3ab2e (commit) via be275c95a9051bc9d1fded26fd5f4fb9e5110da5 (commit) via b5c16ade2b762dc1620c958ae4b58246cacf08f1 (commit) via e17c23ebbb87e0d46122d771f33dabfb5b07c09f (commit) via 705ba926a5b9ad4b833d7d005b7cffedc7235be7 (commit) via 9d85f09f99debd275e97f2de37810cd6e3f716c3 (commit) via 19b8163ec59427a05045a363a816c2ad74f95618 (commit) via 64a88fefce537a75a9c141d4b6c66a649fb283b6 (commit) via d4356aca30c665aeb66f0a1363df6ed1d922384c (commit) via 9e69dac737eb5ae3862b3b3613c8520aa7413b64 (commit) via 98928e91e95495f3e9f02052f02f58a5fac9a01d (commit) via 476504d90adacb7e5f0e6d070adfa56df374e723 (commit) via c875e21d7d5153c05e6ccb0287605e0c153f5ff2 (commit) via 61b9f5f206b72320f0db2f66df6afd7de3a8d055 (commit) via f6cbac5b0512acea1e1a1735ac26e713b17b69d0 (commit) via 1677499f5afa31d6f07f0caca3eaca3855e70348 (commit) via 29c3eb83b92ecec761add5bd03d59a2c3551b038 (commit) via 87da1eab9b570eb2aec5cd017d90ac147677ff53 (commit) via de2b56fbbc0302260274da761ff29f2d08ebae37 (commit) via 57115bb054f20a7e64182c8ffdbef976a914f074 (commit) via 2b45698b487880a0b294d2439163c0629f31d17b (commit) via 6757d19225d6c4a10b9077bbe6b766cfe79e8569 (commit) via 43c9461a29a4a2687d2a2d50d825b973abe97b3a (commit) via 25664fc65d55e40381c90728a6440afdd90f70cb (commit) via 21466139f6f2021d885548429e1c1aa02ae55f1e (commit) via ba056d15d2d6bd933cb23d04c882af804647b900 (commit) via 0c4c4d253d1471343ed82a9fb97984e05d7819fd (commit) via fa6b8f5a38aa90339590d7a3e5f5e1d9b3e31912 (commit) via b880d6dd9defa4637eaeb79c5ff529bba81e2a7f (commit) via 05348221297f63aabaab81061c81d1829b87abf5 (commit) via 097e93eccdf7d7539ff8ff2d137a791f585c3504 (commit) via 41869ed3d33ed5c50df8d36476f027e56b7df4e5 (commit) via 5c5ea68c9e10fbc507a7ce995a85246c26032c8c (commit) via b2720bc57b6ccee7157e7f7dc23cf310cf066677 (commit) via 16fd332e4240cce47a1a990d2b2b8190cd5ee5f8 (commit) via 5133593f601eb6ef05152cec1ecf4bf34acd206b (commit) via c087b2a444946d983b50a33753e97d57d1371e74 (commit) via ba5a2d803c715cc8de86161fd8d518cd95678b9b (commit) via 77243baca2a743f213316ce58b45e15f2e57f456 (commit) via f84690b22b0653445a763e71f6b56010035eb013 (commit) via e08cb2c735ad3597e324a85eb9dd657e043ccb0d (commit) via ab7671484b519367450d99cc3d9ca85915432ca2 (commit) via b94363364cf7d9d1dd591ec006d5b5e5e467d7c0 (commit) via 958f43c76b1bde04fbf2b97631a93093c17c3bc8 (commit) via 5ffb28e53763e1950f0468eb6c477ca3e0cd2dc9 (commit) via 6957386a80c6432cf6fd3dec2b394a0dd836bac2 (commit) via d8de0472d930925e8a8bb8d8bfcd489f07c8a203 (commit) via 70166e7ad853a415d641fb5222b39953cc20c209 (commit) via 17b0ea1ae0ae3d4dfe714e2c880a9377b8b344c3 (commit) via d34e7bc2d3c61af8ac4a7dabf4d2fd8adbf39b60 (commit) via 1781ae70fe4cd033a7cbd953a45ab3da795c4dd6 (commit) via eb00ccea9d390a0a5748bb62d93b06baeaf35dfa (commit) via a05b62e2ce3b4e82a7f2ec22df7ad907949c478d (commit) via 686117608240f09fc72ba40ccac1db804e66243a (commit) via a8d43ff9daf61a423b9b60c41b1b1815895eb09f (commit) via 8e600191e22d3678c76992f8384db3ba6ab2b528 (commit) via 0b6dfee8ae8027e40986e1140771b428c7aaa6da (commit) via 936847f48dedfb3437f8271597b0177bc625515c (commit) via 5f60e60da1519ec1ba4d8bd3bc78a3928fcc7cec (commit) via bbd5ead4f2ce1216d41cc6f301f6b0db812d63b4 (commit) via b73fbf934b7f6691d6c2d1abc2e555ed0684b6ef (commit) via 08eedad014bd24bf93e679376bcb3fa6f6574358 (commit) via 7a1e5f01a9a149d823490ad3b454a754b0f584f0 (commit) via 632de0d4f2091f5bae0e44eecb34286dc1f3fa05 (commit) via 0b0cf856138144fff5e010d1c4b06f9cbe8c4260 (commit) via c85cddc51d5d9e4423509a2dc7cf3d9809451b49 (commit) via 9cb8e9ab9d225807a721e2b6d520e663fc2fbb81 (commit) via 378108e9495cac8f5bbaff4528ae387a134e2a07 (commit) via bdfb1be45ce5b3a4d6473810595ad532d11f703f (commit) via 1dc6a1c524d57f32f896af64e0af7a750f0dcbcd (commit) via c8bca51b10b7ca177360768a1c0d9cd6f3e5765b (commit) via a57e89792d833f391453274ee62a933a7db90c11 (commit) via 9e37e885ad117e272639afbc36e81e218e29847a (commit) via 0f5c7642da2ef4e73204d251b96e8762e979fc9b (commit) via 7a098c2d47220ca413993e71c0911468de0cef34 (commit) via 63b4d2410df203b11d23f87e042d3db8ca094f04 (commit) via ceda0895037ea390baa326c7ed8d7a812289dcfd (commit) via 479b8df39e9ed7be12d44e48f93c2bf3fe909303 (commit) via c12044384ebc6d210636f2e5f5460bbe854f5390 (commit) via 86ce5109e88ebc2389572377b07ada890e40d324 (commit) via b1201ac4b646cb3f16a334613a328297bc039493 (commit) via 6d507eb10c6b0e1c8f0ec3e210ac05efa3b00816 (commit) via d2306b37658ef5019021135429c2e7c8e0d09be4 (commit) via 9cbf9e4e83a7c576efd3d16beab2ab2a5be5d1a9 (commit) via 29ba145d7fa207912f522231d1c83b52d36377a6 (commit) via 83ac1b81fccda6034d12236a657200aeba103112 (commit) via d1a5889eb78d960adc5b60ce215ef428aaa9f42d (commit) via b2c30ccf8938f4e7705413b3408a690f981fb6e0 (commit) via fab6c1675a159406ab65d582e85b51a75e55fb41 (commit) via a8899f272646ae4c5873e74135333d0be222e8a8 (commit) via 50914b8f285ba4e49080ded08ee71db8fa8c32d6 (commit) via 543f02b9732785cfab4cb3dfb7cb7c0b2b446ea8 (commit) via 8f1950da912021bb6bfa517d19b6347667df1efd (commit) via f1844708c5c7fdf3eb6aea2f214e14f042bff0fc (commit) via 9c4a8bfef58647615ebc96a02f8e9a468f3250d4 (commit) via 0365be41f904f540069211e8a2966b9aa0034e54 (commit) via 079a0e43a24ef0f4490aea722599e632bd955182 (commit) via 224b06cf27d937a9174017bc49f8dc3d033f237e (commit) via d614be71abc90e4608905cc82f636dcdf0416c9f (commit) via 6a9c1b31834f69fc2c13cd61c5570dbc6819f970 (commit) via 7e414f30983310e8dfd126e9ab2a3529ffd4075a (commit) via f49e1ecc3da86850fa2923c08a3b04afb15e5ee5 (commit) via abbb8426a7f6303441551f242cf351bb5afa2ce5 (commit) via 536e181d49fe621583d88b04201909693c05e733 (commit) via cb8979475e521ba91a01d2c8bc8d9e82674b59b5 (commit) via bbfffa84cb2207278d085c7bee63d96cdfd597b9 (commit) via 9f7fcd2121e95029a40f11e6d301be50eedc5cdc (commit) via f7b5d0e237b40fd0299316a6ceeaa77054a81312 (commit) via ed96146f2b556850738a49374f94346eeb17da49 (commit) via bd11cefe265a840bfe84454acff864bfa30798bc (commit) via ab77f89e8ef78661601291d8b9c0e0fa69ea7c3e (commit) via 45b58053b371158c6e407a0bdf5dd0db1074d937 (commit) via 32ea97bf430c0f65db8c0ed5453a468289936fb6 (commit) via 78b234a511d45149adedd1550cd8d0ec521fb711 (commit) via 839e2e44bc516c690769e0b268e0b27ac29b72de (commit) via 5a7609f546b2995ce5b9d917ab5a51e022eb23e2 (commit) via c6c2f71764cc17ec2a855b21f454449d4118720a (commit) via 21c745fd835a2b42a60ac0612f070a64655a3cd5 (commit) via 51c92d04868bda27020a3dca7c0e6fb69a81203c (commit) via ed16cce345679080b1fc077c650c2e85ccb92dba (commit) via e3b73ec5725fab646dec91c6e9961b497f110f70 (commit) via 0f17df9c1087adcf5669f48e963964890993b91c (commit) via dbb382980b480494369cd0787f89343b01e9d971 (commit) via 36fba904ad21b19b08eed6ae7bdd3b88ce4b55e5 (commit) via 2915cd1e1986c97de6bdee60418f92e9c2916ba0 (commit) via d377b258ab3c35f28eb161f99830fe690735c73e (commit) via d0be5c50c4742547fcbea3bc7d1a78e5f8f03009 (commit) via c897685c2bd7622c5fe992a341f572c48afcf254 (commit) via 539363ea2f79600b21d38463e993b86ea3d881b5 (commit) via 0b47e85b214f8a27d97f1c4f1f4bc73d2d49e4b3 (commit) via 0b206e2d7ca80fd3a617a0045f02341508ceedd9 (commit) via d16c82fe9849b24364ccc0e416df5afabfc59c31 (commit) via 5bf56b245a41658e00c8f94c8f4b9c922f628782 (commit) via 7883fd293fa47b7fec5948a20ccec4746daa33c7 (commit) via b8429e28a416e00256125982e6a8117dd0521a77 (commit) via 6047f111e521ef32d88d1fe0613738f4b72e8089 (commit) via 2b79c5bab9571325b19eed83d315d7121412678f (commit) via 26bc22baf289cbbb3425f5c1b06fb281f89ada5f (commit) via 6d22e6b30c2640e0ab248df81a460c3f55b38ff5 (commit) via 5c1c15fcb7dadf5e1262a30019b5bbabddf7d7fc (commit) via 4ba2b67ec67221fc9e61a89fe2ab6c2624253d22 (commit) via bf70f69596aebfe8c461c3b95e4e38adbf834860 (commit) via f8c5cdb04084c92be52cfcb47522d6f1185d764d (commit) via 48e334288d81af446fc35e4afedfb124785d2ed0 (commit) via 8c9977824d22984b520fca38a290559b815ded18 (commit) via 7fa67a4500f6fc516978f54af61cead51f071e2a (commit) via d19fd090b7ec0a60846c52cad9fc0c24c3729565 (commit) via 39678f9ca92a54f66f9d0efdd2e81c3a95f7888b (commit) via 46ba1bad0e9a308b12ebf1b1f31c9839df3cd33f (commit) via 61a0fb214b24b426cdd76a876498c31785d957aa (commit) via 660eafd30caab3145f06170ac2bb8a4d93a9cb55 (commit) via 189e4ff0f9ca44e68ac2cebf15a674ce88955920 (commit) via 3821a0aa66a5c5513cf30ca594707c46cd68a421 (commit) via 4e979f7f93cc0045c679e2a5d61f5e8561b5f26e (commit) via 35894d5f46cf6f976467799dadebd527da034f4f (commit) via 036018a1e57e401f59b80bf8443b4c71f2949b5c (commit) via 6170b34fdf4543241e1833a0a8563f6c19aaf94e (commit) via 42b683959cbd8bd6891b745873d9617619966e2c (commit) via 0ba63364adb329d28c3009e28b719b100f7c7aa0 (commit) via b097f3547e11a4937dc9d25d56254c76d954e7e4 (commit) via ba63250261f323a471bd2bfbcf246741f86cdd0a (commit) via 6cf8ed1e3d02e706f390f6b767a85fa2cf7ea2ee (commit) via 7e2e81f64cb143c5fe9643d7be3bf5d7b506b682 (commit) via 2f3637450a6afb6b3fa17de5d53f97c67a6d49ae (commit) via 218356d44a88b2c0e30fc998ed1f7218331b2a05 (commit) via 3a877ecac356e2b7bfb797588ca6a73427300216 (commit) via 7a59099412646110cea761f9c7b4742ecc12811a (commit) via 0d4ce5750724ced7ea6afedc380f1f8002052383 (commit) via 9e47809d34c7b9b3e1b34aa86da116e645df782a (commit) via 8613b25be81a5a5bc735874f5208bc35988faf87 (commit) via c1f7f7e97f37ca31c04b7b093a2efc122eeffd41 (commit) via 5e29d2fbf6e977efbfd125bb69ba775fddf8d03b (commit) via 44bf49ede30dc8a0a7e286d21ea4784a0bdb0125 (commit) via f608ab8467c2b68da878c0014675f952956b74b9 (commit) via 7af1e62f1d2c029da105d972b2bf0efa6e59a0be (commit) via 21e593044c7895bec4757b83fd83e31a3405e6ec (commit) via 2c848f85f22c516bf6c8082013f96a1f0677a29d (commit) via 0b96102a98036bbff145f79ebcd22f0cfdb78986 (commit) via 5d36ed4b1b0c71f42c547cabe8e2e6ebf32e8593 (commit) via 415c7f4af2dca4fd59f0f19a32f711f8e1e62b38 (commit) via 155ce8e8fd0b5d85b2847702345f3518603b57c9 (commit) via 2ea82b43d8dd600207ea089a6b52580d408a25f2 (commit) via bb75b245370e8d5bb43b2f5fd6e4eaf460be14ea (commit) via 3099f3cede12babe604b3651b48db6b456ff4b19 (commit) via bc946aaa2a92993e05654fbe9f2adacd4fa11d82 (commit) via 5bda4866ff733561bb3aa58b6abddd743d4d4e11 (commit) via 23d3953ea87a1b3caebe0c331526cc6d2fe55632 (commit) via 44ff9eb85d83ca5922e1dcd520c469db30653142 (commit) via 4b9aec26f4f61071a85437b810f053a9f56783d2 (commit) via 13157288d5996f721afa24abfb364f6ed86828ca (commit) via 7790bf8bb29489393f3f6d2e92a5dc9a786a4711 (commit) via c55ad7b5232297e40f69ce6307aea36bab2939e6 (commit) via e93b5ea51987ab11d43c622300efda641373533d (commit) via ddbb73527f7b68c1c57021fd8d2ef2a1fe105a1d (commit) via 6ca8ff3dfdfa346ae6556fd577349a621206091f (commit) via 040ba1f282d8098e2aec480976da6431fca8f0f0 (commit) via 0601deaad5ea6f160abfe66035bddafa8a7ac94c (commit) via b22d55a13ed6378a49d980c176fec902937dc96c (commit) via bdafb20e29724b56d4f09743de0c7227307aa821 (commit) via abd06b47e24148009ffe84c64accc1e3fb7da165 (commit) via 57cd1bd9a2812d461cfc8c19cce966424f13a6d3 (commit) via 954ad01d097b28191088bdd8e085eda3c0bd3f0b (commit) via 870e35a3f8dc493df1c72657155a653cbc88554a (commit) via bfede9b283dc4fdbae3222ee2cea92d96160ae97 (commit) via 5ba68fd23f49d8e775c7ade5ab9b38ae1aff54f4 (commit) via 4074c648c2897e318e5fd2ace9ea7b7818a38280 (commit) via 0a0d7c62691db2ce273344de758963781fa69640 (commit) via 26434a224f4102bb7314d804095f69975f8a6a34 (commit) via 0a8469c51202ce49095e6c942226dff9ce0fb9a9 (commit) via cad0c29fe17829892e7025f08c4f0b9f86c40981 (commit) via d03f62382e0502a42020e6379dbe3c9252813c65 (commit) via f669bd59d3cb69f76ad8d41e338c46ab81f614df (commit) via d803ca1cc28bff0f2d2d06a48a1feeaaa05da0d3 (commit) via fa3257acf6b2748cbc5d56f0b106321d8b1f712c (commit) via 31ba9717987102f4d5a0a009fd1a916ca62a9e7e (commit) via 57077e6e5cd7f04f0641f7e083de3c002665b080 (commit) via 5dc21b7e72b3f4e334f0c65534b1c20138406c66 (commit) via 675ec0a899cba256e703ee3cec017a01c8a3d806 (commit) via 0734a693bde7d18a4a06e320f6e28678880dc0f7 (commit) via b848f8a279aec58438e0edb2fad6e72a4bd24791 (commit) via ee97f8db46c8259b2a05760478816c497d8cfb5d (commit) via 55a8947d73592005d1ee1948b3c5dac9bdec9613 (commit) via 040706c5d7a266ede271b62b77a40260882bc8d1 (commit) via d71c522d1ce96825ac0a57f1bd0c240b15bb6288 (commit) via e3ce85b83b0283b03575d5bcc4dc4ffcc0532883 (commit) via 0b76cc40112ccd7668cb7477c73af0862d6734da (commit) via 95854c03b392f9089907063f594c15c4536989f4 (commit) via 0728124a5ff4f99f7f6083ddc004a0c6853df869 (commit) via 50bbcd63620eb5818309f801780bf8b96cbfc515 (commit) via ceb4a1a934d144f1eff9b6a1747c4928dc168767 (commit) via 9a2c0a8ddf439de89aa1498d9239001865e6d947 (commit) via 949932c3aff33f6af9b6e9c367b704a822e8d477 (commit) via eda72100f3a374bc40a590fc3c8528e6f436d9e6 (commit) via 6bb41be8f47878c94ab31579ee8d0229e37b0a07 (commit) via b7ea60e0ad7f009a71fe2f3fe611e12583febf52 (commit) via bf86492f121950d94fc317344f1347d6db183782 (commit) via 4f4ed9344551a30c5e233bfbb3d5d1036db53a8e (commit) via cd4e4e125c6398c55309f720bf87e3d22c6ca3f9 (commit) via 6bdaad1a541c341f922b6ce2772f88ffdf3e0158 (commit) via e6b7b3d4b2f95670d5c36dd9d4619666b0a29205 (commit) via 0fac8c92c5a2d8f795fc09879f4dacf8a51b832b (commit) via 44dcf2541f9c932d1dd73c04fa6c6cf79a02804e (commit) via 9706cb14337d2ecdc46262697ecd4984378304f9 (commit) via 7191955124335b76696ac93c8beee66b9d7b8e7e (commit) via 48e7780105e04ff2523334dd67d8b67859c07e4e (commit) via 36a31ec983a162960eb0c14d1054f8cb95a5db87 (commit) via 365ca53d7124553b08c9ff6d1120f06e42c1f552 (commit) via 882a803c23851df2f57b599a424fd0086b9b855c (commit) via bd39a67ffde1aead2276cf3c4853797c5d2b4e86 (commit) via a1d3a87313d64f8539697d32764db6ac406f83d1 (commit) via 289739a12ec8ee6d70839f328466aa176e6ebf63 (commit) via a6d82329b811c86c98dee2eafb59c39328492e00 (commit) via c143a5bbabc0fd607d48ea78109902cf5bb1e234 (commit) via cb2a74c78ef40379174aa4b941e00d225bb35e37 (commit) via c31e67091e3052399e180e5ba2e22e8999c76003 (commit) via 2d8bbd00ecdfe7d148a7d24083a4c96eda08a1cd (commit) via 457052f916f3287e0dae259b4b8c5c2839153455 (commit) via 49ba0b8e63c5c5de77448653094468dc5111b80d (commit) via 75752de842b353feabbd52821e2f504613398b0d (commit) via 2809221f372d30b817304cce2014a7aba7c5a27a (commit) via 624d61d5a1e820bf338aa5a16f315e3d1ca046a6 (commit) via 2bac9d95551fabd5ba6541fe49756a06ad8549e5 (commit) via 6f13834c5b57c55b948a458d3b86824ac570d35c (commit) via 57c88b031cd2148ff4084b921173cb98aec48d80 (commit) via c94dacee3c64124234b5edf44b998f6e5e0731b3 (commit) via 91e31762953cfb02bb26abcdeba0688dd36d5113 (commit) via c7ddc4b5a2fb66597337932325aeea6de0564088 (commit) via 0684eb99279cdc08aefe1ef9876f890b9bf72659 (commit) via 80423d1a0369e89da499ef1df3bfe38c83bd795e (commit) via 8ea9022b4e627307e74bc61decfe708213896b63 (commit) via 663d11e2ebfd8370fbe1d7680441d9975e356021 (commit) via 2c03274196ee59aaaba3d2888a3cd6c28b82a952 (commit) via 2cf5c604390fdd6886e4d960265315552721afb4 (commit) via 75d11e22a0124bd14262e701082b351c8ec79e81 (commit) via d28f3c739fa17e393d3dde53b9a890f118d9d968 (commit) via 8387cc0ddf5cfd3200b2d59a1c17e1eea1217e04 (commit) via 00bd2a115b46d73be000cc3ef1e98496c7d15904 (commit) via c176f5728ce2feb816d67de90d9cee68accdbf86 (commit) via 29a0cbd83632f1d154f7266370daa8bcee6631f5 (commit) via 938a2058bcf10a90b30f8c54ca870b59102418cd (commit) via 3754919259d056ae190050a7ac8845b4c563da75 (commit) via 6ecba0b8187d96237ecf16b5b7cb01e06e40dfa6 (commit) via 4e724798347fb81ed3dd3efddf2d52ef99486f13 (commit) via b2e52a5125f49e0cb83b24cf763a114023fa2b36 (commit) via a416d61d0bf5908e45956f19f96f89ecdc80797f (commit) via f697cdb5ffae569ebb7d3db5b31cff4c088a1325 (commit) via 2fbc877101b76cf461073afc1ddf95b6ffdcfa51 (commit) via 7f1046f39b793d6fbe633c279fbb8f0cdd6294c2 (commit) via f863b373957343fa4fdfd8f00548925a8af73413 (commit) via 24af3f3f3f4baab0815a8b1093bbc01842b837a3 (commit) via dce3f541677b884d78533c0ddf473b6461799c3a (commit) via 437bf2c75f6735dc405530acf79dfdc1fbdb1350 (commit) via aa8d949fea586df2ae849e36bbdf32aef7cbea35 (commit) via 97c7c9bb8c77d519ba87b9c9b2be362d334087b4 (commit) via 64c0bdc1fa9e2290f94327b90b7c7dd19828154e (commit) via e1f18033fac7da0f76d5456150390e9a6643ebcc (commit) via 79cb0fde4fb1edad19a72ae892b92ab7f1c43465 (commit) via 058c440369a3c68ea952c4e4836e7d8d30333c18 (commit) via 2c6be25db1ddcc56406eb1660cb37d3140b25ddc (commit) via 6c9125356b197ff5256c1a7ac700f60c283245ff (commit) via 7fa182d4c1748bd69eb4b96eb9b589c14b084964 (commit) via 4cdd3e4fb53e0a063adcab590eda10530ba0dc0d (commit) via 6f7534eb19a89e01f58cefdfc2eb075425eef5db (commit) via d9dadd49f32fbe808f5b410233d10375c500b5ea (commit) via 74084ede934db4d06a67385cf3b4291f9aa92fcb (commit) via 96c0d4263870ca33f79e81f1c9915fcfebf38458 (commit) via 52b65f1205ec3cf4aa6186b21773a195514ac5f5 (commit) via 12b928a0ea6e44543794108788fe0f192c0ebb4c (commit) via 0cf29e3b390ef454beab3d5534a5b1a671631eb4 (commit) via cf5f8fe476e99de7fcaa6215e85ddb986c2d0cec (commit) via 601929966be9a53ce639d6aaa83bf7d5a1356f3a (commit) via 064e47eab74ce25793ed32763460e12583815ebf (commit) via 8a1c589cf53c64029de50e44ebe0594948933cb4 (commit) via 7bf9d995937aaa1dd251dc0b6b362066ddbe33b8 (commit) via 9a23c3d6b2383859606dfb7eec68bba23a65cccb (commit) via 13355b70bbb85fcd26f839b68ad0bc5571a46e2b (commit) via b9e26e7c0526e8ce91df1cbee9020907ce164ba5 (commit) via a39f2adfce301bda747944612ed309ec018af712 (commit) via 6450b2aa357e9d100a91a36b4dbdf5e0f7e4ba85 (commit) via aff9141946e9b0e502fe51f4a271965797b1b113 (commit) via c7d13474d9a0663d577edfb770eeb547222778ad (commit) via eb1355aeff5bbb06236e2a609d2537528c7a2c52 (commit) via 8a46681423f5a55e569d4d913c479862495210c5 (commit) via f6d2041a3117aed09e88587b6ec4a02edf945b7f (commit) via 57a3b802c2d0fe2a7048f2a314d69c39df0e0781 (commit) via b890ed92fb4f010e5b843faf049a7827a0b826e6 (commit) via b47f30e2b43887c9ff363bf7db10c51a68437765 (commit) via 3a222053788b924a0623b6eab2ec84dffe54b6ce (commit) via f7fc28008a4d76dd6e55eb77070eb18e956406a9 (commit) via 04e50c5c85504e879f91a6960de8dff68f2e7f19 (commit) via a364bc69aa057e0be4c99774525a3cf3274682cd (commit) via 7cc24819c743d6174e3d6423ade9c9fd2214936b (commit) via 127cc513295a2cb670cbe7d481e6f4ed6eff147f (commit) via 50dcec67c5637a6a09fd9e2457300018750b6f38 (commit) via e72ae2219f5ee66107bb22f5bfd9d3a3629a3e5e (commit) via 9668b9fd28fdde7939197a5c156db0deed6fc7bc (commit) via 24e2932804d6d8e275c6b71733a3f91cc0756051 (commit) via c18a2996a254ec0f05b3bc4c8b2800641fe26682 (commit) via ed22b566840461c8d980c2568010b84eca320a84 (commit) via 9434e80c7ee088c789e0c2325d601ccb0f8e8a0b (commit) via 584213c60f274b9b324f8a6f3ca41cee16e7ad79 (commit) via e30bf8cb4fc570bff589d514bc6aa1efc60afc5f (commit) via 22e36e75238fc6c558cb804dbc63c13d1f62b336 (commit) via bff6c67af3aec1b266c997a2b2299e2920974ef9 (commit) via cb673cb34ded88537006c84e783f9d49c43d175b (commit) via a3caf600506466f458e83818058c34dbf29d5de8 (commit) via 72371c5ce3490437d6b47aeb9090529611415f53 (commit) via 33c592e735c7e79c7f4425a22df8389f129d7495 (commit) via 622685115cb850489f823886f3146c2cfbff9a99 (commit) via 3a7c0567a6b65a1c4afb5a7bea66fb55f06862d3 (commit) via 5dcbe80dfa25db6ff69561e4c13213d555fa5870 (commit) via 356f33e36a0c597769f03dc2ce7b6e5953cab85c (commit) via c68c091dc292c9df749bfdbc9f9e455c4768dfcf (commit) via d2d590480e6b5fe0f4eb65b98faf337290a4ba8e (commit) via 4f5b788afee21f1333c3acc207b4940af960f6da (commit) via 1e38c501312eff37a31c1a288273ece115179aee (commit) via 97371cb2a4b357281259fcf3d050b2a58aeccc4f (commit) via 2d55e44be67124b3ec003795171f9cbc03d8155f (commit) via 7366de51e99df23255a6076cf99a760553772f88 (commit) via b9df521b0b9c5ec5920b070016ecdcbc1557c075 (commit) via ba41d457d36a40a522b6b3a563bd3e3f2266ad24 (commit) via 3e59540b2c325b6d3bf9badeb8d3f4a6a8a2f0f2 (commit) via 4315d6c8f8fa9ba730d25e021f7e65d40a382b8c (commit) via a84acd2d6c8726841e70ad640b4e643f34977bb8 (commit) via a2a2f8a23fd0edee777c96f65b48a93e5b9551ac (commit) via 916b0a5a3b910780762f6aa41d109f49ed553739 (commit) via f6ab5fbdcdf54d0d7528b0e2e50940b2fa3fc4b8 (commit) via 542a48acaa5da3064cefd930640fee9386ca3a9d (commit) via 4ba84d93a56d76c1362c767590c5127b74737b74 (commit) via b544581812efb1f3aa109fe43f555dc766acd101 (commit) via 69899c5df2bde087ef011aaf95a55da163191a2c (commit) via ce50b5e4ae0464cc33c66db1f1f59579936b5e24 (commit) via 8abaf51ae72af403e4007ded6c0169750347d27d (commit) via 5c0146f05a0e2dbb22ee9d8fa15c694416d1b0dd (commit) via c4ff6240497bed84d87ad36114762fbe6749e390 (commit) via 314476b193adb1ccc41f8a8580961e76a5a5c354 (commit) via 19b9b724623256b7ff6412a37f8919641e585c96 (commit) via 574c563c3cf87ed45461cee45892628888add428 (commit) via 6a0104374c2535fbe730867eec4783e5e9c6e988 (commit) via 2f862958966f3b63cbe850cbcef66cabf7b555f3 (commit) via aa333901ab22a5efb4b80db6e8a03436d33c3de7 (commit) via 1f8ef8d0e135cfa15f50dddda631521bf298845c (commit) via a26a15b2290de863f72f36d4af20175f9238a374 (commit) via 275bc6798bffd970404fe59b743696b7d90e87a8 (commit) via c7b7c1c8596ab9c176d625d02cccdf3e8e9cc258 (commit) via baeef703e61bfce6dc68b8d3e5e96faec302935e (commit) via 2bbde53811930128df3c8174152d15abd3aa3021 (commit) via 061f3a2f5c10eb088048fbd5fb8cb550f6eb102d (commit) via 21b1c25dd1576deaef5f555fd156b905b730ebf7 (commit) via b911b32672fe727f6710d06a7fc8e03d21843986 (commit) via bda1f2d5ad0ce616040f0966e476961fff9501e6 (commit) via f11355035ce867940686d35f527a4e3fef7f7896 (commit) via 64fd29d4cf1b535cb07bd28f03df5190226212bd (commit) via 02e12c9d59a0bd2cbfe7fc4ffda76031aca0c72a (commit) via a5ea42fa56d5e28538aea748cfb9cdc1c762dc6b (commit) via 12dd0f67259ce3d8a4f61e99210f27e87c679441 (commit) via f39980fbb8b183922d0ae8304a389be2b0096ac3 (commit) via 938c3885e922718594bc3804f81ae7eeddebaeaa (commit) via 8ae22f69d18b5e9fff85fa205dd9b9389a4b5481 (commit) via 5a20845009c184687372bb2c0cd47641fa47ba02 (commit) via ee7240ef14a6e1637b1af27a1bc818e57f63b444 (commit) via 166fb188213f811fe065b4d3f4549ab387e15d4f (commit) via 5a3a8ca11d33cf29608c6c6843421ced5e8bea9c (commit) via b64c7e14e0fc53bd6cf52f9cf7b6da745490d3ad (commit) via 224f2e9e985b85d91e1fa54e41068a10991b5ff2 (commit) via 63c28016319fdbe1935bb11e8edd4a918e49f941 (commit) via e6cace300d7d3e09fc2256104cbc89b8c09f9170 (commit) via 480f6ad1ffa2fcdb73dc2425fe2ba25476d5c597 (commit) via 13050a337e2a70ad4a329263886c25dc75c7cdb8 (commit) via e70440509c3fdb8fedf21c7c9287a1a672db6396 (commit) via 0adf5cfc7cfba0d66679b1dd2910e25b4489ba95 (commit) via 21d38ef5fa96ed7ce9029be8874d1efdc2522ef6 (commit) via 42cfa4ab73cc7e0d752d5f06a4099b99c23c8eb0 (commit) via 17752e48c0d54f575e67ad87f64dbb91b449c8d2 (commit) via aee8ec356b0f5a95bf5a88b77a71ab5975ff1b8a (commit) via 428c1f176512756f254a447e44f71d8a8bd6e267 (commit) via 6669a858252514823c40915027816d24c5f5e180 (commit) via a19a342155f0f8b7d511f8721fbe1b3954ed2493 (commit) via cf86df5d2f6e849d476fe91b6affd2f2ab20cafc (commit) via ae30380eb0975c4da4a16a1c6392320d009f4b87 (commit) via 7c5a5a7da96b4a645ef877f5de7c99392eeed17c (commit) via 5fd72d2eee6cb085004ab23c22a27ad37ecc2f22 (commit) via d86f9c8ccb2d91a674a57c1a4259a69e8269fa16 (commit) via a0713a1a921ef4c75ee5dda9772ba88fd0f8ee76 (commit) via f6ed19b83f2cb8f27a4505250930deb77b9e695d (commit) via 95447658c333a192ba427d6f0ac87721576e7b38 (commit) via ba14c8238e57241250d768d3472533293c55de8d (commit) via bef6190733f4acefedd78b1b4435fa66cb5035b5 (commit) via 2851c5f32ef2fafa14f453c605d9d7d1b1b0ebc6 (commit) via 004afad6580339ea2058e2e57844f9c4cec045d4 (commit) via 17db83e3ba28f9ad4b6fc99d12fb0537644f8a8e (commit) via 4e61835a7ec83ec5527451d0dc38281f8f4d4837 (commit) via 38f701a4b696585c1ca846880925342ced3231fd (commit) via 56e2a2246a5a29c05c6c15a58d6bd51bce793612 (commit) via dd2262da43e9a71d5d1bf7b6fdae975012b6992f (commit) via b799086331c2fc8bd241826f2b4909c5e3cd3411 (commit) via 0aef94cd7718816ca2dc5b69248627c6db643fa7 (commit) via c1bc4d1a766c5824f8903acd43c45a8b5e9ccc2a (commit) via 892162df3ecad59e02bcf84dc9586fe2346bf962 (commit) via 27e90f27b5f556befd82350adaecf9a4128b09e6 (commit) via 1c4379439cccc802a249963383f62c703e3d1410 (commit) via abf54b01ee4e794c8779610d09e26934e24f26eb (commit) via c6816376ddbfefdf09ff2c03747abd0660626e83 (commit) via ff28ef08404333fdaad30f62662ef5f9371208ad (commit) via 54655f95e480b092eb3082c21e4336d24e2a0851 (commit) via d02ec4657177a59669b82406e04d53863691eed6 (commit) via 09047fb182c1b08f8c39b9046a7c8c1723474152 (commit) via 989f3a7ecaf66f767ec25d67ee1690f3424371cd (commit) via 387497365bb7377e42be58656b1f6a409c9ca55f (commit) via 3f11e3c3ba5e86a26eb678b2c3d0870cf585d653 (commit) via 4725aea56df012271db61cd6f4a00dd0d85c270f (commit) via 427ee0f12f5f22b5372d020ad8795033caccea56 (commit) via f481f474696ffbf874d1f9c97371e7bfcb6a47b3 (commit) via cb81ffd4f1c415b1f7f6ebce3a11d2b6777a02f2 (commit) via 6ae209793c817f943940a4a0f0da1c4d4ba15003 (commit) via 9581d55eeddac9d2d965c62c345991e138f27ccb (commit) via cbb25189b69e501ddca64917d810b54bb1466c93 (commit) via 7f350588e9fa12457cc33814ec32f79e33f193bb (commit) via a82b41ab61a641afe650cdde1a70c8834fe6c8ff (commit) via 735c540f6b8b8a77af01e7c324c0fb267005ffb8 (commit) via 20906da825104f6638a8452eb79ff9be60162e32 (commit) via c90923c3d3bb0c723e7060888c5034f24c8cd139 (commit) via 57cff626eb477c651122001df4f7f626e0c90568 (commit) via 93be37415c8e18dd27cfc6a601ebc8c2f9622586 (commit) via c05949d07b2011170e72443c5b21ae43f35e99d4 (commit) via 9e845f3a1ecdb854b114bcf26ab64c24c10a9f2e (commit) via 679592fa11267d1e95e52ad0a4761b0bd8fa66dd (commit) via d18d79ffd1a573842d30cf062ba1fc6ed544644e (commit) via a1269d2a9a983622bbfcaa31206b78d165f18b18 (commit) via 5339a63aa3d9196b38789e8094dca5697967d81e (commit) via edaf879a2211e21ffc722b29ae85d1bd7cf51711 (commit) from a2060eb1c26e8143110e253d5d86d38c2a216bb0 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit aed684a9a6f3dab80262ca21d6c728e99526b37f Merge: a2060eb ce4a91d Author: Phil Muldoon Date: Mon Oct 14 10:11:03 2013 +0100 Merge remote-tracking branch 'gdb/master' into tromey/python Conflicts: gdb/python/python.c commit ce4a91da2b21b95abffe43121c900f2116bc61d3 Author: qiyao Date: Mon Oct 14 08:16:45 2013 +0000 gdb/ * varobj.c (struct varobj): Move most of the fields to varobj.h. (struct varobj_dynamic): New struct. (varobj_get_display_hint) [HAVE_PYTHON]: Adjust. (varobj_has_more): Likewise. (dynamic_varobj_has_child_method): Likewise. (update_dynamic_varobj_children): Likewise. (varobj_get_num_children): Likewise. (varobj_list_children, varobj_pretty_printed_p): Likewise. (install_new_value_visualizer): Likewise. (install_new_value_visualizer, install_new_value): Likewise. (varobj_update, new_variable, free_variable): Likewise. (my_value_of_variable, value_get_print_value): Likewise. (install_visualizer): Change the type of parameter 'var' to 'struct varobjd_dynamic *'. Callers update. * varobj.h (struct varobj): Moved from varobj.c. (struct varobj) : New field. commit 3321e62ab255b4aa700aa265aed86c1d2cff4072 Author: Sandra Loosemore Date: Mon Oct 14 01:02:38 2013 +0000 2013-10-13 Sandra Loosemore gdb/ * nios2-tdep.c (nios2_reg_names): Use "sstatus" rather than "ba" as the preferred name of r30. * nios2-linux-tdep.c (reg_offsets): Likewise. * features/nios2-cpu.xml: Likewise. * features/nios2-linux.c: Regenerated. * features/nios2.c: Regenerated. * regformats/nios2-linux.dat: Regenerated. commit dd2cc6d103d7754193cfd6140d230ea3705a94cb Author: Sandra Loosemore Date: Mon Oct 14 00:42:28 2013 +0000 2013-10-13 Sandra Loosemore opcodes/ * nios2-opc.c (nios2_builtin_reg): Use "sstatus" rather than "ba" as the primary name of r30. gas/ * config/tc-nios2.c (nios2_consume_arg): Make the "ba" warning also test/refer to "sstatus". Reformat the warning message. gas/testsuite/ * gas/nios2/warn_nobreak.l: Update text of warning messages. * gas/nios2/registers.s: Use "sstatus" rather than "ba" as the primary name of r30. * gas/nios2/registers.d: Likewise. commit 6d67c68661780281dc39f07aac468c909d68d9be Author: Alan Modra Date: Sun Oct 13 23:00:05 2013 +0000 daily update commit 725e567b57557602e3b0ba50931086fe1df5f757 Author: Jan Kratochvil Date: Sun Oct 13 16:11:07 2013 +0000 Improve Executable displayed path (PR 15415 regression kind #2) gdb/ 2013-10-13 Jan Kratochvil Canonicalize directories for EXEC_FILENAME. * exec.c (exec_file_attach): Use gdb_realpath_keepfile for exec_filename. * utils.c (gdb_realpath_keepfile): New function. * utils.h (gdb_realpath_keepfile): New declaration. gdb/testsuite/ 2013-10-13 Jan Kratochvil Canonicalize directories for EXEC_FILENAME. * gdb.base/argv0-symlink.exp (kept file symbolic link name for info inferiors): New. (kept directory symbolic link name): Setup kfail. (kept directory symbolic link name for info inferiors): New. commit 4f7d2fdf43497f8ca82e3ebc40f955a3af1e1ade Author: Richard Sandiford Date: Sun Oct 13 10:03:21 2013 +0000 bfd/ * elfxx-mips.c (mips_use_local_got_p): New function. (mips_elf_count_got_symbols, mips_elf_calculate_relocation): Use it. (_bfd_mips_elf_check_relocs): Set pointer_equality_needed for GOT and absolute references. ld/testsuite/ * ld-mips-elf/pic-and-nonpic-6-n32.ad, ld-mips-elf/pic-and-nonpic-6-n32.dd, ld-mips-elf/pic-and-nonpic-6-n32.gd, ld-mips-elf/pic-and-nonpic-6-n32.nd, ld-mips-elf/pic-and-nonpic-6-n32.rd, ld-mips-elf/pic-and-nonpic-6-n64.ad, ld-mips-elf/pic-and-nonpic-6-n64.dd, ld-mips-elf/pic-and-nonpic-6-n64.gd, ld-mips-elf/pic-and-nonpic-6-n64.nd, ld-mips-elf/pic-and-nonpic-6-n64.rd, ld-mips-elf/pic-and-nonpic-6-o32.ad, ld-mips-elf/pic-and-nonpic-6-o32.dd, ld-mips-elf/pic-and-nonpic-6-o32.gd, ld-mips-elf/pic-and-nonpic-6-o32.nd, ld-mips-elf/pic-and-nonpic-6-o32.rd: Fix symbol value of extf4. No longer expect extf3, extf4 and extd2 to be in the global GOT. commit e298025b0522578a3ab0d2acc04e88575ccff1ae Author: Alan Modra Date: Sat Oct 12 23:00:05 2013 +0000 daily update commit 08d8813b332ece618f0fc1fbd50a63300119491b Author: H.J. Lu Date: Sat Oct 12 15:57:07 2013 +0000 Only allow 32-bit/64-bit registers for bndcl/bndcu/bndcn gas/testsuite/ * gas/i386/mpx.s: Remove bndcl/bndcu/bndcn tests with AX. * gas/i386/x86-64-mpx.s: Likwise. * gas/i386/mpx.d: Updated. * gas/i386/x86-64-mpx.d: Likewise. opcodes/ * i386-dis.c (intel_operand_size): Move v_bnd_mode alongside the default case. (OP_E_register): Move v_bnd_mode alongside m_mode. * i386-opc.tbl (bndcl, bndcu, bndcn): Split 32- and 64-bit variants. Drop Reg16 and Disp16. Add NoRex64. (bndmk, bndmov, bndldx, bndstx): Drop Disp16. * i386-tbl.h: Re-generate. commit 335d5195b0b0d542336e3bf9c36b8c76f1a7e2fd Author: Alan Modra Date: Fri Oct 11 23:00:04 2013 +0000 daily update commit 3aca49c5506196015ea43dea976f6d03528d6287 Author: Ulrich Weigand Date: Fri Oct 11 18:50:56 2013 +0000 testsuite/ChangeLog: 2013-10-11 Andreas Arnez * gdb.arch/s390-multiarch.exp: New file. * gdb.arch/s390-multiarch.c: New file. commit 4cc76ed29292ed185ad68a4ed2202f4a66cd22e2 Author: Doug Evans Date: Fri Oct 11 17:32:30 2013 +0000 * Makefile.in (GDBFLAGS): New variable. (run): New rule. commit 64d741ed5d86294ad917c6b489085f96a5cf5a38 Author: Joel Brobecker Date: Fri Oct 11 14:06:40 2013 +0000 ChangeLog entries for the previous commit. git-related mistake (added the files to the index, but forgot to commit --amend them before pushing the commit) commit b8829116ffe16348d4d11393ef7ed9ec2e1403ad Author: Joel Brobecker Date: Fri Oct 11 13:51:26 2013 +0000 Document the -catch-assert and -catch-exception new GDB/MI commands. This patch adds documentation for the new GDB/MI commands "-catch-assert" and "-catch-exception", meant to provide the same functionality as the "catch assert", "catch exception" and "catch exception unhandled" CLI commands. In the GDB Manual, there was already a section for catchpoint comments, so that seemed like a natural place to document the new commands. But commands related to a given concept seem to have traditionally been organized alphabetically, and I didn't want future commands to break down logical pairing of various commands. For instance, "-catch-load" and "-catch-unload" are quite "distant" from each other, and it is easy to imagine a new comment which would alphabetically fall in between, causing them to be separated. So I introduced subsections to prevent that from happening. gdb/ChangeLog: * NEWS: Add entry documenting the new "-catch-assert" and "-catch-exception" GDB/MI commands. gdb/doc/ChangeLog: * gdb.texinfo (Shared Library GDB/MI Catchpoint Commands): New subsection inside which the "-catch-load" and "-catch-unload" commands documentation is now placed. (Ada Exception GDB/MI Catchpoint Commands): New subsection documenting the "-catch-assert" and "-catch-exception" new GDB/MI commands. commit 0b42e200e2db895678548c979f6ca897f0cb535e Author: Joel Brobecker Date: Fri Oct 11 13:49:36 2013 +0000 Adjust gdb.ada/mi_catch_ex.exp to use GDB/MI catch commands... ... in place of the CLI "catch ..." commands. The latter were used because the GDB/MI equivalents were not available at the time. gdb/testsuite/ChangeLog: * gdb.ada/mi_catch_ex.exp: Adjusts all "catch ..." tests to use the appropriate GDB/MI command instead, and verify the test output. commit 1f8d858cab10848c0330706f5a287195cdd64ae6 Author: Joel Brobecker Date: Fri Oct 11 13:48:18 2013 +0000 New GDB/MI commands to catch Ada exceptions This patch introduces two new GDB/MI commands implementing the equivalent of the "catch exception" and "catch assert" GDB/CLI commands. gdb/ChangeLog: * breakpoint.h (init_ada_exception_breakpoint): Add parameter "enabled". * breakpoint.c (init_ada_exception_breakpoint): Add parameter "enabled". Set B->ENABLE_STATE accordingly. * ada-lang.h (ada_exception_catchpoint_kind): Move here from ada-lang.c. (create_ada_exception_catchpoint): Add declaration. * ada-lang.c (ada_exception_catchpoint_kind): Move to ada-lang.h. (create_ada_exception_catchpoint): Make non-static. Add new parameter "disabled". Use it in call to init_ada_exception_breakpoint. (catch_ada_exception_command): Add parameter "enabled" in call to create_ada_exception_catchpoint. (catch_assert_command): Likewise. * mi/mi-cmds.h (mi_cmd_catch_assert, mi_cmd_catch_exception): Add declarations. * mi/mi-cmds.c (mi_cmds): Add the "catch-assert" and "catch-exception" commands. * mi/mi-cmd-catch.c: Add #include "ada-lang.h". (mi_cmd_catch_assert, mi_cmd_catch_exception): New functions. commit 988805e84cab69ce3af29bbf24a9b0bb7f279ef9 Author: Joel Brobecker Date: Fri Oct 11 13:45:26 2013 +0000 Add "ada_" prefix to enum ada_exception_catchpoint_kind This is in preparation for making that type public, in order to be able to use make create_ada_exception_catchpoint public as well, making it usable from the GDB/MI implementation. gdb/ChangeLog: * ada-lang.c (enum ada_exception_catchpoint_kind): Renames "enum exception_catchpoint_kind". Replace the "ex_" prefix of all its enumerates with "ada_". Update the rest of this file throughout. commit 86c8dea5188d7c0a9b6070268500c52d3f24ff26 Author: Joel Brobecker Date: Fri Oct 11 13:44:11 2013 +0000 Rework a bit Ada exception catchpoint support (in prep for GDB/MI) This patch reworks a bit how the different steps required to insert an Ada exception catchpoints are organized. They used to be: 1. Call a "decode" function which does: 1.a. Parse the command and its arguments 1.b. Create a SAL & OPS from some of those arguments 2. Call create_ada_exception_catchpoint using SAL as well as some of the arguments extracted above. The bulk of the change consists in integrating step (1.b) into step (2) in order to turn create_ada_exception_catchpoint into a function whose arguments are all user-level concepts. This paves the way from a straightforward implementation of the equivalent commands in the GDB/MI interpreter. gdb/ChangeLog: * ada-lang.c (ada_decode_exception_location): Delete. (create_ada_exception_catchpoint): Remove arguments "sal", "addr_string" and "ops". Add argument "ex_kind" instead. Adjust implementation accordingly, calling ada_exception_sal to get the entities it no longer gets passed as arguments. Document the function's arguments. (catch_ada_exception_command): Use catch_ada_exception_command_split instead of ada_decode_exception_location, and update call to create_ada_exception_catchpoint. (catch_ada_assert_command_split): Renames ada_decode_assert_location. Remove parameters "addr_string" and "ops", and now returns void. Adjust implementation accordingly. Update the function documentation. (catch_assert_command): Use catch_ada_assert_command_split instead of ada_decode_assert_location. Update call to create_ada_exception_catchpoint. commit 77ff84070b9ac7ae6078dc5c3fa352201ba28d9f Author: Joel Brobecker Date: Fri Oct 11 13:42:06 2013 +0000 Fix dates (wrong month) in the last 2 ChangeLog entries. commit 584529ca6570579ba59bc0480f302d4108d4775f Author: Joel Brobecker Date: Fri Oct 11 08:23:10 2013 +0000 warn if "source" fails to open the file when from_tty == 0 Consider the following example: % gdb -q -batch -ex 'source nonexistant-file' [nothing] One would have at least expected the debugger to warn about not finding the file, similar to the error shown when using a more interactive mode. Eg: (gdb) source nonexistant-file nonexistant-file: No such file or directory. Not raising an error appears to be intentional, presumably in order to prevent this situation from stoping the execution of a GDB script. But the lack of at least a warning makes it harder for a user to diagnose any issue, if the file was expected to be there and readable. This patch adds a warning in that case: % gdb -q -batch -ex 'source nonexistant-file' warning: nonexistant-file: No such file or directory. gdb/ChangeLog: * utils.h (perror_warning_with_name): Add declaration. * utils.c (perror_warning_with_name): New function. * cli/cli-cmds.c (source_script_with_search): Add call to perror_warning_with_name if from_tty is nul. gdb/testsuite/ChangeLog: * gdb.base/source-nofile.gdb: New file. * gdb.base/source.exp: Add two tests verifying the behavior when the "source" command is given a non-existant filename. commit b3ca8048b0c43163f61daf22c9601ab95262cbe7 Author: Joel Brobecker Date: Fri Oct 11 08:20:09 2013 +0000 new function perror_string extracted out of throw_perror_with_name. The main purpose of this patch is to extract the part of throw_perror_with_name that computes a string providing the system error message combined with a prefix string. This will become useful later on to provide a routine which prints a warning using that perror_string, rather than throwing an error. gdb/ChangeLog: * utils.c (perror_string): New function, extracted out of throw_perror_with_name. (throw_perror_with_name): Rework to use perror_string. commit 9c3eea2f53a791fe4f7624b68e3503fb2ae0d8b4 Author: qiyao Date: Fri Oct 11 07:27:45 2013 +0000 gdb/testsuite/ * gdb.mi/mi-catch-load.c: Remove the include of "dlfcn.h". [__WIN32__]: Include "windows.h" and define macro 'dlopen' and 'dlclose'. [!__WIN32__]: Include "dlfcn.h". * gdb.mi/mi-catch-load.exp: Set up kfail. commit dc5942c1b6a34378adb18097a56e919360d83997 Author: seank Date: Fri Oct 11 04:55:42 2013 +0000 * Removed short_hand field from opcode table and refactored assembler/disassember accordingly. Testsuite checkout OK. commit 2ab50d31b4fc0d9146ec7d014bb8f48e361e16f7 Author: Joel Brobecker Date: Fri Oct 11 04:50:26 2013 +0000 Adjust gdb/doc/ChangeLog re "set/show remotebaud" renaming... ... adding the node names, to be more explicit about which nodes were affected by this change. commit 66c73976c34494b0873621ba2b97ae9adcee56b4 Author: qiyao Date: Fri Oct 11 03:01:09 2013 +0000 gdb/ Typo fix in my previous commit. commit 7e2f1f17871b71174f2131d9e3a54c81fe7ad954 Author: qiyao Date: Fri Oct 11 02:54:44 2013 +0000 gdb/ * remote.c (discard_pending_stop_replies_in_queue): Update declaration. (struct stop_reply) : New field. (remove_stop_reply_of_remote_state): New function. (discard_pending_stop_replies_in_queue): Add parameter 'rs'. Callers update. Pass remove_stop_reply_of_remote_state to QUEUE_iterate. (remote_parse_stop_reply): Initialize field 'rs'. commit 8b8cf970d524b84ba7f8a47635f4b9f1d6ecb138 Author: Roland McGrath Date: Fri Oct 11 00:58:29 2013 +0000 opcodes/ * i386-dis.c (oappend_maybe_intel): New function. (OP_ST, OP_STi, append_seg, OP_I, OP_I64, OP_sI, OP_ESreg): Use it. (OP_C, OP_T, CMP_Fixup, OP_EX_VexImmW): Likewise. (VCMP_Fixup, VPCMP_Fixup, PCLMUL_Fixup): Likewise. commit a8e98c97ed5cbf252f8c66a684e86db7c00c9288 Author: Alan Modra Date: Thu Oct 10 23:00:05 2013 +0000 daily update commit b40e58a5b1307806812183a6b2a3fd0bbd0c401f Author: Roland McGrath Date: Thu Oct 10 17:43:37 2013 +0000 opcodes/ * cr16-opc.c (REG): Cast NAME to 'reg' enum type to suppress possible compiler warnings when the union's initializer is actually meant for the 'preg' enum typed member. * crx-opc.c (REG): Likewise. commit ee9007efed0ea73292676b4986bc583fa5cd19e0 Author: Roland McGrath Date: Thu Oct 10 17:19:49 2013 +0000 opcodes/ * v850-dis.c (v850_cacheop_codes, v850_prefop_codes): Remove duplicate const qualifier. commit e28eae2f4f09783b06bdd35dba7034de44771118 Author: willnewton Date: Thu Oct 10 10:40:42 2013 +0000 gdb/aarch64-linux-tdep.c: Call linux_init_abi. If we are running on a Linux platform we should call linux_init_abi in order to get all the useful hooks it enables. gdb/ChangeLog: 2013-10-10 Will Newton * aarch64-linux-tdep.c (aarch64_linux_init_abi): Call linux_init_abi. commit 71db6182b6d75e4351bc5b5739d6db8572b3ab2e Author: Andreas Krebbel Date: Thu Oct 10 09:54:13 2013 +0000 2013-10-10 Andreas Arnez * lib/gdb.exp (gdb_core_cmd): Replace fixed string "re-load generated corefile" by argument "$test". commit be275c95a9051bc9d1fded26fd5f4fb9e5110da5 Author: Joel Brobecker Date: Thu Oct 10 06:00:41 2013 +0000 Remove unnecessary @w{} in gdb.texinfo gdb/doc/ChangeLog: * gdb.texinfo (Connecting): Remove unnecessary @w{}. commit b5c16ade2b762dc1620c958ae4b58246cacf08f1 Author: Joel Brobecker Date: Thu Oct 10 05:50:19 2013 +0000 Rename "set/show remotebaud" command into "set/show serial baud" This patch renames the "set/show remotebaud" commands into "set/show serial baud", and moves its implementation into serial.c. It also moves the "baud_rate" global from top.c to serial.c, where the new code is being added (the alternative was to add an include of target.h). And to facilitate the transition to the new setting name, this patch also preserves the old commands, and marks them as deprecated to alert the users of the change. gdb/ChangeLog: * cli/cli-cmds.c (show_baud_rate): Moved to serial.c as serial_baud_show_cmd. (_initialize_cli_cmds): Delete the code creating the "set/show remotebaud" commands. * serial.c (baud_rate): Move here from top.c. (serial_baud_show_cmd): Move here from cli/cli-cmds.c. (_initialize_serial): Create "set/show serial baud" commands. Add "set/show remotebaud" command aliases. * top.c (baud_rate): Moved to serial.c. * NEWS: Document the new "set/show serial baud" commands, replacing "set/show remotebaud". gdb/doc/ChangeLog: * gdb.texinfo: Replace "set remotebaud" and "show remotebaud" by "set serial baud" and "show serial baud" (resp) throughout. commit e17c23ebbb87e0d46122d771f33dabfb5b07c09f Author: Alan Modra Date: Wed Oct 9 23:00:04 2013 +0000 daily update commit 705ba926a5b9ad4b833d7d005b7cffedc7235be7 Author: sergiodj Date: Wed Oct 9 21:42:11 2013 +0000 sim/erc32/ChangeLog: 2013-10-09 Sergio Durigan Junior PR sim/16018: * float.c (set_fsr): Add missing "break" statements. Reindent code. commit 9d85f09f99debd275e97f2de37810cd6e3f716c3 Author: Roland McGrath Date: Wed Oct 9 19:40:03 2013 +0000 bfd/ * elf64-alpha.c (elf64_alpha_relax_tls_get_addr): Cast switch expression to int to silence over-eager compiler warnings. commit 19b8163ec59427a05045a363a816c2ad74f95618 Author: Roland McGrath Date: Wed Oct 9 18:02:48 2013 +0000 bfd/ * xcofflink.c (_bfd_xcoff_bfd_final_link): Don't touch EREL in loop that doesn't use (or initialize) it. commit 64a88fefce537a75a9c141d4b6c66a649fb283b6 Author: Roland McGrath Date: Wed Oct 9 17:54:32 2013 +0000 bfd/ * elfxx-tilegx.c (tilegx32_plt_tail_entry, tilegx32_plt_tail_entry): Move second const qualifier so it applies to the pointer. commit d4356aca30c665aeb66f0a1363df6ed1d922384c Author: Pedro Alves Date: Wed Oct 9 16:59:59 2013 +0000 Stop using errno values around target_xfer interfaces and memory errors. target_read_memory & friends build on top of target_read (thus on top of the target_xfer machinery), but turn all errors to EIO, an errno value. I think we'd better convert all these to return a target_xfer_error too, like target_xfer_partial in a previous patch. The patch starts by doing that. (The patch does not add a enum target_xfer_error value for '0'/no error, and likewise does not change the return type of several of these functions to enum target_xfer_error, because different functions return '0' with different semantics.) I audited the tree for memory_error calls, EIO checks, places where GDB hardcodes 'errno = EIO', and also for strerror calls. What I found is that nowadays there's really no need to handle random errno values, other than the EIOs gdb itself hardcodes. No doubt errno values would appear in common code back in the day when target_xfer_memory was the main interface to access memory, but nowadays, any errno value that deprecated interface could return is just absorved by default_xfer_partial: else if (xfered == 0 && errno == 0) /* "deprecated_xfer_memory" uses 0, cross checked against ERRNO as one indication of an error. */ return 0; else return -1; There are two places in the code that check for EIO and print "out of bounds", and defer to strerror for other errors. That's c-lang.c:c_get_string, and valprint.c.:val_print_string. AFAICT, the strerror branch can never be reached nowadays, as the only error possible to get at those points is EIO, given that it's GDB itself that set that errno value (in target_read_memory, etc.). breakpoint.c:insert_bp_location always prints the error val as if an errno, returned by target_insert_breakpoint, with strerr. Now the error here is either always EIO for mem-break.c targets (again hardcoded by the target_read_memory/target_write_memory functions), so this always prints "Input/output error" or similar (depending on host), or, for remote targets (and probably others), this gem: Error accessing memory address 0x80200400: Unknown error -1. This patch makes these 3 places print the exact same error memory_error prints. This changes output, but I think this is better, for making memory error output consistent with other commands, and, it means we have a central place to tweak for memory errors. E.g., this changes: Cannot insert breakpoint 1. Error accessing memory address 0x5fc660: Input/output error. to: Cannot insert breakpoint 1. Cannot access memory at address 0x5fc660 Which I find pretty much acceptable. Surprisingly, only py-prettyprint.exp had a regression, for needing an adjustment. I also grepped the testsuite for the old errors, and found no other hits. Now that errno values aren't used anywhere in any of these memory access related routines, I made memory_error itself take a target_xfer_error instead of an errno. The new target_xfer_memory_error function added recently is no longer necessary, and is thus removed. Tested on x86_64 Fedora 17, native and gdbserver. gdb/ 2013-10-09 Pedro Alves * breakpoint.c (insert_bp_location): Use memory_error_message to build the memory error string. * c-lang.c: Include "gdbcore.h". (c_get_string): Use memory_error to throw error. (target_xfer_memory_error): Delete. (memory_error_message): New, factored out from target_xfer_memory_error. (memory_error): Change parameter type to target_xfer_error. Rewrite. (read_memory): Use memory_error instead of target_xfer_memory_error. * gdbcore.h: Include "target.h". (memory_error): Change parameter type to target_xfer_error. (memory_error_message): Declare function. * target.c (target_read_memory, target_read_stack) (target_write_memory, target_write_raw_memory): Return TARGET_XFER_E_IO on error. Adjust comments. (get_target_memory): Pass TARGET_XFER_E_IO to memory_error, instead of EIO. * target.h (target_read, target_insert_breakpoint) (target_remove_breakpoint): Adjust comments. * valprint.c (partial_memory_read): Rename parameter, and adjust comment. (val_print_string): Use memory_error_message to build the memory error string. gdb/testsuite/ 2013-10-09 Pedro Alves * gdb.python/py-prettyprint.exp (run_lang_tests): Adjust expected output. commit 9e69dac737eb5ae3862b3b3613c8520aa7413b64 Author: Nick Clifton Date: Wed Oct 9 16:24:43 2013 +0000 PR binutils/16022 * elf32-rx.c (rx_dump_symtab): Add missing break statements. commit 98928e91e95495f3e9f02052f02f58a5fac9a01d Author: Jan Kratochvil Date: Wed Oct 9 16:00:54 2013 +0000 Minor O_CLOEXEC optimization, "regression" fix gdb/ 2013-10-09 Jan Kratochvil * common/filestuff.c (gdb_fopen_cloexec): Remove initialization of result variable. Rename variable fopen_e_ever_failed to fopen_e_ever_failed_einval. Retry fopen only for errno EINVAL. commit 476504d90adacb7e5f0e6d070adfa56df374e723 Author: Pedro Alves Date: Wed Oct 9 15:55:16 2013 +0000 monitor.c: Don't install a deprecated_xfer_memory method. This removes another yet instance of a deprecated_xfer_memory user. Tested by building a --enable-targets=all gdb, on x86-64 Fedora 17. gdb/ 2013-10-09 Pedro Alves * monitor.c (monitor_write_memory, monitor_write_memory_bytes) (monitor_write_memory_longlongs, monitor_write_memory_block): Constify 'myaddr' parameter. (monitor_xfer_memory): Adjust interface as monitor_xfer_partial helper. (monitor_xfer_partial): New function. (init_base_monitor_ops): Don't install a deprecated_xfer_memory hook. Install a to_xfer_partial hook. commit c875e21d7d5153c05e6ccb0287605e0c153f5ff2 Author: Tom Tromey Date: Wed Oct 9 15:50:39 2013 +0000 * opncls.c (get_alt_debug_link_info_shim): Update type of 'len'. commit 61b9f5f206b72320f0db2f66df6afd7de3a8d055 Author: Nick Clifton Date: Wed Oct 9 15:44:27 2013 +0000 PR ld/16021 * elf32-rl78.c (rl78_dump_symtab): Delete. (rl78_get_reloc): Delete. commit f6cbac5b0512acea1e1a1735ac26e713b17b69d0 Author: Pedro Alves Date: Wed Oct 9 14:31:35 2013 +0000 Uniquefy gdb.base/catch-syscall.exp test names. catch-syscall.exp has a series of duplicated output in gdb.sum. This patch makes sure all test names are unique, using with_test_prefix. Tested on x86_64 Fedora 17. gdb/testsuite/ 2013-10-09 Pedro Alves * gdb.base/catch-syscall.exp (test_catch_syscall_without_args) (test_catch_syscall_with_args, test_catch_syscall_with_many_args) (test_catch_syscall_with_wrong_args) (test_catch_syscall_restarting_inferior) (test_catch_syscall_fail_nodatadir) (test_catch_syscall_without_args_noxml) (test_catch_syscall_with_args_noxml) (test_catch_syscall_with_wrong_args_noxml): Use with_test_prefix. commit 1677499f5afa31d6f07f0caca3eaca3855e70348 Author: Tom Tromey Date: Wed Oct 9 14:26:26 2013 +0000 bfd * bfd-in2.h: Rebuild. * opncls.c (bfd_get_alt_debug_link_info): Change type of buildid_len to bfd_size_type. gdb * dwarf2read.c (dwarf2_get_dwz_file): Update for type change in bfd_get_alt_debug_link_info. commit 29c3eb83b92ecec761add5bd03d59a2c3551b038 Author: Jan Kratochvil Date: Wed Oct 9 13:22:35 2013 +0000 New flag OBJF_NOT_FILENAME gdb/ 2013-10-09 Jan Kratochvil New flag OBJF_NOT_FILENAME. * auto-load.c (auto_load_objfile_script): Check also OBJF_NOT_FILENAME. * jit.c (jit_object_close_impl): Use OBJF_NOT_FILENAME for allocate_objfile. (jit_bfd_try_read_symtab): Use OBJF_NOT_FILENAME for symbol_file_add_from_bfd. * jv-lang.c (get_dynamics_objfile): Use OBJF_NOT_FILENAME for allocate_objfile. * objfiles.c (allocate_objfile): Assert OBJF_NOT_FILENAME if NAME is NULL. * objfiles.h (OBJF_NOT_FILENAME): New. commit 87da1eab9b570eb2aec5cd017d90ac147677ff53 Author: sergiodj Date: Wed Oct 9 05:23:23 2013 +0000 bfd/ChangeLog 2013-10-09 Sergio Durigan Junior PR binutils/15993 * elf32-m32c.c (dump_symtab): Add missing "break;" statement on each "case". Reindent "switch" statements. commit de2b56fbbc0302260274da761ff29f2d08ebae37 Author: Alan Modra Date: Tue Oct 8 23:00:05 2013 +0000 daily update commit 57115bb054f20a7e64182c8ffdbef976a914f074 Author: Tom Tromey Date: Tue Oct 8 19:56:13 2013 +0000 fix PR symtab/15597 This patch fixes gdb PR symtab/15597. The bug is that the .gnu_debugaltlink section includes the build-id of the alt file, but gdb does not use it. This patch fixes the problem by changing gdb to do what it ought to always have done: verify the build id of the file found using the filename in .gnu_debugaltlink; and if that does not match, try to find the correct debug file using the build-id and debug-file-directory. This patch touches BFD. Previously, gdb had its own code for parsing .gnu_debugaltlink; I changed it to use the BFD functions after those were introduced. However, the BFD functions are incorrect -- they assume that .gnu_debugaltlink is formatted like .gnu_debuglink. However, it it is not. Instead, it consists of a file name followed by the build-id -- no alignment, and the build-id is not a CRC. Fixing this properly is a bit of a pain. But, because separate_alt_debug_file_exists just has a FIXME for the build-id case, I did not fix it properly. Instead I introduced a hack. This leaves BFD working just as well as it did before my patch. I'm willing to do something better here but I could use some guidance as to what. It seems that the build-id code in BFD is largely punted on. FWIW gdb is the only user of bfd_get_alt_debug_link_info outside of BFD itself. I moved the build-id logic out of elfread.c and into a new file. This seemed cleanest to me. Writing a test case was a bit of a pain. I added a couple new features to the DWARF assembler to handle this. Built and regtested on x86-64 Fedora 18. * bfd-in2.h: Rebuild. * opncls.c (bfd_get_alt_debug_link_info): Add buildid_len parameter. Change type of buildid_out. Update. (get_alt_debug_link_info_shim): New function. (bfd_follow_gnu_debuglink): Use it. * Makefile.in (SFILES): Add build-id.c. (HFILES_NO_SRCDIR): Add build-id.h. * build-id.c: New file, largely from elfread.c. Modified most functions. * build-id.h: New file. * dwarf2read.c (dwarf2_get_dwz_file): Update for change to bfd_get_alt_debug_link_info. Verify dwz file's build-id. Search for dwz file using build-id. * elfread.c (build_id_bfd_get, build_id_verify) (build_id_to_debug_filename, find_separate_debug_file): Remove. * gdb.dwarf2/dwzbuildid.exp: New file. * lib/dwarf.exp (Dwarf::_section): Add "flags" and "type" parameters. (Dwarf::_defer_output): Change "section" parameter to "section_spec"; update. (Dwarf::gnu_debugaltlink, Dwarf::_note, Dwarf::build_id): New procs. commit 2b45698b487880a0b294d2439163c0629f31d17b Author: Andreas Schwab Date: Tue Oct 8 15:57:24 2013 +0000 * elf32-m68k.c (elf_m68k_size_dynamic_sections): Add DT_DEBUG also for PIE executables. commit 6757d19225d6c4a10b9077bbe6b766cfe79e8569 Author: Jan Beulich Date: Tue Oct 8 15:12:58 2013 +0000 opcodes/ 2013-10-08 Jan Beulich * i386-opc.tbl (invlpg): Use Anysize instead of Unspecified. (clflush): Use Anysize instead of Byte|Unspecified. (prefetch*): Likewise. * i386-tbl.h: Re-generate. commit 43c9461a29a4a2687d2a2d50d825b973abe97b3a Author: Jan-Benedict Glaw Date: Tue Oct 8 14:14:12 2013 +0000 2013-10-08 Jan-Benedict Glaw * configure.ac: Update from GCC. * configure: Regenerate. commit 25664fc65d55e40381c90728a6440afdd90f70cb Author: Joel Brobecker Date: Tue Oct 8 11:18:57 2013 +0000 [Ada] psymbol search failure due to comparison function discrepancy Upon trying to print the value of a variant record, a user noticed the following problem: (gdb) print rt warning: Unknown upper bound, using 1. warning: Unknown upper bound, using 1. $1 = (a => ((a1 => (4), a2 => (4)), (a1 => (8), a2 => (8)))) The expected output is: (gdb) print rt $1 = (a => ((a1 => (4, 4), a2 => (8, 8)), (a1 => (4, 4), a2 => (8, 8)))) The problems comes from the fact that components "a1" and "a2" are defined as arrays whose upper bound is dynamic. To determine the value of that upper bound, GDB relies on the GNAT encoding and searches for the parallel ___U variable. Unfortunately, the search fails while doing a binary search inside the partial symtab of the unit where the array and its bound (and therefore the parallel ___U variable) are defined. It fails because partial symbols are sorted using strcmp_iw_ordered, while Ada symbol lookups are performed using a different comparison function (ada-lang.c:compare_names). The two functions are supposed to be compatible, but a change performed in April 2011 modified strcmp_iw_ordered, introducing case-sensitivity issues. As a result, the two functions would now disagree when passed the following two arguments: string1="common__inner_arr___SIZE_A_UNIT" string2="common__inner_arr__T4s___U" The difference starts at "_SIZE_A_UNIT" vs "T4s___U". So, it's mostly a matter of comparing '_' with 'T'. On the one hand, strcmp_iw_ordered would return -1, while compare_names returned 11. The change that made all the difference is that strcmp_iw_ordered now performs a case-insensitive comparison, and only resorts to case-sentitive comparison if the first comparison finds an equality. This changes everything, because while 'T' (84) and 't' (116) are on opposite sides of '_' (95). This patch aims at restoring the compatibility between the two functions, by adding case-sensitivity handling in the Ada comparison function. gdb/ChangeLog: * ada-lang.c (compare_names_with_case): Renamed from compare_names, adding a new parameter "casing" and its handling. New function documentation. (compare_names): New function, implemented using compare_names_with_case. commit 21466139f6f2021d885548429e1c1aa02ae55f1e Author: Joel Brobecker Date: Tue Oct 8 11:04:21 2013 +0000 Add missing ChangeLog entry. commit ba056d15d2d6bd933cb23d04c882af804647b900 Author: Joel Brobecker Date: Tue Oct 8 10:52:18 2013 +0000 [Ada] Remove unnecessary ada_exception_sal advance declaration. gdb/ChangeLog: * ada-lang.c (ada_exception_sal): Remove advance declaration. commit 0c4c4d253d1471343ed82a9fb97984e05d7819fd Author: Joel Brobecker Date: Tue Oct 8 10:25:21 2013 +0000 gdb.ada/mi_catch_ex.exp: Make test names unique. gdb/testsuite/ChangeLog: * gdb.ada/mi_catch_ex.exp: Make "mi_execute_to" test names unique. commit fa6b8f5a38aa90339590d7a3e5f5e1d9b3e31912 Author: Alan Modra Date: Mon Oct 7 23:00:04 2013 +0000 daily update commit b880d6dd9defa4637eaeb79c5ff529bba81e2a7f Author: Tom Tromey Date: Mon Oct 7 19:40:38 2013 +0000 move the demangled_names_hash into the per-BFD This moves the demangled_names_hash from the objfile into the per-BFD object. This is part of the objfile splitting project. The demangled names hash is independent of the program space. And, it is needed by the symbol tables. Both of these things indicate that it must be pushed into the per-BFD object, which this patch does. Built and regtested on x86-64 Fedora 18. * objfiles.c (free_objfile_per_bfd_storage): Delete the demangled_names_hash. (free_objfile): Don't delete the demangled_names_hash. * objfiles.h (struct objfile_per_bfd_storage) : New field. (struct objfile) : Move to objfile_per_bfd_storage. * symfile.c (reread_symbols): Don't delete the demangled_names_hash. * symtab.c (create_demangled_names_hash): Update. (symbol_set_names): Update. commit 05348221297f63aabaab81061c81d1829b87abf5 Author: Tom Tromey Date: Mon Oct 7 19:31:13 2013 +0000 don't share per-BFD data if relocations are needed Right now we always share per-BFD data across objfiles, if there is a BFD. This works fine. However, we're going to start sharing more data, and sometimes this data will come directly from sections of the BFD. If such a section has SEC_RELOC set, then the data coming from that section will not be truly sharable -- the section will be program-space-dependent, and re-read by gdb for each objfile. This patch disallows per-BFD sharing in this case. This is a bit "heavy" in that we could in theory examine each bit of shared data for suitability. However, that is more complicated, and SEC_RELOC is rare enough that I think we needn't bother. Note that the "no sharing" case is equivalent to "gdb works as it historically did". That is, the sharing is a new(-ish) optimization. Built and regtested on x86-64 Fedora 18. * gdb_bfd.c (struct gdb_bfd_data) : New fields. (gdb_bfd_requires_relocations): New function. * gdb_bfd.h (gdb_bfd_requires_relocations): Declare. * objfiles.c (get_objfile_bfd_data): Disallow sharing if the BFD needs relocations applied. commit 097e93eccdf7d7539ff8ff2d137a791f585c3504 Author: Tom Tromey Date: Mon Oct 7 19:10:44 2013 +0000 * lib/mi-support.exp (varobj_tree::walk_tree): Set _root_idx to 0. commit 41869ed3d33ed5c50df8d36476f027e56b7df4e5 Author: Chao-ying Fu Date: Mon Oct 7 18:02:47 2013 +0000 2013-10-07 Chao-ying Fu * micromips-opc.c (micromips_opcodes): Fix dmfgc0 and dmtgc0. commit 5c5ea68c9e10fbc507a7ce995a85246c26032c8c Author: Pedro Alves Date: Mon Oct 7 11:13:08 2013 +0000 [DOC] Mention what happens when the thread of a thread-specific breakpoint disappears. We recently made GDB auto-delete thread-specific breakpoints when the corresponding thread is removed from the thread list, but we hadn't mentioned it in the manual. gdb/ 2013-10-07 Pedro Alves PR breakpoints/11568 * gdb.texinfo (Thread-Specific Breakpoints): Mention what happens when the thread is removed from the thread list. commit b2720bc57b6ccee7157e7f7dc23cf310cf066677 Author: Pedro Alves Date: Mon Oct 7 11:00:22 2013 +0000 Thread-specific breakpoints: say "no longer in the thread list" instead of "gone". It seems "gone" may confuse people, while that was exactly what it was trying to avoid. Switch to saying "no longer in the thread list", which is really the predicate GDB uses. gdb/ 2013-10-07 Pedro Alves PR breakpoints/11568 * breakpoint.c (remove_threaded_breakpoints): Say "no longer in the thread list" instead of "gone". commit 16fd332e4240cce47a1a990d2b2b8190cd5ee5f8 Author: sergiodj Date: Mon Oct 7 05:34:10 2013 +0000 This patch adds a new convenience variable called "$_exitsignal", which will hold the signal number when the inferior terminates due to the uncaught signal. I've made modifications on infrun.c:handle_inferior_event such that $_exitcode gets cleared when the inferior signalled, and vice-versa. This assumption was made because the variables are mutually exclusive, i.e., when the inferior terminates because of an uncaught signal it is not possible for it to return. I have also made modifications such that when a corefile is loaded, $_exitsignal gets set to the uncaught signal that "killed" the inferior, and $_exitcode is cleared. The patch also adds a NEWS entry, documentation bits, and a testcase. The documentation entry explains how to use $_exitsignal and $_exitcode in a GDB script, by making use of the new $_isvoid convenience function. gdb/ 2013-10-06 Sergio Durigan Junior * NEWS: Mention new convenience variable $_exitsignal. * corelow.c (core_open): Reset exit convenience variables. Set $_exitsignal to the uncaught signal which generated the corefile. * infrun.c (handle_inferior_event): Reset exit convenience variables. Set $_exitsignal for TARGET_WAITKIND_SIGNALLED. (clear_exit_convenience_vars): New function. * inferior.h (clear_exit_convenience_vars): New prototype. gdb/testsuite/ 2013-10-06 Sergio Durigan Junior * gdb.base/corefile.exp: Test whether $_exitsignal is set and $_exitcode is void when opening a corefile. * gdb.base/exitsignal.exp: New file. * gdb.base/segv.c: Likewise. * gdb.base/normal.c: Likewise. gdb/doc/ 2013-10-06 Sergio Durigan Junior * gdb.texinfo (Convenience Variables): Document $_exitsignal. Update entry for $_exitcode. commit 5133593f601eb6ef05152cec1ecf4bf34acd206b Author: Alan Modra Date: Sun Oct 6 23:00:05 2013 +0000 daily update commit c087b2a444946d983b50a33753e97d57d1371e74 Author: qiyao Date: Sun Oct 6 03:28:56 2013 +0000 gdb/ * varobj.h: Add comments to enum varobj_languages. commit ba5a2d803c715cc8de86161fd8d518cd95678b9b Author: Alan Modra Date: Sat Oct 5 23:00:05 2013 +0000 daily update commit 77243baca2a743f213316ce58b45e15f2e57f456 Author: Doug Evans Date: Sat Oct 5 02:10:29 2013 +0000 (dwarf2_section_info): Comment tweaks missed in previous checkin. commit f84690b22b0653445a763e71f6b56010035eb013 Author: Doug Evans Date: Sat Oct 5 01:44:16 2013 +0000 Add support for DWP file format version 2. * NEWS: Mention support for DWP file format version 2. * dwarf2read.c (dwarf2_section_info): Convert asection field to a union of asection, containing_section. New fields virtual_offset and is_virtual. Change type of readin filed from int to char. (dwo_sections, dwo_file): Tweak comments. (dwp_v2_section_ids): New enum. (dwp_sections): New fields abbrev, info, line, loc, macinfo, macro, str_offsets, types. (virtual_v1_dwo_sections): Renamed from virtual_dwo_sections. All uses updated. (virtual_v2_dwo_sections): New struct. (dwp_hash_table): New fields version, nr_columns. Change type of section_pool field to a union. (dwp_file): New field version. (dwarf2_has_info): Check for virtual sections. (get_containing_section): New function. (get_section_bfd_owner, get_section_bfd_section): Call it. (dwarf2_locate_sections): Update. (dwarf2_section_empty_p): Update. (dwarf2_read_section): Handle virtual sections. (locate_dwz_sections): Update. (create_dwp_hash_table): Document and handle V2 format. (locate_v1_virtual_dwo_sections): Renamed from locate_virtual_dwo_sections and update. All callers updated. (create_dwo_unit_in_dwp_v1): Renamed from create_dwo_in_dwp. Delete arg htab. Rename arg section_index to unit_index. All callers updated. (MAX_NR_V1_DWO_SECTIONS): Renamed from MAX_NR_DWO_SECTIONS. All uses updated. (create_dwp_v2_section, create_dwo_unit_in_dwp_v2): New functions. (lookup_dwo_unit_in_dwp): Add V2 support. (dwarf2_locate_dwo_sections): Update. (dwarf2_locate_common_dwp_sections): Renamed from dwarf2_locate_dwp_sections and update. All callers updated. (dwarf2_locate_v2_dwp_sections): New function. (open_and_init_dwp_file): Add V2 support. (read_str_index): New locals str_section, str_offsets_section. commit e08cb2c735ad3597e324a85eb9dd657e043ccb0d Author: Alan Modra Date: Sat Oct 5 00:00:05 2013 +0000 daily update commit ab7671484b519367450d99cc3d9ca85915432ca2 Author: Pedro Alves Date: Fri Oct 4 10:04:14 2013 +0000 Clean up ptid.h/ptid.c. The ptid_t contructors, accessors and predicates are documented in _three_ places, and each place uses a different wording. E.g, the descriptions in the .c file of the new ptid_lwp_p, ptid_tid_p weren't updated in the final revision like the descriptions in the .h file were. Clearly, switching to a style that has a single central description avoids such issues. Worse, some of the existing descriptions are plain wrong, such as: /* Attempt to find and return an existing ptid with the given PID, LWP, and TID components. If none exists, create a new one and return that. */ ptid_t ptid_build (int pid, long lwp, long tid); The function does nothing that complicated. It's just a simple constructor. So this gets rid of all the unnecessary descriptions, leaving only the ones near the function declarations in the header file, and fixes/clarifies those that remain. gdb/ 2013-10-04 Pedro Alves * common/ptid.c (null_ptid, minus_one_ptid, ptid_build) (pid_to_ptid, ptid_get_pid, ptid_get_lwp, ptid_get_tid) (ptid_equal, ptid_is_pid, ptid_lwp_p, ptid_tid_p): Replace describing comments with references to ptid.h. * common/ptid.h: Remove intro description of constructors, accessors and predicates. (struct ptid): Reformat. (minus_one_ptid, ptid_build, pid_to_ptid, ptid_get_pid) (ptid_get_lwp, ptid_get_tid, ptid_equal, ptid_is_pid): Change describing comments. commit b94363364cf7d9d1dd591ec006d5b5e5e467d7c0 Author: Joel Brobecker Date: Fri Oct 4 08:56:09 2013 +0000 Fix syntax error in aix-thread.c:sync_threadlists This patch fixes a small typo after the BUILD_THREAD -> ptid_build conversion. gdb/ChangeLog: * aix-thread.c (sync_threadlists): Add missing ')' in call to ptid_build. commit 958f43c76b1bde04fbf2b97631a93093c17c3bc8 Author: Joel Brobecker Date: Fri Oct 4 08:53:26 2013 +0000 Fix build failure in procfs.c after MERGEPID -> ptid_build conversion. gdb/ChangeLog: * procfs.c (procfs_init_inferior): Fix typo causing the build to fail. commit 5ffb28e53763e1950f0468eb6c477ca3e0cd2dc9 Author: Joel Brobecker Date: Fri Oct 4 08:52:24 2013 +0000 Remove unnecessary cast in aix-thread.c:ptrace32. We're casting "addr" into "addr_ptr", but this variable is actually a parameter with that very same type... gdb/ChangeLog: * aix-thread.c (ptrace32): Remove cast to addr_ptr. commit 6957386a80c6432cf6fd3dec2b394a0dd836bac2 Author: Joel Brobecker Date: Fri Oct 4 08:35:29 2013 +0000 Add support for --start option in -exec-run GDB/MI command. gdb/ChangeLog: * mi/mi-main.c (run_one_inferior): Add function description. Make ARG a pointer to an integer whose value determines whether we should "run" or "start" the program. (mi_cmd_exec_run): Add handling of the "--start" option. Reject all other command-line options. * NEWS: Add entry for "-exec-run"'s new "--start" option. gdb/doc/ChangeLog: * gdb.texinfo (GDB/MI Program Execution): Document "-exec-run"'s new "--start" option. gdb/testsuite/ChangeLog: * gdb.mi/mi-start.c, gdb.mi/mi-start.exp: New files. commit d8de0472d930925e8a8bb8d8bfcd489f07c8a203 Author: qiyao Date: Fri Oct 4 07:42:06 2013 +0000 Move pending_event to remote_notif_state. This patch moves pending_event to remote_notif_state. All pending events are destroyed in remote_notif_state_xfree. However, discard_pending_stop_replies release pending event too, so the pending event of stop notification is released twice, we need some refactor here. We add a new function discard_pending_stop_replies_in_queue which only discard events in stop_reply_queue, and let remote_notif_state_xfree release pending event for all notif_client. After this change, discard_pending_stop_replies is only attached to ifnerior_exit observer, so the INF can't be NULL any more. The NULL checking is removed too. gdb: 2013-10-04 Yao Qi * remote-notif.h (REMOTE_NOTIF_ID): New enum. (struct notif_client) : Moved to struct remote_notif_state. : New field. (struct remote_notif_state) : New field. (notif_event_xfree): Declare. * remote-notif.c (handle_notification): Adjust. (notif_event_xfree): New function. (do_notif_event_xfree): Call notif_event_xfree. (remote_notif_state_xfree): Call notif_event_xfree to free each element in field pending_event. * remote.c (discard_pending_stop_replies): Remove declaration. (discard_pending_stop_replies_in_queue): Declare. (remote_close): Call discard_pending_stop_replies_in_queue instead of discard_pending_stop_replies. (remote_start_remote): Adjust. (stop_reply_xfree): Call notif_event_xfree. (notif_client_stop): Adjust initialization. (remote_notif_remove_all): Rename it to ... (remove_stop_reply_for_inferior): ... this. Update comments. Don't check INF is NULL. (discard_pending_stop_replies): Return early if notif_state is NULL. Adjust. Don't check INF is NULL. (remote_notif_get_pending_events): Adjust. (discard_pending_stop_replies_in_queue): New function. (remote_wait_ns): Likewise. commit 70166e7ad853a415d641fb5222b39953cc20c209 Author: qiyao Date: Fri Oct 4 07:32:56 2013 +0000 Move notif_queue and remote_async_get_pending_events_token to remote_state This patch also removes notif_xfree, and don't pass it QUEUE_alloc, because we don't have to free notif_client when the remote_notif_state is freed. gdb: 2013-10-04 Yao Qi * remote-notif.c (DECLARE_QUEUE_P): Remove. (notif_queue): Remove. (remote_notif_process): Add one parameter 'notif_queue'. Update comments. Callers update. (remote_async_get_pending_events_token): Remove. (remote_notif_register_async_event_handler): Remove. (remote_notif_unregister_async_event_handler): Remove. (handle_notification): Add parameter 'notif_queue'. Update comments. Callers update. (notif_xfree): Remove. (remote_notif_state_allocate): New function. (remote_notif_state_xfree): New function. (_initialize_notif): Remove code to allocate queue. * remote-notif.h (DECLARE_QUEUE_P): Moved from remote-notif.c. (struct remote_notif_state): New. (handle_notification): Update declaration. (remote_notif_process): Likewise. (remote_notif_register_async_event_handler): Remove. (remote_notif_unregister_async_event_handler): Remove. (remote_notif_state_allocate): Declare. (remote_notif_state_xfree): Declare. * remote.c (struct remote_state) : New field. (remote_close): Don't call remote_notif_unregister_async_event_handler. Call remote_notif_state_xfree. (remote_open_1): Don't call remote_notif_register_async_event_handler. Call remote_notif_state_allocate. commit 17b0ea1ae0ae3d4dfe714e2c880a9377b8b344c3 Author: qiyao Date: Fri Oct 4 07:16:44 2013 +0000 Fix FIXME: xstrdup should not be here Hi, This FIXME goes into my eyes, when I am about to modify something here, /* Name is allocated by name_of_child. */ /* FIXME: xstrdup should not be here. */ This FIXME was introduced in the python pretty-pretter patches. Python pretty-printing [6/6] https://sourceware.org/ml/gdb-patches/2009-05/msg00467.html create_child_with_value is called in two paths, 1. varobj_list_children -> create_child -> create_child_with_value, 2. install_dynamic_child -> install_dynamic_child -> varobj_add_child -> create_child_with_value In path #1, 'name' is allocated by name_of_child, as the original comment said, we don't have to duplicate NAME in create_child_with_value. In path #2, 'name' is got from PyArg_ParseTuple, and we have to duplicate NAME. This patch removes the call to xstrdup in create_child_with_value and call xstrudp in update_dynamic_varobj_children (path #2). gdb: 2013-10-04 Yao Qi * varobj.c (create_child_with_value): Remove 'const' from the type of parameter 'name'. (varobj_add_child): Likewise. (install_dynamic_child): Remove 'const' from the type of parameter 'name'. (varobj_add_child): Likewise. (create_child_with_value): Likewise. Update comments. Don't duplicate 'name'. (update_dynamic_varobj_children): Duplicate 'name' and pass it to install_dynamic_child. commit d34e7bc2d3c61af8ac4a7dabf4d2fd8adbf39b60 Author: Alan Modra Date: Fri Oct 4 00:00:04 2013 +0000 daily update commit 1781ae70fe4cd033a7cbd953a45ab3da795c4dd6 Author: Jan-Benedict Glaw Date: Thu Oct 3 22:02:45 2013 +0000 2013-10-04 Jan-Benedict Glaw * configure: Regenerate. commit eb00ccea9d390a0a5748bb62d93b06baeaf35dfa Author: willnewton Date: Thu Oct 3 14:46:06 2013 +0000 aarch64: Add support for GNU indirect functions. Add support for STT_GNU_IFUNC symbols to the AArch64 bfd backend. The tests are ported from the ld-ifunc tests but are enabled for cross builds so can be run easily without hardware or a simulator. bfd/ChangeLog: 2013-10-03 Will Newton * configure: Regenerate. * configure.in: Build elf-ifunc.o for AArch64. * elfnn-aarch64.c: Include objalloc.h. (elfNN_aarch64_local_htab_hash): New function. (elfNN_aarch64_local_htab_eq): New function. (elfNN_aarch64_get_local_sym_hash): New function. (elfNN_aarch64_link_hash_table_create): Initialize local STT_GNU_IFUNC symbol hash. (elfNN_aarch64_hash_table_free): Free local STT_GNU_IFUNC symbol hash. (elfNN_aarch64_final_link_relocate): Add sym argument. Add support for handling STT_GNU_IFUNC symbols. (elfNN_aarch64_gc_sweep_hook): Add support for garbage collecting references to STT_GNU_IFUNC symbols. (elfNN_aarch64_adjust_dynamic_symbol): Add support for handling STT_GNU_IFUNC symbols. (elfNN_aarch64_check_relocs): Add support for handling STT_GNU_IFUNC symbols. Ensure we don't increase plt.refcount from -1 to 0. (elfNN_aarch64_post_process_headers): Call _bfd_elf_set_osabi. (elfNN_aarch64_is_function_type): Remove function. (elfNN_aarch64_allocate_dynrelocs): Handle STT_GNU_IFUNC symbols. (elfNN_aarch64_allocate_ifunc_dynrelocs): New function. (elfNN_aarch64_allocate_local_dynrelocs): New function. (elfNN_aarch64_allocate_local_ifunc_dynrelocs): New function. (elfNN_aarch64_size_dynamic_sections): Call elfNN_aarch64_allocate_local_dynrelocs. (elfNN_aarch64_create_small_pltn_entry): Add info argument. Add support for creating .iplt entries for STT_GNU_IFUNC symbols. (elfNN_aarch64_finish_dynamic_symbol): Add support for handling STT_GNU_IFUNC symbols and .iplt. (elfNN_aarch64_finish_local_dynamic_symbol): New function. (elfNN_aarch64_finish_dynamic_sections): Call elfNN_aarch64_finish_local_dynamic_symbol. ld/ChangeLog: 2013-10-03 Will Newton * emulparams/aarch64elf.sh: Add IREL_IN_PLT. * emulparams/aarch64elf32.sh: Likewise. ld/testsuite/ChangeLog: 2013-10-03 Will Newton * ld-ifunc/ifunc.exp: Enable ifunc tests for AArch64. * ld-aarch64/aarch64-elf.exp: Run ifunc tests. * ld-aarch64/ifunc-1-local.d: New file. * ld-aarch64/ifunc-1-local.s: Likewise. * ld-aarch64/ifunc-1.d: Likewise. * ld-aarch64/ifunc-1.s: Likewise. * ld-aarch64/ifunc-10.d: Likewise. * ld-aarch64/ifunc-10.s: Likewise. * ld-aarch64/ifunc-11.d: Likewise. * ld-aarch64/ifunc-11.s: Likewise. * ld-aarch64/ifunc-12.d: Likewise. * ld-aarch64/ifunc-12.s: Likewise. * ld-aarch64/ifunc-13.d: Likewise. * ld-aarch64/ifunc-13a.s: Likewise. * ld-aarch64/ifunc-13b.s: Likewise. * ld-aarch64/ifunc-14a.d: Likewise. * ld-aarch64/ifunc-14a.s: Likewise. * ld-aarch64/ifunc-14b.d: Likewise. * ld-aarch64/ifunc-14b.s: Likewise. * ld-aarch64/ifunc-14c.d: Likewise. * ld-aarch64/ifunc-14c.s: Likewise. * ld-aarch64/ifunc-14d.d: Likewise. * ld-aarch64/ifunc-14e.d: Likewise. * ld-aarch64/ifunc-14f.d: Likewise. * ld-aarch64/ifunc-15.d: Likewise. * ld-aarch64/ifunc-15.s: Likewise. * ld-aarch64/ifunc-16.d: Likewise. * ld-aarch64/ifunc-16.s: Likewise. * ld-aarch64/ifunc-17a.d: Likewise. * ld-aarch64/ifunc-17a.s: Likewise. * ld-aarch64/ifunc-17b.d: Likewise. * ld-aarch64/ifunc-17b.s: Likewise. * ld-aarch64/ifunc-18a.d: Likewise. * ld-aarch64/ifunc-18a.s: Likewise. * ld-aarch64/ifunc-18b.d: Likewise. * ld-aarch64/ifunc-18b.s: Likewise. * ld-aarch64/ifunc-19a.d: Likewise. * ld-aarch64/ifunc-19a.s: Likewise. * ld-aarch64/ifunc-19b.d: Likewise. * ld-aarch64/ifunc-19b.s: Likewise. * ld-aarch64/ifunc-2-local.d: Likewise. * ld-aarch64/ifunc-2-local.s: Likewise. * ld-aarch64/ifunc-2.d: Likewise. * ld-aarch64/ifunc-2.s: Likewise. * ld-aarch64/ifunc-20.d: Likewise. * ld-aarch64/ifunc-20.s: Likewise. * ld-aarch64/ifunc-3.s: Likewise. * ld-aarch64/ifunc-3a.d: Likewise. * ld-aarch64/ifunc-3b.d: Likewise. * ld-aarch64/ifunc-4.d: Likewise. * ld-aarch64/ifunc-4.s: Likewise. * ld-aarch64/ifunc-4a.d: Likewise. * ld-aarch64/ifunc-5-local.s: Likewise. * ld-aarch64/ifunc-5.s: Likewise. * ld-aarch64/ifunc-5a-local.d: Likewise. * ld-aarch64/ifunc-5a.d: Likewise. * ld-aarch64/ifunc-5b-local.d: Likewise. * ld-aarch64/ifunc-5b.d: Likewise. * ld-aarch64/ifunc-5r-local.d: Likewise. * ld-aarch64/ifunc-6.s: Likewise. * ld-aarch64/ifunc-6a.d: Likewise. * ld-aarch64/ifunc-6b.d: Likewise. * ld-aarch64/ifunc-7.s: Likewise. * ld-aarch64/ifunc-7a.d: Likewise. * ld-aarch64/ifunc-7b.d: Likewise. * ld-aarch64/ifunc-7c.d: Likewise. * ld-aarch64/ifunc-8.d: Likewise. * ld-aarch64/ifunc-8a.s: Likewise. * ld-aarch64/ifunc-8b.s: Likewise. * ld-aarch64/ifunc-9.d: Likewise. * ld-aarch64/ifunc-9.s: Likewise. commit a05b62e2ce3b4e82a7f2ec22df7ad907949c478d Author: pmuldoon Date: Thu Oct 3 14:43:30 2013 +0000 2013-10-03 Phil Muldoon * python/py-value.c (convert_value_from_python): Move PyInt_Check conversion logic to occur after PyLong_Check. Comment on order change significance. * python/py-arch.c (archpy_disassemble): Comment on order of conversion for integers and longs. commit 686117608240f09fc72ba40ccac1db804e66243a Author: Pedro Alves Date: Thu Oct 3 10:13:34 2013 +0000 Always run the PTRACE_O_TRACESYSGOOD tests even if PTRACE_O_TRACEFORK is not supported. If enabling PTRACE_O_TRACEFORK fails, we never test for PTRACE_O_TRACESYSGOOD support. Before PTRACE_O_TRACESYSGOOD is checked, we have: /* First, set the PTRACE_O_TRACEFORK option. If this fails, we know for sure that it is not supported. */ ret = ptrace (PTRACE_SETOPTIONS, child_pid, (PTRACE_TYPE_ARG3) 0, (PTRACE_TYPE_ARG4) PTRACE_O_TRACEFORK); if (ret != 0) { ret = ptrace (PTRACE_KILL, child_pid, (PTRACE_TYPE_ARG3) 0, (PTRACE_TYPE_ARG4) 0); if (ret != 0) { warning (_("linux_check_ptrace_features: failed to kill child")); return; } ret = my_waitpid (child_pid, &status, 0); if (ret != child_pid) warning (_("linux_check_ptrace_features: failed " "to wait for killed child")); else if (!WIFSIGNALED (status)) warning (_("linux_check_ptrace_features: unexpected " "wait status 0x%x from killed child"), status); return; <<<<<<<<<<<<<<<<< } Note that early return. If PTRACE_O_TRACEFORK isn't supported, we're not checking PTRACE_O_TRACESYSGOOD. This didn't use to be a problem before the unification of this whole detection business in linux-ptrace.c. Before, the sysgood detection was completely separate: static void linux_test_for_tracesysgood (int original_pid) { int ret; sigset_t prev_mask; /* We don't want those ptrace calls to be interrupted. */ block_child_signals (&prev_mask); linux_supports_tracesysgood_flag = 0; ret = ptrace (PTRACE_SETOPTIONS, original_pid, 0, PTRACE_O_TRACESYSGOOD); if (ret != 0) goto out; linux_supports_tracesysgood_flag = 1; out: restore_child_signals_mask (&prev_mask); } So we need to get back the decoupling somehow. I think it's cleaner to split the seperate feature detections to separate functions. This patch does that. The new functions are named for their counterparts that existed before this code was moved to linux-ptrace.c. Note I've used forward declarations for the new functions to make the patch clearer, as otherwise the patch would look like I'd be adding a bunch of new code. A reorder can be done in a follow up patch. Tested on x86_64 Fedora 17. gdb/ 2013-10-03 Pedro Alves * common/linux-ptrace.c (linux_check_ptrace_features): Factor out the PTRACE_O_TRACESYSGOOD and PTRACE_O_TRACEFORK to separate functions. Always test for PTRACE_O_TRACESYSGOOD even if PTRACE_O_TRACEFORK is not supported. (linux_test_for_tracesysgood): New function. (linux_test_for_tracefork): New function, factored out from linux_check_ptrace_features, and also don't kill child_pid here. commit a8d43ff9daf61a423b9b60c41b1b1815895eb09f Author: Tristan Gingold Date: Thu Oct 3 09:46:35 2013 +0000 2013-10-03 Tristan Gingold * i386-darwin-nat.c (i386_darwin_dr_set): Fix argument type. Remove verbose error reporting. Use detected state to thread_set_state call. (i386_darwin_dr_get): Fix return type. Remove verbose error report. Remove trailing spaces. commit 8e600191e22d3678c76992f8384db3ba6ab2b528 Author: Alan Modra Date: Thu Oct 3 00:00:04 2013 +0000 daily update commit 0b6dfee8ae8027e40986e1140771b428c7aaa6da Author: yufeng Date: Wed Oct 2 18:09:26 2013 +0000 gdb/testsuite/ * gdb.trace/entry-values.exp: Modify regular expression to scan for 'bl' instruction instead of 'call' for ARM and AArch64 targets. commit 936847f48dedfb3437f8271597b0177bc625515c Author: Pedro Alves Date: Wed Oct 2 16:15:43 2013 +0000 Print registers not saved in the frame as "" instead of "". Currently, in some scenarios, GDB prints when printing outer frame registers. An register is a confusing concept. What this really means is that the register is call-clobbered, or IOW, not saved by the callee. This patch makes GDB say that instead. Before patch: (gdb) p/x $rax $1 = (gdb) info registers rax rax After patch: (gdb) p/x $rax $1 = (gdb) info registers rax rax However, if for some reason the debug info describes a variable as being in such a register (**), we still want to print when printing the variable. IOW, is reserved for inspecting registers at the machine level. The patch uses lval_register+optimized_out to encode the not saved registers, and makes it so that optimized out variables always end up in !lval_register values. ** See . Current/recent enough GCC doesn't mark variables/arguments as being in call-clobbered registers in the ranges corresponding to function calls, while older GCCs did. Newer GCCs will just not say where the variable is, so GDB will end up realizing the variable is optimized out. frame_unwind_got_optimized creates not_lval optimized out registers, so by default, in most cases, we'll see . value_of_register is the function eval.c uses for evaluating OP_REGISTER (again, $pc, etc.), and related bits. It isn't used for anything else. This function makes sure to return lval_register values. The patch makes "info registers" and the MI equivalent use it too. I think it just makes a lot of sense, as this makes it so that when printing machine registers ($pc, etc.), we go through a central function. We're likely to need a different encoding at some point, if/when we support partially saved registers. Even then, I think value_of_register will still be the spot to tag the intention to print machine register values differently. value_from_register however may also return optimized out lval_register values, so at a couple places where we're computing a variable's location from a dwarf expression, we convert the resulting value away from lval_register to a regular optimized out value. Tested on x86_64 Fedora 17 gdb/ 2013-10-02 Pedro Alves * cp-valprint.c (cp_print_value_fields): Adjust calls to val_print_optimized_out. * jv-valprint.c (java_print_value_fields): Likewise. * p-valprint.c (pascal_object_print_value_fields): Likewise. * dwarf2loc.c (dwarf2_evaluate_loc_desc_full) : If the register was not saved, return a new optimized out value. * findvar.c (address_from_register): Likewise. * frame.c (put_frame_register): Tweak error string to say the register was not saved, rather than optimized out. * infcmd.c (default_print_one_register_info): Adjust call to val_print_optimized_out. Use value_of_register instead of get_frame_register_value. * mi/mi-main.c (output_register): Use value_of_register instead of get_frame_register_value. * valprint.c (valprint_check_validity): Likewise. (val_print_optimized_out): New value parameter. If the value is lval_register, print instead. (value_check_printable, val_print_scalar_formatted): Adjust calls to val_print_optimized_out. * valprint.h (val_print_optimized_out): New value parameter. * value.c (struct value) : Extend comment. (error_value_optimized_out): New function. (require_not_optimized_out): Use it. Use a different string for lval_register values. * value.h (error_value_optimized_out): New declaration. * NEWS: Mention . gdb/testsuite/ 2013-10-02 Pedro Alves * gdb.dwarf2/dw2-reg-undefined.exp : Set to "". * gdb.mi/mi-reg-undefined.exp (opt_out_pattern): Delete. (not_saved_pattern): New. Replace use of the former with the latter. gdb/doc/ 2013-10-02 Pedro Alves * gdb.texinfo (Registers): Expand description of saved registers in frames. Explain . commit 5f60e60da1519ec1ba4d8bd3bc78a3928fcc7cec Author: Pedro Alves Date: Wed Oct 2 11:44:19 2013 +0000 Teach the testsuite that GDBserver reliably reports program exits. Running catch-syscall.exp against a gdbserver that actually supports it, we get: FAIL: gdb.base/catch-syscall.exp: continue until exit (the program exited) FAIL: gdb.base/catch-syscall.exp: continue until exit (the program exited) FAIL: gdb.base/catch-syscall.exp: continue until exit (the program exited) FAIL: gdb.base/catch-syscall.exp: continue until exit at catch syscall with unused syscall (mlock) (the program exited) FAIL: gdb.base/catch-syscall.exp: continue until exit (the program exited) The fail pattern is: Catchpoint 2 (call to syscall exit_group), 0x000000323d4baa29 in _exit () from /lib64/libc.so.6 (gdb) PASS: gdb.base/catch-syscall.exp: program has called exit_group delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break exit Breakpoint 3 at 0x323d438bf0 (gdb) continue Continuing. [Inferior 1 (process 21081) exited normally] That "break exit" + "continue" comes from: > # gdb_continue_to_end: > # The case where the target uses stubs has to be handled specially. If a > # stub is used, we set a breakpoint at exit because we cannot rely on > # exit() behavior of a remote target. > # The native-gdbserver.exp board, used to test against gdbserver in "target remote" mode, triggers that case ($use_gdb_stub is true). So gdb_continue_to_end doesn't work for catch-syscall.exp as here we catch the exit_group and continue from that, expecting to see a real program exit. I was about to post a patch that changes catch-syscall.exp to call a new function that just always does what gdb_continue_to_end does in the !$use_gdb_stub case. But, since GDBserver doesn't really need this, in the end I thought it better to teach the testsuite that there are stubs that know how to report program exits, by adding a new "exit_is_reliable" board variable that then gdb_continue_to_end checks. Tested on x86_64 Fedora 17, native and gdbserver. gdb/testsuite/ 2013-10-02 Pedro Alves * README (Board Settings): Document "exit_is_reliable". * lib/gdb.exp (gdb_continue_to_end): Check whether the board says running to exit reliably reports program exits. * boards/native-gdbserver.exp: Set exit_is_reliable in the board info. * boards/native-stdio-gdbserver.exp: Likewise. commit bbd5ead4f2ce1216d41cc6f301f6b0db812d63b4 Author: Pedro Alves Date: Wed Oct 2 11:42:35 2013 +0000 [GDBserver]: Silence exits if GDB is connected through stdio. If we make gdbserver gdb_continue_to_end actually expect a process exit with GDBserver, we get many testsuite failures with the remote stdio board: -PASS: gdb.arch/amd64-disp-step.exp: continue until exit at amd64-disp-step +FAIL: gdb.arch/amd64-disp-step.exp: continue until exit at amd64-disp-step (the program exited) -PASS: gdb.base/break.exp: continue until exit at recursive next test +FAIL: gdb.base/break.exp: continue until exit at recursive next test (the program exited) -PASS: gdb.base/chng-syms.exp: continue until exit at breakpoint first time through +FAIL: gdb.base/chng-syms.exp: continue until exit at breakpoint first time through (the program exited) ... etc. ... This is what the log shows for all of them: (gdb) continue Continuing. Child exited with status 0 GDBserver exiting [Inferior 1 (process 22721) exited normally] (gdb) FAIL: gdb.arch/amd64-disp-step.exp: continue until exit (the program exited) The problem is the whole "Child exited ... GDBserver exiting" output, that comes out of GDBserver, and that the testsuite is not expecting. I pondered somehow making the testsuite adjust to this. But, testsuite aside, I think GDBserver should not be outputting this at all when GDB is connected through stdio. GDBserver will be printing this in GDB's console, but the user can already tell from the regular output that the inferior is gone. Again, manually: (gdb) tar remote | ./gdbserver/gdbserver - program Remote debugging using | ./gdbserver/gdbserver - program Process program created; pid = 22486 stdin/stdout redirected Remote debugging using stdio done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 0x000000323d001530 in _start () from /lib64/ld-linux-x86-64.so.2 (gdb) c Continuing. Child exited with status 1 ^^^^^^^^^^^^^^^^^^^^^^^^^^ GDBserver exiting ^^^^^^^^^^^^^^^^^ [Inferior 1 (process 22486) exited with code 01] (gdb) Suppressing those two lines makes the output be exactly like when debugging against a remote tcp gdbserver: (gdb) c Continuing. [Inferior 1 (process 22914) exited with code 01] (gdb) 2013-10-02 Pedro Alves * server.c (process_serial_event): Don't output "GDBserver exiting" if GDB is connected through stdio. * target.c (mywait): Likewise, be silent if GDB is connected through stdio. commit b73fbf934b7f6691d6c2d1abc2e555ed0684b6ef Author: Joel Brobecker Date: Wed Oct 2 09:22:42 2013 +0000 Use FILENAME_CMP to compare filenames in compare_search_syms. gdb/ChangeLog: * symtab.c (compare_search_syms): Use FILENAME_CMP instead of strcmp to compare two symtab filenames. commit 08eedad014bd24bf93e679376bcb3fa6f6574358 Author: Joel Brobecker Date: Wed Oct 2 09:22:32 2013 +0000 Delete search_symbols_equal (use compare_search_syms instead). This avoids duplicating the logic comparing two symbol_search objects (in search_symbols_equal and compare_search_syms). gdb/ChangeLog: * symtab.c (search_symbols_equal): Delete. (sort_search_symbols_remove_dups): Replace call to search_symbols_equal by call to compare_search_syms, adjusting as necessary. commit 7a1e5f01a9a149d823490ad3b454a754b0f584f0 Author: pmuldoon Date: Wed Oct 2 08:44:03 2013 +0000 2013-10-02 Phil Muldoon PR python/15579 * python/python.c: Document gdb.execute command in Python help. commit 632de0d4f2091f5bae0e44eecb34286dc1f3fa05 Author: pmuldoon Date: Wed Oct 2 08:37:10 2013 +0000 2013-10-02 Phil Muldoon * python/py-frame.c (frame_info_to_frame_object): Use gdbpy_convert_exception. Clean up Python object on failure. commit 0b0cf856138144fff5e010d1c4b06f9cbe8c4260 Author: pmuldoon Date: Wed Oct 2 08:33:27 2013 +0000 2013-10-02 Phil Muldoon * python/lib/gdb/command/frame_filters.py (InfoFrameFilter.list_frame_filters): Retrieve exception manually. (ShowFrameFilterPriority.invoke): Ditto. commit c85cddc51d5d9e4423509a2dc7cf3d9809451b49 Author: Keith Seitz Date: Wed Oct 2 00:46:06 2013 +0000 Constification of parse_linespec and fallout: https://sourceware.org/ml/gdb-patches/2013-09/msg01017.html https://sourceware.org/ml/gdb-patches/2013-09/msg01018.html https://sourceware.org/ml/gdb-patches/2013-09/msg01019.html https://sourceware.org/ml/gdb-patches/2013-09/msg01020.html commit 9cb8e9ab9d225807a721e2b6d520e663fc2fbb81 Author: Alan Modra Date: Wed Oct 2 00:00:04 2013 +0000 daily update commit 378108e9495cac8f5bbaff4528ae387a134e2a07 Author: Doug Evans Date: Tue Oct 1 23:52:45 2013 +0000 * cli/cli-decode.c: Remove unnecessary inclusion of tui/tui.h. commit bdfb1be45ce5b3a4d6473810595ad532d11f703f Author: Doug Evans Date: Tue Oct 1 20:36:01 2013 +0000 * gdb.python/python.exp: Remove redundant print-stack tests. Make all print-stack test names unique. Fix spelling of print-stack. commit 1dc6a1c524d57f32f896af64e0af7a750f0dcbcd Author: Jeff Johnston Date: Tue Oct 1 18:14:04 2013 +0000 2013-10-01 Jeff Johnston * COPYING.NEWLIB: Update with new copyright. commit c8bca51b10b7ca177360768a1c0d9cd6f3e5765b Author: qiyao Date: Tue Oct 1 13:52:14 2013 +0000 gdb/ * varobj.c (c_value_of_root): Remove declaration. (cplus_value_of_root, java_value_of_root): Likewise. (ada_value_of_root): Likewise. (struct language_specific) : Remove. (languages): Update initialization. (check_scope): Move earlier. (c_value_of_root): Move earlier and rename to ... (value_of_root_1): ... this. (value_of_root): Caller update. (cplus_value_of_root, java_value_of_root): Remove. (ada_value_of_root): Remove. commit a57e89792d833f391453274ee62a933a7db90c11 Author: qiyao Date: Tue Oct 1 13:40:26 2013 +0000 gdb/ * varobj.c (varobj_format_string): Remove "unknown". (languages): Remove the first element. * varobj.h (enum varobj_languages): Remove vlang_c. commit 9e37e885ad117e272639afbc36e81e218e29847a Author: qiyao Date: Tue Oct 1 13:28:59 2013 +0000 gdb/ * varobj.c (struct language_specific) : Remove. (languages): Update the initialization. commit 0f5c7642da2ef4e73204d251b96e8762e979fc9b Author: qiyao Date: Tue Oct 1 13:21:16 2013 +0000 gdb/ * arm-wince-tdep.c: Remove inclusion of "solib.h" and "solib-target.h". Include "windows-tdep.h". (arm_wince_init_abi): Call windows_init_abi. Remove call to set_solib_ops and set_gdbarch_has_dos_based_file_system. * configure.tgt (arm*-wince-pe | arm*-*-mingw32ce*): Append windows-tdep.o to gdb_target_obs. commit 7a098c2d47220ca413993e71c0911468de0cef34 Author: qiyao Date: Tue Oct 1 13:17:56 2013 +0000 gdb/ * amd64-windows-tdep.c: Remove inclusion of "solib.h" and "solib-target.h". (amd64_windows_init_abi): Don't call set_solib_ops and set_gdbarch_iterate_over_objfiles_in_search_order. Call windows_init_abi instead. * i386-cygwin-tdep.c: Remove inclusion of "solib.h" and "solib-target.h". (i386_cygwin_init_abi): Don't call set_solib_ops, set_gdbarch_has_dos_based_file_system and set_gdbarch_iterate_over_objfiles_in_search_order. Call windows_init_abi instead. * windows-tdep.c: Include "solib.h" and "solib-target.h". (windows_init_abi): New function. (windows_iterate_over_objfiles_in_search_order): Make it static. * windows-tdep.h (windows_init_abi): Declare. (windows_iterate_over_objfiles_in_search_order): Remove declaration. commit 63b4d2410df203b11d23f87e042d3db8ca094f04 Author: Joel Brobecker Date: Tue Oct 1 10:56:51 2013 +0000 [gdbserver/LynxOS]: Incomplete thread list after --attach The current implementation is forgetting to populate the thread list when attaching to the process. This results in an incomplete list of threads when debugging a threaded program. Unfortunately, as the added comments hints, there appears to be no way of getting the list of threads via ptrace, other than by spawning the "ps" command, and parsing its output. Not great, but it appears to be the best we can do. gdb/gdbserver/ChangeLog: * lynx-low.c (lynx_add_threads_after_attach): New function. (lynx_attach): Remove call to add_thread. Add call to lynx_add_threads_after_attach instead. commit ceda0895037ea390baa326c7ed8d7a812289dcfd Author: Joel Brobecker Date: Tue Oct 1 09:21:52 2013 +0000 [ELinOS] Best effort to load system libraries in case of incomplete env So far elinos.py was assuming that the whole ELinOS environment was around to find the system libraries; if some environment variables were missing, the script would just abort. This was a bit extreme. It is possible to do better than that: to get the core system libraries, one doesn't need to have a full environment but just the path to the CDK. The path to kernel project is only needed for the optional Xenomai libs. gdb/ChangeLog: * system-gdbinit/elinos.py (get_elinos_environment): Return an incomplete dictionnary instead of None in case of missing environment variables. (elinos_init): in case of an incomplete environment, best effort to load system libraries instead of abort. commit 479b8df39e9ed7be12d44e48f93c2bf3fe909303 Author: Joel Brobecker Date: Tue Oct 1 09:21:41 2013 +0000 wrong "catch exception" error message when finding trampoline msym. When building the program with the shared GNAT runtime, the debugger is unable to insert Ada exception catchpoints until that runtime has been mapped to memory. In other words, we expect the user to start the program first, before attempting to insert that catchpoint. The detection mechanism that tries to provide some useful tips to the user fails when the program itself contains a trampoline symbol matching the symbol that the catchpoint is trying to use. This results in the following error message: (gdb) catch exception Your Ada runtime appears to be missing some debugging information. Cannot insert Ada exception catchpoint in this configuration. Instead, we expected the following error message: (gdb) catch exception Unable to insert catchpoint. Try to start the program first. gdb/ChangeLog: * ada-lang.c (ada_has_this_exception_support): Ignore mst_solib_trampoline minimal symbols. commit c12044384ebc6d210636f2e5f5460bbe854f5390 Author: Alan Modra Date: Tue Oct 1 00:00:04 2013 +0000 daily update commit 86ce5109e88ebc2389572377b07ada890e40d324 Author: H.J. Lu Date: Mon Sep 30 17:48:10 2013 +0000 Add Size64 to movq/vmovq with Reg64 operand * i386-opc.tbl: Add Size64 to movq/vmovq with Reg64 operand. * i386-init.h: Regenerated. commit b1201ac4b646cb3f16a334613a328297bc039493 Author: sekanath Date: Mon Sep 30 17:02:06 2013 +0000 Add AMD bdver4 support. gas/ * config/tc-i386.c (cpu_arch): Add CPU_BDVER4_FLAGS. * doc/c-i386.texi: Add -march=bdver4 option. gas/testsuite/ * gas/i386/i386.exp: Run bdver4 test cases. * gas/i386/nops-1-bdver4.d: New. * gas/i386/arch-10-bdver4.d: New. * gas/i386/x86-64-nops-1-bdver4.d: New. * gas/i386/x86-64-arch-2-bdver4.d: New. opcodes/ * i386-gen.c (cpu_flag_init): Add CPU_BDVER4_FLAGS. * i386-init.h: Regenerated. commit 6d507eb10c6b0e1c8f0ec3e210ac05efa3b00816 Author: Tristan Gingold Date: Mon Sep 30 14:06:23 2013 +0000 2013-09-30 Tristan Gingold * i386-darwin-nat.c (darwin_complete_target): Install methods for hardware watchpoint. (i386_darwin_dr_set): Support 32 and 64 bit states. (i386_darwin_dr_get): Likewise. (i386_darwin_dr_set_control): Make static. (i386_darwin_dr_set_addr, i386_darwin_dr_get_addr) (i386_darwin_dr_get_status, i386_darwin_dr_get_control): Likewise. commit d2306b37658ef5019021135429c2e7c8e0d09be4 Author: Luis Machado Date: Mon Sep 30 11:50:10 2013 +0000 * aarch64-linux-nat.c: Replace PIDGET with ptid_get_pid. Replace TIDGET with ptid_get_lwp. Replace GET_LWP with ptid_get_lwp. * aix-thread.c (BUILD_THREAD, BUILD_LWP): Remove. Replace BUILD_THREAD with ptid_build. Replace BUILD_LWP with ptid_build. Replace PIDGET with ptid_get_pid. Replace TIDGET with ptid_get_lwp. * alphabsd-nat.c: Replace PIDGET with ptid_get_pid. * amd64-linux-nat.c: Replace PIDGET with ptid_get_pid. Replace TIDGET with ptid_get_lwp. * amd64bsd-nat.c: Replace PIDGET with ptid_get_pid. * arm-linux-nat.c: Replace PIDGET with ptid_get_pid. Replace TIDGET with ptid_get_lwp. Replace GET_LWP with ptid_get_lwp. * armnbsd-nat.c: Replace PIDGET with ptid_get_pid. * auxv.c: Likewise. * breakpoint.c: Likewise. * common/ptid.c (ptid_is_pid): Condense check for null_ptid and minus_one_ptid. (ptid_lwp_p): New function. (ptid_tid_p): New function. * common/ptid.h: Update comments for accessors. (ptid_lwp_p): New prototype. (ptid_tid_p): New prototype. * defs.h (PIDGET, TIDGET, MERGEPID): Do not define. * gcore.c: Replace PIDGET with ptid_get_pid. * gdbthread.h: Likewise. * gnu-nat.c: Likewise. * hppa-linux-nat.c: Replace PIDGET with ptid_get_pid. Replace TIDGET with ptid_get_lwp. * hppabsd-nat.c: Replace PIDGET with ptid_get_pid. * hppanbsd-nat.c: Likewise. * i386-linux-nat.c: Replace PIDGET with ptid_get_pid. Replace TIDGET with ptid_get_lwp. * i386bsd-nat.c: Replace PIDGET with ptid_get_pid. * ia64-linux-nat.c: Replace PIDGET with ptid_get_pid. * infcmd.c: Likewise. * inferior.h: Likewise. * inflow.c: Likewise. * infrun.c: Likewise. * linux-fork.c: Likewise. * linux-nat.c: Replace PIDGET with ptid_get_pid. Replace GET_PID with ptid_get_pid. Replace is_lwp with ptid_lwp_p. Replace GET_LWP with ptid_get_lwp. Replace BUILD_LWP with ptid_build. commit 9cbf9e4e83a7c576efd3d16beab2ab2a5be5d1a9 Author: Nick Clifton Date: Mon Sep 30 09:03:59 2013 +0000 * emulparams/msp430all.sh: Update ARCH names. * cpu-msp430.c: Use printable names that match the values displayed by readelf. commit 29ba145d7fa207912f522231d1c83b52d36377a6 Author: Alan Modra Date: Mon Sep 30 00:00:04 2013 +0000 daily update commit 83ac1b81fccda6034d12236a657200aeba103112 Author: qiyao Date: Sun Sep 29 14:05:36 2013 +0000 gdb/testsuite/ * gdb.base/shreloc.exp: Set $msymfile to 'shreloc.txt' if host is remote. commit d1a5889eb78d960adc5b60ce215ef428aaa9f42d Author: Mike Frysinger Date: Sun Sep 29 03:57:33 2013 +0000 gdb: btrace: fix build errors on older glibc builds It is possible to have a build of glibc where SYS_perf_event_open is not defined (because when the glibc was compiled, the syscall did not exist), but have newer kernel headers installed so that linux/perf_event.h is available. In this setup, you get a build failure: ./common/linux-btrace.c: In function 'kernel_supports_btrace': ./common/linux-btrace.c:316:23: error: 'SYS_perf_event_open' undeclared (first use in this function) Update the ifdef check to also see if the syscall is available. URL: https://bugs.gentoo.org/473522 Reported-by: William Throwe Signed-off-by: Mike Frysinger commit b2c30ccf8938f4e7705413b3408a690f981fb6e0 Author: Alan Modra Date: Sun Sep 29 00:00:04 2013 +0000 daily update commit fab6c1675a159406ab65d582e85b51a75e55fb41 Author: Alan Modra Date: Sat Sep 28 00:00:04 2013 +0000 daily update commit a8899f272646ae4c5873e74135333d0be222e8a8 Author: Doug Evans Date: Fri Sep 27 21:34:04 2013 +0000 * dwarf2read.c (dwarf2_section_info): Add comment. (dwp_file): Split loaded_cutus into loaded_cus, loaded_tus. All uses updated. (dwarf2_section_empty_p): Rename arg from "info" to "section". (dwarf2_read_section): Delete unused local "header". Add section name to error message. (create_dwo_in_dwp): Tweak comment. (MAX_NR_DWO_SECTIONS): Combine count of .debug_macro + .debug_macinfo. commit 50914b8f285ba4e49080ded08ee71db8fa8c32d6 Author: Doug Evans Date: Fri Sep 27 20:33:18 2013 +0000 * dwarf2read.c (die_reader_specs): Tweak comment. (get_section_bfd_owner, get_section_bfd_section): New functions. (get_section_name, get_section_file_name): New functions. (get_section_id, get_section_flags): New functions. (*): Use new functions to access section fields. commit 543f02b9732785cfab4cb3dfb7cb7c0b2b446ea8 Author: Doug Evans Date: Fri Sep 27 18:48:40 2013 +0000 * dwarf2read.c (struct dwo_file): Add/tweak comments. (lookup_dwo_unit_in_dwp): Renamed from lookup_dwo_in_dwp. Remove arg "htab". All callers updated. (create_debug_types_hash_table): Remove redundant copy of abbrev_section. (create_dwo_in_dwp): Tweak comments. (read_str_index): Tweak comment. Record dwarf form name in static local. commit 8f1950da912021bb6bfa517d19b6347667df1efd Author: Pedro Alves Date: Fri Sep 27 15:29:06 2013 +0000 Fix regular /path/to/directory sysroots and target reported dll paths with drive specs. I tried debugging a remote Windows program on Linux host, and pointed the sysroot to "/some/path/" rather than "remote:", and I found GDB couldn't find the dlls in the sysroot. If the dll name is "C:/Windows/system32/ntdll.dll", I end up with the sysroot+in_pathname concatenated this way: (top-gdb) p temp_pathname $1 = 0x228b690 "/some/pathC:/Windows/system32/ntdll.dll" ^^ That is, a directory separator is missing. This is a regression. The problem is that solib_find decides that since the target path has a drive spec, a separator is not necessary, which is clearly wrong in this case. That check was added in , to handle the case of sysroot being "remote:". This patch fixes that original issue in a different way. Instead of checking whether the path has a drive spec, check whether the sysroot is "remote:". The patch adds a table that helps visualize the cases that need a separator. I also confirmed the original issue is still handled as expected. That is, that "set sysroot remote:" still does the right thing. remote_filename_p returns true if the filename is prefixed with "remote:". In this case, we need to check whether the filename is exactly "remote:". I thought of different ways or either changing remote_filename_p or adding another convenience function to remote.c to avoid exposing the "remote:" prefix out of remote.c. But all attempts turned out adding lot of over needless complication. So the patch just exposes the prefix behind a new macro, which allows using a straighforward strcmp. gdb/ 2013-09-27 Pedro Alves * remote.h (REMOTE_SYSROOT_PREFIX): New define. (remote_filename_p): Add comment. * remote.c (remote_filename_p): Adjust to use REMOTE_SYSROOT_PREFIX. * solib.c (solib_find): When deciding whether we need to add a directory separator, check whether the sysroot is "remote:" instead of checking whether the patch has a drive spec. Add comments. commit f1844708c5c7fdf3eb6aea2f214e14f042bff0fc Author: Pedro Alves Date: Fri Sep 27 13:23:32 2013 +0000 remote.c: Remove unnecessary fields from 'struct stop_reply'. I noticed these fields aren't really necessary -- if the T stop reply indicated any we have any special event, the fallthrough doesn't really do anything. Tested on x86_64 Fedora 17 w/ local gdbserver, and also confirmed "catch load" against a Windows gdbserver running under Wine, which exercises TARGET_WAITKIND_LOADED, still works as expected. gdb/ 2013-09-27 Pedro Alves * remote.c (struct stop_reply) : Delete fields. (remote_parse_stop_reply): Adjust, setting event->ws.kind directly. commit 9c4a8bfef58647615ebc96a02f8e9a468f3250d4 Author: Alan Modra Date: Fri Sep 27 00:00:04 2013 +0000 daily update commit 0365be41f904f540069211e8a2966b9aa0034e54 Author: Jan Kratochvil Date: Thu Sep 26 20:01:24 2013 +0000 Fix set debug frame output gdb/ 2013-09-26 Jan Kratochvil Fix set debug frame output. * frame.c (fprint_frame_type): Add TAILCALL_FRAME entry. Move SENTINEL_FRAME entry lower to match enum frame_type order. commit 079a0e43a24ef0f4490aea722599e632bd955182 Author: Pierre Muller Date: Thu Sep 26 07:00:00 2013 +0000 Replace constant values 8 to 15 by AMD64_R8_REGNUM to AMD64_R15_REGNUM when a register index is expected. * amd64-windows-tdep.c (amd64_windows_dummy_call_integer_regs): Substitute in array. * amd64-tdep.c (amd64_dwarf_regmap): Ditto. (amd64_push_arguments): Substitute in integer_regnum array. commit 224b06cf27d937a9174017bc49f8dc3d033f237e Author: Doug Evans Date: Thu Sep 26 01:08:35 2013 +0000 * objfiles.c (allocate_objfile): Move comment to better place. commit d614be71abc90e4608905cc82f636dcdf0416c9f Author: Doug Evans Date: Wed Sep 25 23:17:11 2013 +0000 New option "set debug symfile on". * NEWS: Mention "set debug symfile". * Makefile.in (SFILES): Add symfile-debug.c. (COMMON_OBS): Add symfile-debug.o. * elfread.c (elf_symfile_read): Use objfile_set_sym_fns to set the objfile's symbol functions. * objfiles.h (objfile_set_sym_fns): Declare. * symfile-debug.c: New file. * symfile.c (syms_from_objfile_1): Use objfile_set_sym_fns to set the objfile's symbol functions. (reread_symbols): Ditto. commit 6a9c1b31834f69fc2c13cd61c5570dbc6819f970 Author: Doug Evans Date: Wed Sep 25 22:48:18 2013 +0000 * symfile.h (struct sym_fns): Delete member "sym_flavour". All uses updated. (add_symtab_fns): Update prototype. * symfile.c (sym_fns_ptr): Delete. Replace with ... (registered_sym_fns): ... this. (symtab_fns): Update. (add_symtab_fns): New arg "flavour". All callers updated. (find_sym_fns): Rewrite to use new sym_fns registry. commit 7e414f30983310e8dfd126e9ab2a3529ffd4075a Author: Doug Evans Date: Wed Sep 25 22:24:05 2013 +0000 * symfile.h (struct sym_fns): Add "objfile" argument to sym_read_linetable. All uses updated. commit f49e1ecc3da86850fa2923c08a3b04afb15e5ee5 Author: Doug Evans Date: Wed Sep 25 21:51:27 2013 +0000 * symtab.c (domain_name, search_domain_name): New functions. * symtab.h (domain_name, search_domain_name): Declare. commit abbb8426a7f6303441551f242cf351bb5afa2ce5 Author: Doug Evans Date: Wed Sep 25 21:44:10 2013 +0000 * symfile.h (struct quick_symbol_functions): Reorg arg list of map_matching_symbols so objfile is first. All uses updated. * dwarf2read.c (dw2_map_matching_symbols): Update signature. * psymtab.c (map_matching_symbols_psymtab): Update signature. commit 536e181d49fe621583d88b04201909693c05e733 Author: pinskia Date: Wed Sep 25 17:55:05 2013 +0000 2013-08-25 Andrew Pinski * elfnn-aarch64.c (TCB_SIZE): Base on the ARCH_SIZE rather than a fixed size of 16. commit cb8979475e521ba91a01d2c8bc8d9e82674b59b5 Author: Ulrich Weigand Date: Wed Sep 25 11:52:49 2013 +0000 ChangeLog: 2013-09-25 Andreas Arnez PR shlibs/8882 * solib-svr4.c (svr4_read_so_list): Skip the vDSO when reading link map entries. testsuite/ChangeLog: 2013-09-25 Andreas Arnez PR shlibs/8882 * gdb.base/corefile.exp: Add a check to assure warning-free core-file load. commit bbfffa84cb2207278d085c7bee63d96cdfd597b9 Author: Doug Evans Date: Wed Sep 25 00:15:29 2013 +0000 * objfiles.c (free_objfile): Move comment. commit 9f7fcd2121e95029a40f11e6d301be50eedc5cdc Author: Alan Modra Date: Wed Sep 25 00:00:04 2013 +0000 daily update commit f7b5d0e237b40fd0299316a6ceeaa77054a81312 Author: Richard Sandiford Date: Tue Sep 24 22:15:37 2013 +0000 bfd/ 2013-09-24 Gregory Fong * elfxx-mips.c (mips_elf_create_got_section): Hide _GLOBAL_OFFSET_TABLE_. ld/testsuite/ 2013-09-24 Gregory Fong * ld-mips-elf/eh-frame5.d, ld-mips-elf/jalx-2.dd, ld-mips-elf/mips-elf.exp, ld-mips-elf/mips16-pic-2.ad, ld-mips-elf/mips16-pic-2.nd, ld-mips-elf/pic-and-nonpic-3a.dd, ld-mips-elf/pic-and-nonpic-3b.ad, ld-mips-elf/pic-and-nonpic-3b.dd, ld-mips-elf/pic-and-nonpic-3b.nd, ld-mips-elf/pic-and-nonpic-4b.ad, ld-mips-elf/pic-and-nonpic-4b.nd, ld-mips-elf/pic-and-nonpic-4b.rd, ld-mips-elf/pic-and-nonpic-5b.ad, ld-mips-elf/pic-and-nonpic-5b.nd, ld-mips-elf/pic-and-nonpic-6-n32.ad, ld-mips-elf/pic-and-nonpic-6-n32.dd, ld-mips-elf/pic-and-nonpic-6-n32.nd, ld-mips-elf/pic-and-nonpic-6-n64.ad, ld-mips-elf/pic-and-nonpic-6-n64.dd, ld-mips-elf/pic-and-nonpic-6-n64.nd, ld-mips-elf/pic-and-nonpic-6-o32.ad, ld-mips-elf/pic-and-nonpic-6-o32.dd, ld-mips-elf/pic-and-nonpic-6-o32.nd, ld-mips-elf/rel32-n32.d, ld-mips-elf/rel32-o32.d, ld-mips-elf/rel64.d, ld-mips-elf/tls-multi-got-1.got, ld-mips-elf/tls-multi-got-1.r, ld-mips-elf/tlsdyn-o32-1.d, ld-mips-elf/tlsdyn-o32-1.got, ld-mips-elf/tlsdyn-o32-2.d, ld-mips-elf/tlsdyn-o32-2.got, ld-mips-elf/tlsdyn-o32-3.d, ld-mips-elf/tlsdyn-o32-3.got, ld-mips-elf/tlsdyn-o32.d, ld-mips-elf/tlsdyn-o32.got, ld-mips-elf/tlslib-o32-ver.got, ld-mips-elf/tlslib-o32.got: Update for removal of _GLOBAL_OFFSET_TABLE_ from .dynsym. commit ed96146f2b556850738a49374f94346eeb17da49 Author: Joel Brobecker Date: Tue Sep 24 19:41:35 2013 +0000 Delete unused ada-exp.y:string_to_operator This function appears to have been unused since 2004. gdb/ChangeLog: * ada-exp.y (string_to_operator): Delete. (dummy_string_to_ada_operator): Delete. commit bd11cefe265a840bfe84454acff864bfa30798bc Author: Joel Brobecker Date: Tue Sep 24 17:24:20 2013 +0000 Fix name of file in ChangeLog entry (re-implement funcalls on x64-windows) commit ab77f89e8ef78661601291d8b9c0e0fa69ea7c3e Author: Joel Brobecker Date: Tue Sep 24 16:14:14 2013 +0000 Revert use of classify callback in i386 gdbarch_tdep. This is no longer useful, as it was introduced to reuse the funcall handling code in amd64-tdep.c in the context of x64-windows. But we have since then changed the implementations to be completely independent of each other. This reverts the non-windows-specific part of the change called: amd64: Integer parameters in function calls on Windows (the x64-windows portion has already been reverted) gdb/ChangeLog: Revert: * i386-tdep.h (enum amd64_reg_class): New, moved here from amd64-tdep.c. (struct gdbarch_tdep): Add fields call_dummy_num_integer_regs, call_dummy_integer_regs, and classify. * amd64-tdep.h (amd64_classify): Add declaration. * amd64-tdep.c (amd64_dummy_call_integer_regs): New static constant. (amd64_reg_class): Delete, moved to i386-tdep.h. (amd64_classify): Make non-static. Move declaration to amd64-tdep.h. Replace call to amd64_classify by call to tdep->classify. (amd64_push_arguments): Get the list of registers to use for passing integer parameters from the gdbarch tdep structure, rather than using a hardcoded one. Replace calls to amd64_classify by calls to tdep->classify. (amd64_push_dummy_call): Get the register number used for the "hidden" argument from tdep->call_dummy_integer_regs. (amd64_init_abi): Initialize tdep->call_dummy_num_integer_regs and tdep->call_dummy_integer_regs. Set tdep->classify. commit 45b58053b371158c6e407a0bdf5dd0db1074d937 Author: Joel Brobecker Date: Tue Sep 24 16:13:57 2013 +0000 Revert use of memory_args_by_pointer in i386 gdbarch_tdep. This is no longer useful, as it was introduced to reuse the funcall handling code in amd64-tdep.c in the context of x64-windows. But we have since then changed the implementations to be completely independent of each other. This reverts the non-windows-specific part of the change called: amd64-windows: memory args passed by pointer during function calls. (the x64-windows portion has already been reverted) gdb/ChangeLog: Revert: * i386-tdep.h (gdbarch_tdep): Add field memory_args_by_pointer. * amd64-tdep.c (amd64_push_arguments): Add handling of architectures where tdep->memory_args_by_pointer is non-zero. commit 32ea97bf430c0f65db8c0ed5453a468289936fb6 Author: Joel Brobecker Date: Tue Sep 24 16:13:48 2013 +0000 Revert use of integer_param_regs_saved_in_caller_frame in i386 gdbarch_tdep. This is no longer useful, as it was introduced to reuse the funcall handling code in amd64-tdep.c in the context of x64-windows. But we have since then changed the implementations to be completely independent of each other. This reverts the non-windows-specific part of the change called: amd64-windows: 32 bytes allocated on stack by caller for integer parameter regs (the x64-windows portion has already been reverted) gdb/ChangeLog: Revert: * i386-tdep.h (struct gdbarch_tdep): Add new field integer_param_regs_saved_in_caller_frame. * amd64-tdep.c (amd64_push_dummy_call): Allocate some memory on stack if tdep->integer_param_regs_saved_in_caller_frame is set. commit 78b234a511d45149adedd1550cd8d0ec521fb711 Author: Joel Brobecker Date: Tue Sep 24 16:13:39 2013 +0000 Reimplement function calls on amd64-windows This patch provides a standalone implementation of function calls on amd64-windows, instead of providing some bits and pieces hooking into the function call implementation meant for sysV (in amd64-tdep). It makes better sense to do it this way, because the two ABIs are actually very different; for instance, the concept of argument classification, which is so central in the sysV ABI and drove the the implementation in amd64-tdep, makes no sense for Windows. It is therefore better for the Windows implementation to be completely separate, rather than rely on adaptations of the sysV implementation. gdb/ChangeLog: * amd64-tdep.c: #include "value.h" (amd64_windows_classify): Delete. (amd64_windows_passed_by_integer_register) (amd64_windows_passed_by_xmm_register) (amd64_windows_passed_by_pointer) (amd64_windows_adjust_args_passed_by_pointer) (amd64_windows_store_arg_in_reg, amd64_windows_push_arguments) (amd64_windows_push_dummy_call): New functions. (amd64_windows_init_abi): Remove setting of tdep->call_dummy_num_integer_regs, tdep->call_dummy_integer_regs, tdep->classify, tdep->memory_args_by_pointer and tdep->integer_param_regs_saved_in_caller_frame. Add call to set_gdbarch_push_dummy_call. commit 839e2e44bc516c690769e0b268e0b27ac29b72de Author: Pierre Muller Date: Tue Sep 24 14:49:48 2013 +0000 * readline.c (bind_arrow_keys_internal): Handle VK_HOME, VK_END, VK_DELETE and VK_INSERT for mingw hosts. commit 5a7609f546b2995ce5b9d917ab5a51e022eb23e2 Author: Joel Brobecker Date: Tue Sep 24 14:13:20 2013 +0000 Fix last entry in ChangeLog.gdb (unnecessary dir name). commit c6c2f71764cc17ec2a855b21f454449d4118720a Author: Jan Kratochvil Date: Tue Sep 24 14:03:43 2013 +0000 Support .dwp with the name of symlinked binary file gdb/ 2013-09-24 Jan Kratochvil * dwarf2read.c (open_and_init_dwp_file): Try open_dwp_file also with objfile->original_name. gdb/testsuite/ 2013-09-24 Jan Kratochvil * gdb.dwarf2/dwp-symlink.c: New file. * gdb.dwarf2/dwp-symlink.exp: New file. commit 21c745fd835a2b42a60ac0612f070a64655a3cd5 Author: Jan Kratochvil Date: Tue Sep 24 14:00:05 2013 +0000 Keep objfile original filename gdb/ 2013-09-24 Jan Kratochvil Pass down original filename for objfile. * coffread.c (coff_symfile_read): Update symbol_file_add_separate call. * elfread.c (elf_symfile_read): Likewise. * jit.c (jit_object_close_impl): Update allocate_objfile call, no longer set ORIGINAL_NAME. (jit_bfd_try_read_symtab): Update symbol_file_add_from_bfd call. * jv-lang.c (get_dynamics_objfile): Update allocate_objfile call. * machoread.c (macho_add_oso_symfile): Add parameter name. Update symbol_file_add_from_bfd call. (macho_symfile_read_all_oso): Update two macho_add_oso_symfile calls. (macho_check_dsym): Add parameter filenamep. Change function comment. Set *filenamep. (macho_symfile_read): New variable dsym_filename. Update macho_check_dsym call. Use it for symbol_file_add_separate. * objfiles.c (allocate_objfile): Add parameter name. New comment for it. Use it for objfile->original_name. (objfile_name): Return OBFD's filename, if available. * objfiles.h (allocate_objfile): Add new parameter name. * solib.c (solib_read_symbols): Update symbol_file_add_from_bfd call. * symfile-mem.c (symbol_file_add_from_memory): Update symbol_file_add_from_bfd call. * symfile.c (read_symbols): Update symbol_file_add_separate call, new comment for it. (symbol_file_add_with_addrs): New parameter name, add function comment for it. Remove variable name. Update allocate_objfile call. (symbol_file_add_separate): New parameter name, add function comment for it. Update symbol_file_add_with_addrs call. (symbol_file_add_from_bfd): New parameter name. Update symbol_file_add_with_addrs call. (symbol_file_add): Update symbol_file_add_from_bfd call. (reread_symbols): New variable original_name. Save objfile->original_name by it. * symfile.h (symbol_file_add_from_bfd, symbol_file_add_separate): Add second parameter. commit 51c92d04868bda27020a3dca7c0e6fb69a81203c Author: Jan Kratochvil Date: Tue Sep 24 13:57:36 2013 +0000 Code cleanup: Add objfile_name accessor gdb/ 2013-09-24 Jan Kratochvil Code cleanup: Add objfile_name accessor function. * ada-lang.c (is_known_support_routine): Use objfile_name. * auto-load.c (source_gdb_script_for_objfile) (auto_load_objfile_script): Likewise. * coffread.c (coff_symtab_read, read_one_sym): Likewise. * dbxread.c (dbx_symfile_read): Likewise. * dwarf2-frame.c (dwarf2_build_frame_info): Likewise. * dwarf2loc.c (locexpr_describe_location_piece): Likewise. * dwarf2read.c (dwarf2_get_dwz_file, dwarf2_read_index) (dw2_symtab_iter_next, dw2_expand_symtabs_matching) (lookup_dwp_signatured_type, lookup_dwo_unit) (dwarf2_build_psymtabs_hard, scan_partial_symbols, process_queue) (fixup_go_packaging, process_imported_unit_die, dwarf2_physname) (read_import_statement, create_dwo_cu, open_and_init_dwp_file) (lookup_dwo_cutu, read_call_site_scope, dwarf2_ranges_read) (dwarf2_record_block_ranges, read_common_block, read_typedef) (read_subrange_type, load_partial_dies, read_partial_die) (read_addr_index_1, read_str_index, dwarf_decode_lines_1) (die_containing_type, build_error_marker_type, lookup_die_type) (follow_die_ref_or_sig, follow_die_ref, dwarf2_fetch_die_loc_sect_off) (dwarf2_fetch_constant_bytes, follow_die_sig, get_signatured_type) (get_DW_AT_signature_type, write_psymtabs_to_index) (save_gdb_index_command): Likewise. * elfread.c (find_separate_debug_file_by_buildid, elf_symfile_read): Likewise. * expprint.c (dump_subexp_body_standard): Likewise. * gdbtypes.c (type_name_no_tag_or_error): Likewise. * jit.c (jit_object_close_impl): Use the objfile field name renamed to original_name. * linux-thread-db.c (try_thread_db_load_from_pdir_1): New variable obj_name, use objfile_name for it, use the variable. (try_thread_db_load_from_pdir, has_libpthread, thread_db_new_objfile): Use objfile_name. * machoread.c (macho_symtab_read, macho_check_dsym) (macho_symfile_relocate): Likewise. * maint.c (maintenance_translate_address): Likewise. * minidebug.c (find_separate_debug_file_in_section): Likewise. * minsyms.c (install_minimal_symbols): Likewise. * objfiles.c (allocate_objfile): Use the objfile field name renamed to original_name. (filter_overlapping_sections): Use objfile_name. (objfile_name): New function. * objfiles.h (struct objfile): Rename field name to original_name. (objfile_name): New prototype. * printcmd.c (sym_info, address_info): Use objfile_name. * probe.c (parse_probes, collect_probes, compare_probes) (info_probes_for_ops): Likewise. * progspace.c (clone_program_space): Likewise. * psymtab.c (require_partial_symbols, dump_psymtab, allocate_psymtab) (maintenance_info_psymtabs): Likewise. * python/py-auto-load.c (gdbpy_load_auto_script_for_objfile) (source_section_scripts): Likewise. * python/py-objfile.c (objfpy_get_filename): Likewise. * python/py-progspace.c (pspy_get_filename): Likewise. * solib-aix.c (solib_aix_get_toc_value): Likewise. * solib-som.c (match_main, som_solib_section_offsets): Likewise. * solib.c (solib_read_symbols): Likewise. * stabsread.c (scan_file_globals): Likewise. * stap-probe.c (handle_stap_probe): Likewise. * symfile.c (symbol_file_clear, separate_debug_file_exists) (find_separate_debug_file_by_debuglink): Likewise. (reread_symbols): Likewise. Use the objfile field name renamed to original_name. (allocate_symtab): Use objfile_name. * symmisc.c (print_symbol_bcache_statistics, print_objfile_statistics) (dump_objfile, dump_msymbols, dump_symtab_1) (maintenance_print_msymbols, maintenance_print_objfiles) (maintenance_info_symtabs, maintenance_check_symtabs): Likewise. * target.c (target_translate_tls_address, target_info): Likewise. * xcoffread.c (xcoff_initial_scan): Make variable name const. Use objfile_name. commit ed16cce345679080b1fc077c650c2e85ccb92dba Author: Jan Kratochvil Date: Tue Sep 24 13:54:41 2013 +0000 Code cleanup: rename variable gdb/ 2013-09-24 Jan Kratochvil Code cleanup. * probe.c (parse_probes): Rename variable objfile_name to objfile_namestr. commit e3b73ec5725fab646dec91c6e9961b497f110f70 Author: Jan Kratochvil Date: Tue Sep 24 13:51:54 2013 +0000 Remove solib-sunos.c gdb/ 2013-09-24 Jan Kratochvil Remove solib-sunos.c. * Makefile.in (ALLDEPFILES): Remove solib-sunos.c. * config/m68k/obsd.mh (NATDEPFILES): Remove solib-sunos.o. * objfiles.c (rt_common_objfile): Remove. (free_objfile): Remove rt_common_objfile comparison. * objfiles.h (rt_common_objfile): Remove. * solib-sunos.c: Remove. * symfile.c (reread_symbols): Remove solib-sunos.c comment. commit 0f17df9c1087adcf5669f48e963964890993b91c Author: Jan Kratochvil Date: Tue Sep 24 13:48:43 2013 +0000 Remove a.out NetBSD and OpenBSD hosts gdb/ 2013-09-21 Jan Kratochvil Remove a.out NetBSD and OpenBSD hosts. * NEWS (Removed native configurations): New. * config/arm/nbsdaout.mh: Remove. * config/i386/nbsdaout.mh: Remove. * config/i386/obsdaout.mh: Remove. * config/m68k/nbsdaout.mh: Remove. * config/sparc/nbsdaout.mh: Remove. * config/vax/nbsdaout.mh: Remove. * configure.host (arm*-*-netbsd*, i[34567]86-*-netbsd*) (i[34567]86-*-openbsd[0-2].*, i[34567]86-*-openbsd3.[0-3]) (m68*-*-netbsd*, sparc-*-netbsd*, vax-*-netbsd*): Add them to obsolete error. (arm*-*-netbsd*, i[34567]86-*-netbsd*, i[34567]86-*-openbsd[0-2].*) (i[34567]86-*-openbsd3.[0-3], m68*-*-netbsd*, sparc-*-netbsdaout*) (sparc-*-netbsd*, vax-*-netbsd*): Remove. commit dbb382980b480494369cd0787f89343b01e9d971 Author: Alan Modra Date: Tue Sep 24 10:22:27 2013 +0000 * elf32-mips.c (ELF_OSABI): Undef for vxworks. commit 36fba904ad21b19b08eed6ae7bdd3b88ce4b55e5 Author: Alan Modra Date: Tue Sep 24 06:57:36 2013 +0000 * syms.c (_bfd_stab_section_find_nearest_line): Ignore partial stabs at end of .stab. Tidy variable usage. Don't drop the need for a NULL function name stab if If N_FUN stab is ignored. Ensure index entry count loop matches write loop. commit 2915cd1e1986c97de6bdee60418f92e9c2916ba0 Author: Alan Modra Date: Tue Sep 24 00:00:04 2013 +0000 daily update commit d377b258ab3c35f28eb161f99830fe690735c73e Author: Tom Tromey Date: Mon Sep 23 18:11:49 2013 +0000 revert erroneous checkin to mi-support.exp commit d0be5c50c4742547fcbea3bc7d1a78e5f8f03009 Author: Tom Tromey Date: Mon Sep 23 18:07:45 2013 +0000 (clh 9) commit c897685c2bd7622c5fe992a341f572c48afcf254 Author: aburgess Date: Mon Sep 23 16:48:42 2013 +0000 In regcache use print_hex_chars. https://sourceware.org/ml/gdb-patches/2013-09/msg00815.html gdb/ChangeLog * regcache.c: Add include of valprint.h. (dump_endian_bytes): Delete. (regcache_dump): Use print_hex_chars not dump_endian_bytes. commit 539363ea2f79600b21d38463e993b86ea3d881b5 Author: Joel Brobecker Date: Mon Sep 23 16:05:24 2013 +0000 [MinGW] Fix a compilation error in readline/util.c:_rl_strnicmp readline/ChangeLog.gdb: * readline/util.c (_rl_strnicmp): Add missing semicolon. commit 0b47e85b214f8a27d97f1c4f1f4bc73d2d49e4b3 Author: aburgess Date: Mon Sep 23 09:18:44 2013 +0000 Reuse print_hex_chars. https://sourceware.org/ml/gdb-patches/2013-09/msg00768.html gdb/ChangeLog * sh64-tdep.c (sh64_do_fp_register): Use print_hex_chars. commit 0b206e2d7ca80fd3a617a0045f02341508ceedd9 Author: Alan Modra Date: Mon Sep 23 00:32:23 2013 +0000 Regenerate sim configure files to pick up support for powerpc64le in libtool.m4. commit d16c82fe9849b24364ccc0e416df5afabfc59c31 Author: Alan Modra Date: Mon Sep 23 00:00:04 2013 +0000 daily update commit 5bf56b245a41658e00c8f94c8f4b9c922f628782 Author: Alan Modra Date: Sun Sep 22 00:00:04 2013 +0000 daily update commit 7883fd293fa47b7fec5948a20ccec4746daa33c7 Author: Jan-Benedict Glaw Date: Sat Sep 21 00:05:18 2013 +0000 2013-09-21 Jan-Benedict Glaw * configure.ac: Update from GCC. * configure: Regenerate. commit b8429e28a416e00256125982e6a8117dd0521a77 Author: Alan Modra Date: Sat Sep 21 00:00:05 2013 +0000 daily update commit 6047f111e521ef32d88d1fe0613738f4b72e8089 Author: Doug Evans Date: Fri Sep 20 22:43:27 2013 +0000 * lib/dwarf.exp (build_executable_from_fission_assembler): New proc. * gdb.dwarf2/fission-base.S: Update. Split out .dwo into separate file. * gdb.dwarf2/fission-loclists.S: Ditto. * gdb.dwarf2/fission-reread.S: Ditto. * gdb.dwarf2/fission-base.exp: Skip of remote host. Compile with build_executable_from_fission_assembler. * gdb.dwarf2/fission-loclists.exp: Ditto. * gdb.dwarf2/fission-reread.exp: Ditto. commit 2b79c5bab9571325b19eed83d315d7121412678f Author: Doug Evans Date: Fri Sep 20 21:47:04 2013 +0000 * lib/future.exp (gdb_find_objcopy, gdb_find_readelf): New procs. * lib/gdb.exp (build_id_debug_filename_get): Update to use them. (gdb_gnu_strip_debug): Ditto. * lib/prelink-support.exp (section_get, prelink_no): Ditto. * gdb.arch/altivec-abi.exp: Ditto. * gdb.base/attach-pie-misread.exp: Ditto. * gdb.base/comprdebug.exp: Ditto. * gdb.base/dup-sect.exp: Ditto. * gdb.base/gnu-debugdata.exp: Ditto. * gdb.base/step-symless.exp: Ditto. * gdb.dwarf2/dw2-inline-param.exp: Ditto. * gdb.dwarf2/dw2-skip-prologue.exp: Ditto. * gdb.dwarf2/gdb-index.exp: Ditto. commit 26bc22baf289cbbb3425f5c1b06fb281f89ada5f Author: Alan Modra Date: Fri Sep 20 09:51:23 2013 +0000 * libtool.m4 (_LT_ENABLE_LOCK ): Remove non-canonical ppc host match. Support little-endian powerpc linux hosts. Regenerate binutils configure files. commit 6d22e6b30c2640e0ab248df81a460c3f55b38ff5 Author: Alan Modra Date: Fri Sep 20 00:00:04 2013 +0000 daily update commit 5c1c15fcb7dadf5e1262a30019b5bbabddf7d7fc Author: Pedro Alves Date: Thu Sep 19 14:45:33 2013 +0000 Fix regressions caused by thread-specific breakpoint deletion. The recent change to make GDB auto-delete thread-specific breakpoints when the corresponding thread is deleted (https://sourceware.org/ml/gdb-patches/2013-09/msg00038.html) caused gdb.base/nextoverexit.exp to regress. Breakpoint 1, main () at .../gdb/testsuite/gdb.base/nextoverexit.c:21 21 exit (0); (gdb) next [Inferior 1 (process 25208) exited normally] Thread-specific breakpoint -5 deleted - thread 1 is gone. Thread-specific breakpoint -6 deleted - thread 1 is gone. Thread-specific breakpoint -7 deleted - thread 1 is gone. Thread-specific breakpoint 0 deleted - thread 1 is gone. (gdb) FAIL: gdb.base/nextoverexit.exp: next over exit (the program exited) We shouldn't be seeing this for internal or momentary breakpoints. In fact, we shouldn't even be trying to delete them, as whatever created them will take care or it, and therefore it's dangerous to delete them behind the creator's back. I thought it'd still be good to tag thread-specific internal/momentary breakpoints such that we'll no longer try to keep them insert in the target, as they'll cause stops and thread hops in other threads, so I tried disabling them instead. That caused a problem when following a child fork, and detaching from the parent, as we try to reset the step-resume etc. breakpoints to the new child's thread (breakpoint_re_set_thread), after the parent thread is already gone (and the breakpoints are marked disabled). I fixed that by re-enabling internal/momentary breakpoints there, but, that didn't feel super safe either (maybe we'd need a new flag in struct breakpoint instead, to tag the thread-specific breakpoint as "not to be inserted"). It felt like I was heading down a design rat hole, and, other things will usually delete internal/momentary breakpoints soon enough, so I left that little optimization for some other day. So, internal/momentary breakpoints are no longer deleted/disabled at all, and we end up with a one-liner fix. Tested on x86_64 Fedora 17. gdb/ 2013-09-19 Pedro Alves * breakpoint.c (remove_threaded_breakpoints): Skip non-user breakpoints. commit 4ba2b67ec67221fc9e61a89fe2ab6c2624253d22 Author: tschwinge Date: Thu Sep 19 13:40:38 2013 +0000 gnu-nat.c: Don't install a deprecated_xfer_memory method. This removes another instance of a deprecated_xfer_memory user. gdb/ 2013-09-19 Pedro Alves Thomas Schwinge Yue Lu * gnu-nat.c (gnu_read_inferior, gnu_write_inferior): Make static. Take a gdb_byte pointer instead of a char pointer. * gnu-nat.c (gnu_xfer_memory): Adjust interface as gnu_xfer_partial helper. (gnu_xfer_partial): New function. (gnu_target): Don't install a deprecated_xfer_memory hook. Install a to_xfer_partial hook. commit bf70f69596aebfe8c461c3b95e4e38adbf834860 Author: Jan Kratochvil Date: Thu Sep 19 12:44:45 2013 +0000 Mostly code cleanup: Constification. gdb/ 2013-09-19 Jan Kratochvil Constification. * main.c (captured_main): Replace catch_command_errors by catch_command_errors_const. Twice. * symfile.c (symbol_file_add_main_1): Make args parameter const. (symbol_file_add): Make name parameter const. (symbol_file_add_main, symbol_file_add_main_1): Make args parameter const. (symfile_bfd_open): Make name parameter const, rename it to cname. Add variable name. Change their usage accordingly. * symfile.h (symbol_file_add, symfile_bfd_open): Make first parameter const. (symbol_file_add_main): Make args parameter const. commit f8c5cdb04084c92be52cfcb47522d6f1185d764d Author: Alan Modra Date: Thu Sep 19 00:00:03 2013 +0000 daily update commit 48e334288d81af446fc35e4afedfb124785d2ed0 Author: Ulrich Weigand Date: Wed Sep 18 17:47:56 2013 +0000 2013-09-18 Raunaq Bathija Ulrich Weigand * xcoffread.c (struct coff_symbol): Use CORE_ADDR as type of c_value member. (read_xcoff_symtab): Use CORE_ADDR as type of fcn_start_addr. commit 8c9977824d22984b520fca38a290559b815ded18 Author: Pedro Alves Date: Wed Sep 18 14:49:43 2013 +0000 Also mention Yue Lu in previous commit's entry. 2013-09-18 Pedro Alves Yue Lu * gnu-nat.c (inf_validate_procs, gnu_wait, gnu_resume) (gnu_create_inferior) (gnu_attach, gnu_thread_alive, gnu_pid_to_str, cur_thread) (set_sig_thread_cmd): Use the lwpid field of ptids to store/extract thread ids instead of the tid field. * i386gnu-nat.c (gnu_fetch_registers): Adjust. commit 7fa67a4500f6fc516978f54af61cead51f071e2a Author: Pedro Alves Date: Wed Sep 18 14:47:50 2013 +0000 Subject: [PATCH] [Hurd/gnu-nat.c] Use ptid_t.lwpid to store thread ids instead of ptid_t.tid. In preparation for reusing gnu-nat.c in gdbserver, switch to storing thread ids in the lwpid field of ptid_t rather than in the tid field. The Hurd's thread model is 1:1, so it doesn't feel wrong anyway. gdb/ 2013-09-18 Pedro Alves * gnu-nat.c (inf_validate_procs, gnu_wait, gnu_resume) (gnu_create_inferior) (gnu_attach, gnu_thread_alive, gnu_pid_to_str, cur_thread) (set_sig_thread_cmd): Use the lwpid field of ptids to store/extract thread ids instead of the tid field. * i386gnu-nat.c (gnu_fetch_registers): Adjust. commit d19fd090b7ec0a60846c52cad9fc0c24c3729565 Author: aburgess Date: Wed Sep 18 14:02:31 2013 +0000 Consistent display of "" for register values. https://sourceware.org/ml/gdb-patches/2013-08/msg00170.html gdb/ChangeLog * infcmd.c (default_print_one_register_info): Add detection of optimized out values. (default_print_registers_info): Switch to using get_frame_register_value. gdb/testsuite/ChangeLog * gdb.dwarf2/dw2-reg-undefined.exp: Change pattern for info register to "", and also print the registers. commit 39678f9ca92a54f66f9d0efdd2e81c3a95f7888b Author: Pedro Alves Date: Wed Sep 18 13:21:41 2013 +0000 gdbserver --wrapper also doesn't work on Cygwin. Skip the test on Cygwin too. 2013-09-18 Pedro Alves PR server/15967 * gdb.server/wrapper.exp: Also return unsupported for Cygwin, and change text. commit 46ba1bad0e9a308b12ebf1b1f31c9839df3cd33f Author: mmetzger Date: Wed Sep 18 13:02:42 2013 +0000 When reverse-stepping, only insert a resume breakpoint at ecs->stop_func_start if the function start is known. Otherwise, keep single-stepping. commit 61a0fb214b24b426cdd76a876498c31785d957aa Author: Pedro Alves Date: Wed Sep 18 12:00:06 2013 +0000 [Hurd/gnu-nat] Fix old "signal-thread" command regression. By inspection, I noticed that when I made the gnu-nat use ptid(pid,0,tid) to represent a thread, instead of using ptid(tid,0,0), in , I introduced a bug. The change was: else { - int tid = PIDGET (thread_id_to_pid (atoi (args))); + int tid = ptid_get_tid (thread_id_to_pid (atoi (args))); if (tid < 0) error (_("Thread ID %s not known. Use the \"info threads\" command to\n" "see the IDs of currently known threads."), args); and thread_id_to_pid does: ptid_t thread_id_to_pid (int num) { struct thread_info *thread = find_thread_id (num); if (thread) return thread->ptid; else return pid_to_ptid (-1); } (pid_to_ptid (-1) is the same as minus_one_ptid.) So before, we were really looking at the pid, where thread_id_to_pid stores the -1. The right fix is to compare the whole ptid to minus_one_ptid, of course. Completely untested, but I think it's obvious enough, so I went ahead and put it in. gdb/ 2013-09-18 Pedro Alves * gnu-nat.c (set_sig_thread_cmd): Compare the thread's ptid to minus_one_ptid instead of looking at the ptid's tid field and comparing that to -1. commit 660eafd30caab3145f06170ac2bb8a4d93a9cb55 Author: aburgess Date: Wed Sep 18 11:45:20 2013 +0000 Fix whitespace error in previous commit. https://sourceware.org/ml/gdb-cvs/2013-09/msg00108.html https://sourceware.org/ml/gdb-patches/2013-09/msg00225.html gdb/ChangeLog * main.h (get_gdb_program_name): Remove extra whitespace. commit 189e4ff0f9ca44e68ac2cebf15a674ce88955920 Author: aburgess Date: Wed Sep 18 11:41:38 2013 +0000 Add new function to access gdb_program_name. https://sourceware.org/ml/gdb-patches/2013-09/msg00225.html gdb/ChangeLog * main.h (get_gdb_program_name): Add declaration. * main.c (get_gdb_program_name): Add definition. commit 3821a0aa66a5c5513cf30ca594707c46cd68a421 Author: Tristan Gingold Date: Wed Sep 18 11:02:05 2013 +0000 bfd/ 2013-09-18 Tristan Gingold * configure.in: Bump version to 2.24.51 * configure: Regenerate. commit 4e979f7f93cc0045c679e2a5d61f5e8561b5f26e Author: qiyao Date: Wed Sep 18 01:59:59 2013 +0000 gdb/gdbserver/ 2013-09-18 Yao Qi PR server/15959 * server.c (start_inferior): Clear 'resume_info'. gdb/testsuite/ 2013-09-18 Yao Qi * gdb.server/wrapper.c: New. * gdb.server/wrapper.exp: New. commit 35894d5f46cf6f976467799dadebd527da034f4f Author: qiyao Date: Wed Sep 18 01:55:53 2013 +0000 gdb/gdbserver/ Fix ChangeLog format issue. commit 036018a1e57e401f59b80bf8443b4c71f2949b5c Author: Alan Modra Date: Wed Sep 18 00:00:05 2013 +0000 daily update commit 6170b34fdf4543241e1833a0a8563f6c19aaf94e Author: Doug Evans Date: Tue Sep 17 22:12:55 2013 +0000 * dwarf2read.c: Move definitions of complaint functions to after forward declarations of local functions. commit 42b683959cbd8bd6891b745873d9617619966e2c Author: Steve Ellcey Date: Tue Sep 17 21:07:13 2013 +0000 2013-09-17 Doug Gilmore * elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): Handle EF_MIPS_FP64. commit 0ba63364adb329d28c3009e28b719b100f7c7aa0 Author: Steve Ellcey Date: Tue Sep 17 21:05:49 2013 +0000 2013-09-17 Doug Gilmore * mips.h (EF_MIPS_FP64): New e_flags bit. commit b097f3547e11a4937dc9d25d56254c76d954e7e4 Author: Pedro Alves Date: Tue Sep 17 19:32:46 2013 +0000 PR gdb/11568 - delete thread-specific breakpoints on thread exit PR gdb/11568 is about thread-specific breakpoints being left behind when the corresponding thread exits. Currently: (gdb) b start thread 2 Breakpoint 3 at 0x400614: file thread-specific-bp.c, line 23. (gdb) b end Breakpoint 4 at 0x40061f: file thread-specific-bp.c, line 29. (gdb) c Continuing. [Thread 0x7ffff7fcb700 (LWP 14925) exited] [Switching to Thread 0x7ffff7fcc740 (LWP 14921)] Breakpoint 4, end () at thread-specific-bp.c:29 29 } (gdb) info threads Id Target Id Frame * 1 Thread 0x7ffff7fcc740 (LWP 14921) "thread-specific" end () at thread-specific-bp.c:29 (gdb) info breakpoints Num Type Disp Enb Address What 2 breakpoint keep y 0x0000000000400614 in start at thread-specific-bp.c:23 breakpoint already hit 1 time 3 breakpoint keep y 0x0000000000400614 in start at thread-specific-bp.c:23 thread 2 stop only in thread 2 4 breakpoint keep y 0x000000000040061f in end at thread-specific-bp.c:29 breakpoint already hit 1 time Note that the thread-specific breakpoint 3 stayed around, even though thread 2 is gone. There's no way that breakpoint can trigger again (*), so the PR argues that the breakpoint should just be removed, like local watchpoints. I'm ambivalent on this -- it could be reasonable to disable the breakpoint (kind of like breakpoint in shared library code when the DSO is unloaded), so the user could still use it as visual template for creating other breakpoints (copy/paste command lists, etc.), or we could have a way to change to which thread a breakpoint applies. But, several people pushed this direction, and I don't plan on arguing... (*) - actually, there is ... thread numbers are reset on "run", so the user could do "break foo thread 2", "run", and expect the breakpoint to hit again on the second thread. But given gdb's thread numbering can't really be stable, that'd only work sufficiently well for thread 1, so we'd better call it unsupported. So with the patch, whenever a thread is deleted from GDB's list, GDB goes through the thread-specific breakpoints and deletes corresponding breakpoints. Since this is user-visible, GDB prints out: Thread-specific breakpoint 3 deleted - thread 2 is gone. And of course, we end up with: (gdb) info breakpoints Num Type Disp Enb Address What 2 breakpoint keep y 0x0000000000400614 in start at thread-specific-bp.c:23 breakpoint already hit 1 time 4 breakpoint keep y 0x000000000040061f in end at thread-specific-bp.c:29 breakpoint already hit 1 time 2013-09-17 Muhammad Waqas Pedro Alves PR gdb/11568 * breakpoint.c (remove_threaded_breakpoints): New function. (_initialize_breakpoint): Attach remove_threaded_breakpoints as thread_exit observer. 2013-09-17 Muhammad Waqas Jan Kratochvil Pedro Alves PR gdb/11568 * gdb.thread/thread-specific-bp.c: New file. * gdb.thread/thread-specific-bp.exp: New file. commit ba63250261f323a471bd2bfbcf246741f86cdd0a Author: sergiodj Date: Tue Sep 17 19:24:50 2013 +0000 This commit fixes a regression introduced by the new $_isvoid convenience function. It adds a check for $_isvoid during the test of "show convenience" output. gdb/testsuite/ 2013-09-17 Sergio Durigan Junior * gdb.base/defaults.exp (): Add check for $_isvoid convenience function. commit 6cf8ed1e3d02e706f390f6b767a85fa2cf7ea2ee Author: Pedro Alves Date: Tue Sep 17 18:26:38 2013 +0000 PR gdb/15911: "info threads" changes the default source and line (for "break", "list") "info threads" changes the default source for "break" and "list", to whatever the location of the first/bottom thread in the thread list is... (gdb) b start (gdb) c ... (gdb) list *lists "start"* (gdb) b 23 Breakpoint 3 at 0x400614: file test.c, line 23. (gdb) info threads Id Target Id Frame * 2 Thread 0x7ffff7fcb700 (LWP 1760) "test" start (arg=0x0) at test.c:23 1 Thread 0x7ffff7fcc740 (LWP 1748) "test" 0x000000323dc08e60 in pthread_join (threadid=140737353922304, thread_return=0x0) at pthread_join.c:93 (gdb) b 23 Breakpoint 4 at 0x323dc08d90: file pthread_join.c, line 23. ^^^^^^^^^^^^^^^ (gdb) list 93 lll_wait_tid (pd->tid); 94 95 96 /* Restore cancellation mode. */ 97 CANCEL_RESET (oldtype); 98 99 /* Remove the handler. */ 100 pthread_cleanup_pop (0); 101 102 The issue is that print_stack_frame always sets the current sal to the frame's sal. print_frame_info (which print_stack_frame calls to do most of the work) also sets the last displayed sal, but only if print_what isn't LOCATION. Now the call in question, from within thread.c:print_thread_info, does pass in LOCATION as print_what, but print_stack_frame doesn't have the same check print_frame_info has. We could consider adding it, but setting these globals depending on print_what isn't very clean, IMO. What we have is two logically distinct operations mixed in the same function(s): #1 - print frame, in the format specified by {print_what, print_level and print_args}. #2 - We're displaying a frame to the user, and I want the default sal to point here, because the program stopped here, or the user did some context-changing command (up, down, etc.). So I added a new parameter to print_stack_frame & friends for point #2, and went through all calls in the tree adjusting as necessary. Tested on x86_64 Fedora 17. gdb/ 2013-09-17 Pedro Alves PR gdb/15911 * ada-tasks.c (task_command_1): Adjust call to print_stack_frame. * bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): * corelow.c (core_open): * frame.h (print_stack_frame, print_frame_info): New 'set_current_sal' parameter. * infcmd.c (finish_command, kill_command): Adjust call to print_stack_frame. * inferior.c (inferior_command): Likewise. * infrun.c (normal_stop): Likewise. * linux-fork.c (linux_fork_context): Likewise. * record-full.c (record_full_goto_entry, record_full_restore): Likewise. * remote-mips.c (common_open): Likewise. * stack.c (print_stack_frame): New 'set_current_sal' parameter. Use it. (print_frame_info): New 'set_current_sal' parameter. Set the last displayed sal depending on the new paremeter instead of looking at print_what. (backtrace_command_1, select_and_print_frame, frame_command) (current_frame_command, up_command, down_command): Adjust call to print_stack_frame. * thread.c (print_thread_info, restore_selected_frame) (do_captured_thread_select): Adjust call to print_stack_frame. * tracepoint.c (tfind_1): Likewise. * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames) (mi_cmd_stack_info_frame): Likewise. * mi/mi-interp.c (mi_on_normal_stop): Likewise. * mi/mi-main.c (mi_cmd_exec_return, mi_cmd_trace_find): Likewise. gdb/testsuite/ * gdb.threads/info-threads-cur-sal-2.c: New file. * gdb.threads/info-threads-cur-sal.c: New file. * gdb.threads/info-threads-cur-sal.exp: New file. commit 7e2e81f64cb143c5fe9643d7be3bf5d7b506b682 Author: Luis Machado Date: Tue Sep 17 15:06:01 2013 +0000 Fix ChangeLog entry missing a ':' char. commit 2f3637450a6afb6b3fa17de5d53f97c67a6d49ae Author: jiwang Date: Tue Sep 17 14:00:30 2013 +0000 gdbserver/ChangeLog * linux-tile-low.c (tile_regsets): Modify the size field to 64-bit for each register. commit 218356d44a88b2c0e30fc998ed1f7218331b2a05 Author: jiwang Date: Tue Sep 17 13:56:53 2013 +0000 2013-09-16 Jiong Wang gdbserver/ChangeLog * configure.srv : Remove linux-osdata.o from and add linux-tile-low.o to srv_tgtobj. ----------------------------------------------------------------------- Summary of changes: COPYING.NEWLIB | 26 + ChangeLog | 41 +- Makefile.def | 10 +- Makefile.in | 1026 +++- bfd/ChangeLog | 253 +- bfd/archures.c | 4 + bfd/bfd-in.h | 2 +- bfd/bfd-in2.h | 10 +- bfd/bfdio.c | 6 +- bfd/coff-rs6000.c | 54 + bfd/coffcode.h | 54 +- bfd/configure | 44 +- bfd/configure.in | 10 +- bfd/cpu-i386.c | 69 +- bfd/cpu-msp430.c | 48 +- bfd/elf-bfd.h | 14 +- bfd/elf-nacl.c | 285 +- bfd/elf-nacl.h | 3 +- bfd/elf32-arm.c | 28 +- bfd/elf32-i386.c | 3 + bfd/elf32-m32c.c | 80 +- bfd/elf32-m68k.c | 4 +- bfd/elf32-mips.c | 1 + bfd/elf32-rl78.c | 109 +- bfd/elf32-rx.c | 29 +- bfd/elf32-spu.c | 5 +- bfd/elf32-tilepro.c | 5 +- bfd/elf64-alpha.c | 6 +- bfd/elf64-hppa.c | 2 +- bfd/elf64-ppc.c | 20 +- bfd/elf64-s390.c | 5 +- bfd/elf64-x86-64.c | 137 +- bfd/elflink.c | 113 +- bfd/elfnn-aarch64.c | 676 ++- bfd/elfxx-mips.c | 168 +- bfd/elfxx-sparc.c | 7 +- bfd/elfxx-target.h | 6 +- bfd/elfxx-tilegx.c | 6 +- bfd/opncls.c | 42 +- bfd/po/BLD-POTFILES.in | 2 + bfd/po/SRC-POTFILES.in | 5 +- bfd/syms.c | 87 +- bfd/version.h | 2 +- bfd/xcofflink.c | 4 +- configure | 91 +- configure.ac | 42 +- gdb/ChangeLog | 2628 ++++++- gdb/MAINTAINERS | 3 +- gdb/Makefile.in | 56 +- gdb/NEWS | 74 + gdb/README | 15 +- gdb/aarch64-linux-nat.c | 7 +- gdb/aarch64-linux-tdep.c | 2 + gdb/ada-exp.y | 58 +- gdb/ada-lang.c | 323 +- gdb/ada-lang.h | 17 +- gdb/ada-lex.l | 3 +- gdb/ada-tasks.c | 3 +- gdb/aix-thread.c | 87 +- gdb/alpha-linux-tdep.c | 142 + gdb/alphabsd-nat.c | 12 +- gdb/amd64-linux-nat.c | 20 +- gdb/amd64-tdep.c | 117 +- gdb/amd64-tdep.h | 4 - gdb/amd64-windows-tdep.c | 1043 +++- gdb/amd64bsd-nat.c | 18 +- gdb/arch-utils.c | 2 +- gdb/arm-linux-nat.c | 18 +- gdb/arm-linux-tdep.c | 63 +- gdb/arm-wince-tdep.c | 10 +- gdb/armnbsd-nat.c | 20 +- gdb/auto-load.c | 6 +- gdb/auxv.c | 2 +- gdb/avr-tdep.c | 3 - gdb/blockframe.c | 1 - gdb/breakpoint.c | 150 +- gdb/breakpoint.h | 1 + gdb/bsd-kvm.c | 6 +- gdb/bsd-uthread.c | 2 +- gdb/build-id.c | 168 + gdb/build-id.h | 44 + gdb/buildsym.c | 34 +- gdb/buildsym.h | 33 +- gdb/c-exp.y | 65 +- gdb/c-lang.c | 8 +- gdb/c-lang.h | 2 +- gdb/cli/cli-cmds.c | 30 +- gdb/cli/cli-decode.c | 6 - gdb/cli/cli-dump.c | 11 +- gdb/cli/cli-interp.c | 4 +- gdb/cli/cli-script.c | 3 - gdb/cli/cli-setshow.c | 2 +- gdb/coffread.c | 29 +- gdb/common/filestuff.c | 29 +- gdb/common/format.c | 4 +- gdb/common/linux-btrace.c | 7 +- gdb/common/linux-ptrace.c | 316 +- gdb/common/linux-ptrace.h | 21 + gdb/common/ptid.c | 46 +- gdb/common/ptid.h | 68 +- gdb/completer.c | 11 +- gdb/completer.h | 5 +- gdb/config.in | 6 + gdb/config/aarch64/linux.mh | 2 +- gdb/config/alpha/alpha-linux.mh | 3 +- gdb/config/arm/linux.mh | 3 +- gdb/config/arm/nbsdaout.mh | 3 - gdb/config/djgpp/fnchange.lst | 2 - gdb/config/i386/linux.mh | 2 +- gdb/config/i386/linux64.mh | 3 +- gdb/config/i386/nbsdaout.mh | 6 - gdb/config/i386/obsdaout.mh | 6 - gdb/config/ia64/linux.mh | 2 +- gdb/config/m32r/linux.mh | 3 +- gdb/config/m68k/linux.mh | 3 +- gdb/config/m68k/nbsdaout.mh | 5 - gdb/config/m68k/obsd.mh | 3 +- gdb/config/mips/linux.mh | 3 +- gdb/config/pa/linux.mh | 2 +- gdb/config/powerpc/linux.mh | 3 +- gdb/config/powerpc/ppc64-linux.mh | 3 +- gdb/config/powerpc/spu-linux.mh | 2 +- gdb/config/s390/s390.mh | 3 +- gdb/config/sparc/linux.mh | 2 +- gdb/config/sparc/linux64.mh | 2 +- gdb/config/sparc/nbsdaout.mh | 5 - gdb/config/tilegx/linux.mh | 2 +- gdb/config/vax/nbsdaout.mh | 6 - gdb/config/xtensa/linux.mh | 3 +- gdb/configure | 16 +- gdb/configure.ac | 13 +- gdb/configure.host | 26 +- gdb/configure.tgt | 10 +- gdb/corefile.c | 79 +- gdb/corelow.c | 10 +- gdb/cp-namespace.c | 3 +- gdb/cp-support.c | 2 - gdb/cp-valprint.c | 4 +- gdb/cris-linux-tdep.c | 57 + gdb/cris-tdep.c | 35 +- gdb/{cli/cli-dump.h => cris-tdep.h} | 28 +- gdb/darwin-nat.c | 21 - gdb/data-directory/Makefile.in | 1 + gdb/dbxread.c | 19 +- gdb/dec-thread.c | 2 +- gdb/defs.h | 24 +- gdb/doc/ChangeLog | 110 + gdb/doc/LRS | 197 - gdb/doc/Makefile.in | 53 +- gdb/doc/gdb.texinfo | 382 +- gdb/doc/gdbint.texinfo | 8251 ------------------ gdb/doublest.c | 49 +- gdb/dwarf2-frame.c | 4 +- gdb/dwarf2loc.c | 31 +- gdb/dwarf2read.c | 1829 +++-- gdb/elfread.c | 151 +- gdb/eval.c | 18 +- gdb/event-top.c | 8 +- gdb/event-top.h | 2 +- gdb/exceptions.h | 11 +- gdb/exec.c | 17 +- gdb/exec.h | 1 + gdb/expprint.c | 2 +- gdb/f-exp.y | 16 +- gdb/features/Makefile | 3 + gdb/features/nios2-cpu.xml | 2 +- gdb/features/nios2-linux.c | 2 +- gdb/features/nios2.c | 2 +- gdb/features/s390-tdb.xml | 30 + gdb/features/s390-te-linux64.c | 118 + gdb/features/s390-te-linux64.xml | 25 + gdb/features/s390x-te-linux64.c | 102 + gdb/features/s390x-te-linux64.xml | 24 + gdb/findvar.c | 50 +- gdb/frame.c | 9 +- gdb/frame.h | 11 +- gdb/gcore.c | 22 +- gdb/gdb_bfd.c | 31 + gdb/gdb_bfd.h | 5 + gdb/gdb_ptrace.h | 10 +- gdb/gdbarch.c | 33 + gdb/gdbarch.h | 18 +- gdb/gdbarch.sh | 11 +- gdb/gdbcore.h | 9 +- gdb/gdbserver/ChangeLog | 270 +- gdb/gdbserver/Makefile.in | 84 +- gdb/gdbserver/ax.c | 1 + gdb/gdbserver/ax.h | 57 + gdb/gdbserver/config.in | 6 + gdb/gdbserver/configure | 2 +- gdb/gdbserver/configure.ac | 2 +- gdb/gdbserver/configure.srv | 74 +- gdb/gdbserver/dll.c | 1 + .../gdb.python/py-value.cc => gdbserver/dll.h} | 36 +- gdb/gdbserver/event-loop.h | 36 + gdb/gdbserver/gdbthread.h | 1 + gdb/gdbserver/hostio.c | 1 + .../gdb.python/py-value.cc => gdbserver/hostio.h} | 31 +- gdb/gdbserver/inferiors.c | 1 + gdb/gdbserver/inferiors.h | 114 + gdb/gdbserver/linux-aarch64-low.c | 1 + gdb/gdbserver/linux-amd64-ipa.c | 1 + gdb/gdbserver/linux-arm-low.c | 8 +- gdb/gdbserver/linux-crisv32-low.c | 22 +- gdb/gdbserver/linux-i386-ipa.c | 1 + gdb/gdbserver/linux-low.c | 337 +- gdb/gdbserver/linux-low.h | 5 +- gdb/gdbserver/linux-s390-low.c | 25 +- gdb/gdbserver/linux-tile-low.c | 2 +- gdb/gdbserver/linux-x86-low.c | 2 + gdb/gdbserver/lynx-low.c | 41 +- gdb/gdbserver/nto-low.c | 1 + gdb/gdbserver/remote-utils.c | 2 + gdb/gdbserver/remote-utils.h | 85 + gdb/gdbserver/server.c | 16 +- gdb/gdbserver/server.h | 385 +- gdb/gdbserver/spu-low.c | 3 + gdb/gdbserver/target.c | 24 +- gdb/gdbserver/target.h | 5 +- gdb/gdbserver/tracepoint.c | 18 +- gdb/gdbserver/tracepoint.h | 132 + gdb/{windows-tdep.h => gdbserver/utils.h} | 33 +- gdb/gdbserver/win32-low.c | 23 +- gdb/gdbthread.h | 6 +- gdb/gdbtypes.c | 19 +- gdb/gdbtypes.h | 2 +- gdb/gnu-nat.c | 97 +- gdb/go-exp.y | 23 +- gdb/hppa-linux-nat.c | 8 +- gdb/hppabsd-nat.c | 12 +- gdb/hppanbsd-nat.c | 12 +- gdb/i386-cygwin-tdep.c | 15 +- gdb/i386-darwin-nat.c | 241 +- gdb/i386-linux-nat.c | 30 +- gdb/i386-tdep.h | 43 - gdb/i386bsd-nat.c | 26 +- gdb/i386gnu-nat.c | 4 +- gdb/ia64-linux-nat.c | 4 +- gdb/inf-child.c | 3 +- gdb/inf-ptrace.c | 3 +- gdb/inf-ttrace.c | 3 +- gdb/infcmd.c | 28 +- gdb/inferior.c | 11 +- gdb/inferior.h | 13 +- gdb/inflow.c | 4 +- gdb/infrun.c | 62 +- gdb/interps.c | 17 +- gdb/jit.c | 10 +- gdb/jv-exp.y | 26 +- gdb/jv-lang.c | 5 +- gdb/jv-valprint.c | 4 +- gdb/linespec.c | 208 +- gdb/linux-fork.c | 21 +- gdb/linux-nat.c | 509 +- gdb/linux-nat.h | 8 - gdb/linux-tdep.c | 341 +- gdb/linux-tdep.h | 8 + gdb/linux-thread-db.c | 68 +- gdb/m2-exp.y | 12 +- gdb/m32r-linux-nat.c | 8 +- gdb/m68kbsd-nat.c | 12 +- gdb/m68klinux-nat.c | 16 +- gdb/m68klinux-tdep.c | 12 +- gdb/m88kbsd-nat.c | 6 +- gdb/machoread.c | 45 +- gdb/macroexp.c | 18 +- gdb/macroexp.h | 2 +- gdb/main.c | 28 +- gdb/main.h | 6 + gdb/maint.c | 4 +- gdb/mi/mi-cmd-catch.c | 131 + gdb/mi/mi-cmd-stack.c | 216 +- gdb/mi/mi-cmds.c | 4 + gdb/mi/mi-cmds.h | 2 + gdb/mi/mi-getopt.c | 35 +- gdb/mi/mi-getopt.h | 8 +- gdb/mi/mi-interp.c | 44 +- gdb/mi/mi-main.c | 70 +- gdb/minidebug.c | 4 +- gdb/minsyms.c | 87 +- gdb/minsyms.h | 13 +- gdb/mips-linux-tdep.c | 241 +- gdb/mips-linux-tdep.h | 42 - gdb/mips64obsd-nat.c | 6 +- gdb/mipsnbsd-nat.c | 12 +- gdb/mipsread.c | 3 +- gdb/monitor.c | 48 +- .../gdb.python/py-value.cc => nat/linux-nat.h} | 33 +- gdb/nat/linux-waitpid.c | 120 + .../gdb.python/py-value.cc => nat/linux-waitpid.h} | 32 +- gdb/nios2-linux-tdep.c | 2 +- gdb/nios2-tdep.c | 2 +- gdb/nto-procfs.c | 15 +- gdb/nto-tdep.c | 3 +- gdb/objc-lang.c | 9 +- gdb/objc-lang.h | 3 +- gdb/objfiles.c | 62 +- gdb/objfiles.h | 43 +- gdb/osabi.c | 1 - gdb/p-exp.y | 54 +- gdb/p-valprint.c | 4 +- gdb/parse.c | 33 +- gdb/parser-defs.h | 10 +- gdb/ppc-linux-nat.c | 52 +- gdb/ppcfbsd-nat.c | 12 +- gdb/ppcnbsd-nat.c | 12 +- gdb/ppcobsd-nat.c | 12 +- gdb/printcmd.c | 18 +- gdb/probe.c | 24 +- gdb/proc-service.c | 13 +- gdb/procfs.c | 105 +- gdb/progspace.c | 14 +- gdb/progspace.h | 4 + gdb/psymtab.c | 29 +- gdb/python/lib/gdb/FrameDecorator.py | 9 + gdb/python/lib/gdb/FrameIterator.py | 6 + gdb/python/lib/gdb/command/frame_filters.py | 12 +- gdb/python/lib/gdb/frames.py | 33 +- gdb/python/py-arch.c | 34 +- gdb/python/py-auto-load.c | 6 +- gdb/python/py-frame.c | 8 +- gdb/python/py-framefilter.c | 34 +- gdb/python/py-inferior.c | 5 +- gdb/python/py-infthread.c | 2 +- gdb/python/py-objfile.c | 3 +- gdb/python/py-progspace.c | 3 +- gdb/python/py-value.c | 21 +- gdb/python/python.c | 5 +- gdb/ravenscar-thread.c | 2 +- gdb/record-btrace.c | 4 +- gdb/record-full.c | 4 +- gdb/record.c | 6 +- gdb/record.h | 4 +- gdb/regcache.c | 38 +- gdb/regformats/nios2-linux.dat | 2 +- gdb/regformats/s390-te-linux64.dat | 94 + gdb/regformats/s390x-te-linux64.dat | 78 + gdb/remote-mips.c | 2 +- gdb/remote-notif.c | 113 +- gdb/remote-notif.h | 56 +- gdb/remote-sim.c | 114 +- gdb/remote.c | 733 +- gdb/remote.h | 7 + gdb/rl78-tdep.c | 34 +- gdb/rs6000-nat.c | 33 +- gdb/s390-nat.c | 274 +- gdb/s390-tdep.c | 448 +- gdb/s390-tdep.h | 60 +- gdb/serial.c | 53 + gdb/sh64-tdep.c | 17 +- gdb/shnbsd-nat.c | 6 +- gdb/sol-thread.c | 106 +- gdb/solib-aix.c | 2 +- gdb/solib-ia64-hpux.c | 3 +- gdb/solib-som.c | 6 +- gdb/solib-sunos.c | 743 -- gdb/solib-svr4.c | 12 +- gdb/solib.c | 39 +- gdb/somread.c | 3 +- gdb/source.c | 45 +- gdb/sparc-linux-tdep.c | 138 + gdb/sparc-nat.c | 12 +- gdb/spu-linux-nat.c | 25 +- gdb/spu-multiarch.c | 2 +- gdb/stabsread.c | 19 +- gdb/stack.c | 53 +- gdb/stap-probe.c | 8 +- gdb/symfile-debug.c | 773 ++ gdb/symfile-mem.c | 3 +- gdb/symfile.c | 274 +- gdb/symfile.h | 31 +- gdb/symmisc.c | 41 +- gdb/symtab.c | 247 +- gdb/symtab.h | 16 +- gdb/syscalls/arm-linux.py | 60 + gdb/syscalls/arm-linux.xml | 398 + gdb/system-gdbinit/elinos.py | 36 +- gdb/target.c | 96 +- gdb/target.h | 54 +- .../gdb.python/py-value.cc => target/resume.h} | 36 +- .../gdb.python/py-value.cc => target/wait.h} | 33 +- .../target-common.c => target/waitstatus.c} | 10 +- .../target-common.h => target/waitstatus.h} | 45 +- gdb/testsuite/ChangeLog | 554 ++ gdb/testsuite/Makefile.in | 2 +- gdb/testsuite/README | 391 + gdb/testsuite/boards/fission.exp | 2 +- gdb/testsuite/boards/native-gdbserver.exp | 1 + gdb/testsuite/boards/native-stdio-gdbserver.exp | 1 + gdb/testsuite/boards/remote-stdio-gdbserver.exp | 15 +- gdb/testsuite/gdb.ada/mi_catch_ex.exp | 24 +- gdb/testsuite/gdb.arch/altivec-abi.exp | 2 +- gdb/testsuite/gdb.arch/amd64-byte.exp | 9 +- gdb/testsuite/gdb.arch/amd64-disp-step.exp | 4 +- gdb/testsuite/gdb.arch/amd64-dword.exp | 9 +- gdb/testsuite/gdb.arch/amd64-entry-value-param.exp | 8 +- gdb/testsuite/gdb.arch/amd64-entry-value.exp | 3 +- gdb/testsuite/gdb.arch/amd64-prologue-xmm.exp | 7 +- gdb/testsuite/gdb.arch/amd64-word.exp | 9 +- gdb/testsuite/gdb.arch/i386-avx.exp | 9 +- gdb/testsuite/gdb.arch/i386-byte.exp | 9 +- gdb/testsuite/gdb.arch/i386-disp-step.exp | 4 +- gdb/testsuite/gdb.arch/i386-dr3-watch.exp | 5 +- gdb/testsuite/gdb.arch/i386-permbkpt.exp | 9 +- gdb/testsuite/gdb.arch/i386-signal.exp | 4 +- gdb/testsuite/gdb.arch/i386-size-overlap.exp | 4 +- gdb/testsuite/gdb.arch/i386-sse.exp | 9 +- gdb/testsuite/gdb.arch/i386-unwind.exp | 4 +- gdb/testsuite/gdb.arch/i386-word.exp | 9 +- gdb/testsuite/gdb.arch/s390-multiarch.c | 314 + gdb/testsuite/gdb.arch/s390-multiarch.exp | 159 + gdb/testsuite/gdb.arch/s390-tdbregs.c | 64 + gdb/testsuite/gdb.arch/s390-tdbregs.exp | 75 + .../gdb.base/{enumval.c => argv0-symlink.c} | 12 +- gdb/testsuite/gdb.base/argv0-symlink.exp | 68 + gdb/testsuite/gdb.base/attach-pie-misread.exp | 2 +- gdb/testsuite/gdb.base/break-interp.exp | 2 +- gdb/testsuite/gdb.base/break.exp | 12 + gdb/testsuite/gdb.base/catch-load.c | 9 +- gdb/testsuite/gdb.base/catch-load.exp | 2 +- gdb/testsuite/gdb.base/catch-syscall.exp | 257 +- gdb/testsuite/gdb.base/code_elim1.c | 9 +- gdb/testsuite/gdb.base/comprdebug.exp | 2 +- gdb/testsuite/gdb.base/corefile.exp | 26 + gdb/testsuite/gdb.base/default.exp | 3 +- gdb/testsuite/gdb.base/dup-sect.exp | 2 +- gdb/testsuite/gdb.base/ena-dis-br.exp | 108 + gdb/testsuite/gdb.base/enumval.c | 4 +- gdb/testsuite/gdb.base/enumval.exp | 6 + gdb/testsuite/gdb.base/exitsignal.exp | 106 + gdb/testsuite/gdb.base/{enumval.c => func-ptr.c} | 12 +- .../fission-loclists.exp => gdb.base/func-ptr.exp} | 28 +- gdb/testsuite/gdb.base/gdbvars.c | 11 + gdb/testsuite/gdb.base/gdbvars.exp | 29 + gdb/testsuite/gdb.base/gnu-debugdata.exp | 69 +- gdb/testsuite/gdb.base/info-macros.exp | 6 + gdb/testsuite/gdb.base/maint.exp | 7 +- gdb/testsuite/gdb.base/{enumval.c => normal.c} | 12 +- gdb/testsuite/gdb.base/printcmds.exp | 6 + gdb/testsuite/gdb.base/relocate.exp | 7 + .../{gdb.mi/mi-catch-load.c => gdb.base/segv.c} | 16 +- gdb/testsuite/gdb.base/shreloc.exp | 6 +- .../source-nofile.gdb} | 34 +- gdb/testsuite/gdb.base/source.exp | 9 + gdb/testsuite/gdb.base/step-symless.exp | 2 +- gdb/testsuite/gdb.base/watchpoint.c | 7 + gdb/testsuite/gdb.base/watchpoint.exp | 3 + gdb/testsuite/gdb.dwarf2/Makefile.in | 3 +- gdb/testsuite/gdb.dwarf2/clztest.exp | 1 + gdb/testsuite/gdb.dwarf2/dw2-basic.exp | 3 +- gdb/testsuite/gdb.dwarf2/dw2-compressed.exp | 3 +- gdb/testsuite/gdb.dwarf2/dw2-inline-param.exp | 2 +- gdb/testsuite/gdb.dwarf2/dw2-intercu.exp | 3 +- gdb/testsuite/gdb.dwarf2/dw2-intermix.exp | 3 +- gdb/testsuite/gdb.dwarf2/dw2-minsym-in-cu.exp | 6 +- gdb/testsuite/gdb.dwarf2/dw2-producer.exp | 3 +- gdb/testsuite/gdb.dwarf2/dw2-reg-undefined.exp | 28 +- gdb/testsuite/gdb.dwarf2/dw2-skip-prologue.exp | 2 +- .../enumval.c => gdb.dwarf2/dwp-symlink.c} | 12 +- gdb/testsuite/gdb.dwarf2/dwp-symlink.exp | 77 + gdb/testsuite/gdb.dwarf2/dwz.exp | 106 + gdb/testsuite/gdb.dwarf2/dwzbuildid.exp | 170 + gdb/testsuite/gdb.dwarf2/fission-base.S | 86 +- gdb/testsuite/gdb.dwarf2/fission-base.exp | 12 +- gdb/testsuite/gdb.dwarf2/fission-loclists.S | 50 +- gdb/testsuite/gdb.dwarf2/fission-loclists.exp | 12 +- .../enumval.c => gdb.dwarf2/fission-mix.c} | 17 +- gdb/testsuite/gdb.dwarf2/fission-mix.exp | 46 + .../enumval.c => gdb.dwarf2/fission-mix.h} | 17 +- .../enumval.c => gdb.dwarf2/fission-mix2.c} | 15 +- gdb/testsuite/gdb.dwarf2/fission-reread.S | 56 +- gdb/testsuite/gdb.dwarf2/fission-reread.exp | 12 +- gdb/testsuite/gdb.dwarf2/gdb-index.exp | 102 + gdb/testsuite/gdb.dwarf2/mac-fileno.exp | 3 +- gdb/testsuite/gdb.mi/mi-catch-load.c | 9 +- gdb/testsuite/gdb.mi/mi-catch-load.exp | 2 + gdb/testsuite/gdb.mi/mi-reg-undefined.exp | 4 +- .../{gdb.base/enumval.c => gdb.mi/mi-start.c} | 14 +- gdb/testsuite/gdb.mi/mi-start.exp | 47 + gdb/testsuite/gdb.python/py-arch.exp | 24 +- gdb/testsuite/gdb.python/py-error.exp | 3 +- gdb/testsuite/gdb.python/py-events.exp | 4 +- gdb/testsuite/gdb.python/py-events.py | 23 +- gdb/testsuite/gdb.python/py-evsignal.exp | 2 +- gdb/testsuite/gdb.python/py-evthreads.exp | 2 +- gdb/testsuite/gdb.python/py-frame-args.exp | 6 +- gdb/testsuite/gdb.python/py-frame.exp | 2 +- gdb/testsuite/gdb.python/py-framefilter-mi.exp | 4 +- gdb/testsuite/gdb.python/py-framefilter.exp | 14 +- gdb/testsuite/gdb.python/py-framefilter.py | 16 +- gdb/testsuite/gdb.python/py-mi.exp | 2 +- gdb/testsuite/gdb.python/py-objfile-script.exp | 4 +- gdb/testsuite/gdb.python/py-prettyprint.exp | 14 +- gdb/testsuite/gdb.python/py-section-script.c | 2 +- gdb/testsuite/gdb.python/py-section-script.exp | 18 +- gdb/testsuite/gdb.python/py-strfns.exp | 4 +- .../enumval.c => gdb.python/py-sync-interp.c} | 28 +- gdb/testsuite/gdb.python/py-sync-interp.exp | 59 + gdb/testsuite/gdb.python/py-type.exp | 32 +- gdb/testsuite/gdb.python/py-typeprint.exp | 6 +- .../gdb.python/{py-value.cc => py-value-cc.cc} | 0 gdb/testsuite/gdb.python/py-value-cc.exp | 2 +- gdb/testsuite/gdb.python/py-value.exp | 31 +- gdb/testsuite/gdb.python/python.exp | 24 +- .../{gdb.base/enumval.c => gdb.server/wrapper.c} | 20 +- gdb/testsuite/gdb.server/wrapper.exp | 54 + .../info-threads-cur-sal-2.c} | 19 +- .../info-threads-cur-sal.c} | 22 +- gdb/testsuite/gdb.threads/info-threads-cur-sal.exp | 57 + .../enumval.c => gdb.threads/thread-specific-bp.c} | 22 +- gdb/testsuite/gdb.threads/thread-specific-bp.exp | 127 + gdb/testsuite/gdb.trace/collection.exp | 16 + .../enumval.c => gdb.trace/entry-values.c} | 32 +- gdb/testsuite/gdb.trace/entry-values.exp | 290 + gdb/testsuite/gdb.trace/mi-trace-unavailable.exp | 28 +- gdb/testsuite/lib/cache.exp | 75 + gdb/testsuite/lib/cell.exp | 28 +- gdb/testsuite/lib/dwarf.exp | 153 +- gdb/testsuite/lib/future.exp | 30 + gdb/testsuite/lib/gdb.exp | 380 +- gdb/testsuite/lib/mi-support.exp | 3 + gdb/testsuite/lib/opencl.exp | 24 +- gdb/testsuite/lib/prelink-support.exp | 21 +- gdb/thread.c | 12 +- gdb/top.c | 32 +- gdb/tracepoint.c | 4 +- gdb/tui/tui-interp.c | 2 + gdb/tui/tui-io.c | 3 +- gdb/tui/tui-regs.c | 57 +- gdb/ui-file.c | 54 + gdb/ui-file.h | 4 + gdb/utils.c | 111 +- gdb/utils.h | 14 +- gdb/valops.c | 20 +- gdb/valprint.c | 55 +- gdb/valprint.h | 5 +- gdb/value.c | 84 +- gdb/value.h | 20 +- gdb/varobj.c | 409 +- gdb/varobj.h | 84 +- gdb/vax-nat.c | 2 +- gdb/vaxbsd-nat.c | 6 +- gdb/windows-nat.c | 57 +- gdb/windows-tdep.c | 20 +- gdb/windows-tdep.h | 6 +- gdb/xcoffread.c | 38 +- gdb/xtensa-linux-nat.c | 4 +- gdb/xtensa-linux-tdep.c | 74 + include/ChangeLog | 24 + include/dwarf2.def | 3 + include/elf/ChangeLog | 8 + include/elf/mips.h | 3 + include/elf/rl78.h | 5 +- include/floatformat.h | 3 +- include/opcode/ChangeLog | 68 +- include/opcode/i960.h | 4 +- include/opcode/mips.h | 302 +- include/opcode/sparc.h | 1 + include/opcode/xgate.h | 52 +- include/vtv-change-permission.h | 55 + libiberty/ChangeLog | 51 + libiberty/floatformat.c | 13 +- libtool.m4 | 12 +- opcodes/ChangeLog | 231 + opcodes/aarch64-asm.c | 4 +- opcodes/aarch64-dis.c | 4 +- opcodes/aarch64-opc.c | 3 +- opcodes/arm-dis.c | 19 +- opcodes/configure | 16 +- opcodes/cr16-opc.c | 9 +- opcodes/crx-opc.c | 23 +- opcodes/i386-dis-evex.h | 16 +- opcodes/i386-dis.c | 54 +- opcodes/i386-gen.c | 2 + opcodes/i386-init.h | 6 + opcodes/i386-opc.tbl | 53 +- opcodes/i386-tbl.h | 123 +- opcodes/micromips-opc.c | 1475 ++-- opcodes/mips-dis.c | 78 +- opcodes/mips-formats.h | 33 +- opcodes/mips-opc.c | 3584 ++++---- opcodes/mips16-opc.c | 397 +- opcodes/msp430-dis.c | 2 +- opcodes/nios2-opc.c | 4 +- opcodes/s390-opc.txt | 8 +- opcodes/sparc-dis.c | 3 +- opcodes/sparc-opc.c | 32 +- opcodes/v850-dis.c | 6 +- opcodes/xgate-dis.c | 228 +- opcodes/xgate-opc.c | 203 +- readline/ChangeLog.gdb | 11 + readline/readline.c | 4 + readline/util.c | 2 +- sim/arm/ChangeLog | 4 + sim/arm/configure | 16 +- sim/avr/ChangeLog | 4 + sim/avr/configure | 16 +- sim/bfin/ChangeLog | 4 + sim/bfin/configure | 16 +- sim/common/ChangeLog | 8 + sim/common/configure | 16 +- sim/common/sim-options.c | 2 +- sim/cr16/ChangeLog | 4 + sim/cr16/configure | 16 +- sim/cris/ChangeLog | 4 + sim/cris/configure | 16 +- sim/d10v/ChangeLog | 4 + sim/d10v/configure | 16 +- sim/erc32/ChangeLog | 10 + sim/erc32/configure | 16 +- sim/erc32/float.c | 13 +- sim/frv/ChangeLog | 4 + sim/frv/configure | 16 +- sim/h8300/ChangeLog | 4 + sim/h8300/configure | 16 +- sim/iq2000/ChangeLog | 4 + sim/iq2000/configure | 16 +- sim/lm32/ChangeLog | 4 + sim/lm32/configure | 16 +- sim/m32c/ChangeLog | 4 + sim/m32c/configure | 16 +- sim/m32r/ChangeLog | 4 + sim/m32r/configure | 16 +- sim/m68hc11/ChangeLog | 4 + sim/m68hc11/configure | 16 +- sim/mcore/ChangeLog | 4 + sim/mcore/configure | 16 +- sim/microblaze/ChangeLog | 4 + sim/microblaze/configure | 16 +- sim/mips/ChangeLog | 4 + sim/mips/configure | 16 +- sim/mn10300/ChangeLog | 4 + sim/mn10300/configure | 16 +- sim/moxie/ChangeLog | 4 + sim/moxie/configure | 16 +- sim/msp430/ChangeLog | 4 + sim/msp430/aclocal.m4 | 40 + sim/msp430/configure | 9003 +++++++++++++++++++- sim/rl78/ChangeLog | 10 + sim/rl78/configure | 16 +- sim/rl78/gdb-if.c | 19 +- sim/rx/ChangeLog | 4 + sim/rx/configure | 16 +- sim/sh/ChangeLog | 4 + sim/sh/configure | 16 +- sim/sh64/ChangeLog | 4 + sim/sh64/configure | 16 +- sim/testsuite/ChangeLog | 4 + sim/testsuite/configure | 3 + sim/v850/ChangeLog | 4 + sim/v850/configure | 16 +- src-release | 2 +- 652 files changed, 36020 insertions(+), 20230 deletions(-) create mode 100644 gdb/build-id.c create mode 100644 gdb/build-id.h delete mode 100644 gdb/config/arm/nbsdaout.mh delete mode 100644 gdb/config/i386/nbsdaout.mh delete mode 100644 gdb/config/i386/obsdaout.mh delete mode 100644 gdb/config/m68k/nbsdaout.mh delete mode 100644 gdb/config/sparc/nbsdaout.mh delete mode 100644 gdb/config/vax/nbsdaout.mh create mode 100644 gdb/cris-linux-tdep.c rename gdb/{cli/cli-dump.h => cris-tdep.h} (60%) delete mode 100644 gdb/doc/LRS delete mode 100644 gdb/doc/gdbint.texinfo create mode 100644 gdb/features/s390-tdb.xml create mode 100644 gdb/features/s390-te-linux64.c create mode 100644 gdb/features/s390-te-linux64.xml create mode 100644 gdb/features/s390x-te-linux64.c create mode 100644 gdb/features/s390x-te-linux64.xml copy gdb/{testsuite/gdb.python/py-value.cc => gdbserver/dll.h} (59%) create mode 100644 gdb/gdbserver/event-loop.h copy gdb/{testsuite/gdb.python/py-value.cc => gdbserver/hostio.h} (64%) create mode 100644 gdb/gdbserver/inferiors.h create mode 100644 gdb/gdbserver/remote-utils.h create mode 100644 gdb/gdbserver/tracepoint.h copy gdb/{windows-tdep.h => gdbserver/utils.h} (53%) copy gdb/{testsuite/gdb.python/py-value.cc => nat/linux-nat.h} (60%) create mode 100644 gdb/nat/linux-waitpid.c copy gdb/{testsuite/gdb.python/py-value.cc => nat/linux-waitpid.h} (62%) create mode 100644 gdb/regformats/s390-te-linux64.dat create mode 100644 gdb/regformats/s390x-te-linux64.dat delete mode 100644 gdb/solib-sunos.c create mode 100644 gdb/symfile-debug.c create mode 100644 gdb/syscalls/arm-linux.py create mode 100644 gdb/syscalls/arm-linux.xml copy gdb/{testsuite/gdb.python/py-value.cc => target/resume.h} (62%) copy gdb/{testsuite/gdb.python/py-value.cc => target/wait.h} (62%) rename gdb/{common/target-common.c => target/waitstatus.c} (90%) rename gdb/{common/target-common.h => target/waitstatus.h} (79%) create mode 100644 gdb/testsuite/README create mode 100644 gdb/testsuite/gdb.arch/s390-multiarch.c create mode 100644 gdb/testsuite/gdb.arch/s390-multiarch.exp create mode 100644 gdb/testsuite/gdb.arch/s390-tdbregs.c create mode 100644 gdb/testsuite/gdb.arch/s390-tdbregs.exp copy gdb/testsuite/gdb.base/{enumval.c => argv0-symlink.c} (81%) create mode 100644 gdb/testsuite/gdb.base/argv0-symlink.exp create mode 100644 gdb/testsuite/gdb.base/exitsignal.exp copy gdb/testsuite/gdb.base/{enumval.c => func-ptr.c} (82%) copy gdb/testsuite/{gdb.dwarf2/fission-loclists.exp => gdb.base/func-ptr.exp} (62%) copy gdb/testsuite/gdb.base/{enumval.c => normal.c} (81%) copy gdb/testsuite/{gdb.mi/mi-catch-load.c => gdb.base/segv.c} (77%) copy gdb/testsuite/{gdb.dwarf2/fission-loclists.exp => gdb.base/source-nofile.gdb} (58%) copy gdb/testsuite/{gdb.base/enumval.c => gdb.dwarf2/dwp-symlink.c} (81%) create mode 100644 gdb/testsuite/gdb.dwarf2/dwp-symlink.exp create mode 100644 gdb/testsuite/gdb.dwarf2/dwz.exp create mode 100644 gdb/testsuite/gdb.dwarf2/dwzbuildid.exp copy gdb/testsuite/{gdb.base/enumval.c => gdb.dwarf2/fission-mix.c} (80%) create mode 100644 gdb/testsuite/gdb.dwarf2/fission-mix.exp copy gdb/testsuite/{gdb.base/enumval.c => gdb.dwarf2/fission-mix.h} (79%) copy gdb/testsuite/{gdb.base/enumval.c => gdb.dwarf2/fission-mix2.c} (80%) create mode 100644 gdb/testsuite/gdb.dwarf2/gdb-index.exp copy gdb/testsuite/{gdb.base/enumval.c => gdb.mi/mi-start.c} (75%) create mode 100644 gdb/testsuite/gdb.mi/mi-start.exp copy gdb/testsuite/{gdb.base/enumval.c => gdb.python/py-sync-interp.c} (67%) create mode 100644 gdb/testsuite/gdb.python/py-sync-interp.exp rename gdb/testsuite/gdb.python/{py-value.cc => py-value-cc.cc} (100%) copy gdb/testsuite/{gdb.base/enumval.c => gdb.server/wrapper.c} (80%) create mode 100644 gdb/testsuite/gdb.server/wrapper.exp copy gdb/testsuite/{gdb.base/enumval.c => gdb.threads/info-threads-cur-sal-2.c} (73%) copy gdb/testsuite/{gdb.mi/mi-catch-load.c => gdb.threads/info-threads-cur-sal.c} (69%) create mode 100644 gdb/testsuite/gdb.threads/info-threads-cur-sal.exp copy gdb/testsuite/{gdb.base/enumval.c => gdb.threads/thread-specific-bp.c} (73%) create mode 100644 gdb/testsuite/gdb.threads/thread-specific-bp.exp copy gdb/testsuite/{gdb.base/enumval.c => gdb.trace/entry-values.c} (76%) create mode 100644 gdb/testsuite/gdb.trace/entry-values.exp create mode 100644 gdb/testsuite/lib/cache.exp create mode 100644 include/vtv-change-permission.h First 500 lines of diff: diff --git a/COPYING.NEWLIB b/COPYING.NEWLIB index 73379ff..302a230 100644 --- a/COPYING.NEWLIB +++ b/COPYING.NEWLIB @@ -925,3 +925,29 @@ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +(41) Ed Schouten - Free BSD + +Copyright (c) 2008 Ed Schouten +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + diff --git a/ChangeLog b/ChangeLog index fb46159..806863d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,14 +1,39 @@ +2013-10-08 Jan-Benedict Glaw + + * configure.ac: Update from GCC. + * configure: Regenerate. + +2013-10-01 Jeff Johnston + + * COPYING.NEWLIB: Update with new copyright. + +2013-09-21 Jan-Benedict Glaw + + * configure.ac: Update from GCC. + * configure: Regenerate. + +2013-09-20 Alan Modra + + * libtool.m4 (_LT_ENABLE_LOCK ): Remove non-canonical + ppc host match. Support little-endian powerpc linux hosts. + +2013-08-16 Joel Brobecker + + * src-release (VER): When using $(TOOL)/common/create-version.sh, + strip the "-cvs" suffix from the version number if present. + +2013-08-12 Jan-Benedict Glaw + + * configure.ac: Sync with GCC repo. + * Makefile.def: Ditto. + * configure: Regenerate. + * Makefile.in: Ditto. + 2013-07-22 Joel Brobecker * src-release (VER): Use $(TOOL)/common/create-version.sh if it exists. -2013-07-10 Jack Howarth - - PR target/57792 - * configure.ac: Use --with-sysroot=\"`xcrun --show-sdk-path`\" on darwin13 and later. - * configure: Regenerated. - 2013-06-22 Richard Sandiford * configure.ac (mips*-*-bsd*, mips*-*-ultrix*, mips*-*-osf*) @@ -18,8 +43,8 @@ 2013-06-01 George Thomas - * include/opcode/avr.h: Rename AVR_ISA_XCH to AVR_ISA_RMW. Remove - from AVR_ISA_XMEGA and add new AVR_ISA_XMEGAU + * include/opcode/avr.h: Rename AVR_ISA_XCH to AVR_ISA_RMW. Remove + from AVR_ISA_XMEGA and add new AVR_ISA_XMEGAU 2013-05-06 Sandra Loosemore diff --git a/Makefile.def b/Makefile.def index 90d9653..3ba1a5b 100644 --- a/Makefile.def +++ b/Makefile.def @@ -4,8 +4,7 @@ AutoGen definitions Makefile.tpl; // Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'. // This file was originally written by Nathanael Nerode. // -// Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 -// Free Software Foundation +// Copyright 2002-2013 Free Software Foundation // // This file is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -123,6 +122,10 @@ target_modules = { module= libsanitizer; bootstrap=true; lib_path=.libs; raw_cxx=true; }; +target_modules = { module= libvtv; + bootstrap=true; + lib_path=.libs; + raw_cxx=true; }; target_modules = { module= libssp; lib_path=.libs; }; target_modules = { module= newlib; }; target_modules = { module= libgcc; bootstrap=true; no_check=true; }; @@ -516,6 +519,7 @@ dependencies = { module=configure-target-libobjc; on=configure-target-boehm-gc; dependencies = { module=all-target-libobjc; on=all-target-boehm-gc; }; dependencies = { module=configure-target-libstdc++-v3; on=configure-target-libgomp; }; dependencies = { module=configure-target-libsanitizer; on=all-target-libstdc++-v3; }; +dependencies = { module=configure-target-libvtv; on=all-target-libstdc++-v3; }; // parallel_list.o and parallel_settings.o depend on omp.h, which is // generated by the libgomp configure. Unfortunately, due to the use of // recursive make, we can't be that specific. @@ -526,6 +530,8 @@ dependencies = { module=install-target-libgfortran; on=install-target-libquadmat dependencies = { module=install-target-libgfortran; on=install-target-libgcc; }; dependencies = { module=install-target-libsanitizer; on=install-target-libstdc++-v3; }; dependencies = { module=install-target-libsanitizer; on=install-target-libgcc; }; +dependencies = { module=install-target-libvtv; on=install-target-libstdc++-v3; }; +dependencies = { module=install-target-libvtv; on=install-target-libgcc; }; dependencies = { module=install-target-libjava; on=install-target-libgcc; }; dependencies = { module=install-target-libitm; on=install-target-libgcc; }; dependencies = { module=install-target-libobjc; on=install-target-libgcc; }; diff --git a/Makefile.in b/Makefile.in index bfbaf03..a13771d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -575,7 +575,7 @@ all: # This is the list of directories that may be needed in RPATH_ENVVAR # so that programs built for the target machine work. -TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libsanitizer)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(TARGET_LIB_PATH_libitm)$(TARGET_LIB_PATH_libatomic)$(HOST_LIB_PATH_gcc) +TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libsanitizer)$(TARGET_LIB_PATH_libvtv)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(TARGET_LIB_PATH_libitm)$(TARGET_LIB_PATH_libatomic)$(HOST_LIB_PATH_gcc) @if target-libstdc++-v3 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs: @@ -589,6 +589,10 @@ TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs: TARGET_LIB_PATH_libsanitizer = $$r/$(TARGET_SUBDIR)/libsanitizer/.libs: @endif target-libsanitizer +@if target-libvtv +TARGET_LIB_PATH_libvtv = $$r/$(TARGET_SUBDIR)/libvtv/.libs: +@endif target-libvtv + @if target-libssp TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs: @endif target-libssp @@ -925,6 +929,7 @@ configure-target: \ maybe-configure-target-libstdc++-v3 \ maybe-configure-target-libmudflap \ maybe-configure-target-libsanitizer \ + maybe-configure-target-libvtv \ maybe-configure-target-libssp \ maybe-configure-target-newlib \ maybe-configure-target-libgcc \ @@ -1076,6 +1081,9 @@ all-target: maybe-all-target-libmudflap @if target-libsanitizer-no-bootstrap all-target: maybe-all-target-libsanitizer @endif target-libsanitizer-no-bootstrap +@if target-libvtv-no-bootstrap +all-target: maybe-all-target-libvtv +@endif target-libvtv-no-bootstrap all-target: maybe-all-target-libssp all-target: maybe-all-target-newlib @if target-libgcc-no-bootstrap @@ -1167,6 +1175,7 @@ info-host: maybe-info-lto-plugin info-target: maybe-info-target-libstdc++-v3 info-target: maybe-info-target-libmudflap info-target: maybe-info-target-libsanitizer +info-target: maybe-info-target-libvtv info-target: maybe-info-target-libssp info-target: maybe-info-target-newlib info-target: maybe-info-target-libgcc @@ -1249,6 +1258,7 @@ dvi-host: maybe-dvi-lto-plugin dvi-target: maybe-dvi-target-libstdc++-v3 dvi-target: maybe-dvi-target-libmudflap dvi-target: maybe-dvi-target-libsanitizer +dvi-target: maybe-dvi-target-libvtv dvi-target: maybe-dvi-target-libssp dvi-target: maybe-dvi-target-newlib dvi-target: maybe-dvi-target-libgcc @@ -1331,6 +1341,7 @@ pdf-host: maybe-pdf-lto-plugin pdf-target: maybe-pdf-target-libstdc++-v3 pdf-target: maybe-pdf-target-libmudflap pdf-target: maybe-pdf-target-libsanitizer +pdf-target: maybe-pdf-target-libvtv pdf-target: maybe-pdf-target-libssp pdf-target: maybe-pdf-target-newlib pdf-target: maybe-pdf-target-libgcc @@ -1413,6 +1424,7 @@ html-host: maybe-html-lto-plugin html-target: maybe-html-target-libstdc++-v3 html-target: maybe-html-target-libmudflap html-target: maybe-html-target-libsanitizer +html-target: maybe-html-target-libvtv html-target: maybe-html-target-libssp html-target: maybe-html-target-newlib html-target: maybe-html-target-libgcc @@ -1495,6 +1507,7 @@ TAGS-host: maybe-TAGS-lto-plugin TAGS-target: maybe-TAGS-target-libstdc++-v3 TAGS-target: maybe-TAGS-target-libmudflap TAGS-target: maybe-TAGS-target-libsanitizer +TAGS-target: maybe-TAGS-target-libvtv TAGS-target: maybe-TAGS-target-libssp TAGS-target: maybe-TAGS-target-newlib TAGS-target: maybe-TAGS-target-libgcc @@ -1577,6 +1590,7 @@ install-info-host: maybe-install-info-lto-plugin install-info-target: maybe-install-info-target-libstdc++-v3 install-info-target: maybe-install-info-target-libmudflap install-info-target: maybe-install-info-target-libsanitizer +install-info-target: maybe-install-info-target-libvtv install-info-target: maybe-install-info-target-libssp install-info-target: maybe-install-info-target-newlib install-info-target: maybe-install-info-target-libgcc @@ -1659,6 +1673,7 @@ install-pdf-host: maybe-install-pdf-lto-plugin install-pdf-target: maybe-install-pdf-target-libstdc++-v3 install-pdf-target: maybe-install-pdf-target-libmudflap install-pdf-target: maybe-install-pdf-target-libsanitizer +install-pdf-target: maybe-install-pdf-target-libvtv install-pdf-target: maybe-install-pdf-target-libssp install-pdf-target: maybe-install-pdf-target-newlib install-pdf-target: maybe-install-pdf-target-libgcc @@ -1741,6 +1756,7 @@ install-html-host: maybe-install-html-lto-plugin install-html-target: maybe-install-html-target-libstdc++-v3 install-html-target: maybe-install-html-target-libmudflap install-html-target: maybe-install-html-target-libsanitizer +install-html-target: maybe-install-html-target-libvtv install-html-target: maybe-install-html-target-libssp install-html-target: maybe-install-html-target-newlib install-html-target: maybe-install-html-target-libgcc @@ -1823,6 +1839,7 @@ installcheck-host: maybe-installcheck-lto-plugin installcheck-target: maybe-installcheck-target-libstdc++-v3 installcheck-target: maybe-installcheck-target-libmudflap installcheck-target: maybe-installcheck-target-libsanitizer +installcheck-target: maybe-installcheck-target-libvtv installcheck-target: maybe-installcheck-target-libssp installcheck-target: maybe-installcheck-target-newlib installcheck-target: maybe-installcheck-target-libgcc @@ -1905,6 +1922,7 @@ mostlyclean-host: maybe-mostlyclean-lto-plugin mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target: maybe-mostlyclean-target-libmudflap mostlyclean-target: maybe-mostlyclean-target-libsanitizer +mostlyclean-target: maybe-mostlyclean-target-libvtv mostlyclean-target: maybe-mostlyclean-target-libssp mostlyclean-target: maybe-mostlyclean-target-newlib mostlyclean-target: maybe-mostlyclean-target-libgcc @@ -1987,6 +2005,7 @@ clean-host: maybe-clean-lto-plugin clean-target: maybe-clean-target-libstdc++-v3 clean-target: maybe-clean-target-libmudflap clean-target: maybe-clean-target-libsanitizer +clean-target: maybe-clean-target-libvtv clean-target: maybe-clean-target-libssp clean-target: maybe-clean-target-newlib clean-target: maybe-clean-target-libgcc @@ -2069,6 +2088,7 @@ distclean-host: maybe-distclean-lto-plugin distclean-target: maybe-distclean-target-libstdc++-v3 distclean-target: maybe-distclean-target-libmudflap distclean-target: maybe-distclean-target-libsanitizer +distclean-target: maybe-distclean-target-libvtv distclean-target: maybe-distclean-target-libssp distclean-target: maybe-distclean-target-newlib distclean-target: maybe-distclean-target-libgcc @@ -2151,6 +2171,7 @@ maintainer-clean-host: maybe-maintainer-clean-lto-plugin maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap maintainer-clean-target: maybe-maintainer-clean-target-libsanitizer +maintainer-clean-target: maybe-maintainer-clean-target-libvtv maintainer-clean-target: maybe-maintainer-clean-target-libssp maintainer-clean-target: maybe-maintainer-clean-target-newlib maintainer-clean-target: maybe-maintainer-clean-target-libgcc @@ -2288,6 +2309,7 @@ check-target: \ maybe-check-target-libstdc++-v3 \ maybe-check-target-libmudflap \ maybe-check-target-libsanitizer \ + maybe-check-target-libvtv \ maybe-check-target-libssp \ maybe-check-target-newlib \ maybe-check-target-libgcc \ @@ -2443,6 +2465,7 @@ install-target: \ maybe-install-target-libstdc++-v3 \ maybe-install-target-libmudflap \ maybe-install-target-libsanitizer \ + maybe-install-target-libvtv \ maybe-install-target-libssp \ maybe-install-target-newlib \ maybe-install-target-libgcc \ @@ -2545,6 +2568,7 @@ install-strip-target: \ maybe-install-strip-target-libstdc++-v3 \ maybe-install-strip-target-libmudflap \ maybe-install-strip-target-libsanitizer \ + maybe-install-strip-target-libvtv \ maybe-install-strip-target-libssp \ maybe-install-strip-target-newlib \ maybe-install-strip-target-libgcc \ @@ -33152,6 +33176,980 @@ maintainer-clean-target-libsanitizer: +.PHONY: configure-target-libvtv maybe-configure-target-libvtv +maybe-configure-target-libvtv: +@if gcc-bootstrap +configure-target-libvtv: stage_current +@endif gcc-bootstrap +@if target-libvtv +maybe-configure-target-libvtv: configure-target-libvtv +configure-target-libvtv: + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + echo "Checking multilib configuration for libvtv..."; \ + $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \ + $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \ + if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \ + if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \ + rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \ + else \ + rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \ + mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \ + fi; \ + else \ + mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \ + fi; \ + test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \ + $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \ + $(RAW_CXX_TARGET_EXPORTS) \ + echo Configuring in $(TARGET_SUBDIR)/libvtv; \ + cd "$(TARGET_SUBDIR)/libvtv" || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/libvtv"; \ + libsrcdir="$$s/libvtv"; \ + rm -f no-such-file || : ; \ + CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ + $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ + --target=${target_alias} $${srcdiroption} \ + || exit 1 +@endif target-libvtv + + + +.PHONY: configure-stage1-target-libvtv maybe-configure-stage1-target-libvtv +maybe-configure-stage1-target-libvtv: +@if target-libvtv-bootstrap +maybe-configure-stage1-target-libvtv: configure-stage1-target-libvtv +configure-stage1-target-libvtv: + @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start + @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + TFLAGS="$(STAGE1_TFLAGS)"; \ + echo "Checking multilib configuration for libvtv..."; \ + $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \ + if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \ + if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \ + rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \ + else \ + rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \ + mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \ + fi; \ + else \ + mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \ + fi; \ + test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \ + $(RAW_CXX_TARGET_EXPORTS) \ + CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ + CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ + LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ + echo Configuring stage 1 in $(TARGET_SUBDIR)/libvtv ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \ + cd $(TARGET_SUBDIR)/libvtv || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/libvtv"; \ + libsrcdir="$$s/libvtv"; \ + $(SHELL) $${libsrcdir}/configure \ + $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ + --target=${target_alias} $${srcdiroption} \ + $(STAGE1_CONFIGURE_FLAGS) +@endif target-libvtv-bootstrap + +.PHONY: configure-stage2-target-libvtv maybe-configure-stage2-target-libvtv +maybe-configure-stage2-target-libvtv: +@if target-libvtv-bootstrap +maybe-configure-stage2-target-libvtv: configure-stage2-target-libvtv +configure-stage2-target-libvtv: + @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start + @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + TFLAGS="$(STAGE2_TFLAGS)"; \ + echo "Checking multilib configuration for libvtv..."; \ + $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \ + if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \ + if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \ + rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \ + else \ + rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \ + mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \ + fi; \ + else \ + mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \ + fi; \ + test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \ + $(RAW_CXX_TARGET_EXPORTS) \ + \ + CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ + CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ + LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ + echo Configuring stage 2 in $(TARGET_SUBDIR)/libvtv ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \ + cd $(TARGET_SUBDIR)/libvtv || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/libvtv"; \ + libsrcdir="$$s/libvtv"; \ + $(SHELL) $${libsrcdir}/configure \ + $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ + --target=${target_alias} $${srcdiroption} \ + --with-build-libsubdir=$(HOST_SUBDIR) \ + $(STAGE2_CONFIGURE_FLAGS) +@endif target-libvtv-bootstrap + +.PHONY: configure-stage3-target-libvtv maybe-configure-stage3-target-libvtv +maybe-configure-stage3-target-libvtv: +@if target-libvtv-bootstrap +maybe-configure-stage3-target-libvtv: configure-stage3-target-libvtv +configure-stage3-target-libvtv: + @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start + @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + TFLAGS="$(STAGE3_TFLAGS)"; \ + echo "Checking multilib configuration for libvtv..."; \ + $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \ + if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \ + if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \ + rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \ + else \ + rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \ + mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \ + fi; \ + else \ + mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \ + fi; \ + test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \ + $(RAW_CXX_TARGET_EXPORTS) \ + \ + CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ + CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ + LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ + echo Configuring stage 3 in $(TARGET_SUBDIR)/libvtv ; \ + $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \ + cd $(TARGET_SUBDIR)/libvtv || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/libvtv"; \ + libsrcdir="$$s/libvtv"; \ + $(SHELL) $${libsrcdir}/configure \ + $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ + --target=${target_alias} $${srcdiroption} \ + --with-build-libsubdir=$(HOST_SUBDIR) \ + $(STAGE3_CONFIGURE_FLAGS) +@endif target-libvtv-bootstrap + +.PHONY: configure-stage4-target-libvtv maybe-configure-stage4-target-libvtv +maybe-configure-stage4-target-libvtv: +@if target-libvtv-bootstrap +maybe-configure-stage4-target-libvtv: configure-stage4-target-libvtv +configure-stage4-target-libvtv: + @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start + @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + TFLAGS="$(STAGE4_TFLAGS)"; \ + echo "Checking multilib configuration for libvtv..."; \ + $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \ hooks/post-receive -- Repository for Project Archer.