public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM] pmuldoon/python-backtrace: Merge remote-tracking branch 'gdb/master' into pmuldoon/python-backtrace
@ 2013-04-19 11:29 pmuldoon
0 siblings, 0 replies; 9+ messages in thread
From: pmuldoon @ 2013-04-19 11:29 UTC (permalink / raw)
To: archer-commits
The branch, pmuldoon/python-backtrace has been updated
via 9a69bda0fc0ef06691832741b0559faf96a094ac (commit)
via 7a9088e93d91fb5f872465cb6238fe346f68911a (commit)
via 8971f489b0f0e28e401c18844d6c679ffb9b6f6e (commit)
via daebb5ec91791a8a577a02c5f5857d5810de684d (commit)
via 254638dfadb925d3d1fd55f019841d5c6556e752 (commit)
via 45140821a713d7b1ef8cb38c737591abfaaff596 (commit)
via a04b16a96f161d6b82bdc72ceddcead8539e3977 (commit)
via cbf2f0c9dd67247944d06588fd76c9002d61ae5a (commit)
via f112776d5ad2210f7b71b2acfd4ca385377c4755 (commit)
via 3e258681182fe2fad8a479355494073134748396 (commit)
via c09b84a2353bfde550932fa90c3487c6aa962a18 (commit)
via c1357f25675c247a7ed40f6948f40d7d013f0bdd (commit)
via 62629fa8221ab05d6d7ad14de41a3f4c9319f0bb (commit)
via 7e2fcf5bb7283956d5b15b4c13a1051327f3b4b1 (commit)
via 3c0732377364a48042cff54c10a4c23ba320da9e (commit)
via 98512ac7e1b764f5e6a97ae0b4abe4e664400f1e (commit)
via dfc5309ae76d92023545e15af7905f5fd169d74c (commit)
via 436dc645102f7132ab80f5c75a359d4f2603c25d (commit)
via 85af929389a14039121edef603bb94dd462db727 (commit)
via fa47f0a2380e4cbb7c11f42b093729a368d8a5f4 (commit)
via ac31ed2ebb0456bddfce93b1fff1215a68183832 (commit)
via e8e160773247fa157b818494256ceeb9a806b351 (commit)
via d050582adfca8265d614fbd006962d7d68ef5db7 (commit)
via fca593717bca4c547b95d7def0cea736dcbc57c1 (commit)
via 06c8b68dd50e339199bba570fb37381ad0cb9c87 (commit)
via c80fa5a7c1b1277a6112f2984e2723c27cefd1df (commit)
via 4751d00ef7a160c640f599303a85a0cbeee31409 (commit)
via 92687545f1f26e54b40d90812b34791d97ecd867 (commit)
via 20cf09b42ad2bcb0225cdc36cb228e515bd510a7 (commit)
via 766ce5943c7dd9484310bd71a91a8b19d5b7b5c2 (commit)
via 972f1ca0327da78f0eb9cd7fe9a760696642dc75 (commit)
via cb22b288a796779e3238ff812226a9897854c5aa (commit)
via 049dc1118adce445d49828154b415f963c41a4d5 (commit)
via cc38e69962e8902416b513fe22d23d58f2e2c9d0 (commit)
via 37d0d838c6e9e7b9a6464afdecce2cdbfdae4413 (commit)
via 28af0d6627b6dd8059011ea5ba8ca81ce6530673 (commit)
via 57e585c7379ae9b187ff75dca72e4bc4448cbac3 (commit)
via 2d99d7b9cf07a4c6fd70f04e63f159e64abace77 (commit)
via 59ef4e03755a084e872818ab85000f4123c92067 (commit)
via 57b013f271b1191757b1d252774de9431fb2a546 (commit)
via 21b86ca972aef67d7a1bf2e5373af7d8bcb22e0d (commit)
via f6b85d6aa9a9e6bce6a1b8e03393fa971deed4f7 (commit)
via 6445a269bcdcf3052901aa60eaeb0c2a565b2f51 (commit)
via 859638f53f33d406658e388b736fe89ef65de778 (commit)
via 6859d4851cc6467dd4a3de1f1840f1b7b336b9ed (commit)
via 1720a4f4e3d156ad8575417785760e588ed51c0f (commit)
via c73415eb53c788d7ba0007c40014aa40ba9b0963 (commit)
via 464b0b70fe716275c19bd7063a3655c1762d57cf (commit)
via 7734355b5b66e4d3bc04d5143a8cb22acb6ebc0b (commit)
via 318e9ec76416978a8b97807ff3a743d3a15499ba (commit)
via acea31eb55e229f48549bbbf3d5934b75e12cdb9 (commit)
via 864903b2f2eeaf9a7bcb207dae68b7a8dd22399d (commit)
via 13840c102fb99678853a5939519505e071aa59b0 (commit)
via ba9e88e790457da9ef2a85a91927d86343c2a0f3 (commit)
via 4e2219e85fb7230fb898c3c8caf8bde185ff8a48 (commit)
via 1566fe6d3a1d7a489f6c145ff054cf2759b8875c (commit)
via 88e2d48e85d283cee0d12422b578144a74df2255 (commit)
via 57435c2d03f9f7bfe808948b6a43b290ecbc4e5e (commit)
via 701ce840a39b0586593236384caedb1feb45179f (commit)
via db03dcab46c1a0ddf369040f34779ad02fb71fa0 (commit)
via 9bad6d497ef023ab46b493c84ad9c129e12461f1 (commit)
via 5f421cff90f16065fdbaff37195699316929c8e6 (commit)
via 155f65b7ea58fb1d3d1ab633afb96ac820538927 (commit)
via c3ed2bdc75b6c068bcfa71281e672baec4fdce90 (commit)
via 535a72e321194f4e0c0b2f2b13492e41b3da5d07 (commit)
via dc654647be304adddfc0469d5970edb2a38b3f41 (commit)
via 3d12672cbbf5033c06efa0c46b9369f85971e853 (commit)
via 8f39447c48de57306a669ed1c49b3a6efd5e3bbb (commit)
via 3f98c536487a84b5e846cb00643283e108b102b7 (commit)
via f1b2361fa0acd8b3cac642a4434340c1487c8221 (commit)
via d2a545bbe6e0f19b3a66a9371534703b92013b05 (commit)
via 24701c54627da21f7f5611bd858624b5bf5c4b35 (commit)
via 8a6341bc37b2029bfd1a584f6f3a1a5784dee57b (commit)
via e53d96531edfa687339019c54f148c7b61f381df (commit)
via 6d640e771fac60411e008e238769d7d41cfc960c (commit)
via 0a1df36fccb14d8ea5370ef30ba5e1251f7dba06 (commit)
via 9ccb9a101beab4a9794bda91cf4fa0fac529a02f (commit)
via fd3c1b4c0e71d5a18f5d21f3156ac0aa11b04080 (commit)
via c9899b1ffb34764a5970e51577e6614db17f0f5e (commit)
via 6920a25622bf5d0f2757b8e3a8758fed079a673a (commit)
via dfbdc311bb0eccdb6b666ce5a39b917041afe14b (commit)
via 375d6fc170031d5e766a099007c8f05d27ed5ae2 (commit)
via e3ada0e8c1f4e1590d8f497dac1a4ee0764cfdcb (commit)
via e5022b29db21f3857467f6607d77a311fa56358b (commit)
via 403d419597f86db009015c14278885b0e52d7cbe (commit)
via 6488eb612638a2068cc39fbae43fa590c0e04c71 (commit)
via 2a9030220efff2f7e5e7447ee523726bd9585072 (commit)
via a46b9c75fd4e0fdc2d42bc9e9c7c9e93c4d15d22 (commit)
via e1680b9894e7e24e37b1fb89c3f3c5cf8f35f13f (commit)
via 2ea5f4d0159a0be1076012833e14444d18ad236b (commit)
via 32175dbe3a51818eaec6d66424ebc50847257321 (commit)
via 22fdb0b6796bc334b00a5d561ad24f8349af40dd (commit)
via 64a7053fdba3556734e593c5776eae9599ec6e46 (commit)
via b61e0c215db87e3374cc8cd399c0e05146c49fba (commit)
via 98e1b3e3b904aca13666570f9480066f01984daf (commit)
via 79b7922fc17b9346596842f51f44c2e68d8c661d (commit)
via e01d62fba5477f54d9006c2564ce56bc31b528f7 (commit)
via e78df53764c2576f39a433ed9f16d270f11e1b05 (commit)
via 6aa27e60ba114f43a954ecbdce9d453820bb0c3b (commit)
via fcb4486c32cb089362753f42c4e69ddb2aeee705 (commit)
via cbc30f137ef95dda9cfbe90eeb6292b9fdb0da69 (commit)
via fd4055ffae259ee2fba5f72815cf75248c390b7b (commit)
via 2de479a0d3895e50183c26da0e944e97162f8d77 (commit)
via c924dcadcc124916a66a6be127f2497d6c344dec (commit)
via e5aaf6c59e348c9d60da72430515331c6c5d78b5 (commit)
via 38111ce2b47bd1f264cb2277bed98d805c9409eb (commit)
via c9cc9c87624c1bae7142f51e60ee7b1e5bb809c3 (commit)
via 977adf676265eb8e95937f460ed1367ac3fa5243 (commit)
via 498e378f5881fface67d173c61157b79d90c9e94 (commit)
via 16540c30f32aa30d47da6b37e615690d413132b5 (commit)
via 7c735c52439c48a29d3134e5dd2edaaa4ece1014 (commit)
via 090a3b218c31d6ba6b0e024900c202521d0fc9d2 (commit)
via 5e822075fe22a30273fd1d7c022a505f431143f4 (commit)
via 74e473fce37a4878125cd2349c8f1e53c6a49524 (commit)
via 015704d8af3b78a854642b644272e45364460814 (commit)
via e3bcddc63ce53326ef669767f0ee07e2a72921dc (commit)
via 3d28557b9f6e7cab7e866dc110760138732ffbdf (commit)
via ce8f6839406886f538ebd6ee51d3f3284cb897bb (commit)
via 3e055341eb89d240696f0dfc11bb5b54fce74b18 (commit)
via 3972f1e1ea009b10db4755feedbb551f34bde511 (commit)
via 8bd1fcdf1816cf66db7a7f3bc8eea1676334c263 (commit)
via bd3d4bb07efc149f8c56b1dd5c3e373f56fc56d5 (commit)
via 1b0591b2496b8a4938cf59a206a55e6a158b9dd1 (commit)
via d8c11845465f076c6ae8078d2e8fb7c1d31f1181 (commit)
via 01a16f9b83c29db2c63106bbefeb505cbac17bd4 (commit)
via a52b670457afc94e7355e632f3b3d6a583f25bc1 (commit)
via e96bd93d436e464a532a7e1161e1d201c9fc50c7 (commit)
via b2851906d6c59f38b5db1ae7d721d2cbeca8d8d0 (commit)
via b9de126054c8742203f08a94d43c5dc366d1602d (commit)
via 2035b9113ceae4472a9940942dcf12367f1f9c2b (commit)
via 43dfd31eb5b4c9478ddc1ce76df06c60251eafcc (commit)
via 1f6b2f52a0c610d72b384a96f53ad4cd5d8d5268 (commit)
via 509ca9a81d12cfdf95acd361483da5a77bded285 (commit)
via 871d76f17d4bcd93091c4203af28dc9c096d8abd (commit)
via 443a6353c89a7f4aeaab7466929f8084b3d1b14b (commit)
via a2c0323a2aaa911c3f6ff83ec79bd12e8f911e3a (commit)
via 9e804a6dbdda1b9f7d4df77863222d6a0a0a0155 (commit)
via e88e2dd9eb982a0c4291717ba6b81819bbfb168b (commit)
via 7ff4a059e681241ecdda3b0a1450bfeef889f13c (commit)
via d6cc6800612b4117f54756e4d5eac728def2bf26 (commit)
via 27bdd355796758e81d43f4cd20ecc6712bfa0402 (commit)
via 41c04933225dc7c247ee408ce480f244cc8f5757 (commit)
via 41df4d44de4daadaddecac7269bab5a21e03c524 (commit)
via fc3a9b20804d763b71524e66e3908c631862d8b7 (commit)
via 35b8b551d217d3ee4af7711cfa9a1bce6c8817df (commit)
via 03f93a192577b51399c08a0a55cbb572d7b434c6 (commit)
via 66e7a4aacb8d043f7cdd06570310771234794704 (commit)
via bbe463b1028d93bc13fe25690f49f4e9883f9b4a (commit)
via e36ce674726ad929c0ca19c64638410763721f90 (commit)
via 8365ea4b9616d0d315bb29db42ac52cf9de6bb0f (commit)
via 0666c31aeb21d0b9529e80d0fc15aadb826215ca (commit)
via 1c629fe0eed5d3e4600680bed64f65e61756485f (commit)
via a99f51c0fa659b4f38f12629d8496159f41432d9 (commit)
via 53a0055fe28139eef927892739fdddd2429f5b9d (commit)
via d2c197313a0deae442c82411a5a8a96d6275c9f9 (commit)
via f14c4191dd9a911ebe3ea38226e520b3d56faae3 (commit)
via 697b258f3efaedff028acc1666d85815cb9992f7 (commit)
via 0e03af0b3d2c1b5a7dc1221ce7faaedb5d74b661 (commit)
via e208dc684db1f93757ac121b34cad674a1bdb0ac (commit)
via fc5614933398444e17750828f26d8fec0e19cfc6 (commit)
via 1a0cbf6a950399c9be396743effc2404829b2c35 (commit)
via bd8fd7b1a8cbb4719c183f1f2ad4d3d3fe6f5951 (commit)
via dc0a67a97aa8fdfffeeb359479399839ca01f66f (commit)
via d25b4446a3b22bcc5ee22538110d9f757c9ea357 (commit)
via 72c65c04409a5d56fca71a7cff99f3be3bfda4b7 (commit)
via 13927d4d6c57e85b4b8b7857841d2732725e0f31 (commit)
via ddbe4ab3e82af4c6428c6e51d0ad87e9a0cd5725 (commit)
via 726511398209b80fff22e2faf2919c9d986a488b (commit)
via 247bc0e2ba807d03e92efae4bda12a0f0bbe1d49 (commit)
via baca768db0617f13b0c0fb2ae8708c9ba1db75eb (commit)
via 0b2e20369678b2abe472bfbd4aa6e2e46b8c9f9f (commit)
via eecd1738518f4743b077307b4ee1a0074f68b3c8 (commit)
via 25442e5d273c6a5d4f377f76bbe59818d10a42c2 (commit)
via c806ceee16e60ca66c913b5aab75465e7aa2353b (commit)
via 8f769923bc4fbed4505cd8f95a12f18bfac1ab1d (commit)
via 5551633e4eb834bbbeca0d5aed10f06fbb760ef8 (commit)
via 701c95b4752dbb1b4274802614e4ea2f97b3cbb9 (commit)
via b4ee248cdfba33a2cba64fb69b2c6a648be263d1 (commit)
via aaa84d8871b7689d7e5645d6cc38b23f38da3e3a (commit)
via 1b76ca4e895073686a1b31a843d1ba9ea53d135d (commit)
via 5d24fb4bf68a5a73461b907ebf9bad9e23bf3a96 (commit)
via 44ed4ae0cf0931d8fbecb54c2a86ae90d3ea8f36 (commit)
via faf3483c1c5635d0b472c324727f397c61048177 (commit)
via 9516b7a27cedfe824ae545c0161b21de45f9c9fb (commit)
via d5b583e5512d6f0a143a21c385d9d8d08e0d5079 (commit)
via e910d5726b76ab0fae4495cd5f33e7060590959e (commit)
via 3e604179f7b76e194ea7a79431dddef0e97bbbe9 (commit)
via 96c6499e6b3dde9651f70ea25cd354af99a80e0e (commit)
via 1e0435b3cbc08fc411e0a9e1f5c1ee53151949d3 (commit)
via fc04c708f7c1c4375875f8e06a5631b82b5af8e4 (commit)
via cda9acf77fb97221988b2f83187d9b0a2dc2d607 (commit)
via a02b304ffa088189966503bbcdf62e0bf818cd68 (commit)
via 948bd7ac017364916424806e5cd39d211affe407 (commit)
via e6c081ab2f37103e33d261618ab01650a55d9ae0 (commit)
via 19a4647775865fa080f1ed49a0c8808bb3cd0a95 (commit)
via 4eda3517ffa9b4e851b9d0dcbb25d6bfcc51a27c (commit)
via 65e40143146022fd4108a157f530621485cb7579 (commit)
via eb5054e1dfa1e34230d869ab8cb03b8aa7688352 (commit)
via 7eb9f7cdf7c1709fd10ff1f3a82024a9057c9064 (commit)
via 0545281e8e0aef7222b6f943f08e3009ef76ebc6 (commit)
via bbd07c787c959329c2fac126ca3764b396e433ec (commit)
via 59c3faf79f0d90ada48a0e25824580fb893c9215 (commit)
via b9df7c1ff924c3d7f7e4783e9341f69772e7b425 (commit)
via a3b8b6081b8f0f16dea038650304a6e616f9a407 (commit)
via 71b5ed0e704389fb61b66e594e579227396e1bd4 (commit)
via 42dc318b93acb03e063d7424e8f8a25fba7ae999 (commit)
via c1b86fa4506e494ba59c57607e4e25f73a365242 (commit)
via 3764736da1c709ee6a22a2c883deaa1806273aa1 (commit)
via 21082d0188b4d2ca2b7b48278c29616938d9b369 (commit)
via 7789d22fc045990a6bc829bef593c59726514a23 (commit)
via d3592bbe6f1b875db9c821bc06450551c532f701 (commit)
via 45cd7fd280c0daff217c42b33d622b873c93d2c7 (commit)
via 70e06204b839e470bc79f1a4065f1ecf63aa00f3 (commit)
via 37c6ec6e800d6fdede5e0bcaca7c2e3b438487c4 (commit)
via 6549087748ddfe99225a2d28f469753796c19f9e (commit)
via bd85279e053f624e366420b43eb3a118403b9d3e (commit)
via 54bd79e416a1489e6f3c2f7365c9fd295a098baf (commit)
via 198b669079cab819db9e36cded9069238f62c09f (commit)
via 09c74408fdb1360ccf21fbf4a2a6e9f09a5707aa (commit)
via e00281e7cc90a470a74a48de6b5c56d090a6d30c (commit)
via cc75345bbbf80985832f1f9cc7bfeb95d24933f6 (commit)
via c89cae7d2cd3bfdad3da696b4982a74267f7a0b8 (commit)
via a7ef2f50a32e165106a8d18e647109a8fb7c93e6 (commit)
via ba7db65593cb622d355ad79fa54b8cd0f90e7891 (commit)
via e5e191fe328762c5b28347757bad8e4199b64ffa (commit)
via f3376895828a4a9c22219157263ebf2d404b0a91 (commit)
via c59900b8ae833d5609778c3146b3b5e3e3eee59c (commit)
via cf68143bd769ff38e29dde56f2722f2d2fbfd9b9 (commit)
via 99b55bf531b2074c61c3ef998ee6a2ee0a952803 (commit)
via 23f2f70f1cb461808f1eb03f334a3488d5fb5c32 (commit)
via 12bcab2df52ecd5f129effe097084439334dcd98 (commit)
via eaae37beaf518a830507c48e08cf697b1906f7b9 (commit)
via ad39e0ec36b790b5a89561020696bbd6a710ccd2 (commit)
via 65d3c8db4b5e4607207ff13b78eb2abcc2142a3c (commit)
via 6e72c8173f39533e63fc04d9acb967bac9d82cbb (commit)
via 463a91fa1befff4bb9c9bda3de8f05d8df2d5f9f (commit)
via 8e39c12ce0096231dbc16acdbf6df0174820de1a (commit)
via a632f2745ddb14160c9578576b73bc8d094a8255 (commit)
via 9872795f680219a31da598a98e8fa3923d282fdb (commit)
via 002321cb4346e33a09da28900062e308d6935d3e (commit)
via 1b5974a46c7357fb9ce020354bfe5f42422da291 (commit)
via dd719f6543bb928eb8ded7d4b185fe4f93065f52 (commit)
via 08b2773ea95d8fb09a7dab5838f86f6e24b03bfd (commit)
via 1f8a1ced4eefa4c6052a3e4566781527373eff45 (commit)
via 39b93559981072aa31534d1a5496fa920e8fa694 (commit)
via 97fbce91e3152a8ba19a3fbb1b15611a32c7c113 (commit)
via 0388c14511bde6c7d2c086c6c93d22cc69aef2bc (commit)
via 17a248fd23bee0530a5417f7cd2419b827db1a4b (commit)
via f1d35dd9d4615cb02ff48b05de00ebad807a55a5 (commit)
via 3af10bda37f027413b31561ef063165d1b416920 (commit)
via d7f3b78e654fd97148e6f2eceb0a1827266e282c (commit)
via 736fc81225cf5e9d13fe9bb1f393d9ec26819db2 (commit)
via 51bd2deaef08de7eb7e0ae200df9baa4151b5c78 (commit)
via 6896f9db9842dbc4ddc5a2401848067ad039a627 (commit)
via feb14741659989cbdad1195948746198e21f0f11 (commit)
via df6fe63921e065f17ba6ca430bfa9dfb9ee333ee (commit)
via 019f1dcb8e8bf4b76bb0a99541cf2b65645ffd4c (commit)
via a87f362139de1b284d4e87e5458c3c48bab0fb21 (commit)
via 0fa3f7cc26157ac4472ce52eaa198d711c51b551 (commit)
via 50572d76286baf04e29e6a1ee1a88cb3159790da (commit)
via 9938efe5ad66a33424c21a110e862f5695adce67 (commit)
via 39053f2aadca35cad2917c6460afa1dce6fb426b (commit)
via 42b99600f648a2cf79c57fe9212b7fa3ec27b17d (commit)
via 32877fa14d5a882ebe1865afbd73bf13e7a9aab9 (commit)
via f8df54137e171da39264f0ef32a4adbf2000161a (commit)
via 9b3fb4795fec483c99e91f836f8d634116000321 (commit)
via c5d1f18a09fd38f3bbe26f5b8049c8d9f914fa52 (commit)
via 0da462514a01205302e1a34bd9cdfc7bec87b814 (commit)
via a92d1f522c964f92a465fda2a4af5a509def0312 (commit)
via d36a05d0bccfa05c14e22197b8b5e06000f675dd (commit)
via c6bbaa204f6aca87078c870466761f04bb36a0ea (commit)
via a2e6198cadbfd940db8b50e9fef50294f6bf25fe (commit)
via 5ed8be30e764e729919164b12784e80bef77f302 (commit)
via 1761ba0c97ff6bccef2782e1e77ba279d1cf5c11 (commit)
via cc2c1c5ed956746392329459e5beb03a678d7e5d (commit)
via 4b4293e11bea784251c1f79f602b67490cff5953 (commit)
via 148115edb5c4eec8878fa00c655e962b1fdf4c8d (commit)
via 6801e5babd27618f3f7cf5ee8143c7b0d13d3862 (commit)
via 67f9c41cbb1585e0b21a4537595212818edb9efb (commit)
via 241c8df0d023dc1ded9f17f494f2901ad663ad23 (commit)
via 1666412afbfb0047bf0fb2f7e5789494eeed44f8 (commit)
via f9ac4527d2df88424339547974ccd98f555eabd0 (commit)
via 4086827107e84381671622c3746a048e5602055c (commit)
via 96acb16dacdae1ae277aeea711fd4fd1dcf4eaf7 (commit)
via 1a3082e4dffdbf98f4a9bede181735c36e510223 (commit)
via 087fe6925604f570e5d76fc10eabfde86055e763 (commit)
via f7e02539f004cecc1e1b9c16b4b443baa484109b (commit)
via e2e9b60ef5f95a4f8b7bdab4f1922b9e3617575d (commit)
via 3d4b8de1118d11f3fba810cf9be1dbd941cddbf3 (commit)
via cbc4a2683feb99c690e4f41627ff7b4df59ca3f9 (commit)
via fad9fb9bd7870eb140837f02f1b0e687d8f7cade (commit)
via 599605f7c08e801f021fca2163079afb241c0d8f (commit)
via d9cc39f4a4fc3f3cf5b8919d9d7fd0b73783e7a4 (commit)
via 8d3dd301593ef5feb294bc8434ce6e3ba4552c5e (commit)
via 4a705f8ebf92bdb609f9f646f3c778cdc4f7540c (commit)
via 347360802c4c0f6759c17045360860aa8e0c2c11 (commit)
via 101d1bb40a3a0c351958ed83a05806e2e321854a (commit)
via 872968e1e52b2b744e3a5052f5d0b6aa7dc68704 (commit)
via 0dc9272220731b257a486fbd281b95675514247f (commit)
via a425ee983f929c2134927c8a235199ec6b899675 (commit)
via 7664bfe257d4bee3a1f696facd497ded6a805315 (commit)
via d4a378a374397853706869ef228fe0f8191b084a (commit)
via 6467f5f67af3fe69744036bcd3b0c73a5a3603b3 (commit)
via 5a9e0bb7362dbc7c9f3c79c0255b3320ba05d61e (commit)
via 73d034aaf99d2209f896f2ceb44b72446823171e (commit)
via edfadd954104a9d009b704da80def8a4742915b4 (commit)
via fb5f336f82d2f4c9eed6145bd375321c218b900e (commit)
via 0841c58749487476324f0fa6f85cfb9bafcbaf3a (commit)
via 770fbfc9f852dd13f6def7691e8b3628087fc4c2 (commit)
via 57322b04052a09639743028202f044de535c1573 (commit)
via dabdd767bb62b8b3c4639457146b3e8ceabf7c13 (commit)
via f748341d80977aa9e8a58e4d91e51a149ec1ead9 (commit)
via 653a370438a97583acbcba547a38b4e695ec9a8e (commit)
via d960a57a7a7f078bd368f94ce85dcab7e8e8ad80 (commit)
via bd4c612a629d300afed1c0afb58211fe19695d30 (commit)
via bce1353c0ea2ed233d6e3bbdae247b7c3cfbddea (commit)
via 177b9b11e6f7ab2ff52769ceb713d2a0b97ce927 (commit)
via cbe26203b8502fb71be7def3fa565e5a211e774c (commit)
via e2a5ecd6aa1e641e91b300313632e81ff42ce5de (commit)
via a507cf83630f3a3c2ef420c6f8faf76a8a0bccdc (commit)
via ed2e0eaed5e8af11577906117afca134130728d5 (commit)
via b4fe2f969b901074838e5568a9616d99b4c6395d (commit)
via 4b1602ddf732532c57b33846ecef78be85ad6cef (commit)
via 207b0656c0cffc346c66f9902a5f8383660119ab (commit)
via 7a050675b6fa1e0bc4253f0aa9a932b7be30e642 (commit)
via 7b8b56ef08e29c9682d55d7ae7f0d9aa298c5c88 (commit)
via 8306bbc9d35decd99c2725bb0791223a9d31b9ac (commit)
via d894605ef5e3d81db1507a3922021cda89185b0d (commit)
via 1ba448ab517636e49486f386402c4418f820af30 (commit)
via c5dd3d47b3b1a8d357d9c32599078693920a3536 (commit)
via 33a4b168bf0f3ea93d8b756a3850ef748e8974ab (commit)
via 7e99d8462381c0ce61012a9755bb3d50c1666187 (commit)
via 1cc8215b5a4462d5b955e5ce6885bef3bbae19bf (commit)
via 817bc5b0aa475966abfb592dba5de3300016c22e (commit)
via 608e5eccf38ba0fbe113bfc47f08a051c3d1a9e3 (commit)
via 76993b3415743a4bb46d80aa10af8754cdb93a7f (commit)
via ae7f3bbb9fed17d911cd402f26077b9caca2a03d (commit)
via bcf5c9e38ad8f5f6b9756bba70d1455528efc80a (commit)
via 50825096ebd1289bf855f473cc751e0c77439df6 (commit)
via f9751e10cd9fab917e8963056811ddd012f82563 (commit)
via 1b0665319b05e99eb1f5bd4a5e4bbd8f0bf40c88 (commit)
via 1d53f417761af933617b907b5c624034651e1812 (commit)
via 16617b5f89535364fa7b12f5578d669cb68fc9a9 (commit)
via d048c126aeb0039fea034c7ff0521d2d8f5cc72b (commit)
via 7fc923bb52d279963790ffe74be3be6dc45d1190 (commit)
via 4770af5e2f3c3042ecaa1be33f2864d0c64749bb (commit)
via 6b25dae901ddedb3f330803542d3eac73cdcae4b (commit)
via d28b4a8d577ec45eea6136711e380f3c9dff0b58 (commit)
via f8dd26f1a5f57c45274f13ee6950ade0382e7155 (commit)
via 2793605d9bb13dbbb3d73b4a2bc4497aaa5bb182 (commit)
via 6f094a7631ce53c88c1454f5dac26473ed0312d6 (commit)
via 243a8189577dfee5d11924750bfe0a2024963e88 (commit)
via 98486eff86243307ae5c2c5beb6494edd0bd2219 (commit)
via dfeab3ef16ca6d5c2db720b26030855f172dd240 (commit)
via 0e28d5962edd389b9a312d27bb2e4860e83873db (commit)
via fe278cba1c38983618d12c7ef97040ba24043ba6 (commit)
via 763eb81a7df31394239f1e8e2f020beff9089cff (commit)
via 3b7c7af67b57482c437c4e3105119f380624547b (commit)
via ebea35a6c9fcbe39e6bc71925fbe4c5dc4fa2175 (commit)
via e1be38d26431f8f00bbbe782b5c3b9f2f00eca10 (commit)
via 2ed1c04f8d7c53405eead13f9f11c7478c3ee411 (commit)
via e1c80caf88b4b321bdb11353dd5ddb7b092fd3bf (commit)
via 50c4866178fc38a24bb03318019d6eea064658cd (commit)
via 252bf8675075ff9aeb334e751c95b4054178de6e (commit)
via 9f8dcb69d91a9850b4db6e17fc3fef53bb2ef850 (commit)
via 0368927dfbb44a481c95945d3db9ea33604e5287 (commit)
via b53c0bdc3ff25a4f10727642ffab066a56806b8e (commit)
via 230d65ceda682d831b0c5f223c2a96856b15a424 (commit)
via 437f6c01301c4b7e1a57a1ace6b42c6275f1f2cb (commit)
via 40a4235fc944b72b46570509774f9b12e3c91619 (commit)
via 408160ddf788972cdee8be708eeb5359b1a6dbb4 (commit)
via 180315dc45822dbe361d786314f62418602f8d61 (commit)
via 32ff1b70e6dc37fdfc763f7439da3fadd76341f4 (commit)
via 2687c63e29f04bf78069a571f4207f09b23e1e9b (commit)
via fad14e531b1fa96211beac28557d7fb5d42a8b80 (commit)
via 292e3cf2114468e2765ad94f5ee4936a43fbaec6 (commit)
via d037fce6032953d6ef7cd68f8bf40de63b4b1c14 (commit)
via d1f8a7d8754154677a7a2ca82e87c30c121da09e (commit)
via 935df068d85ef87ddc2143defcef3d146bc25310 (commit)
via 0442a0cc085516276e3e40f674d7f2c2b2e8b933 (commit)
via 3576f33595d9226c324bd0dc1e5a33e75fc03c73 (commit)
via 201e18ad00737a6c18d8f07d040747c9305c4c86 (commit)
via d63ee17bdefcc06c7f15ac49b98fc339337cc5df (commit)
via ae7a4cc898f02f065634191e684770243b9e4a33 (commit)
via 3aad49efcd9ebb6f095b5709e8af8c153827aca5 (commit)
via 653e616fec9e34da17c5690b29f9547ce6dc7164 (commit)
via f6eae574276bf92f47958a775f1bb73c79d3bb89 (commit)
via e18303882e1da2e4d72062566a5f87da210bdf5a (commit)
via a9428e895bfba1ade2d65d4387c8740c0eb3f930 (commit)
via 195ef68546042c7773c099d522a7aee18e74dd76 (commit)
via 53ee74f6c873e80ccd1e3a94d357682d16ba08c5 (commit)
via 850235df1538403de0b57f544ffd2248e2da59fc (commit)
via fcd5b92053c6b4cd056601468296350a78aa7eb4 (commit)
via 14c2e89c3b86575c3772143226c76254c8d95384 (commit)
via fea64cbea84258ee743f476e5a4c76c3c5828840 (commit)
via 5b67492560729e57a7f79cf957630bbc7d872f33 (commit)
via dbaf4ca0d5082430bed1b81b0a068f5f5c663af1 (commit)
via caac1820ce47e1fb4fc0a850d90235ed2de9021c (commit)
via fbb5ceb84ea8e4014455e28a898ab20cb4c978a3 (commit)
via 7975cb28cfd41a69ae9a53bac8aa768873ce74a7 (commit)
via 2acc53b1f290336beebb97183f5b1e3cecb01024 (commit)
via c6a096ee35dde11ab7e29015020753927b187e6d (commit)
via 31b670129ef6711fe28d662d6a33bff2917be00b (commit)
via 016bc089251710e1716be262f1912d855e05e69e (commit)
via ef3ab4fe339a884008590c9e077ee4cf239b4451 (commit)
via 77d5e436147ae010332cdc2b842ec886911272f3 (commit)
via da13b6d5db0dc0ed99824146d4dd7bb905fcb199 (commit)
via b70354e609845944165b8eac38eeac9321bd155b (commit)
via 626d21bf61b37cf35c649010dcfe70ba1c19a517 (commit)
via 5f6b47315bec4bd44f35c6f8c30966f3fda8250c (commit)
via 27d8c7140e9f770cc7cbe89bdfea94578d0fddcc (commit)
via 1f2a8ea3880f3089cc3b66fee1fa176cb871f930 (commit)
via 2a0e19863fe6f38187fea806914e2e6b6c075f65 (commit)
via 38f1a9d6323b37c671a071eacd58916fb4e090cb (commit)
via d481b68a28c3881a7151a740e838adbff4ccb66f (commit)
via 228c8e280e5ca738d6cea78a528bb921673cec6b (commit)
from 6b68302fdcbfeddf389ed157983c5290eb16ebd8 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit 9a69bda0fc0ef06691832741b0559faf96a094ac
Merge: 6b68302 7a9088e
Author: Phil Muldoon <pmuldoon@redhat.com>
Date: Fri Apr 19 12:28:57 2013 +0100
Merge remote-tracking branch 'gdb/master' into pmuldoon/python-backtrace
commit 7a9088e93d91fb5f872465cb6238fe346f68911a
Author: Nick Clifton <nickc@redhat.com>
Date: Fri Apr 19 08:12:30 2013 +0000
PR binutils/15356
* compress.c (decompress_contents): Always call inflateEnd, even
when another inflation operation fails.
[Note - the actual patch to compress.c was accidentally committed previously].
commit 8971f489b0f0e28e401c18844d6c679ffb9b6f6e
Author: Alan Modra <amodra@bigpond.net.au>
Date: Fri Apr 19 00:00:04 2013 +0000
daily update
commit daebb5ec91791a8a577a02c5f5857d5810de684d
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Fri Apr 19 00:00:02 2013 +0000
*** empty log message ***
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +
bfd/ChangeLog | 359 +++
bfd/archive.c | 2 +-
bfd/bfd-in2.h | 4 +
bfd/bfd.c | 15 +-
bfd/coffcode.h | 6 +-
bfd/coffgen.c | 8 +-
bfd/compress.c | 7 +-
bfd/doc/ChangeLog | 10 +
bfd/doc/Makefile.am | 6 +-
bfd/doc/Makefile.in | 6 +-
bfd/doc/bfd.texinfo | 20 +-
bfd/elf-bfd.h | 39 +-
bfd/elf-ifunc.c | 27 +-
bfd/elf-m10300.c | 8 +-
bfd/elf.c | 38 +-
bfd/elf32-arm.c | 33 +-
bfd/elf32-avr.c | 151 +-
bfd/elf32-bfin.c | 12 +-
bfd/elf32-cr16.c | 8 +-
bfd/elf32-cris.c | 8 +-
bfd/elf32-d10v.c | 4 +
bfd/elf32-dlx.c | 4 +
bfd/elf32-fr30.c | 4 +
bfd/elf32-frv.c | 4 +
bfd/elf32-h8300.c | 223 ++-
bfd/elf32-hppa.c | 14 +-
bfd/elf32-i370.c | 4 +
bfd/elf32-i386.c | 7 +-
bfd/elf32-iq2000.c | 4 +
bfd/elf32-lm32.c | 8 +-
bfd/elf32-m32c.c | 4 +
bfd/elf32-m32r.c | 14 +-
bfd/elf32-m68hc1x.c | 4 +
bfd/elf32-m68k.c | 8 +-
bfd/elf32-mcore.c | 4 +
bfd/elf32-metag.c | 8 +-
bfd/elf32-microblaze.c | 8 +-
bfd/elf32-moxie.c | 4 +
bfd/elf32-msp430.c | 4 +
bfd/elf32-mt.c | 4 +
bfd/elf32-nios2.c | 8 +-
bfd/elf32-openrisc.c | 4 +
bfd/elf32-ppc.c | 152 +-
bfd/elf32-rl78.c | 16 +-
bfd/elf32-s390.c | 9 +-
bfd/elf32-score.c | 4 +
bfd/elf32-score7.c | 4 +
bfd/elf32-sh-symbian.c | 57 +-
bfd/elf32-sh.c | 16 +-
bfd/elf32-sparc.c | 4 +-
bfd/elf32-tic6x.c | 9 +-
bfd/elf32-tilepro.c | 8 +-
bfd/elf32-v850.c | 12 +
bfd/elf32-vax.c | 8 +-
bfd/elf32-xstormy16.c | 4 +
bfd/elf32-xtensa.c | 8 +-
bfd/elf64-aarch64.c | 152 +-
bfd/elf64-alpha.c | 7 +-
bfd/elf64-hppa.c | 10 +-
bfd/elf64-ia64-vms.c | 7 +-
bfd/elf64-mmix.c | 4 +
bfd/elf64-ppc.c | 280 ++-
bfd/elf64-s390.c | 9 +-
bfd/elf64-sh64.c | 4 +
bfd/elf64-sparc.c | 4 +-
bfd/elf64-x86-64.c | 47 +-
bfd/elflink.c | 380 +--
bfd/elfnn-ia64.c | 20 +-
bfd/elfxx-mips.c | 38 +-
bfd/elfxx-sparc.c | 5 +
bfd/elfxx-tilegx.c | 8 +-
bfd/elfxx-tilegx.h | 4 +-
bfd/libbfd.h | 1 +
bfd/mach-o.c | 6 +-
bfd/mmo.c | 40 +-
bfd/opncls.c | 23 +-
bfd/peXXigen.c | 2 +-
bfd/peicode.h | 52 +-
bfd/reloc.c | 7 +-
bfd/som.c | 4 +-
bfd/som.h | 3 +-
bfd/version.h | 2 +-
bfd/vms-alpha.c | 6 +-
cpu/ChangeLog | 6 +
cpu/lm32.cpu | 4 +-
gdb/ChangeLog | 2468 +++++++++++++++
gdb/Makefile.in | 80 +-
gdb/NEWS | 143 +-
gdb/aarch64-tdep.c | 10 -
gdb/ada-lang.c | 46 +-
gdb/ada-lex.l | 44 +-
gdb/ada-tasks.c | 6 +-
gdb/amd64-linux-nat.c | 51 +
gdb/amd64-linux-tdep.c | 52 +-
gdb/amd64-windows-tdep.c | 12 +-
gdb/arm-linux-tdep.c | 4 +-
gdb/arm-tdep.c | 36 +-
gdb/arm-wince-tdep.c | 14 +-
gdb/ax-gdb.c | 126 +-
gdb/ax-gdb.h | 11 +-
gdb/ax-general.c | 3 +
gdb/ax.h | 17 +
gdb/bfd-target.c | 2 +-
gdb/block.c | 5 +-
gdb/blockframe.c | 12 +-
gdb/break-catch-throw.c | 597 ++++
gdb/breakpoint.c | 393 +--
gdb/breakpoint.h | 7 +-
gdb/bsd-kvm.c | 2 +-
gdb/bsd-uthread.c | 2 +-
gdb/btrace.c | 543 ++++
gdb/btrace.h | 142 +
gdb/buildsym.c | 1 -
gdb/c-exp.y | 244 ++-
gdb/c-lang.c | 2 +-
gdb/c-typeprint.c | 4 +-
gdb/c-valprint.c | 14 +-
gdb/charset.c | 13 +-
gdb/cli/cli-cmds.c | 49 +-
gdb/cli/cli-decode.c | 128 +-
gdb/cli/cli-decode.h | 2 +-
gdb/cli/cli-script.c | 17 +-
gdb/cli/cli-script.h | 6 +-
gdb/cli/cli-setshow.c | 95 +-
gdb/cli/cli-setshow.h | 6 +-
gdb/cli/cli-utils.c | 4 +-
gdb/cli/cli-utils.h | 6 +-
gdb/coff-pe-read.c | 48 +-
gdb/coffread.c | 92 +-
gdb/command.h | 54 +-
gdb/common/btrace-common.h | 73 +
gdb/common/format.c | 9 +-
gdb/common/format.h | 2 +-
gdb/common/gdb_thread_db.h | 445 +---
gdb/common/{gdb_thread_db.h => glibc_thread_db.h} | 89 +-
gdb/common/linux-btrace.c | 610 ++++
gdb/common/linux-btrace.h | 77 +
gdb/common/linux-ptrace.c | 38 +-
gdb/completer.c | 46 +-
gdb/completer.h | 12 +-
gdb/config.in | 3 +
gdb/config/alpha/alpha-osf3.mh | 1 +
gdb/config/i386/fbsd.mh | 1 +
gdb/config/i386/fbsd64.mh | 1 +
gdb/config/i386/i386gnu.mh | 1 +
gdb/config/i386/i386sol2.mh | 1 +
gdb/config/i386/linux.mh | 3 +-
gdb/config/i386/linux64.mh | 2 +-
gdb/config/i386/sol2-64.mh | 1 +
gdb/config/mips/irix5.mh | 1 +
gdb/config/mips/irix6.mh | 1 +
gdb/config/powerpc/fbsd.mh | 1 +
gdb/config/sparc/fbsd.mh | 1 +
gdb/config/sparc/sol2.mh | 1 +
gdb/configure | 548 ++++
gdb/configure.ac | 66 +
gdb/configure.tgt | 12 +-
gdb/contrib/ari/gdb_ari.sh | 7 +-
gdb/contrib/cc-with-tweaks.sh | 2 +
gdb/copyright.py | 1 +
gdb/corefile.c | 3 +-
gdb/corelow.c | 9 +-
gdb/cp-abi.c | 43 +-
gdb/cp-abi.h | 27 +
gdb/cp-namespace.c | 5 +
gdb/cp-support.c | 10 +-
gdb/cp-support.h | 4 +
gdb/cris-tdep.c | 18 +-
gdb/ctf.c | 1849 ++++++++++++
gdb/{gdb_regex.h => ctf.h} | 23 +-
gdb/dbxread.c | 46 +-
gdb/dcache.c | 24 +-
gdb/demangle.c | 82 +-
gdb/disasm.c | 4 +-
gdb/disasm.h | 1 +
gdb/doc/ChangeLog | 198 ++-
gdb/doc/Makefile.in | 122 +-
gdb/doc/gdb.texinfo | 1513 ++++++++--
gdb/dwarf2-frame-tailcall.c | 4 +-
gdb/dwarf2-frame.c | 2 +-
gdb/dwarf2loc.c | 148 +-
gdb/dwarf2loc.h | 3 +
gdb/dwarf2read.c | 2227 ++++++++------
gdb/elfread.c | 44 +-
gdb/eval.c | 55 +-
gdb/event-top.c | 3 +-
gdb/exceptions.h | 4 +
gdb/exec.c | 4 +-
gdb/expprint.c | 5 +
gdb/expression.h | 11 +-
gdb/f-lang.c | 3 +-
gdb/features/btrace.dtd | 12 +
gdb/findcmd.c | 20 +-
gdb/findvar.c | 38 +-
gdb/frame.c | 4 +-
gdb/frv-tdep.c | 8 +-
gdb/{gdb_gcore.sh => gcore.in} | 9 +-
gdb/gdb-demangle.h | 3 -
gdb/gdb.1 | 403 ---
gdb/gdb_bfd.c | 88 +
gdb/gdb_bfd.h | 20 +
gdb/gdb_regex.h | 2 +
gdb/gdbserver/ChangeLog | 113 +
gdb/gdbserver/Makefile.in | 18 +-
gdb/gdbserver/ax.c | 4 +-
gdb/gdbserver/config.in | 6 +
gdb/gdbserver/configure | 13 +-
gdb/gdbserver/configure.ac | 9 +-
gdb/gdbserver/configure.srv | 6 +-
gdb/gdbserver/gdbserver.1 | 116 -
gdb/gdbserver/gdbthread.h | 5 +
gdb/gdbserver/inferiors.c | 3 +
gdb/gdbserver/linux-low.c | 58 +-
gdb/gdbserver/linux-low.h | 6 +-
gdb/gdbserver/server.c | 178 ++-
gdb/gdbserver/target.h | 29 +
gdb/gdbserver/tracepoint.c | 71 +-
gdb/gdbthread.h | 4 +
gdb/gdbtypes.c | 24 +-
gdb/glibc-tdep.c | 11 +-
gdb/gnu-v2-abi.c | 6 +-
gdb/gnu-v3-abi.c | 245 ++-
gdb/go32-nat.c | 4 +-
gdb/hppa-hpux-nat.c | 2 +-
gdb/hppa-hpux-tdep.c | 77 +-
gdb/i386-linux-nat.c | 51 +
gdb/i386-linux-tdep.c | 30 +-
gdb/i386-tdep.c | 521 ++--
gdb/ia64-tdep.c | 4 +-
gdb/infcall.c | 6 +-
gdb/infcmd.c | 19 +-
gdb/infrun.c | 5 +-
gdb/interps.c | 3 +-
gdb/jit.c | 29 +-
gdb/jv-lang.c | 11 +-
gdb/jv-typeprint.c | 5 +-
gdb/language.c | 3 +-
gdb/language.h | 3 +-
gdb/linespec.c | 138 +-
gdb/linux-fork.c | 6 +-
gdb/linux-nat.c | 8 +-
gdb/linux-record.c | 544 ++--
gdb/linux-tdep.c | 36 +-
gdb/m32c-tdep.c | 15 +-
gdb/m68hc11-tdep.c | 8 +-
gdb/machoread.c | 13 +-
gdb/main.c | 39 +-
gdb/main.h | 6 +
gdb/maint.c | 302 ++-
gdb/{gdb_regex.h => maint.h} | 27 +-
gdb/mdebugread.c | 75 +-
gdb/mi/mi-cmds.h | 2 +-
gdb/mi/mi-interp.c | 9 +-
gdb/mi/mi-main.c | 49 +-
gdb/mi/mi-parse.c | 41 +-
gdb/mi/mi-parse.h | 2 +-
gdb/mingw-hdep.c | 14 +
gdb/minidebug.c | 2 +
gdb/minsyms.c | 90 +-
gdb/minsyms.h | 38 +-
gdb/mips-linux-nat.c | 6 +-
gdb/mips-tdep.c | 48 +-
gdb/monitor.c | 2 +-
gdb/monitor.h | 2 +-
gdb/moxie-tdep.c | 85 +-
gdb/objfiles.c | 77 +-
gdb/objfiles.h | 26 +-
gdb/opencl-lang.c | 13 +-
gdb/p-valprint.c | 13 +-
gdb/parse.c | 43 +-
gdb/ppc-linux-tdep.c | 9 +-
gdb/ppc-sysv-tdep.c | 203 +-
gdb/printcmd.c | 86 +-
gdb/probe.c | 24 -
gdb/psympriv.h | 4 +-
gdb/psymtab.c | 49 +-
gdb/python/py-auto-load.c | 2 +-
gdb/python/py-cmd.c | 8 +-
gdb/python/py-param.c | 2 +-
gdb/python/python-internal.h | 5 +
gdb/python/python.c | 14 +-
gdb/record-btrace.c | 696 +++++
gdb/{record.c => record-full.c} | 2036 ++++++-------
gdb/{main.h => record-full.h} | 29 +-
gdb/record.c | 3172 +++-----------------
gdb/record.h | 37 +-
gdb/remote-m32r-sdi.c | 6 +-
gdb/remote-mips.c | 6 +-
gdb/remote-sim.c | 16 +-
gdb/remote.c | 347 ++-
gdb/rs6000-nat.c | 2 -
gdb/rs6000-tdep.c | 16 +-
gdb/ser-tcp.c | 15 +-
gdb/sh64-tdep.c | 6 +-
gdb/solib-dsbt.c | 6 +-
gdb/solib-frv.c | 2 +-
gdb/solib-som.c | 29 +-
gdb/solib-spu.c | 4 +-
gdb/solib-svr4.c | 4 +-
gdb/solib-target.c | 3 +-
gdb/solib.c | 6 -
gdb/somread.c | 152 +-
gdb/source.c | 41 +-
gdb/spu-linux-nat.c | 4 +-
gdb/spu-tdep.c | 3 +-
gdb/stabsread.c | 125 +-
gdb/stack.c | 31 +-
gdb/stap-probe.c | 19 +-
gdb/std-operator.def | 3 +
gdb/symfile-mem.c | 1 +
gdb/symfile.c | 120 +-
gdb/symfile.h | 2 +-
gdb/symmisc.c | 17 +-
gdb/symtab.c | 396 ++-
gdb/symtab.h | 149 +-
gdb/target.c | 421 +++-
gdb/target.h | 185 +-
gdb/testsuite/ChangeLog | 510 ++++
gdb/testsuite/Makefile.in | 4 +-
gdb/testsuite/config/monitor.exp | 24 +-
gdb/testsuite/config/sid.exp | 2 +-
gdb/testsuite/config/slite.exp | 4 +-
gdb/testsuite/config/vx.exp | 8 +-
gdb/testsuite/configure | 3 +-
gdb/testsuite/configure.ac | 2 +-
gdb/testsuite/gdb.ada/arrayidx.exp | 2 +-
gdb/testsuite/gdb.ada/expr_delims.exp | 64 +
gdb/testsuite/gdb.ada/expr_delims/foo.adb | 26 +
gdb/testsuite/gdb.ada/expr_delims/pck.adb | 23 +
gdb/testsuite/gdb.ada/expr_delims/pck.ads | 20 +
gdb/testsuite/gdb.ada/null_array.exp | 2 +-
.../gdb.ada/{null_array.exp => win_fu_syms.exp} | 33 +-
gdb/testsuite/gdb.ada/win_fu_syms/foo.adb | 23 +
gdb/testsuite/gdb.ada/win_fu_syms/pck.adb | 21 +
gdb/testsuite/gdb.ada/win_fu_syms/pck.ads | 19 +
gdb/testsuite/gdb.arch/amd64-tailcall-cxx.exp | 36 +
gdb/testsuite/gdb.arch/amd64-tailcall-cxx1.S | 367 +++
.../gdb.arch/amd64-tailcall-cxx1.cc} | 30 +-
gdb/testsuite/gdb.arch/amd64-tailcall-cxx2.S | 276 ++
.../gdb.arch/amd64-tailcall-cxx2.cc} | 26 +-
gdb/testsuite/gdb.arch/amd64-tailcall-noret.S | 694 +++++
.../gdb.arch/amd64-tailcall-noret.c} | 50 +-
gdb/testsuite/gdb.arch/amd64-tailcall-noret.exp | 36 +
gdb/testsuite/gdb.arch/mips-octeon-bbit.exp | 4 +-
gdb/testsuite/gdb.arch/powerpc-d128-regs.exp | 2 +-
gdb/testsuite/gdb.arch/system-gcore.exp | 2 +-
gdb/testsuite/gdb.base/Makefile.in | 5 +-
gdb/testsuite/gdb.base/bigcore.exp | 2 +-
gdb/testsuite/gdb.base/break-interp.exp | 160 +-
.../gdb.base/break-on-linker-gcd-function.exp | 2 +-
gdb/testsuite/gdb.base/call-ar-st.exp | 4 +-
gdb/testsuite/gdb.base/call-rt-st.exp | 4 +-
gdb/testsuite/gdb.base/call-sc.exp | 2 +-
gdb/testsuite/gdb.base/call-strs.exp | 2 +-
gdb/testsuite/gdb.base/callfuncs.exp | 2 +-
gdb/testsuite/gdb.base/catch-load.exp | 74 +-
gdb/testsuite/gdb.base/completion.exp | 36 +-
gdb/testsuite/gdb.base/condbreak.exp | 2 +-
gdb/testsuite/gdb.base/constvars.exp | 2 +-
gdb/testsuite/gdb.base/corefile.exp | 2 +-
gdb/testsuite/gdb.base/dbx.exp | 2 +-
gdb/testsuite/gdb.base/default.exp | 1 +
gdb/testsuite/gdb.base/disp-step-syscall.exp | 184 +-
.../gdb.base/dprintf-pending.c} | 29 +-
gdb/testsuite/gdb.base/dprintf-pending.exp | 100 +
.../gdb.base/dprintf-pendshr.c} | 28 +-
gdb/testsuite/gdb.base/dprintf.exp | 2 +-
gdb/testsuite/gdb.base/exprs.exp | 2 +-
gdb/testsuite/gdb.base/fileio.exp | 2 +-
gdb/testsuite/gdb.base/fixsection.exp | 2 +-
gdb/testsuite/gdb.base/funcargs.exp | 2 +-
gdb/testsuite/gdb.base/gcore-buffer-overflow.exp | 2 +-
gdb/testsuite/gdb.base/gcore-relro.exp | 2 +-
gdb/testsuite/gdb.base/gcore.exp | 2 +-
gdb/testsuite/gdb.base/gdb11530.exp | 6 +-
gdb/testsuite/gdb.base/gdb11531.exp | 2 +-
gdb/testsuite/gdb.base/gnu-ifunc.exp | 2 +-
gdb/testsuite/gdb.base/info-os.exp | 2 +-
gdb/testsuite/gdb.base/info-proc.exp | 2 +-
gdb/testsuite/gdb.base/interp.exp | 2 +-
gdb/testsuite/gdb.base/jit-so.exp | 98 +-
gdb/testsuite/gdb.base/jit.exp | 82 +-
gdb/testsuite/gdb.base/langs.exp | 2 +-
gdb/testsuite/gdb.base/list.exp | 49 +-
gdb/testsuite/gdb.base/list0.c | 2 +-
gdb/testsuite/gdb.base/logical.exp | 2 +-
gdb/testsuite/gdb.base/maint.exp | 22 +-
gdb/testsuite/gdb.base/mips_pro.exp | 2 +-
gdb/testsuite/gdb.base/miscexprs.exp | 2 +-
gdb/testsuite/gdb.base/nodebug.exp | 2 +-
gdb/testsuite/gdb.base/opaque.exp | 2 +-
gdb/testsuite/gdb.base/pointers.exp | 2 +-
gdb/testsuite/gdb.base/psymtab.exp | 2 +-
gdb/testsuite/gdb.base/ptype.exp | 2 +-
gdb/testsuite/gdb.base/relational.exp | 2 +-
gdb/testsuite/gdb.base/remote.exp | 10 +
gdb/testsuite/gdb.base/scope.exp | 2 +-
gdb/testsuite/gdb.base/sepdebug.exp | 172 +-
gdb/testsuite/gdb.base/setshow.exp | 5 +-
gdb/testsuite/gdb.base/setvar.exp | 6 +-
gdb/testsuite/gdb.base/signals.exp | 2 +-
gdb/testsuite/gdb.base/sizeof.exp | 2 +-
gdb/testsuite/gdb.base/solib-overlap.exp | 2 +-
gdb/testsuite/gdb.base/store.exp | 2 +-
gdb/testsuite/gdb.base/structs.exp | 2 +-
gdb/testsuite/gdb.base/structs2.exp | 2 +-
gdb/testsuite/gdb.base/valgrind-infcall.exp | 4 +
gdb/testsuite/gdb.base/volatile.exp | 2 +-
gdb/testsuite/gdb.base/watchpoint.exp | 30 +-
gdb/testsuite/gdb.base/whatis.exp | 2 +-
gdb/testsuite/gdb.btrace/Makefile.in | 17 +
gdb/{gdb_regex.h => testsuite/gdb.btrace/enable.c} | 28 +-
gdb/testsuite/gdb.btrace/enable.exp | 95 +
.../gdb.btrace/function_call_history.c} | 43 +-
gdb/testsuite/gdb.btrace/function_call_history.exp | 219 ++
.../gdb.btrace/instruction_history.S} | 36 +-
.../gdb.btrace/instruction_history.c} | 30 +-
gdb/testsuite/gdb.btrace/instruction_history.exp | 195 ++
gdb/testsuite/gdb.cp/ambiguous.exp | 2 +-
gdb/testsuite/gdb.cp/casts.exp | 2 +-
gdb/testsuite/gdb.cp/cpexprs.exp | 3 +
gdb/testsuite/gdb.cp/cplabel.exp | 2 +-
gdb/testsuite/gdb.cp/ctti.exp | 2 +-
gdb/testsuite/gdb.cp/exception.exp | 33 +-
gdb/{main.h => testsuite/gdb.cp/exceptprint.cc} | 62 +-
gdb/testsuite/gdb.cp/exceptprint.exp | 94 +
gdb/testsuite/gdb.cp/m-static.cc | 13 +
gdb/testsuite/gdb.cp/m-static.exp | 22 +
gdb/testsuite/gdb.cp/misc.exp | 3 +
gdb/testsuite/gdb.cp/namespace.exp | 2 +-
gdb/testsuite/gdb.cp/nsdecl.exp | 2 +-
gdb/testsuite/gdb.cp/overload.cc | 2 +
gdb/testsuite/gdb.cp/overload.exp | 3 +
gdb/testsuite/gdb.cp/ovsrch.exp | 2 +-
gdb/testsuite/gdb.cp/psmang.exp | 2 +-
gdb/testsuite/gdb.cp/typeid.cc | 60 +
gdb/testsuite/gdb.cp/typeid.exp | 67 +
gdb/testsuite/gdb.dwarf2/dw2-dir-file-name.exp | 48 +-
gdb/testsuite/gdb.dwarf2/dw2-noloc.exp | 62 +-
gdb/testsuite/gdb.dwarf2/dw2-ranges.exp | 2 +-
gdb/testsuite/gdb.dwarf2/missing-sig-type.exp | 68 +
gdb/testsuite/gdb.hp/gdb.aCC/optimize.exp | 2 +-
gdb/testsuite/gdb.hp/gdb.aCC/watch-cmd.exp | 2 +-
gdb/testsuite/gdb.hp/gdb.base-hp/callfwmall.exp | 2 +-
gdb/testsuite/gdb.hp/gdb.base-hp/pxdb.exp | 2 +-
gdb/testsuite/gdb.hp/gdb.compat/xdb1.exp | 2 +-
gdb/testsuite/gdb.hp/gdb.compat/xdb2.exp | 2 +-
gdb/testsuite/gdb.hp/gdb.compat/xdb3.exp | 2 +-
gdb/testsuite/gdb.hp/gdb.defects/bs14602.exp | 2 +-
gdb/testsuite/gdb.hp/gdb.defects/solib-d.exp | 2 +-
gdb/testsuite/gdb.linespec/linespec.exp | 20 +-
gdb/testsuite/gdb.mi/gdb792.exp | 2 +-
gdb/testsuite/gdb.mi/mi-break.exp | 12 +
gdb/testsuite/gdb.mi/mi-breakpoint-changed.exp | 176 +-
gdb/testsuite/gdb.mi/mi-cmd-param-changed.exp | 128 +-
.../gdb.mi/mi-inheritance-syntax-error.exp | 2 +-
gdb/testsuite/gdb.mi/mi-logging.exp | 2 +-
gdb/testsuite/gdb.mi/mi-var-cp.exp | 2 +-
gdb/testsuite/gdb.mi/mi-var-create-rtti.exp | 6 +-
gdb/testsuite/gdb.mi/mi-var-rtti.exp | 2 +-
gdb/testsuite/gdb.mi/mi-watch.exp | 32 +-
gdb/testsuite/gdb.mi/pr11022.exp | 50 +-
gdb/testsuite/gdb.python/py-type.exp | 2 +-
.../gdb.server/server-kill.c} | 26 +-
gdb/testsuite/gdb.server/server-kill.exp | 45 +
gdb/testsuite/gdb.threads/gcore-thread.exp | 8 +-
gdb/testsuite/gdb.threads/non-ldr-exc-1.exp | 38 +-
gdb/testsuite/gdb.threads/non-ldr-exc-2.exp | 44 +-
gdb/testsuite/gdb.threads/non-ldr-exc-3.exp | 38 +-
gdb/testsuite/gdb.threads/non-ldr-exc-4.exp | 38 +-
gdb/testsuite/gdb.threads/pthreads.exp | 8 +-
gdb/testsuite/gdb.threads/sigstep-threads.exp | 2 +-
gdb/testsuite/gdb.threads/thread_check.exp | 2 +-
gdb/testsuite/gdb.threads/watchpoint-fork.exp | 212 +-
gdb/testsuite/gdb.trace/Makefile.in | 6 +-
.../gdb.trace/actions-changed.c} | 65 +-
gdb/testsuite/gdb.trace/actions-changed.exp | 174 ++
gdb/testsuite/gdb.trace/actions.c | 17 +
gdb/testsuite/gdb.trace/actions.exp | 108 +
gdb/testsuite/gdb.trace/backtrace.exp | 4 +-
gdb/testsuite/gdb.trace/change-loc.exp | 340 ++-
gdb/testsuite/gdb.trace/circ.c | 17 +
gdb/testsuite/gdb.trace/circ.exp | 78 +-
gdb/testsuite/gdb.trace/collection.c | 17 +
gdb/testsuite/gdb.trace/collection.exp | 2 +-
gdb/testsuite/gdb.trace/disconnected-tracing.exp | 178 +-
gdb/testsuite/gdb.trace/infotrace.exp | 2 +-
gdb/testsuite/gdb.trace/mi-traceframe-changed.exp | 129 +-
gdb/testsuite/gdb.trace/mi-tracepoint-changed.exp | 327 +-
gdb/testsuite/gdb.trace/mi-tsv-changed.exp | 338 ++-
gdb/testsuite/gdb.trace/packetlen.exp | 2 +-
gdb/testsuite/gdb.trace/passc-dyn.exp | 2 +-
gdb/testsuite/gdb.trace/pending.exp | 164 +-
gdb/testsuite/gdb.trace/report.exp | 348 ++-
gdb/testsuite/gdb.trace/stap-trace.exp | 2 +-
gdb/testsuite/gdb.trace/status-stop.exp | 113 +-
gdb/testsuite/gdb.trace/strace.exp | 382 ++--
gdb/testsuite/gdb.trace/tfile.c | 27 +-
gdb/testsuite/gdb.trace/tfile.exp | 42 +-
gdb/testsuite/gdb.trace/tfind.exp | 6 +-
gdb/testsuite/gdb.trace/trace-break.exp | 2 +-
.../gdb.trace/trace-buffer-size.c} | 31 +-
gdb/testsuite/gdb.trace/trace-buffer-size.exp | 118 +
gdb/testsuite/gdb.trace/tspeed.exp | 2 +-
gdb/testsuite/gdb.trace/tstatus.exp | 49 +-
gdb/testsuite/gdb.trace/tsv.exp | 68 +-
gdb/testsuite/gdb.trace/unavailable.exp | 656 ++--
gdb/testsuite/gdb.trace/while-dyn.exp | 2 +-
gdb/testsuite/gdb.trace/while-stepping.exp | 70 +
gdb/testsuite/lib/dwarf.exp | 73 +
gdb/testsuite/lib/fortran.exp | 2 +-
gdb/testsuite/lib/gdb.exp | 164 +-
gdb/testsuite/lib/java.exp | 2 +-
gdb/testsuite/lib/mi-support.exp | 40 +-
gdb/testsuite/lib/objc.exp | 2 +-
gdb/testsuite/lib/pascal.exp | 2 +-
gdb/testsuite/lib/prompt.exp | 6 +-
gdb/testsuite/lib/trace-support.exp | 40 +-
gdb/thread.c | 3 +
gdb/top.c | 271 ++-
gdb/top.h | 1 +
gdb/tracepoint.c | 1104 +++++--
gdb/tracepoint.h | 134 +-
gdb/tui/tui-disasm.c | 2 +-
gdb/typeprint.c | 7 +-
gdb/utils.c | 175 +-
gdb/utils.h | 14 +-
gdb/valprint.c | 4 +-
gdb/valprint.h | 6 +-
gdb/value.c | 2 +-
gdb/value.h | 6 +-
gdb/varobj.c | 6 +-
gdb/version.in | 2 +-
gdb/windows-nat.c | 8 +-
gdb/xcoffread.c | 16 +-
include/ChangeLog | 21 +
include/demangle.h | 6 +
include/elf/ChangeLog | 9 +
include/elf/common.h | 7 +-
include/elf/h8.h | 5 +-
include/gdb/ChangeLog | 4 +
include/gdb/remote-sim.h | 2 +-
include/opcode/ChangeLog | 52 +
include/opcode/arm.h | 2 +
include/opcode/h8300.h | 14 +-
include/opcode/nios2.h | 11 +-
include/opcode/sparc.h | 3 +
include/opcode/tic6x-insn-formats.h | 424 +++-
include/opcode/tic6x-opcode-table.h | 1170 +++++++-
include/opcode/tic6x.h | 123 +-
include/opcode/v850.h | 3 +
libdecnumber/ChangeLog | 4 +
libdecnumber/configure | 2 +-
libiberty/ChangeLog | 32 +
libiberty/configure | 4 +-
libiberty/cp-demangle.c | 182 +-
libiberty/libiberty.texi | 7 +-
libiberty/obstacks.texi | 47 +-
libiberty/simple-object-mach-o.c | 2 +-
libiberty/testsuite/demangle-expected | 16 +-
opcodes/ChangeLog | 97 +
opcodes/arm-dis.c | 22 +-
opcodes/cgen-dis.c | 7 +-
opcodes/i386-dis.c | 8 +-
opcodes/i386-opc.tbl | 3 +-
opcodes/i386-tbl.h | 15 +-
opcodes/lm32-desc.c | 9 +-
opcodes/mips-dis.c | 4 +-
opcodes/nios2-opc.c | 5 +
opcodes/rl78-dis.c | 2 +-
opcodes/sparc-dis.c | 13 +-
opcodes/sparc-opc.c | 328 ++-
opcodes/tic6x-dis.c | 524 +++-
opcodes/v850-dis.c | 3 +
opcodes/v850-opc.c | 24 +-
sim/ChangeLog | 14 +
sim/arm/wrapper.c | 2 +-
sim/avr/interp.c | 2 +-
sim/bfin/ChangeLog | 9 +
sim/bfin/aclocal.m4 | 58 +-
sim/bfin/configure | 82 +-
sim/bfin/configure.ac | 12 +-
sim/common/ChangeLog | 11 +
sim/common/acinclude.m4 | 60 +-
sim/common/sim-options.c | 2 +-
sim/cr16/interp.c | 2 +-
sim/cris/ChangeLog | 4 +
sim/cris/configure | 67 +-
sim/erc32/ChangeLog | 5 +
sim/erc32/Makefile.in | 2 +-
sim/erc32/interf.c | 2 +-
sim/frv/ChangeLog | 18 +
sim/frv/Makefile.in | 5 +-
sim/frv/configure | 127 +-
sim/frv/configure.ac | 4 +
sim/iq2000/ChangeLog | 10 +
sim/iq2000/configure | 130 +-
sim/iq2000/configure.ac | 8 +
sim/lm32/ChangeLog | 4 +
sim/lm32/configure | 67 +-
sim/m32c/gdb-if.c | 2 +-
sim/m32r/ChangeLog | 19 +
sim/m32r/Makefile.in | 5 +-
sim/m32r/configure | 126 +-
sim/m32r/configure.ac | 3 +
sim/m32r/tconfig.in | 3 -
sim/m68hc11/ChangeLog | 9 +
sim/m68hc11/configure | 69 +-
sim/m68hc11/configure.ac | 2 +-
sim/microblaze/interp.c | 2 +-
sim/mips/ChangeLog | 11 +
sim/mips/config.in | 7 +
sim/mips/configure | 80 +-
sim/mips/configure.ac | 11 +-
sim/mips/tconfig.in | 4 +
sim/mn10300/ChangeLog | 12 +
sim/mn10300/config.in | 7 +
sim/mn10300/configure | 189 +-
sim/mn10300/configure.ac | 8 +
sim/mn10300/tconfig.in | 3 +
sim/ppc/sim_calls.c | 2 +-
sim/rl78/gdb-if.c | 2 +-
sim/rx/gdb-if.c | 2 +-
sim/sh/interp.c | 2 +-
sim/sh64/ChangeLog | 10 +
sim/sh64/configure | 131 +-
sim/sh64/configure.ac | 9 +
src-release | 2 +-
629 files changed, 31896 insertions(+), 13709 deletions(-)
create mode 100644 gdb/break-catch-throw.c
create mode 100644 gdb/btrace.c
create mode 100644 gdb/btrace.h
create mode 100644 gdb/common/btrace-common.h
copy gdb/common/{gdb_thread_db.h => glibc_thread_db.h} (87%)
create mode 100644 gdb/common/linux-btrace.c
create mode 100644 gdb/common/linux-btrace.h
create mode 100644 gdb/ctf.c
copy gdb/{gdb_regex.h => ctf.h} (63%)
create mode 100644 gdb/features/btrace.dtd
rename gdb/{gdb_gcore.sh => gcore.in} (87%)
mode change 100755 => 100644
delete mode 100644 gdb/gdb.1
delete mode 100644 gdb/gdbserver/gdbserver.1
copy gdb/{gdb_regex.h => maint.h} (62%)
create mode 100644 gdb/record-btrace.c
copy gdb/{record.c => record-full.c} (54%)
copy gdb/{main.h => record-full.h} (58%)
create mode 100644 gdb/testsuite/gdb.ada/expr_delims.exp
create mode 100644 gdb/testsuite/gdb.ada/expr_delims/foo.adb
create mode 100644 gdb/testsuite/gdb.ada/expr_delims/pck.adb
create mode 100644 gdb/testsuite/gdb.ada/expr_delims/pck.ads
copy gdb/testsuite/gdb.ada/{null_array.exp => win_fu_syms.exp} (53%)
create mode 100644 gdb/testsuite/gdb.ada/win_fu_syms/foo.adb
create mode 100644 gdb/testsuite/gdb.ada/win_fu_syms/pck.adb
create mode 100644 gdb/testsuite/gdb.ada/win_fu_syms/pck.ads
create mode 100644 gdb/testsuite/gdb.arch/amd64-tailcall-cxx.exp
create mode 100644 gdb/testsuite/gdb.arch/amd64-tailcall-cxx1.S
copy gdb/{gdb_regex.h => testsuite/gdb.arch/amd64-tailcall-cxx1.cc} (59%)
create mode 100644 gdb/testsuite/gdb.arch/amd64-tailcall-cxx2.S
copy gdb/{gdb_regex.h => testsuite/gdb.arch/amd64-tailcall-cxx2.cc} (59%)
create mode 100644 gdb/testsuite/gdb.arch/amd64-tailcall-noret.S
copy gdb/{gdb_regex.h => testsuite/gdb.arch/amd64-tailcall-noret.c} (58%)
create mode 100644 gdb/testsuite/gdb.arch/amd64-tailcall-noret.exp
copy gdb/{gdb_regex.h => testsuite/gdb.base/dprintf-pending.c} (59%)
create mode 100644 gdb/testsuite/gdb.base/dprintf-pending.exp
copy gdb/{gdb_regex.h => testsuite/gdb.base/dprintf-pendshr.c} (59%)
create mode 100644 gdb/testsuite/gdb.btrace/Makefile.in
copy gdb/{gdb_regex.h => testsuite/gdb.btrace/enable.c} (59%)
create mode 100644 gdb/testsuite/gdb.btrace/enable.exp
copy gdb/{gdb_regex.h => testsuite/gdb.btrace/function_call_history.c} (59%)
create mode 100644 gdb/testsuite/gdb.btrace/function_call_history.exp
copy gdb/{gdb_regex.h => testsuite/gdb.btrace/instruction_history.S} (59%)
copy gdb/{gdb_regex.h => testsuite/gdb.btrace/instruction_history.c} (59%)
create mode 100644 gdb/testsuite/gdb.btrace/instruction_history.exp
copy gdb/{main.h => testsuite/gdb.cp/exceptprint.cc} (54%)
create mode 100644 gdb/testsuite/gdb.cp/exceptprint.exp
create mode 100644 gdb/testsuite/gdb.cp/typeid.cc
create mode 100644 gdb/testsuite/gdb.cp/typeid.exp
create mode 100644 gdb/testsuite/gdb.dwarf2/missing-sig-type.exp
copy gdb/{gdb_regex.h => testsuite/gdb.server/server-kill.c} (59%)
create mode 100644 gdb/testsuite/gdb.server/server-kill.exp
copy gdb/{main.h => testsuite/gdb.trace/actions-changed.c} (55%)
create mode 100644 gdb/testsuite/gdb.trace/actions-changed.exp
copy gdb/{gdb_regex.h => testsuite/gdb.trace/trace-buffer-size.c} (59%)
create mode 100644 gdb/testsuite/gdb.trace/trace-buffer-size.exp
First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index a276e71..07594a4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-03-22 Mike Frysinger <vapier@gentoo.org>
+
+ * src-release (VER): Change bfd/configure.in sed to use the new
+ `bfd/configure --version` output.
+
2013-02-15 Yufeng Zhang <yufeng.zhang@arm.com>
* configure.ac: Sync with GCC repo.
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 1454f40..22cf440 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,362 @@
+2013-04-19 Nick Clifton <nickc@redhat.com>
+
+ PR binutils/15356
+ * compress.c (decompress_contents): Always call inflateEnd, even
+ when another inflation operation fails.
+
+2013-04-17 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elf-ifunc.c: Update copyright year.
+
+2013-04-17 Luca Pizzamiglio <luca.pizzamiglio@gmail.com>
+
+ * coffcode.h: Added a cast to void when a bfd_set_section_*()
+ macro's return value is ignored.
+ * elf32-hppa.c: Likewise.
+ * elf32-tic6x.c: Likewise.
+ * mach-o.c: Likewise.
+ * mmo.c: Likewise.
+ * opncls.c: Likewise.
+ * peicode.h: Likewise.
+ * elf32-m32r.c: Check return value of bfd_set_section_*().
+ * elfnn-ia64.c: Likewise.
+ * elfxx-mips.c: Likewise.
+ * vms-alpha.c: Likewise.
+
+2013-04-15 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/15371
+ * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Check
+ regular reference without non-GOT reference when building
+ shared library.
+
+2013-04-15 Alan Modra <amodra@gmail.com>
+
+ * archive.c (_bfd_archive_close_and_cleanup): Clear parent
+ cache slot for archives.
+
+2013-04-14 Hans-Peter Nilsson <hp@bitrange.com>
+
+ * mmo.c (mmo_write_chunk): Break out abfd->tdata.mmo_data to new
+ local variable mmop.
+
+2013-04-09 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
+
+ PR ld/12494
+ * bfd/elf32-avr.c: Consider all sections to determine if linker
+ relaxation can safely delete a ret after a call/jmp
+
+2013-04-09 Mingjie Xing <mingjie.xing@gmail.com>
+
+ * bfd.c (typedef bfd, Error reporting, Miscellaneous): Add
+ INODEs.
+
+2013-04-08 Tom Tromey <tromey@redhat.com>
+
+ * som.c (bfd_section_from_som_symbol): No longer static.
+ * som.h (bfd_section_from_som_symbol): Declare.
+
+2013-04-06 Alan Modra <amodra@gmail.com>
+
+ * elf32-ppc.c (ppc_elf_check_relocs): Use SYMBOLIC_BIND.
+ * elf64-ppc.c (ppc64_elf_check_relocs, dec_dynrel_count): Likewise.
+
+2013-04-05 Nick Clifton <nickc@redhat.com>
+
+ * elflink.c (elf_link_add_object_symbols): Revert accidental commit.
+
+2013-04-04 Alan Modra <amodra@gmail.com>
+
+ * bfd.c (bfd_error_type, bfd_errmsgs): Add bfd_error_missing_dso.
+ * bfd-in2.h: Regenerate.
+ * elflink.c (elf_link_add_object_symbols): Use new error.
+
+2013-04-03 Nick Clifton <nickc@redhat.com>
+
+ * elf32-v850.c (v850_elf_is_target_special_symbol): New function.
+ (bfd_elf32_bfd_is_target_special_symbol): Define.
+
+2013-04-03 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
+
+ * elf64-aarch64.c (elf64_aarch64_gc_sweep_hook): Use
+ elf64_aarch64_locals to get local GOT reference counts.
+
+2013-04-02 DJ Delorie <dj@redhat.com>
+
+ * elf32-rl78.c (GET_RELOC): Assert that there are relocs to get.
+ (rl78_elf_relax_section): Only fetch the next reloc if there is
+ one expected.
+
+2013-03-30 Alan Modra <amodra@gmail.com>
+
+ PR ld/15323
+ * elf-m10300.c (mn10300_elf_check_relocs): Set non_ir_ref for
+ global symbols referenced by relocs.
+ * elf32-arm.c (elf32_arm_check_relocs): Likewise.
+ * elf32-bfin.c (bfin_check_relocs): Likewise.
+ * elf32-cr16.c (cr16_elf_check_relocs): Likewise.
+ * elf32-cris.c (cris_elf_check_relocs): Likewise.
+ * elf32-d10v.c (elf32_d10v_check_relocs): Likewise.
+ * elf32-dlx.c (elf32_dlx_check_relocs): Likewise.
+ * elf32-fr30.c (fr30_elf_check_relocs): Likewise.
+ * elf32-frv.c (elf32_frv_check_relocs): Likewise.
+ * elf32-hppa.c (elf32_hppa_check_relocs): Likewise.
+ * elf32-i370.c (i370_elf_check_relocs): Likewise.
+ * elf32-iq2000.c (iq2000_elf_check_relocs): Likewise.
+ * elf32-lm32.c (lm32_elf_check_relocs): Likewise.
+ * elf32-m32c.c (m32c_elf_check_relocs): Likewise.
+ * elf32-m32r.c (m32r_elf_check_relocs): Likewise.
+ * elf32-m68hc1x.c (elf32_m68hc11_check_relocs): Likewise.
+ * elf32-m68k.c (elf_m68k_check_relocs): Likewise.
+ * elf32-mcore.c (mcore_elf_check_relocs): Likewise.
+ * elf32-metag.c (elf_metag_check_relocs): Likewise.
+ * elf32-microblaze.c (microblaze_elf_check_relocs): Likewise.
+ * elf32-moxie.c (moxie_elf_check_relocs): Likewise.
+ * elf32-msp430.c (elf32_msp430_check_relocs): Likewise.
+ * elf32-mt.c (mt_elf_check_relocs): Likewise.
+ * elf32-nios2.c (nios2_elf32_check_relocs): Likewise.
+ * elf32-openrisc.c (openrisc_elf_check_relocs): Likewise.
+ * elf32-ppc.c (ppc_elf_check_relocs): Likewise.
+ * elf32-rl78.c (rl78_elf_check_relocs): Likewise.
+ * elf32-s390.c (elf_s390_check_relocs): Likewise.
+ * elf32-score.c (s3_bfd_score_elf_check_relocs): Likewise.
+ * elf32-score7.c (s7_bfd_score_elf_check_relocs): Likewise.
+ * elf32-sh.c (sh_elf_check_relocs): Likewise.
+ * elf32-tic6x.c (elf32_tic6x_check_relocs): Likewise.
+ * elf32-tilepro.c (tilepro_elf_check_relocs): Likewise.
+ * elf32-v850.c (v850_elf_check_relocs): Likewise.
+ * elf32-vax.c (elf_vax_check_relocs): Likewise.
+ * elf32-xstormy16.c (xstormy16_elf_check_relocs): Likewise.
+ * elf32-xtensa.c (elf_xtensa_check_relocs): Likewise.
+ * elf64-aarch64.c (elf64_aarch64_check_relocs): Likewise.
+ * elf64-alpha.c (elf64_alpha_check_relocs): Likewise.
+ * elf64-hppa.c (elf64_hppa_check_relocs): Likewise.
+ * elf64-ia64-vms.c (elf64_ia64_check_relocs): Likewise.
+ * elf64-mmix.c (mmix_elf_check_relocs): Likewise.
+ * elf64-ppc.c (ppc64_elf_check_relocs): Likewise.
+ * elf64-s390.c (elf_s390_check_relocs): Likewise.
+ * elf64-sh64.c (sh_elf64_check_relocs): Likewise.
+ * elfnn-ia64.c (elfNN_ia64_check_relocs): Likewise.
+ * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Likewise.
+ * elfxx-tilegx.c (tilegx_elf_check_relocs): Likewise.
+ * elfxx-mips.c (_bfd_mips_elf_check_relocs): Likewise. Don't
+ test indirect/warning links for NULL.
+
+2013-03-29 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/15323
+ * elf32-i386.c (elf_i386_check_relocs): Set non_ir_ref if a
+ symbol is referenced by a non-shared object.
+ * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.
+
+2013-03-28 Joe Seymour <jseymour@codesourcery.com>
+
+ * elf32-sh.c (sh_elf_relocate_section): Suppress warnings for
+ R_SH_REL32 relocations against undefined weak symbols.
+
+2013-03-28 Alan Modra <amodra@gmail.com>
+
+ * elf64-ppc.c (struct ppc_dyn_relocs): New.
+ (ppc64_elf_check_relocs): Separate dynrel counts for local syms
+ into ifunc and non-ifunc.
+ (dec_dynrel_count): Pass in sym rather than sym_sec. Handle
+ separate ifunc/non-ifunc dynrel counts.
+ (allocate_got): Always use reliplt for ifunc.
+ (allocate_dynrelocs): Likewise.
+ (ppc64_elf_size_dynamic_sections): Likewise.
+ (ppc64_elf_layout_multitoc): Likewise.
+ (ppc64_elf_relocate_section): Likewise.
+
+2013-03-28 Alan Modra <amodra@gmail.com>
+
+ * elf32-ppc.c (struct ppc_dyn_relocs): New.
+ (ppc_elf_check_relocs): Separate dynrel counts for local syms
+ into ifunc and non-ifunc.
+ (allocate_dynrelocs): Always put ifunc relocs into reliplt.
+ (ppc_elf_size_dynamic_sections): Likewise.
+ (ppc_elf_relocate_section): Likewise.
+
+2013-03-28 Alan Modra <amodra@gmail.com>
+
+ * elf-bfd.h (enum elf_reloc_type_class): Add reloc_class_ifunc.
+ (struct elf_backend_data <elf_backed_reloc_type_class>): Add
+ bfd_link_info* and asection* params.
+ (_bfd_elf_reloc_type_class): Likewise.
+ * elf.c (_bfd_elf_reloc_type_class): Likewise.
+ * elflink.c (elf_link_sort_cmp2): Sort first on reloc class.
+ (elf_link_sort_relocs): Update elf_backed_reloc_type_class call.
+ * elf32-ppc.c (ppc_elf_reloc_type_class): Return reloc_class_ifunc
+ for any reliplt reloc. Don't return reloc_class_plt for
+ R_PPC_REL24 and R_PPC_ADDR24.
+ * elf64-ppc.c (allocate_got): Formatting.
+ (ppc64_elf_reloc_type_class): Return reloc_class_ifunc for any
+ reliplt reloc.
+ * elf-m10300.c, * elf32-arm.c, * elf32-bfin.c, * elf32-cr16.c,
+ * elf32-cris.c, * elf32-hppa.c, * elf32-i386.c, * elf32-lm32.c,
+ * elf32-m32r.c, * elf32-m68k.c, * elf32-metag.c, * elf32-nios2.c,
+ * elf32-s390.c, * elf32-sh.c, * elf32-sparc.c, * elf32-tilepro.c,
+ * elf32-vax.c, * elf32-xtensa.c, * elf64-aarch64.c, * elf64-alpha.c,
+ * elf64-hppa.c, * elf64-ia64-vms.c, * elf64-s390.c, * elf64-sparc.c,
+ * elf64-x86-64.c, * elfnn-ia64.c, * elfxx-tilegx.c, * elfxx-tilegx.h:
+ Add extra params to the various reloc_type_class functions.
+
+2013-03-27 Alan Modra <amodra@gmail.com>
+
+ * elf32-ppc.c (ppc_elf_check_relocs): Set PLT_IFUNC in local got
+ masks for all local ifunc syms.
+ (allocate_dynrelocs): Don't use htab->relgot for ifunc.
+ (ppc_elf_size_dynamic_sections): Likewise.
+ (ppc_elf_relocate_section): Likewise.
+
+2013-03-27 Will Newton <will.newton@linaro.org>
+
+ * elf32-arm.c (elf32_arm_final_link_relocate): Avoid emitting a
+ dynamic reloc for symbols with dynindx == -1.
+ (allocate_dynrelocs_for_symbol): Avoid allocating space for a
+ dynamic reloc for symbols with dynindx == -1.
+
+2013-03-27 Will Newton <will.newton@linaro.org>
+
+ * elf32-arm.c (elf32_arm_final_link_relocate): Avoid emitting a
+ dynamic reloc for non-default visibility undefined weaks.
+ (allocate_dynrelocs_for_symbol): Avoid allocating space for a
+ dynamic reloc for non-default visibility undefined weaks.
+
+2013-03-26 Alan Modra <amodra@gmail.com>
+
+ * elflink.c (_bfd_elf_add_default_symbol): Preserve section
+ over _bfd_elf_merge_symbol calls.
+
+2013-03-26 Alan Modra <amodra@gmail.com>
+
+ * elflink.c (elf_link_add_object_symbols): Add assertion for
+ common override alignment check code. Formatting.
+
+2013-03-25 Alan Modra <amodra@gmail.com>
+
+ * elflink.c (_bfd_elf_merge_symbol): Set old_alignment for
+ usual common symbols as well as for dynamic. Add poldbfd param.
+ Save old bfd. Adjust callers.
+ (_bfd_elf_add_default_symbol): Add poldbfd param. Pass "section"
+ and "value" by value, not pointer. Adjust caller.
+ (elf_link_add_object_symbols): Combine undef_bfd and old_bfd vars.
+ Delete code to set same. Use old_bfd and old_alignment from
+ _bfd_elf_merge_symbol instead. Add default symbol before
+ alignment and size checks. Wrap overlong lines.
+
+2013-03-25 Alan Modra <amodra@gmail.com>
+
+ * elflink.c (_bfd_elf_add_default_symbol): Delete "override" param.
+ (elf_link_add_object_symbols): Don't call _bfd_elf_add_default_symbol
+ when override is true.
+
+2013-03-25 Alan Modra <amodra@gmail.com>
+
+ * elflink.c (_bfd_elf_merge_symbol): Use local var holding value
+ of *sym_hash.
+
+2013-03-25 Alan Modra <amodra@gmail.com>
+
+ * elflink.c (_bfd_elf_merge_symbol): Don't discard TLS symbols here.
+ Wrap long lines.
+ (elf_link_add_object_symbols): Discard TLS symbols for --just-syms
+ early in symbol loop.
+
+2013-03-25 Alan Modra <amodra@gmail.com>
+
+ * elf-bfd.h (struct elf_backend_data <merge_symbol>): Update proto.
+ (_bfd_elf_init_reloc_shdr): Delete.
+ * elf.c (_bfd_elf_init_reloc_shdr): Make static.
+ * elf64-x86-64.c (elf_x86_64_merge_symbol): Trim parameters to
+ just what is needed.
+ * elflink.c (_bfd_elf_merge_symbol): Update bed->merge_symbol call.
+
+2013-03-23 Alan Modra <amodra@gmail.com>
+
+ * elf-bfd.h (_bfd_elf_merge_symbol): Delete declaration.
+ * elflink.c (_bfd_elf_merge_symbol): Make static.
+ * elf32-sh-symbian.c (sh_symbian_relocate_section): Don't call
+ _bfd_elf_merge_symbol, call _bfd_generic_link_add_one_symbol.
+
+2013-03-23 Alan Modra <amodra@gmail.com>
+
+ PR ld/15270
+ * elflink.c (elf_link_add_object_symbols): Don't set def_regular
+ or ref_regular for BFD_PLUGIN owned syms, or have them affect
+ def_dynamic/ref_dynamic.
+ (_bfd_elf_fix_symbol_flags): Don't set def_regular for BFD_PLUGIN
+ owned syms.
+
+2013-03-22 David S. Miller <davem@davemloft.net>
+
+ * elfxx-sparc.c (_bfd_sparc_elf_merge_private_bfd_data): Set type of
+ hwcaps attribute.
+
+2013-03-22 Achille Fouilleul <achille.fouilleul+binutils@gadz.org>
+
+ PR ld/14902
+ * elf32-h8300.c (elf32_h8_relax_delete_bytes): Fix off by one
+ errors adjusting relocs and symbols.
+
+2013-03-21 Michael Schewe <michael.schewe@gmx.net>
+
+ * elf32-h8300 (h8_relax_section): Add new relaxation of mov
+ @(disp:32,ERx) to mov @(disp:16,ERx).
+ (R_H8_DISP32A16): New reloc.
+ Comments added and corrected.
+ * reloc.c (BFD_RELOC_H8_DISP32A16): New reloc.
+ * bfd-in2.h: Regenerate.
+ * libbfd.h: Regenerate.
+
+2013-03-21 Kai Tietz <ktietz@redhat.com>
+
+ * coffgen.c (coff_real_object_p): Make global.
+ * peicode.h (coff_real_object_p): Add prototype.
+ (FILHDR): Defined for COFF_IMAGE_WITH_PE as
+ external_PEI_IMAGE_hdr structure.
+ (coff_swap_filehdr_in): Handle variable header-size.
+ * peXXigen.c (_bfd_XXi_swap_aouthdr_in): Just handle amount
+ of directory-entiries as specified in pe-header.
+
+2013-03-21 Nick Clifton <nickc@redhat.com>
+
+ PR sim/15286
+ * elf32-arm.c (bfd_arm_get_mach_from_attributes): Identify XScale,
+ iWMMXt and iWMMXt2 processors from attributes.
+
+2013-03-20 Alan Modra <amodra@gmail.com>
+
+ * elflink.c (_bfd_elf_make_dynamic_reloc_section): Override
+ sh_type according to is_rela.
+
+2013-03-18 Alan Modra <amodra@gmail.com>
+
+ PR ld/12549
+ * elflink.c (elf_link_add_object_symbols): Exclude weak refs when
+ considering whether an --as-needed library is needed.
+
+2013-03-14 Tom Tromey <tromey@redhat.com>
+
+ * opncls.c (bfd_get_debug_link_info): Rename from
+ get_debug_link_info. Export. Update comment.
+ (find_separate_debug_file): Update.
+ * bfd-in2.h: Rebuild.
+
+2013-03-08 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
+
+ * elf64-aarch64.c (elf_backend_can_gc_sections): Enable gc-section
+ support.
+ (elf64_aarch64_gc_sweep_hook): Handle GOT, TLS and PLT related
+ relocs.
+
+2013-03-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * elf-bfd.h (elfcore_write_s390_tdb): Add prototype.
+ * elf.c (elfcore_write_s390_tdb): New function.
+ (elfcore_write_register_note): Call it.
+ (elfcore_grok_s390_tdb): New function.
+ (elfcore_grok_note): Call it.
+
2013-03-08 Maciej W. Rozycki <macro@codesourcery.com>
* elfxx-mips.c (mips_elf_allocate_lazy_stub): Correct data type.
diff --git a/bfd/archive.c b/bfd/archive.c
index 8cc6bf2..32b07a7 100644
--- a/bfd/archive.c
+++ b/bfd/archive.c
@@ -2732,7 +2732,7 @@ _bfd_archive_close_and_cleanup (bfd *abfd)
bfd_ardata (abfd)->cache = NULL;
}
}
- else if (arch_eltdata (abfd) != NULL)
+ if (arch_eltdata (abfd) != NULL)
{
struct areltdata *ared = arch_eltdata (abfd);
htab_t htab = (htab_t) ared->parent_cache;
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 524e97e..5c4e9c4 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -1049,6 +1049,8 @@ void *bfd_zalloc (bfd *abfd, bfd_size_type wanted);
unsigned long bfd_calc_gnu_debuglink_crc32
(unsigned long crc, const unsigned char *buf, bfd_size_type len);
+char *bfd_get_debug_link_info (bfd *abfd, unsigned long *crc32_out);
+
char *bfd_follow_gnu_debuglink (bfd *abfd, const char *dir);
struct bfd_section *bfd_create_gnu_debuglink_section
@@ -4867,6 +4869,7 @@ a matching LO8XG part. */
BFD_RELOC_H8_DIR24A8,
BFD_RELOC_H8_DIR24R8,
BFD_RELOC_H8_DIR32A16,
+ BFD_RELOC_H8_DISP32A16,
/* Sony Xstormy16 Relocations. */
BFD_RELOC_XSTORMY16_REL_12,
@@ -6108,6 +6111,7 @@ typedef enum bfd_error
bfd_error_no_armap,
bfd_error_no_more_archived_files,
bfd_error_malformed_archive,
+ bfd_error_missing_dso,
bfd_error_file_not_recognized,
bfd_error_file_ambiguously_recognized,
bfd_error_no_contents,
diff --git a/bfd/bfd.c b/bfd/bfd.c
index d77b90f..10bc319 100644
--- a/bfd/bfd.c
+++ b/bfd/bfd.c
@@ -1,7 +1,5 @@
/* Generic BFD library interface and support routines.
- Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
- 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
- Free Software Foundation, Inc.
+ Copyright 1990-2013 Free Software Foundation, Inc.
Written by Cygnus Support.
This file is part of BFD, the Binary File Descriptor library.
@@ -22,6 +20,9 @@
MA 02110-1301, USA. */
/*
+INODE
+typedef bfd, Error reporting, BFD front end, BFD front end
+
SECTION
<<typedef bfd>>
@@ -340,6 +341,9 @@ CODE_FRAGMENT
where it is needed. The typedef's used are defined in bfd.h */
\f
/*
+INODE
+Error reporting, Miscellaneous, typedef bfd, BFD front end
+
SECTION
Error reporting
@@ -374,6 +378,7 @@ CODE_FRAGMENT
. bfd_error_no_armap,
. bfd_error_no_more_archived_files,
. bfd_error_malformed_archive,
+. bfd_error_missing_dso,
. bfd_error_file_not_recognized,
. bfd_error_file_ambiguously_recognized,
. bfd_error_no_contents,
@@ -406,6 +411,7 @@ const char *const bfd_errmsgs[] =
N_("Archive has no index; run ranlib to add one"),
N_("No more archived files"),
N_("Malformed archive"),
+ N_("DSO missing from command line"),
N_("File format not recognized"),
N_("File format is ambiguous"),
N_("Section has no contents"),
@@ -881,6 +887,9 @@ bfd_get_assert_handler (void)
}
\f
/*
+INODE
+Miscellaneous, Memory Usage, Error reporting, BFD front end
+
SECTION
Miscellaneous
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index 49c13c3..9d9c992 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -1,7 +1,5 @@
/* Support for the generic parts of most COFF variants, for BFD.
- Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
- 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
- Free Software Foundation, Inc.
+ Copyright 1990-2013 Free Software Foundation, Inc.
Written by Cygnus Support.
This file is part of BFD, the Binary File Descriptor library.
@@ -3447,7 +3445,7 @@ coff_compute_section_file_positions (bfd * abfd)
incremented in coff_set_section_contents. This is right for
SVR3.2. */
if (strcmp (current->name, _LIB) == 0)
- bfd_set_section_vma (abfd, current, 0);
+ (void) bfd_set_section_vma (abfd, current, 0);
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [SCM] pmuldoon/python-backtrace: Merge remote-tracking branch 'gdb/master' into pmuldoon/python-backtrace
@ 2013-05-10 8:43 pmuldoon
0 siblings, 0 replies; 9+ messages in thread
From: pmuldoon @ 2013-05-10 8:43 UTC (permalink / raw)
To: archer-commits
The branch, pmuldoon/python-backtrace has been updated
via 7891ff2ad0b3aa0a09c4868fd3002d19be0a1b53 (commit)
via f039214ffb9514ec16feb28d1f2471b1e1325a0e (commit)
via 9f206662f66c7097aff7ef70925f409825a75bdb (commit)
via b55209d9a23dfc4e2f563a0b6bdd674f18d908d5 (commit)
via c7c855256383b1c3fd1e34704e19e462c603f25b (commit)
via 271c6e6cca0e1a275fc9300f004cd51dc1b5433d (commit)
via d0dde44e0059b3fbfd55efaf87116ee382d775b4 (commit)
via f90721b0b87078b4aa45d6df174533643536ee56 (commit)
via 95615b4a2932c1cbb5e8314afa4f43b1c38a9ee8 (commit)
via 485edc33433aae5742e8cc4fbefdeea586dd7623 (commit)
via 6b0f6001d42f7626cccaf964ce7e218efbc02176 (commit)
via de8127d5c010f93939533769c6adc6e55cec9630 (commit)
via bf21d1963b2a80db660b586ff2bf5fe372b28268 (commit)
via 808e8fdc1d868072ed6cd214603d690d93597c31 (commit)
via 69258f21f6ff1184208c2d3e1110ababc781bec3 (commit)
via fa23708ed5f8249d38948f8d5269bfbbca088417 (commit)
via 390e57deb940ca7330a27b33d1e89652362295fb (commit)
from 82dbca8964f09e43626139953b8894b49a09fd53 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit 7891ff2ad0b3aa0a09c4868fd3002d19be0a1b53
Merge: f90721b f039214
Author: Phil Muldoon <pmuldoon@redhat.com>
Date: Fri May 10 09:43:31 2013 +0100
Merge remote-tracking branch 'gdb/master' into pmuldoon/python-backtrace
commit f039214ffb9514ec16feb28d1f2471b1e1325a0e
Author: DJ Delorie <dj@delorie.com>
Date: Fri May 10 03:03:03 2013 +0000
merge from gcc
commit 9f206662f66c7097aff7ef70925f409825a75bdb
Author: pinskia <pinskia>
Date: Fri May 10 01:08:48 2013 +0000
binutils/ChangeLog:
* doc/binutils.texi: Document -Mvirt disassembler option.
gas/ChangeLog:
* config/tc-mips.c (struct mips_set_options): New ase_virt field.
(mips_opts): Update for the new field.
(file_ase_virt): New variable.
(ISA_SUPPORTS_VIRT_ASE): New macro.
(ISA_SUPPORTS_VIRT64_ASE): New macro.
(MIPS_CPU_ASE_VIRT): New define.
(is_opcode_valid): Handle ase_virt.
(macro_build): Handle "+J".
(validate_mips_insn): Likewise.
(mips_ip): Likewise.
(enum options): Add OPTION_VIRT and OPTION_NO_VIRT.
(md_longopts): Add mvirt and mnovirt
(md_parse_option): Handle OPTION_VIRT and OPTION_NO_VIRT.
(mips_after_parse_args): Handle ase_virt field.
(s_mipsset): Handle "virt" and "novirt".
(mips_elf_final_processing): Add a comment about virt ASE might need a new flag.
(md_show_usage): Print out the usage of -mvirt and mno-virt options.
* doc/c-mips.texi: Document -mvirt and -mno-virt.
Document ".set virt" and ".set novirt".
gas/testsuite/ChangeLog:
* gas/mips/mips.exp: Run virt and virt64 testcases.
* gas/mips/virt.d: New file.
* gas/mips/virt.s: New file.
* gas/mips/virt64.d: New file.
* gas/mips/virt64.s: New file.
include/opcode/ChangeLog:
* mips.h (OP_MASK_CODE10): Correct definition.
(OP_SH_CODE10): Likewise.
Add a comment that "+J" is used now for OP_*CODE10.
(INSN_ASE_MASK): Update.
(INSN_VIRT): New macro.
(INSN_VIRT64): New macro
opcodes/ChangeLog:
* mips-dis.c (mips_arch_choices): Add INSN_VIRT to mips32r2 .
Add INSN_VIRT and INSN_VIRT64 to mips64r2.
(parse_mips_dis_option): Handle the virt option.
(print_insn_args): Handle "+J".
(print_mips_disassembler_options): Print out message about virt64.
* mips-opc.c (IVIRT): New define.
(IVIRT64): New define.
(mips_builtin_opcodes): Add dmfgc0, dmtgc0, hypcall, mfgc0, mtgc0,
tlbgr, tlbgwi, tlbginv, tlbginvf, tlbgwr, tlbgp VIRT instructions.
Move rfe to the bottom as it conflicts with tlbgp.
commit b55209d9a23dfc4e2f563a0b6bdd674f18d908d5
Author: Alan Modra <amodra@bigpond.net.au>
Date: Fri May 10 00:00:05 2013 +0000
daily update
commit c7c855256383b1c3fd1e34704e19e462c603f25b
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Fri May 10 00:00:02 2013 +0000
*** empty log message ***
commit 271c6e6cca0e1a275fc9300f004cd51dc1b5433d
Author: Doug Evans <dje@google.com>
Date: Thu May 9 18:03:27 2013 +0000
* symfile.c (syms_from_objfile_1): Delete args offsets, num_offsets.
All callers updated.
(syms_from_objfile): Ditto. Make static.
(symbol_file_add_with_addrs): Renamed from
symbol_file_add_with_addrs_or_offsets. Delete args offsets,
num_offsets. All callers updated.
* symfile.h (syms_from_objfile): Delete.
commit d0dde44e0059b3fbfd55efaf87116ee382d775b4
Author: Doug Evans <dje@google.com>
Date: Thu May 9 17:24:55 2013 +0000
* symfile.c (decrement_reading_symtab): Add assert.
(increment_reading_symtab): Ditto.
commit f90721b0b87078b4aa45d6df174533643536ee56
Author: Phil Muldoon <pmuldoon@redhat.com>
Date: Thu May 9 13:37:51 2013 +0100
Do not raise an error on tuple mismatch, just print
-----------------------------------------------------------------------
Summary of changes:
bfd/ChangeLog | 24 ++-
bfd/bfd.c | 4 +-
bfd/elflink.c | 17 +-
bfd/version.h | 2 +-
gdb/ChangeLog | 24 ++
gdb/psymtab.c | 16 +-
gdb/python/lib/gdb/command/frame_filters.py | 15 +-
gdb/source.c | 8 +-
gdb/symfile.c | 79 ++-----
gdb/symfile.h | 6 +-
gdb/testsuite/ChangeLog | 20 ++
gdb/testsuite/gdb.base/solib-search.exp | 4 +-
gdb/testsuite/gdb.trace/circ.exp | 363 ++++++++++++++++-----------
gdb/version.in | 2 +-
include/opcode/ChangeLog | 9 +
include/opcode/mips.h | 17 +-
libiberty/ChangeLog | 8 +
libiberty/hashtab.c | 13 +-
opcodes/ChangeLog | 18 ++
opcodes/mips-dis.c | 19 ++-
opcodes/mips-opc.c | 26 ++-
opcodes/ppc-opc.c | 9 +-
22 files changed, 436 insertions(+), 267 deletions(-)
First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index a670a24..e680c3a 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,13 @@
+2013-05-09 Joel Brobecker <brobecker@adacore.com>
+
+ * bfd.c (_bfd_default_error_handler): Replace use of putc
+ by fputc. Add comment explaining why.
+
+2013-05-09 Alan Modra <amodra@gmail.com>
+
+ * elflink.c (elf_link_add_object_symbols): Don't omit reading
+ of symbols when hashes already exist.
+
2013-05-07 Will Newton <will.newton@linaro.org>
* elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Add a
@@ -10,18 +20,18 @@
2013-05-07 Will Newton <will.newton@linaro.org>
- * elf-ifunc.c (_bfd_elf_create_ifunc_dyn_reloc): Remove unused
+ * elf-ifunc.c (_bfd_elf_create_ifunc_dyn_reloc): Remove unused
function.
* elf-bfd.h: Likewise.
2013-05-06 Paul Brook <paul@codesourcery.com>
- * elf64-mips.c (elf_mips_gnu_pcrel32): New.
- (bfd_elf64_bfd_reloc_type_lookup, bfd_elf64_bfd_reloc_name_lookup,
- mips_elf64_rtype_to_howto): Handle R_MIPS_PC32.
- * elfn32-mips.c (elf_mips_gnu_pcrel32): New.
- (bfd_elfn32_bfd_reloc_type_lookup, bfd_elfn32_bfd_reloc_name_lookup,
- mips_elfn32_rtype_to_howto): Handle R_MIPS_PC32.
+ * elf64-mips.c (elf_mips_gnu_pcrel32): New.
+ (bfd_elf64_bfd_reloc_type_lookup, bfd_elf64_bfd_reloc_name_lookup,
+ mips_elf64_rtype_to_howto): Handle R_MIPS_PC32.
+ * elfn32-mips.c (elf_mips_gnu_pcrel32): New.
+ (bfd_elfn32_bfd_reloc_type_lookup, bfd_elfn32_bfd_reloc_name_lookup,
+ mips_elfn32_rtype_to_howto): Handle R_MIPS_PC32.
2013-05-06 Alan Modra <amodra@gmail.com>
diff --git a/bfd/bfd.c b/bfd/bfd.c
index 10bc319..8d0580c 100644
--- a/bfd/bfd.c
+++ b/bfd/bfd.c
@@ -733,7 +733,9 @@ _bfd_default_error_handler (const char *fmt, ...)
vfprintf (stderr, new_fmt, ap);
va_end (ap);
- putc ('\n', stderr);
+ /* On AIX, putc is implemented as a macro that triggers a -Wunused-value
+ warning, so use the fputc function to avoid it. */
+ fputc ('\n', stderr);
fflush (stderr);
}
diff --git a/bfd/elflink.c b/bfd/elflink.c
index 43c54fc..34bbcd5 100644
--- a/bfd/elflink.c
+++ b/bfd/elflink.c
@@ -3699,20 +3699,23 @@ error_free_dyn:
}
sym_hash = elf_sym_hashes (abfd);
- if (sym_hash == NULL && extsymcount != 0)
+ if (extsymcount != 0)
{
isymbuf = bfd_elf_get_elf_syms (abfd, hdr, extsymcount, extsymoff,
NULL, NULL, NULL);
if (isymbuf == NULL)
goto error_return;
- /* We store a pointer to the hash table entry for each external
- symbol. */
- amt = extsymcount * sizeof (struct elf_link_hash_entry *);
- sym_hash = (struct elf_link_hash_entry **) bfd_zalloc (abfd, amt);
if (sym_hash == NULL)
- goto error_free_sym;
- elf_sym_hashes (abfd) = sym_hash;
+ {
+ /* We store a pointer to the hash table entry for each
+ external symbol. */
+ amt = extsymcount * sizeof (struct elf_link_hash_entry *);
+ sym_hash = (struct elf_link_hash_entry **) bfd_zalloc (abfd, amt);
+ if (sym_hash == NULL)
+ goto error_free_sym;
+ elf_sym_hashes (abfd) = sym_hash;
+ }
}
if (dynamic)
diff --git a/bfd/version.h b/bfd/version.h
index 2634437..fe85ccd 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20130508
+#define BFD_VERSION_DATE 20130510
#define BFD_VERSION @bfd_version@
#define BFD_VERSION_STRING @bfd_version_package@ @bfd_version_string@
#define REPORT_BUGS_TO @report_bugs_to@
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 62cc127..c3399ba 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,27 @@
+2013-05-09 Doug Evans <dje@google.com>
+
+ * symfile.c (syms_from_objfile_1): Delete args offsets, num_offsets.
+ All callers updated.
+ (syms_from_objfile): Ditto. Make static.
+ (symbol_file_add_with_addrs): Renamed from
+ symbol_file_add_with_addrs_or_offsets. Delete args offsets,
+ num_offsets. All callers updated.
+ * symfile.h (syms_from_objfile): Delete.
+
+ * symfile.c (decrement_reading_symtab): Add assert.
+ (increment_reading_symtab): Ditto.
+
+2013-05-09 Joel Brobecker <brobecker@adacore.com>
+
+ * source.c (forward_search_command): Replace call to getc
+ by call to fgetc.
+ (reverse_search_command): Likewise.
+
+2013-05-08 Doug Evans <dje@google.com>
+
+ * psymtab.c (expand_symtabs_matching_via_partial): Fix file name
+ matching test.
+
2013-05-08 Joel Brobecker <brobecker@adacore.com>
* sol-thread.c (info_cb): Factorize the code a little.
diff --git a/gdb/psymtab.c b/gdb/psymtab.c
index 878bd82..3a1b993 100644
--- a/gdb/psymtab.c
+++ b/gdb/psymtab.c
@@ -1400,15 +1400,21 @@ expand_symtabs_matching_via_partial
if (file_matcher)
{
+ int match;
+
if (ps->anonymous)
continue;
- /* Before we invoke realpath, which can get expensive when many
- files are involved, do a quick comparison of the basenames. */
- if (!(*file_matcher) (ps->filename, data, 0)
- && (basenames_may_differ
+ match = (*file_matcher) (ps->filename, data, 0);
+ if (!match)
+ {
+ /* Before we invoke realpath, which can get expensive when many
+ files are involved, do a quick comparison of the basenames. */
+ if (basenames_may_differ
|| (*file_matcher) (lbasename (ps->filename), data, 1))
- && !(*file_matcher) (psymtab_to_fullname (ps), data, 0))
+ match = (*file_matcher) (psymtab_to_fullname (ps), data, 0);
+ }
+ if (!match)
continue;
}
diff --git a/gdb/python/lib/gdb/command/frame_filters.py b/gdb/python/lib/gdb/command/frame_filters.py
index e1800f6..1b73059 100644
--- a/gdb/python/lib/gdb/command/frame_filters.py
+++ b/gdb/python/lib/gdb/command/frame_filters.py
@@ -317,8 +317,9 @@ class SetFrameFilterPriority(gdb.Command):
argv = gdb.string_to_argv(arg);
argc = len(argv)
if argc != 3:
- raise gdb.GdbError("set frame-filter priority " \
- "takes exactly three arguments.")
+ print("set frame-filter priority " \
+ "takes exactly three arguments.")
+ return None
return argv
@@ -357,7 +358,8 @@ class SetFrameFilterPriority(gdb.Command):
def invoke(self, arg, from_tty):
command_tuple = self._parse_pri_arg(arg)
- self._set_filter_priority(command_tuple)
+ if command_tuple != None:
+ self._set_filter_priority(command_tuple)
class ShowFrameFilterPriority(gdb.Command):
"""GDB command to show the priority of the specified frame-filter.
@@ -395,8 +397,9 @@ class ShowFrameFilterPriority(gdb.Command):
argv = gdb.string_to_argv(arg);
argc = len(argv)
if argc != 2:
- raise gdb.GdbError("show frame-filter priority " \
- "takes exactly two arguments.")
+ print("show frame-filter priority " \
+ "takes exactly two arguments.")
+ return None
return argv
@@ -436,6 +439,8 @@ class ShowFrameFilterPriority(gdb.Command):
def invoke(self, arg, from_tty):
command_tuple = self._parse_pri_arg(arg)
+ if command_tuple == None:
+ return
filter_name = command_tuple[1]
list_name = command_tuple[0]
try:
diff --git a/gdb/source.c b/gdb/source.c
index d816c9e..710b90c 100644
--- a/gdb/source.c
+++ b/gdb/source.c
@@ -1613,7 +1613,7 @@ forward_search_command (char *regex, int from_tty)
buf = xmalloc (cursize);
p = buf;
- c = getc (stream);
+ c = fgetc (stream);
if (c == EOF)
break;
do
@@ -1627,7 +1627,7 @@ forward_search_command (char *regex, int from_tty)
cursize = newsize;
}
}
- while (c != '\n' && (c = getc (stream)) >= 0);
+ while (c != '\n' && (c = fgetc (stream)) >= 0);
/* Remove the \r, if any, at the end of the line, otherwise
regular expressions that end with $ or \n won't work. */
@@ -1698,14 +1698,14 @@ reverse_search_command (char *regex, int from_tty)
char buf[4096]; /* Should be reasonable??? */
char *p = buf;
- c = getc (stream);
+ c = fgetc (stream);
if (c == EOF)
break;
do
{
*p++ = c;
}
- while (c != '\n' && (c = getc (stream)) >= 0);
+ while (c != '\n' && (c = fgetc (stream)) >= 0);
/* Remove the \r, if any, at the end of the line, otherwise
regular expressions that end with $ or \n won't work. */
diff --git a/gdb/symfile.c b/gdb/symfile.c
index 32d6ad0..e9609b2 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -160,6 +160,7 @@ static void
decrement_reading_symtab (void *dummy)
{
currently_reading_symtab--;
+ gdb_assert (currently_reading_symtab >= 0);
}
/* Increment currently_reading_symtab and return a cleanup that can be
@@ -169,6 +170,7 @@ struct cleanup *
increment_reading_symtab (void)
{
++currently_reading_symtab;
+ gdb_assert (currently_reading_symtab > 0);
return make_cleanup (decrement_reading_symtab, NULL);
}
@@ -913,17 +915,6 @@ init_entry_point_info (struct objfile *objfile)
into an offset from the section VMA's as it appears in the object
file, and then call the file's sym_offsets function to convert this
into a format-specific offset table --- a `struct section_offsets'.
- If ADDRS is non-zero, OFFSETS must be zero.
-
- OFFSETS is a table of section offsets already in the right
- format-specific representation. NUM_OFFSETS is the number of
- elements present in OFFSETS->offsets. If OFFSETS is non-zero, we
- assume this is the proper table the call to sym_offsets described
- above would produce. Instead of calling sym_offsets, we just dump
- it right into objfile->section_offsets. (When we're re-reading
- symbols from an objfile, we don't have the original load address
- list any more; all we have is the section offset table.) If
- OFFSETS is non-zero, ADDRS must be zero.
ADD_FLAGS encodes verbosity level, whether this is main symbol or
an extra symbol file such as dynamically loaded code, and wether
@@ -932,16 +923,12 @@ init_entry_point_info (struct objfile *objfile)
static void
syms_from_objfile_1 (struct objfile *objfile,
struct section_addr_info *addrs,
- const struct section_offsets *offsets,
- int num_offsets,
int add_flags)
{
struct section_addr_info *local_addr = NULL;
struct cleanup *old_chain;
const int mainline = add_flags & SYMFILE_MAINLINE;
- gdb_assert (! (addrs && offsets));
-
objfile->sf = find_sym_fns (objfile->obfd);
if (objfile->sf == NULL)
@@ -962,18 +949,16 @@ syms_from_objfile_1 (struct objfile *objfile,
if an error occurs during symbol reading. */
old_chain = make_cleanup_free_objfile (objfile);
- /* If ADDRS and OFFSETS are both NULL, put together a dummy address
- list. We now establish the convention that an addr of zero means
+ /* If ADDRS is NULL, put together a dummy address list.
+ We now establish the convention that an addr of zero means
no load address was specified. */
- if (! addrs && ! offsets)
+ if (! addrs)
{
local_addr = alloc_section_addr_info (1);
make_cleanup (xfree, local_addr);
addrs = local_addr;
}
- /* Now either addrs or offsets is non-zero. */
-
if (mainline)
{
/* We will modify the main symbol table, make sure that all its users
@@ -1002,7 +987,7 @@ syms_from_objfile_1 (struct objfile *objfile,
We no longer warn if the lowest section is not a text segment (as
happens for the PA64 port. */
- if (addrs && addrs->num_sections > 0)
+ if (addrs->num_sections > 0)
addr_info_make_relative (addrs, objfile->obfd);
/* Initialize symbol reading routines for this objfile, allow complaints to
@@ -1012,21 +997,7 @@ syms_from_objfile_1 (struct objfile *objfile,
(*objfile->sf->sym_init) (objfile);
clear_complaints (&symfile_complaints, 1, add_flags & SYMFILE_VERBOSE);
- if (addrs)
- (*objfile->sf->sym_offsets) (objfile, addrs);
- else
- {
- size_t size = SIZEOF_N_SECTION_OFFSETS (num_offsets);
-
- /* Just copy in the offset table directly as given to us. */
- objfile->num_sections = num_offsets;
- objfile->section_offsets
- = ((struct section_offsets *)
- obstack_alloc (&objfile->objfile_obstack, size));
- memcpy (objfile->section_offsets, offsets, size);
-
- init_objfile_sect_indices (objfile);
- }
+ (*objfile->sf->sym_offsets) (objfile, addrs);
read_symbols (objfile, add_flags);
@@ -1039,14 +1010,12 @@ syms_from_objfile_1 (struct objfile *objfile,
/* Same as syms_from_objfile_1, but also initializes the objfile
entry-point info. */
-void
+static void
syms_from_objfile (struct objfile *objfile,
struct section_addr_info *addrs,
- const struct section_offsets *offsets,
- int num_offsets,
int add_flags)
{
- syms_from_objfile_1 (objfile, addrs, offsets, num_offsets, add_flags);
+ syms_from_objfile_1 (objfile, addrs, add_flags);
init_entry_point_info (objfile);
}
@@ -1085,8 +1054,7 @@ new_symfile_objfile (struct objfile *objfile, int add_flags)
ADD_FLAGS encodes verbosity, whether this is main symbol file or
extra, such as dynamically loaded code, and what to do with breakpoins.
- ADDRS, OFFSETS, and NUM_OFFSETS are as described for
- syms_from_objfile, above.
+ ADDRS is as described for syms_from_objfile_1, above.
ADDRS is ignored when SYMFILE_MAINLINE bit is set in ADD_FLAGS.
PARENT is the original objfile if ABFD is a separate debug info file.
@@ -1096,12 +1064,9 @@ new_symfile_objfile (struct objfile *objfile, int add_flags)
Upon failure, jumps back to command level (never returns). */
static struct objfile *
-symbol_file_add_with_addrs_or_offsets (bfd *abfd,
- int add_flags,
- struct section_addr_info *addrs,
- const struct section_offsets *offsets,
- int num_offsets,
- int flags, struct objfile *parent)
+symbol_file_add_with_addrs (bfd *abfd, int add_flags,
+ struct section_addr_info *addrs,
+ int flags, struct objfile *parent)
{
struct objfile *objfile;
const char *name = bfd_get_filename (abfd);
@@ -1145,8 +1110,7 @@ symbol_file_add_with_addrs_or_offsets (bfd *abfd,
gdb_flush (gdb_stdout);
}
}
- syms_from_objfile (objfile, addrs, offsets, num_offsets,
- add_flags);
+ syms_from_objfile (objfile, addrs, add_flags);
/* We now have at least a partial symbol table. Check to see if the
user requested that all symbols be read on initial access via either
@@ -1215,9 +1179,8 @@ symbol_file_add_separate (bfd *bfd, int symfile_flags, struct objfile *objfile)
sap = build_section_addr_info_from_objfile (objfile);
my_cleanup = make_cleanup_free_section_addr_info (sap);
- new_objfile = symbol_file_add_with_addrs_or_offsets
- (bfd, symfile_flags,
- sap, NULL, 0,
+ new_objfile = symbol_file_add_with_addrs
+ (bfd, symfile_flags, sap,
objfile->flags & (OBJF_REORDERED | OBJF_SHARED | OBJF_READNOW
| OBJF_USERLOADED),
objfile);
@@ -1227,22 +1190,18 @@ symbol_file_add_separate (bfd *bfd, int symfile_flags, struct objfile *objfile)
/* Process the symbol file ABFD, as either the main file or as a
dynamically loaded file.
-
- See symbol_file_add_with_addrs_or_offsets's comments for
- details. */
+ See symbol_file_add_with_addrs's comments for details. */
struct objfile *
symbol_file_add_from_bfd (bfd *abfd, int add_flags,
struct section_addr_info *addrs,
int flags, struct objfile *parent)
{
- return symbol_file_add_with_addrs_or_offsets (abfd, add_flags, addrs, 0, 0,
- flags, parent);
+ return symbol_file_add_with_addrs (abfd, add_flags, addrs, flags, parent);
}
/* Process a symbol file, as either the main file or as a dynamically
- loaded file. See symbol_file_add_with_addrs_or_offsets's comments
- for details. */
+ loaded file. See symbol_file_add_with_addrs's comments for details. */
struct objfile *
symbol_file_add (char *name, int add_flags, struct section_addr_info *addrs,
diff --git a/gdb/symfile.h b/gdb/symfile.h
index 85535f1..c0e367d 100644
--- a/gdb/symfile.h
+++ b/gdb/symfile.h
@@ -453,7 +453,7 @@ extern struct symtab *allocate_symtab (const char *, struct objfile *)
extern void add_symtab_fns (const struct sym_fns *);
/* This enum encodes bit-flags passed as ADD_FLAGS parameter to
- syms_from_objfile, symbol_file_add, etc. */
+ symbol_file_add, etc. */
enum symfile_add_flags
{
@@ -472,10 +472,6 @@ enum symfile_add_flags
SYMFILE_NO_READ = 1 << 4
};
-extern void syms_from_objfile (struct objfile *,
- struct section_addr_info *,
- const struct section_offsets *, int, int);
-
extern void new_symfile_objfile (struct objfile *, int);
extern struct objfile *symbol_file_add (char *, int,
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 5ca6bff..d01aa9e 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,23 @@
+2013-05-08 Tom Tromey <tromey@redhat.com>
+
+ * gdb.base/solib-search.exp: Set test name for "set
+ solib-search-path" test.
+
+2013-05-08 Hafiz Abid Qadeer <abidh@codesourcery.com>
+
+ * gdb.trace/circ.exp: Remove unnecessary 'if then' checks.
+ (set_a_tracepoint): Set tracepoint before prologue.
+ (run_trace_experiment): Test setup_tracepoints and 'break end'
+ in it.
+ (trace_buffer_normal): Remove.
+ (gdb_trace_circular_tests): Remove. Move tests to...
+ (top level): ...here. Call 'runto_main' before checking for
+ trace support. Use commands to check the support for circular
+ trace buffer and changing of trace buffer size. Add test
+ to calculate size of single frame. Use this size to
+ calculate the size of trace buffer. Use 'tfind pc func9'
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [SCM] pmuldoon/python-backtrace: Merge remote-tracking branch 'gdb/master' into pmuldoon/python-backtrace
@ 2013-05-08 10:03 pmuldoon
0 siblings, 0 replies; 9+ messages in thread
From: pmuldoon @ 2013-05-08 10:03 UTC (permalink / raw)
To: archer-commits
The branch, pmuldoon/python-backtrace has been updated
via 14e8a80e94883fefbc2c6a16eb32008f0d371c77 (commit)
via 17e668f7b1ca5ce96a51886433cb751a0e6a2a2e (commit)
via cd402a50a7be87d91aa0b0b6e4aa09da6527bbd2 (commit)
via 8f10c3cb14e9a12eee7080c48e4f1404a6bd75b4 (commit)
via d9fc67bdef1d95429ac87b80ce9ee6cbcf536878 (commit)
via 9811ffc67ae31043fa2140ab167083f3c299f308 (commit)
via 658b1ee171991584f177badbe08216007220ee9b (commit)
via 5cfeb4fbc6e51fe4f3e1a89bfc2e9f0f76ffa644 (commit)
via d7761df5830ad220cf0ff47e927879d8be7b77c4 (commit)
via 4ef075f1ce5709607742403fb09c9ec83c85d381 (commit)
via 071db9fe6db5df2a5997bf873e5f3ce28739c607 (commit)
via 76d89bfcab8015a6363fad057408d4dc73c342f9 (commit)
via 24158df9a7c93227c2df45c4211b01d363c6ffb4 (commit)
via 3ae4170839d072180476bd01b747d95d0b63ed12 (commit)
via 364608b10bfbcf8943f5e18808734ddcc9206cd4 (commit)
via 7040211e0e969a8cc08934eeec37e67468015079 (commit)
via b8f263742a5673f4ddf988bf93b65274168dc8d9 (commit)
via 5fa94527e555568c45ddee87fbf6cffe68890a1b (commit)
via 21d0dc4e8b695d4640942eccb0be44b4267e1f9a (commit)
via fa3c0d517f8c36110983288ef2f3cf4bbf4a7f36 (commit)
via e012852a9958f732e79d687fc712ec3aba597198 (commit)
via 616e118a7e18a8eef32b846b7e9d7d4197cec627 (commit)
via 28ec3e247cc22ecd040eccc138171e6b5746b211 (commit)
via 1abe07e6a2c57536afbe6f0ddb14f3e9b1d83509 (commit)
via 1fead7632f25000bedff5f753a32b9987117d66a (commit)
via 30d53ace28f23643886348bbd13a78d92c305237 (commit)
via b0ebc73aab236db66ed9baa3a3c1f5ad6336d3c5 (commit)
via d11968d37d20ed65dc9432822b83e948d95b46fe (commit)
via 07c04815e9ba61fb80dfa8b09c88eaabf432126e (commit)
via 9476ac0cbd9ac8410ce1541b5ea0edae425ef3d5 (commit)
via fdf76be874627e0dde995e5555e2c6926bf88db7 (commit)
via b490dc7610f05ed3a3eb9227c82cf1a5cf8f7c97 (commit)
via d9b323ee990314df7981c2d599e932606abc74a4 (commit)
via 1bd49fda93db2805d821307ac8cf65e01d5b54a4 (commit)
via 8a3b4bbdafa5b601e0af356dc73b88b06c6d7332 (commit)
via 8ef0b952c0422658fb407917888d4c98fa55117f (commit)
via faa73d425d03b16dcbb3d7135872558c1852dd45 (commit)
via a9fce1bc95601cd0521adb498a5c3d00a2f41aed (commit)
via f38f5ec74d176ff96ee2a3e642a2920d0e130d20 (commit)
via dc40faa5c564ede6b8f901bc1a7dee76c18c2861 (commit)
via 1b8065336312d4e5b9ef920db43f77f972be4ce7 (commit)
via 96e1ff24b57219e6dffbb90cc023e4cf5027a688 (commit)
via 7862bb5d7eb447f0ae4279d04aedf05bcc254526 (commit)
via cb59f805bbc0ce5ea8bdb58eb582d50fdd6de84d (commit)
via ad8562bf2c2e0d54f691ab4bd6e81de0143e02a8 (commit)
via b9f55e3156d158077c25cff30d68ab07cb85984d (commit)
via 2a76aec91cbf604b4320ff1cf0bc4576a4c916fa (commit)
via f715391fbc62f5406db7ff23c6db5b8b5bdbd08f (commit)
via 4f9c83799fdc146d90c2424ed1cbfcfd4b74147a (commit)
via 9b3730b42180d941c99d31df0db47867bf6398cd (commit)
via 94777abfb8f831fd0dadc9b0572eb097fd50bea3 (commit)
via b395cb33dba6c1bf90226e31de32a59c319963b7 (commit)
via 64b107b6b447c11b4a7891470930e364df930e7a (commit)
via 322c436665d75aaeadadbcb1e3e05b12b437b08c (commit)
via bdefcb14adb0f892bb613a8e891a031775fe6dff (commit)
via 20e2838e70a394df2bcc6867b20cf5986eed6b4a (commit)
via 1121c709b97fe993a34cdec5fd527898704fb8eb (commit)
via 10033b6300129b4662b199a3903da79677c2ddd0 (commit)
via cbc2f1cd213ffcc8d77dbed2654f5eb013182f2f (commit)
via 548fe3aeed52402480a707202c78933b7f0d3748 (commit)
via 1d1e0c44fe05d65f68f73a77e29b1474a9ddfb95 (commit)
via ef40e27e0cee297fac4f7a247ff40f39433fbaf0 (commit)
via 16c0b11b02771012bf4514ba955f681e5994ce3c (commit)
via f48fd02843a2da4e0421d9dfa00686d300a71e16 (commit)
via 3efe260e9d1d0ce992494820b3a6d180a998917e (commit)
via 029d1bad2ac0ff638ecab4b1bb8f737bdb44b417 (commit)
via 82b03c1289c0b95aa5daf168251b51458a996b76 (commit)
via 3fe4aa22545a548d3064fa3ea4e88e8369e45e51 (commit)
via bbafb912fa731c7d09c5ebcbeaffb49b5cb9337a (commit)
via bdc44b2ac9424ef0d2fbfdd7b78f73d7933b4289 (commit)
via 8747f6ed71b9139b1a79ab62202e36537664344d (commit)
via e603b201022b4d2668be888f882d685b79198380 (commit)
via ddbcc3e74124ccca7a8ad8a1e75070790de3776f (commit)
via 51c07ff177513a01184013d85875c328732a68d2 (commit)
from 967deb420c2df1356b914c6319a5dbc93435218b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit 14e8a80e94883fefbc2c6a16eb32008f0d371c77
Merge: 967deb4 17e668f
Author: Phil Muldoon <pmuldoon@redhat.com>
Date: Wed May 8 11:03:37 2013 +0100
Merge remote-tracking branch 'gdb/master' into pmuldoon/python-backtrace
Conflicts:
gdb/NEWS
commit 17e668f7b1ca5ce96a51886433cb751a0e6a2a2e
Author: Joel Brobecker <brobecker@gnat.com>
Date: Wed May 8 06:25:20 2013 +0000
Avoid duplicating text in sol-thread.c:info_cb
This is a minor cleanup that helps avoiding duplicating the output
of a command when handling alternative situations.
gdb/ChangeLog:
* sol-thread.c (info_cb): Factorize the code a little.
commit cd402a50a7be87d91aa0b0b6e4aa09da6527bbd2
Author: Joel Brobecker <brobecker@gnat.com>
Date: Wed May 8 06:23:50 2013 +0000
Improve output of "maintenance info sol-threads" command.
This patch does the following:
- Puts the startfunc and "Sleep func" info on the same line;
- Renames "Sleep func" into "sleepfunc" to be consistent with
"startfunc"
- Avoids the use of a '-' as a separate before the "sleepfunc"
output, because the '-' looks odd and out of place when the
"startfunc" field is not printed (ti.ti_startfunc is nul).
- Use a '=' instead of ':' and avoids the space between
the name of the value and its value, mostly to help group
the value with its name.
For the record, this is how the new outout now looks like:
(gdb) maintenance info sol-threads
user thread #1, lwp 1, (active)
system thread #2, lwp 2, (active)
system thread #3, lwp 0, (asleep) sleepfunc=0xff32d9e0
user thread #4, lwp 4, (asleep) startfunc=[...].task_wrapper sleepfunc=0xff3290f0
system thread #5, lwp 7, (active) startfunc=_co_timerset
user thread #6, lwp 8, (active) startfunc=[...].task_wrapper
gdb/ChangeLog:
* sol-thread.c (info_cb): Rework the output of the "maintenance
info sol-threads" command a bit.
commit 8f10c3cb14e9a12eee7080c48e4f1404a6bd75b4
Author: Joel Brobecker <brobecker@gnat.com>
Date: Wed May 8 06:19:32 2013 +0000
ti.ti_pc vs ti.ti_startfunc copy-pasto in sol-thread.c:info_cb
gdb/ChangeLog:
* sol-thread.c (info_cb) [ti.ti_state == TD_THR_SLEEP]:
Replace ti.ti_startfunc by ti.ti_pc.
Probably OK to commit without approval, so will likely do so in the
next few days.
commit d9fc67bdef1d95429ac87b80ce9ee6cbcf536878
Author: Joel Brobecker <brobecker@gnat.com>
Date: Wed May 8 06:10:02 2013 +0000
Dummy implementation of solib_aix_free_library_list if libexpat missing.
gdb/ChangeLog:
* solib-aix.c (solib_aix_free_library_list): New function
for the case where HAVE_LIBEXPAT is not defined.
commit 9811ffc67ae31043fa2140ab167083f3c299f308
Author: Joel Brobecker <brobecker@gnat.com>
Date: Wed May 8 05:50:47 2013 +0000
[doco] Document the XML format used for AIX shared lib support.
gdb/doc/ChangeLog:
* gdbint.texinfo (Native Debugging): Add "AIX Shared Library
Support" subsection documenting the XML format used to transfer
shared library info on AIX.
commit 658b1ee171991584f177badbe08216007220ee9b
Author: Joel Brobecker <brobecker@gnat.com>
Date: Wed May 8 05:40:44 2013 +0000
Document set/show debug aix-solib.
gdb/doc/ChangeLog:
* gdb.texinfo (Debugging Output): Add documentation of
"set debug aix-solib" and "show debug aix-solib" commands.
commit 5cfeb4fbc6e51fe4f3e1a89bfc2e9f0f76ffa644
Author: Alan Modra <amodra@bigpond.net.au>
Date: Wed May 8 00:00:06 2013 +0000
daily update
commit d7761df5830ad220cf0ff47e927879d8be7b77c4
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Wed May 8 00:00:02 2013 +0000
*** empty log message ***
commit 4ef075f1ce5709607742403fb09c9ec83c85d381
Author: Tom Tromey <tromey@redhat.com>
Date: Tue May 7 18:06:16 2013 +0000
* lib/selftest-support.exp: New file.
* gdb.gdb/complaints.exp: Load selftest-support.exp. Use
do_self_tests.
(setup_test, find_gdb): Remove.
* gdb.gdb/observer.exp: Load selftest-support.exp. Use
do_self_tests.
(setup_test, find_gdb): Remove.
(test_observer): Don't call setup_test. Remove argument.
* gdb.gdb/selftest.exp: Load selftest-support.exp.
(find_gdb): Remove.
* gdb.gdb/complaints.exp: Load selftest-support.exp. Use
do_self_tests.
(setup_test, find_gdb): Remove.
(test_with_self): Don't call setup_test. Remove argument.
commit 071db9fe6db5df2a5997bf873e5f3ce28739c607
Author: Pedro Alves <palves@redhat.com>
Date: Tue May 7 17:51:42 2013 +0000
Merge gdb.arch/system-gcore.exp into gdb.base/gcore.exp
The test case gdb.arch/system-gcore.exp is almost an identical copy of
gdb.base/gcore.exp. The only functional change is the additional
comparison of the "info reg system" command output.
It should be safe to perform this comparison on all architectures.
Thus the patch removes the arch-specific version and adds "info reg
system" to the common gcore test case instead.
Tested on i686-linux and s390x-linux.
gdb/testsuite/Changelog:
2013-05-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
* gdb.arch/system-gcore.exp: Remove.
* gdb.arch/gcore.c: Remove.
* gdb.base/gcore.exp: Add "info reg system".
commit 76d89bfcab8015a6363fad057408d4dc73c342f9
Author: sergiodj <sergiodj>
Date: Tue May 7 17:04:28 2013 +0000
gdb/
2013-05-07 Sergio Durigan Junior <sergiodj@redhat.com>
PR breakpoints/15413:
* breakpoint.c (condition_completer): Simplify the code to
disconsider multiple locations of breakpoints when completing the
"condition" command.
gdb/testsuite/
2013-05-07 Sergio Durigan Junior <sergiodj@redhat.com>
PR breakpoints/15413:
* gdb.base/pending.exp: Add test for completion of the "condition"
command for pending breakpoints.
* gdb.linespec/linespec.ex: Add test for completion of the
"condition" command when dealing with multiple locations.
commit 24158df9a7c93227c2df45c4211b01d363c6ffb4
Author: willnewton <willnewton>
Date: Tue May 7 17:03:51 2013 +0000
bfd/elf-ifunc.c: Add header size arg to _bfd_elf_allocate_ifunc_dyn_relocs.
bfd/ChangeLog:
2013-05-07 Will Newton <will.newton@linaro.org>
* elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Add a
plt_header_size argument for ports where it differs from
plt_entry_size.
* elf-bfd.h: Likewise.
* elf32-i386.c: Pass plt_header_size to
_bfd_elf_allocate_ifunc_dyn_relocs.
* elf64-x86-64.c: Likewise.
commit 3ae4170839d072180476bd01b747d95d0b63ed12
Author: willnewton <willnewton>
Date: Tue May 7 17:01:11 2013 +0000
bfd/elf-ifunc.c: Remove unused function _bfd_elf_create_ifunc_dyn_reloc.
bfd/ChangeLog:
2013-05-07 Will Newton <will.newton@linaro.org>
* elf-ifunc.c (_bfd_elf_create_ifunc_dyn_reloc): Remove unused
function.
* elf-bfd.h: Likewise.
commit 364608b10bfbcf8943f5e18808734ddcc9206cd4
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date: Tue May 7 13:04:58 2013 +0000
* common/linux-btrace.c: ARI fix: Include "gdb_wait.h"
instead of <sys/wait.h>.
commit 7040211e0e969a8cc08934eeec37e67468015079
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date: Tue May 7 13:02:19 2013 +0000
* nios2-tdep.c (nios2_dwarf_reg_to_regnum): ARI fix: remove
trailing new line from warning message.
commit b8f263742a5673f4ddf988bf93b65274168dc8d9
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date: Tue May 7 13:00:06 2013 +0000
* contrib/ari/gdb_ari.sh (SOLIB_ADD, SOLIB_CREATE_INFERIOR_HOOK)
(PC_SOLIB): Change type from ari_deprecate to ari_regression.
commit 5fa94527e555568c45ddee87fbf6cffe68890a1b
Author: Joel Brobecker <brobecker@gnat.com>
Date: Tue May 7 12:40:08 2013 +0000
Add missing ChangeLog entries...
... for the following commits:
2013-05-07 Joel Brobecker <brobecker@adacore.com>
* rs6000-nat.c (rs6000_core_ldinfo): Remove '\n' at end of
error message (ARI fix).
2013-05-07 Joel Brobecker <brobecker@adacore.com>
* features/library-list-aix.dtd: Replace library-list by
library-list-aix.
* rs6000-nat.c: Replace library-list by library-list-aix
throughout.
* solib-aix.c: Likewise.
2013-05-07 Joel Brobecker <brobecker@adacore.com>
* target.h (enum target_object) [TARGET_OBJECT_LIBRARIES_AIX]:
Renames TARGET_OBJECT_AIX_LIBRARIES.
* rs6000-nat.c: Replace TARGET_OBJECT_AIX_LIBRARIES with
TARGET_OBJECT_LIBRARIES_AIX throughout.
* solib-aix.c: Likwise.
There were added, but accidently not checked in.
commit 21d0dc4e8b695d4640942eccb0be44b4267e1f9a
Author: Joel Brobecker <brobecker@gnat.com>
Date: Tue May 7 12:36:13 2013 +0000
rs6000-nat.c:rs6000_core_ldinfo: Remove \n at end of error message.
gdb/ChangeLog:
* rs6000-nat.c (rs6000_core_ldinfo): Remove '\n' at end of
error message (ARI fix).
commit fa3c0d517f8c36110983288ef2f3cf4bbf4a7f36
Author: Joel Brobecker <brobecker@gnat.com>
Date: Tue May 7 09:50:49 2013 +0000
AIX: Change XML to use library-list-aix instead of library-list.
This is more consistent with what we do with other similar XML lists,
and avoids a potential confusion with the library-list XML list.
gdb/ChangeLog:
* features/library-list-aix.dtd: Replace library-list by
library-list-aix.
* rs6000-nat.c: Replace library-list by library-list-aix
throughout.
* solib-aix.c: Likewise.
commit e012852a9958f732e79d687fc712ec3aba597198
Author: Joel Brobecker <brobecker@gnat.com>
Date: Tue May 7 09:50:41 2013 +0000
Rename TARGET_OBJECT_AIX_LIBRARIES to TARGET_OBJECT_LIBRARIES_AIX
More consistent with the name of other similar object names.
gdb/ChangeLog:
* target.h (enum target_object) [TARGET_OBJECT_LIBRARIES_AIX]:
Renames TARGET_OBJECT_AIX_LIBRARIES.
* rs6000-nat.c: Replace TARGET_OBJECT_AIX_LIBRARIES with
TARGET_OBJECT_LIBRARIES_AIX throughout.
* solib-aix.c: Likwise.
commit 616e118a7e18a8eef32b846b7e9d7d4197cec627
Author: qiyao <qiyao>
Date: Tue May 7 09:26:09 2013 +0000
gdb/
* solib-dsbt.c (struct dsbt_info) <enable_break2_done>: Remove.
(get_dsbt_info, enable_break, dsbt_clear_solib): Update.
commit 28ec3e247cc22ecd040eccc138171e6b5746b211
Author: qiyao <qiyao>
Date: Tue May 7 09:23:27 2013 +0000
gdb/
* solib-dsbt.c (enable_break): Declare.
(dsbt_current_sos): Remove call to enable_break2.
(enable_break2): Rename to enable_break. Set solib breakpoint
on '_dl_debug_state'.
(enable_break): Remove.
commit 1abe07e6a2c57536afbe6f0ddb14f3e9b1d83509
Author: Luis Machado <luisgpm@br.ibm.com>
Date: Tue May 7 07:43:33 2013 +0000
gdb/
* ppc-linux-nat.c (ppc_linux_new_thread): Clear the new thread's
debug state prior to replicating existing hardware watchpoints or
breakpoints.
gdb/testsuite/
* gdb.threads/wp-replication.c: New file.
* gdb.threads/wp-replication.exp: New file.
commit 1fead7632f25000bedff5f753a32b9987117d66a
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Tue May 7 01:38:04 2013 +0000
gdb/
* gcore.c (gcore_create_callback): Ignore sections with
separate_debug_objfile_backlink != NULL.
commit 30d53ace28f23643886348bbd13a78d92c305237
Author: Sandra Loosemore <sandra@codesourcery.com>
Date: Tue May 7 01:12:41 2013 +0000
2013-05-06 Sandra Loosemore <sandra@codesourcery.com>
gdb/testsuite/
* gdb.xml/tdesc-regs.exp: Add case for nios2.
commit b0ebc73aab236db66ed9baa3a3c1f5ad6336d3c5
Author: Sandra Loosemore <sandra@codesourcery.com>
Date: Tue May 7 01:11:16 2013 +0000
2013-05-06 Sandra Loosemore <sandra@codesourcery.com>
Andrew Jenner <andrew@codesourcery.com>
gdb/gdbserver/
* Makefile.in (SFILES): Add linux-nios2-low.c.
(clean): Add action to delete nios2-linux.c.
(nios2-linux.c): New rule.
* configure.srv: Add nios2*-*-linux*.
* linux-nios2-low.c: New.
commit d11968d37d20ed65dc9432822b83e948d95b46fe
Author: Sandra Loosemore <sandra@codesourcery.com>
Date: Tue May 7 01:09:27 2013 +0000
2013-05-06 Sandra Loosemore <sandra@codesourcery.com>
Andrew Jenner <andrew@codesourcery.com>
Chung-Lin Tang <cltang@codesourcery.com>
Julian Brown <julian@codesourcery.com>
Based on the nios2-elf port from Altera Corporation.
gdb/
* Makefile.in (ALL_TARGET_OBS): Add nios2-tdep.o and
nios2-linux-tdep.o.
(HFILES_NO_SRCDIR): Add nios2-tdep.h.
(ALLDEPFILES): Add nios2-tdep.c and nios2-linux-tdep.c.
* configure.tgt: Add nios2*-*-linux* and nios2*-*-* targets.
* nios2-tdep.h: New.
* nios2-tdep.c: New.
* nios2-linux-tdep.c: New.
* features/Makefile (WHICH): Add nios2-linux.
(nios2-linux-expedite): Set.
* features/nios2-cpu.xml: New.
* features/nios2.xml: New.
* features/nios2-linux.xml: New.
* features/nios2.c: New (autogenerated).
* features/nios2-linux.c: New (autogenerated).
* regformats/nios2-linux.dat: New (autogenerated).
* NEWS (Changes since GDB 7.6): Add new Nios II targets
and commands.
gdb/doc/
* gdb.texinfo (Nios II): New section.
(Nios II Features): New section.
commit 07c04815e9ba61fb80dfa8b09c88eaabf432126e
Author: Doug Evans <dje@google.com>
Date: Tue May 7 00:02:10 2013 +0000
* symfile.c: Whitespace cleanup.
commit 9476ac0cbd9ac8410ce1541b5ea0edae425ef3d5
Author: Alan Modra <amodra@bigpond.net.au>
Date: Tue May 7 00:00:04 2013 +0000
daily update
commit fdf76be874627e0dde995e5555e2c6926bf88db7
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Tue May 7 00:00:02 2013 +0000
*** empty log message ***
commit b490dc7610f05ed3a3eb9227c82cf1a5cf8f7c97
Author: Doug Evans <dje@google.com>
Date: Mon May 6 22:20:18 2013 +0000
* gdb.base/solib-search-lib1.c: New file.
* gdb.base/solib-search-lib2.c: New file.
* gdb.base/solib-search.c: New file.
* gdb.base/solib-search.h: New file.
* gdb.base/solib-search.exp: New file.
commit d9b323ee990314df7981c2d599e932606abc74a4
Author: Doug Evans <dje@google.com>
Date: Mon May 6 22:18:37 2013 +0000
* solist.h (struct target_so_ops): New member clear_so.
* solib-svr4.c (svr4_clear_so): New function.
(_initialize_svr4_solib): Set svr4_so_ops.clear_so.
* solib.c (clear_so): Renamed from free_so_symbols.
All callers updated. Call target clear_so if it exists.
commit 1bd49fda93db2805d821307ac8cf65e01d5b54a4
Author: Doug Evans <dje@google.com>
Date: Mon May 6 22:11:15 2013 +0000
* lib/gdb.exp (gdb_core_cmd): New function.
* gdb.arch/system-gcore.exp: Use it.
* gdb.arch/vsx-regs.exp: Ditto.
* gdb.base/gcore.exp: Ditto.
* gdb.threads/gcore-thread.exp: Ditto.
commit 8a3b4bbdafa5b601e0af356dc73b88b06c6d7332
Author: Doug Evans <dje@google.com>
Date: Mon May 6 22:07:13 2013 +0000
* gdb.reverse/shr.h: New file.
* gdb.reverse/shr1.c: New file.
* gdb.reverse/shr2.c: #include "shr.h".
* gdb.reverse/solib-reverse.c: Remove #include <stdio.h>.
#include "shr.h". Replace calls to printf,sleep to call shr1 instead.
* gdb.reverse/solib-precsave.exp: Build shr2.sl.
Update tests using sleep/printf to use shr2.sl instead.
* gdb.reverse/solib-reverse.exp: Ditt.o
commit 8ef0b952c0422658fb407917888d4c98fa55117f
Author: Tom Tromey <tromey@redhat.com>
Date: Mon May 6 19:46:15 2013 +0000
* ada-lang.c (ada_value_primitive_packed_val): Don't
call value_incref.
* value.c (set_value_parent): Incref the new parent and decref
the old parent.
(value_copy, value_primitive_field): Use set_value_parent.
commit faa73d425d03b16dcbb3d7135872558c1852dd45
Author: Tom Tromey <tromey@redhat.com>
Date: Mon May 6 19:44:03 2013 +0000
* dwarf2loc.c (invalid_synthetic_pointer): Move earlier.
(indirect_pieced_value): Call dwarf2_fetch_constant_bytes
if needed.
* dwarf2loc.h (dwarf2_fetch_constant_bytes): Declare.
* dwarf2read.c (write_constant_as_bytes)
(dwarf2_fetch_constant_bytes): New functions.
gdb/testsuite
* gdb.dwarf2/implptrconst.c: New file.
* gdb.dwarf2/implptrconst.exp: New file.
* lib/dwarf.exp (Dwarf::_nz_quote): New proc.
(Dwarf::_handle_DW_FORM): Handle DW_FORM_block1.
(Dwarf::_location): Handle DW_OP_GNU_implicit_pointer.
commit a9fce1bc95601cd0521adb498a5c3d00a2f41aed
Author: Tom Tromey <tromey@redhat.com>
Date: Mon May 6 19:39:08 2013 +0000
* dwarf2read.c (dwarf2_const_value_data): Remove unused
parameters.
(dwarf2_const_value_attr): Update.
commit f38f5ec74d176ff96ee2a3e642a2920d0e130d20
Author: Tom Tromey <tromey@redhat.com>
Date: Mon May 6 19:38:04 2013 +0000
* somread.c (som_symfile_offsets): Add 'const' to addrs.
* machoread.c (macho_symfile_offsets): Add 'const' to addrs.
* xcoffread.c (xcoff_symfile_offsets): Add 'const' to addrs.
Remove declaration.
commit dc40faa5c564ede6b8f901bc1a7dee76c18c2861
Author: Tom Tromey <tromey@redhat.com>
Date: Mon May 6 19:28:36 2013 +0000
* dwarf2read.c (dwarf2_const_value_attr): Use 'obstack', not
objfile's obstack.
commit 1b8065336312d4e5b9ef920db43f77f972be4ce7
Author: Doug Evans <dje@google.com>
Date: Mon May 6 19:15:17 2013 +0000
* dbxread.c (process_one_symbol): Constify section_offsets parameter.
* stabsread.h (process_one_symbol): Update declaration.
* dwarf2read.c (dw2_relocate): Constify new_offsets, delta parameters.
* elfread.c (elf_symfile_relocate_probe): Ditto.
* psymtab.c (relocate_psymtabs): Ditto.
* objfiles.c (objfile_relocate1): Constify new_offsets parameter.
(objfile_relocate): Ditto.
* objfiles.h (objfile_relocate): Update declaration.
* symfile.c (relative_addr_info_to_section_offsets): Constify
addrs parameter.
(default_symfile_offsets): Ditto.
(syms_from_objfile_1): Constify offsets parameter.
(syms_from_objfile): Ditto.
(symbol_file_add_with_addrs_or_offsets): Ditto.
(symfile_map_offsets_to_segments): Constify data parameter.
* symfile.h (struct quick_symbol_functions): Constify new_offsets,
delta parameters of member relocate.
(struct sym_probe_fns): Constify new_offsets,
delta parameters of member sym_relocate_probe.
(struct sym_fns): Constify section_addr_info parameter of member
sym_offsets.
(relative_addr_info_to_section_offsets): Update declaration.
(default_symfile_offsets): Ditto.
(syms_from_objfile): Ditto.
(symfile_map_offsets_to_segments): Ditto.
commit 96e1ff24b57219e6dffbb90cc023e4cf5027a688
Author: Doug Evans <dje@google.com>
Date: Mon May 6 18:50:08 2013 +0000
* symfile.c (syms_from_objfile_1): Use correct section count when
objfile->sf == NULL.
commit 7862bb5d7eb447f0ae4279d04aedf05bcc254526
Author: Jeff Johnston <jjohnstn@redhat.com>
Date: Mon May 6 18:31:56 2013 +0000
2013-05-06 Sandra Loosemore <sandra@codesourcery.com>
* COPYING.NEWLIB: Add Altera Corporation copyright.
commit cb59f805bbc0ce5ea8bdb58eb582d50fdd6de84d
Author: Mike Frysinger <vapier@gentoo.org>
Date: Mon May 6 18:03:33 2013 +0000
gdb: btrace: fix indentation style
Most of this func had the incorrect indentation level (starting with 4
spaces instead of 2).
-----------------------------------------------------------------------
Summary of changes:
COPYING.NEWLIB | 31 +
ChangeLog | 4 +
bfd/ChangeLog | 62 +
bfd/archures.c | 13 +-
bfd/bfd-in2.h | 24 +
bfd/config.bfd | 1 +
bfd/configure | 1 +
bfd/configure.in | 3 +-
bfd/cpu-msp430.c | 46 +-
bfd/elf-bfd.h | 5 +-
bfd/elf-ifunc.c | 48 +-
bfd/elf32-i386.c | 3 +-
bfd/elf32-mips.c | 4 +-
bfd/elf32-msp430.c | 1833 +++++++++++++++++---
bfd/elf64-mips.c | 27 +-
bfd/elf64-ppc.c | 29 +-
bfd/elf64-x86-64.c | 1 +
bfd/elflink.c | 27 +-
bfd/elfn32-mips.c | 27 +-
bfd/libbfd.h | 15 +
bfd/reloc.c | 30 +
bfd/targets.c | 6 +-
bfd/version.h | 2 +-
gdb/ChangeLog | 383 ++++-
gdb/Makefile.in | 17 +-
gdb/NEWS | 9 +
gdb/ada-lang.c | 1 -
gdb/amd64-darwin-tdep.c | 1 -
gdb/break-catch-sig.c | 10 +-
gdb/breakpoint.c | 35 +-
gdb/cleanups.c | 1 +
gdb/common/linux-btrace.c | 70 +-
gdb/config/powerpc/aix.mh | 5 +-
gdb/config/rs6000/nm-rs6000.h | 50 -
gdb/configure.tgt | 13 +-
gdb/contrib/ari/gdb_ari.sh | 6 +-
gdb/corelow.c | 18 -
gdb/darwin-nat.c | 120 +-
gdb/dbxread.c | 2 +-
gdb/doc/ChangeLog | 22 +
gdb/doc/gdb.texinfo | 36 +
gdb/doc/gdbint.texinfo | 90 +-
gdb/dwarf2loc.c | 54 +-
gdb/dwarf2loc.h | 5 +
gdb/dwarf2read.c | 169 ++-
gdb/elfread.c | 4 +-
gdb/event-top.c | 1 +
gdb/exec.c | 120 --
gdb/features/Makefile | 2 +
gdb/features/library-list-aix.dtd | 18 +
gdb/features/nios2-cpu.xml | 59 +
gdb/features/nios2-linux.c | 71 +
gdb/features/nios2-linux.xml | 13 +
gdb/features/nios2.c | 69 +
gdb/features/nios2.xml | 12 +
gdb/gcore.c | 5 +-
gdb/gdbserver/ChangeLog | 13 +
gdb/gdbserver/Makefile.in | 4 +
gdb/gdbserver/configure.srv | 9 +
gdb/gdbserver/linux-nios2-low.c | 234 +++
gdb/gdbserver/tracepoint.c | 2 +
gdb/infcmd.c | 14 +-
gdb/infrun.c | 4 -
gdb/machoread.c | 2 +-
gdb/nios2-linux-tdep.c | 233 +++
gdb/nios2-tdep.c | 1637 +++++++++++++++++
gdb/nios2-tdep.h | 80 +
gdb/objfiles.c | 7 +-
gdb/objfiles.h | 2 +-
gdb/ppc-linux-nat.c | 13 +-
gdb/psympriv.h | 4 +-
gdb/psymtab.c | 4 +-
gdb/regformats/nios2-linux.dat | 53 +
gdb/rl78-tdep.c | 16 +-
gdb/rs6000-aix-tdep.c | 20 +-
gdb/rs6000-nat.c | 770 ++-------
gdb/rs6000-tdep.h | 4 -
gdb/sol-thread.c | 28 +-
gdb/solib-aix.c | 837 +++++++++
gdb/{testsuite/gdb.reverse/shr2.c => solib-aix.h} | 28 +-
gdb/solib-dsbt.c | 163 +--
gdb/solib-frv.c | 6 +-
gdb/solib-svr4.c | 9 +
gdb/solib-target.c | 2 +-
gdb/solib.c | 23 +-
gdb/solist.h | 5 +
gdb/somread.c | 3 +-
gdb/stabsread.h | 3 +-
gdb/stack.c | 5 +-
gdb/symfile.c | 58 +-
gdb/symfile.h | 18 +-
gdb/target.h | 2 +
gdb/testsuite/ChangeLog | 81 +
gdb/testsuite/gdb.arch/gcore.c | 70 -
gdb/testsuite/gdb.arch/system-gcore.exp | 215 ---
gdb/testsuite/gdb.arch/vsx-regs.exp | 33 +-
gdb/testsuite/gdb.base/catch-signal.c | 2 +
gdb/testsuite/gdb.base/catch-signal.exp | 13 +
gdb/testsuite/gdb.base/gcore.exp | 34 +-
gdb/testsuite/gdb.base/pending.exp | 3 +
.../{catch-signal.c => solib-search-lib1.c} | 47 +-
.../{catch-signal.c => solib-search-lib2.c} | 47 +-
.../shr2.c => gdb.base/solib-search.c} | 27 +-
gdb/testsuite/gdb.base/solib-search.exp | 184 ++
.../gdb.base/solib-search.h} | 24 +-
.../shr2.c => gdb.dwarf2/implptrconst.c} | 20 +-
gdb/testsuite/gdb.dwarf2/implptrconst.exp | 103 ++
gdb/testsuite/gdb.gdb/complaints.exp | 126 +--
gdb/testsuite/gdb.gdb/observer.exp | 125 +--
gdb/testsuite/gdb.gdb/selftest.exp | 24 +-
gdb/testsuite/gdb.gdb/xfullpath.exp | 125 +--
gdb/testsuite/gdb.linespec/linespec.exp | 4 +
gdb/testsuite/gdb.reverse/{shr2.c => shr.h} | 24 +-
gdb/testsuite/gdb.reverse/{shr2.c => shr1.c} | 20 +-
gdb/testsuite/gdb.reverse/shr2.c | 2 +
gdb/testsuite/gdb.reverse/solib-precsave.exp | 59 +-
gdb/testsuite/gdb.reverse/solib-reverse.c | 25 +-
gdb/testsuite/gdb.reverse/solib-reverse.exp | 59 +-
gdb/testsuite/gdb.threads/gcore-thread.exp | 33 +-
gdb/testsuite/gdb.threads/wp-replication.c | 163 ++
gdb/testsuite/gdb.threads/wp-replication.exp | 151 ++
gdb/testsuite/gdb.trace/status-stop.exp | 10 +-
gdb/testsuite/gdb.xml/tdesc-regs.exp | 3 +
gdb/testsuite/lib/dwarf.exp | 30 +-
gdb/testsuite/lib/gdb.exp | 43 +
.../xfullpath.exp => lib/selftest-support.exp} | 138 +-
gdb/v850-tdep.c | 309 ++++-
gdb/value.c | 12 +-
gdb/version.in | 2 +-
gdb/windows-nat.c | 11 +-
gdb/xcoffread.c | 88 +-
gdb/xcoffsolib.c | 182 --
gdb/xcoffsolib.h | 65 -
include/ChangeLog | 5 +
include/elf/ChangeLog | 6 +
include/elf/mips.h | 5 +-
include/elf/msp430.h | 47 +-
include/opcode/ChangeLog | 4 +
include/opcode/msp430.h | 70 +-
opcodes/ChangeLog | 4 +
opcodes/msp430-dis.c | 712 ++++++--
sim/ChangeLog | 4 -
sim/ppc/ChangeLog | 10 +
sim/ppc/ppc-instructions | 13 -
144 files changed, 8589 insertions(+), 3075 deletions(-)
delete mode 100644 gdb/config/rs6000/nm-rs6000.h
create mode 100644 gdb/features/library-list-aix.dtd
create mode 100644 gdb/features/nios2-cpu.xml
create mode 100644 gdb/features/nios2-linux.c
create mode 100644 gdb/features/nios2-linux.xml
create mode 100644 gdb/features/nios2.c
create mode 100644 gdb/features/nios2.xml
create mode 100644 gdb/gdbserver/linux-nios2-low.c
create mode 100644 gdb/nios2-linux-tdep.c
create mode 100644 gdb/nios2-tdep.c
create mode 100644 gdb/nios2-tdep.h
create mode 100644 gdb/regformats/nios2-linux.dat
create mode 100644 gdb/solib-aix.c
copy gdb/{testsuite/gdb.reverse/shr2.c => solib-aix.h} (70%)
delete mode 100644 gdb/testsuite/gdb.arch/gcore.c
delete mode 100644 gdb/testsuite/gdb.arch/system-gcore.exp
copy gdb/testsuite/gdb.base/{catch-signal.c => solib-search-lib1.c} (54%)
copy gdb/testsuite/gdb.base/{catch-signal.c => solib-search-lib2.c} (54%)
copy gdb/testsuite/{gdb.reverse/shr2.c => gdb.base/solib-search.c} (68%)
create mode 100644 gdb/testsuite/gdb.base/solib-search.exp
copy gdb/{rs6000-tdep.h => testsuite/gdb.base/solib-search.h} (58%)
copy gdb/testsuite/{gdb.reverse/shr2.c => gdb.dwarf2/implptrconst.c} (75%)
create mode 100644 gdb/testsuite/gdb.dwarf2/implptrconst.exp
copy gdb/testsuite/gdb.reverse/{shr2.c => shr.h} (74%)
copy gdb/testsuite/gdb.reverse/{shr2.c => shr1.c} (75%)
create mode 100644 gdb/testsuite/gdb.threads/wp-replication.c
create mode 100644 gdb/testsuite/gdb.threads/wp-replication.exp
copy gdb/testsuite/{gdb.gdb/xfullpath.exp => lib/selftest-support.exp} (55%)
delete mode 100644 gdb/xcoffsolib.c
delete mode 100644 gdb/xcoffsolib.h
First 500 lines of diff:
diff --git a/COPYING.NEWLIB b/COPYING.NEWLIB
index 6849eb5..73379ff 100644
--- a/COPYING.NEWLIB
+++ b/COPYING.NEWLIB
@@ -894,3 +894,34 @@ 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.
+
+(40) - Altera Corportion (nios2-* targets)
+
+Copyright (c) 2003 Altera Corporation
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+ o Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ o 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.
+ o Neither the name of Altera Corporation nor the names of its
+ contributors may be used to endorse or promote products derived from
+ this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY ALTERA CORPORATION, THE COPYRIGHT HOLDER,
+AND ITS 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 COPYRIGHT HOLDER 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 06c7d47..2d6d310 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-05-06 Sandra Loosemore <sandra@codesourcery.com>
+
+ * COPYING.NEWLIB: Add Altera Corporation copyright.
+
2013-04-29 Jan-Benedict Glaw <jbglaw@lug-owl.de>
* config.guess: Update from config repo.
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 2a0ee47..a670a24 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,65 @@
+2013-05-07 Will Newton <will.newton@linaro.org>
+
+ * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Add a
+ plt_header_size argument for ports where it differs from
+ plt_entry_size.
+ * elf-bfd.h: Likewise.
+ * elf32-i386.c: Pass plt_header_size to
+ _bfd_elf_allocate_ifunc_dyn_relocs.
+ * elf64-x86-64.c: Likewise.
+
+2013-05-07 Will Newton <will.newton@linaro.org>
+
+ * elf-ifunc.c (_bfd_elf_create_ifunc_dyn_reloc): Remove unused
+ function.
+ * elf-bfd.h: Likewise.
+
+2013-05-06 Paul Brook <paul@codesourcery.com>
+
+ * elf64-mips.c (elf_mips_gnu_pcrel32): New.
+ (bfd_elf64_bfd_reloc_type_lookup, bfd_elf64_bfd_reloc_name_lookup,
+ mips_elf64_rtype_to_howto): Handle R_MIPS_PC32.
+ * elfn32-mips.c (elf_mips_gnu_pcrel32): New.
+ (bfd_elfn32_bfd_reloc_type_lookup, bfd_elfn32_bfd_reloc_name_lookup,
+ mips_elfn32_rtype_to_howto): Handle R_MIPS_PC32.
+
+2013-05-06 Alan Modra <amodra@gmail.com>
+
+ * elf64-ppc.c (opd_entry_value): Handle case where symbol
+ hashes are not available.
+
+2013-05-06 Alan Modra <amodra@gmail.com>
+
+ * elflink.c (elf_link_add_object_symbols): Don't save symbol
+ hashes around loading as-needed library. Zero them on allocation,
+ and restore to initial all-zero state if library not needed.
+ Arrange to reuse hashes if we load library again later.
+
+2013-05-04 Richard Sandiford <rdsandiford@googlemail.com>
+
+ * elf32-mips.c (elf_mips_copy_howto, elf_mips_jump_slot_howto):
+ Use _bfd_mips_elf_generic_reloc instead of bfd_elf_generic_reloc.
+ * elfn32-mips.c: Likewise.
+ * elf64-mips.c: Likewise.
+
+2013-05-02 Nick Clifton <nickc@redhat.com>
+
+ * archures.c: Add some more MSP430 machine numbers.
+ * config.bfd (msp430): Define targ_selvecs.
+ * configure.in: Add bfd_elf32_msp430_ti_vec.
+ * cpu-msp430.c: Add some more MSP430 machine numbers.
+ * elf32-msp430.c Add support for MSP430X relocations.
+ Add support for TI compiler generated relocations.
+ Add support for sym_diff relocations.
+ Add support for relaxing out of range short branches into long
+ branches.
+ Add support for MSP430 attribute section.
+ * reloc.c: Add MSP430X relocations.
+ * targets.c: Add bfd_elf32_msp430_ti_vec.
+ * bfd-in2.h: Regenerate.
+ * configure: Regenerate.
+ * libbfd.h: Regenerate.
+
2013-05-01 Maciej W. Rozycki <macro@codesourcery.com>
* config.bfd: Replace alpha*-*-linuxecoff* pattern with
diff --git a/bfd/archures.c b/bfd/archures.c
index 0be72da..f7cef8b 100644
--- a/bfd/archures.c
+++ b/bfd/archures.c
@@ -1,7 +1,5 @@
/* BFD library support routines for architectures.
- Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
- 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011,
- 2012, 2013 Free Software Foundation, Inc.
+ Copyright 1990-2013 Free Software Foundation, Inc.
Hacked by John Gilmore and Steve Chamberlain of Cygnus Support.
This file is part of BFD, the Binary File Descriptor library.
@@ -437,7 +435,12 @@ DESCRIPTION
.#define bfd_mach_msp14 14
.#define bfd_mach_msp15 15
.#define bfd_mach_msp16 16
+.#define bfd_mach_msp20 20
.#define bfd_mach_msp21 21
+.#define bfd_mach_msp22 22
+.#define bfd_mach_msp23 23
+.#define bfd_mach_msp24 24
+.#define bfd_mach_msp26 26
.#define bfd_mach_msp31 31
.#define bfd_mach_msp32 32
.#define bfd_mach_msp33 33
@@ -445,6 +448,10 @@ DESCRIPTION
.#define bfd_mach_msp42 42
.#define bfd_mach_msp43 43
.#define bfd_mach_msp44 44
+.#define bfd_mach_msp430x 45
+.#define bfd_mach_msp46 46
+.#define bfd_mach_msp47 47
+.#define bfd_mach_msp54 54
. bfd_arch_xc16x, {* Infineon's XC16X Series. *}
.#define bfd_mach_xc16x 1
.#define bfd_mach_xc16xl 2
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 5c4e9c4..0050f46 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -2170,7 +2170,12 @@ enum bfd_architecture
#define bfd_mach_msp14 14
#define bfd_mach_msp15 15
#define bfd_mach_msp16 16
+#define bfd_mach_msp20 20
#define bfd_mach_msp21 21
+#define bfd_mach_msp22 22
+#define bfd_mach_msp23 23
+#define bfd_mach_msp24 24
+#define bfd_mach_msp26 26
#define bfd_mach_msp31 31
#define bfd_mach_msp32 32
#define bfd_mach_msp33 33
@@ -2178,6 +2183,10 @@ enum bfd_architecture
#define bfd_mach_msp42 42
#define bfd_mach_msp43 43
#define bfd_mach_msp44 44
+#define bfd_mach_msp430x 45
+#define bfd_mach_msp46 46
+#define bfd_mach_msp47 47
+#define bfd_mach_msp54 54
bfd_arch_xc16x, /* Infineon's XC16X Series. */
#define bfd_mach_xc16x 1
#define bfd_mach_xc16xl 2
@@ -4918,6 +4927,21 @@ a matching LO8XG part. */
BFD_RELOC_MSP430_16_BYTE,
BFD_RELOC_MSP430_2X_PCREL,
BFD_RELOC_MSP430_RL_PCREL,
+ BFD_RELOC_MSP430_ABS8,
+ BFD_RELOC_MSP430X_PCR20_EXT_SRC,
+ BFD_RELOC_MSP430X_PCR20_EXT_DST,
+ BFD_RELOC_MSP430X_PCR20_EXT_ODST,
+ BFD_RELOC_MSP430X_ABS20_EXT_SRC,
+ BFD_RELOC_MSP430X_ABS20_EXT_DST,
+ BFD_RELOC_MSP430X_ABS20_EXT_ODST,
+ BFD_RELOC_MSP430X_ABS20_ADR_SRC,
+ BFD_RELOC_MSP430X_ABS20_ADR_DST,
+ BFD_RELOC_MSP430X_PCR16,
+ BFD_RELOC_MSP430X_PCR20_CALL,
+ BFD_RELOC_MSP430X_ABS16,
+ BFD_RELOC_MSP430_ABS_HI16,
+ BFD_RELOC_MSP430_PREL31,
+ BFD_RELOC_MSP430_SYM_DIFF,
/* Relocations used by the Altera Nios II core. */
BFD_RELOC_NIOS2_S16,
diff --git a/bfd/config.bfd b/bfd/config.bfd
index 5634154..ebc9d40 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -1134,6 +1134,7 @@ case "${targ}" in
msp430-*-*)
targ_defvec=bfd_elf32_msp430_vec
+ targ_selvecs=bfd_elf32_msp430_ti_vec
;;
ns32k-pc532-mach* | ns32k-pc532-ux*)
diff --git a/bfd/configure b/bfd/configure
index 24f6fd3..5fc08e4 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -15292,6 +15292,7 @@ do
bfd_elf32_mn10300_vec) tb="$tb elf-m10300.lo elf32.lo $elf" ;;
bfd_elf32_mt_vec) tb="$tb elf32-mt.lo elf32.lo $elf" ;;
bfd_elf32_msp430_vec) tb="$tb elf32-msp430.lo elf32.lo $elf" ;;
+ bfd_elf32_msp430_ti_vec) tb="$tb elf32-msp430.lo elf32.lo $elf" ;;
bfd_elf32_nbigmips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
bfd_elf32_nlittlemips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
bfd_elf32_ntradbigmips_vec | bfd_elf32_ntradbigmips_freebsd_vec)
diff --git a/bfd/configure.in b/bfd/configure.in
index d9bef83..befcf27 100644
--- a/bfd/configure.in
+++ b/bfd/configure.in
@@ -1,6 +1,6 @@
dnl Process this file with autoconf to produce a configure script.
dnl
-dnl Copyright 2012 Free Software Foundation
+dnl Copyright 2012-2013 Free Software Foundation
dnl
dnl This file is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU General Public License as published by
@@ -789,6 +789,7 @@ do
bfd_elf32_mn10300_vec) tb="$tb elf-m10300.lo elf32.lo $elf" ;;
bfd_elf32_mt_vec) tb="$tb elf32-mt.lo elf32.lo $elf" ;;
bfd_elf32_msp430_vec) tb="$tb elf32-msp430.lo elf32.lo $elf" ;;
+ bfd_elf32_msp430_ti_vec) tb="$tb elf32-msp430.lo elf32.lo $elf" ;;
bfd_elf32_nbigmips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
bfd_elf32_nlittlemips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
bfd_elf32_ntradbigmips_vec | bfd_elf32_ntradbigmips_freebsd_vec)
diff --git a/bfd/cpu-msp430.c b/bfd/cpu-msp430.c
index 09c0e54..73b6e66 100644
--- a/bfd/cpu-msp430.c
+++ b/bfd/cpu-msp430.c
@@ -1,6 +1,5 @@
/* BFD library support routines for the MSP architecture.
- Copyright (C) 2002, 2003, 2005, 2007, 2012
- Free Software Foundation, Inc.
+ Copyright (C) 2002-2013 Free Software Foundation, Inc.
Contributed by Dmitry Diky <diwil@mail.ru>
This file is part of BFD, the Binary File Descriptor library.
@@ -82,29 +81,56 @@ static const bfd_arch_info_type arch_info_struct[] =
/* msp430x16x. */
N (16, bfd_mach_msp16, "msp:16", FALSE, & arch_info_struct[7]),
+ /* msp430x20x. */
+ N (16, bfd_mach_msp20, "msp:20", FALSE, & arch_info_struct[8]),
+
/* msp430x21x. */
- N (16, bfd_mach_msp21, "msp:21", FALSE, & arch_info_struct[8]),
+ N (16, bfd_mach_msp21, "msp:21", FALSE, & arch_info_struct[9]),
+
+ /* msp430x22x. */
+ N (16, bfd_mach_msp22, "msp:22", FALSE, & arch_info_struct[10]),
+
+ /* msp430x23x. */
+ N (16, bfd_mach_msp23, "msp:23", FALSE, & arch_info_struct[11]),
+
+ /* msp430x24x. */
+ N (16, bfd_mach_msp24, "msp:24", FALSE, & arch_info_struct[12]),
+
+ /* msp430x26x. */
+ N (16, bfd_mach_msp26, "msp:26", FALSE, & arch_info_struct[13]),
/* msp430x31x. */
- N (16, bfd_mach_msp31, "msp:31", FALSE, & arch_info_struct[9]),
+ N (16, bfd_mach_msp31, "msp:31", FALSE, & arch_info_struct[14]),
/* msp430x32x. */
- N (16, bfd_mach_msp32, "msp:32", FALSE, & arch_info_struct[10]),
+ N (16, bfd_mach_msp32, "msp:32", FALSE, & arch_info_struct[15]),
/* msp430x33x. */
- N (16, bfd_mach_msp33, "msp:33", FALSE, & arch_info_struct[11]),
+ N (16, bfd_mach_msp33, "msp:33", FALSE, & arch_info_struct[16]),
/* msp430x41x. */
- N (16, bfd_mach_msp41, "msp:41", FALSE, & arch_info_struct[12]),
+ N (16, bfd_mach_msp41, "msp:41", FALSE, & arch_info_struct[17]),
/* msp430x42x. */
- N (16, bfd_mach_msp42, "msp:42", FALSE, & arch_info_struct[13]),
+ N (16, bfd_mach_msp42, "msp:42", FALSE, & arch_info_struct[18]),
/* msp430x43x. */
- N (16, bfd_mach_msp43, "msp:43", FALSE, & arch_info_struct[14]),
+ N (16, bfd_mach_msp43, "msp:43", FALSE, & arch_info_struct[19]),
/* msp430x44x. */
- N (16, bfd_mach_msp43, "msp:44", FALSE, NULL)
+ N (16, bfd_mach_msp43, "msp:44", FALSE, & arch_info_struct[20]),
+
+ /* msp430x46x. */
+ N (16, bfd_mach_msp46, "msp:46", FALSE, & arch_info_struct[21]),
+
+ /* msp430x47x. */
+ N (16, bfd_mach_msp47, "msp:47", FALSE, & arch_info_struct[22]),
+
+ /* msp430x54x. */
+ N (16, bfd_mach_msp54, "msp:54", FALSE, & arch_info_struct[23]),
+
+ N (32, bfd_mach_msp430x, "msp:430X", FALSE, NULL)
+
};
const bfd_arch_info_type bfd_msp430_arch =
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index b643dbc..4a67d02 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -2378,12 +2378,9 @@ struct elf_dyn_relocs
extern bfd_boolean _bfd_elf_create_ifunc_sections
(bfd *, struct bfd_link_info *);
-extern asection * _bfd_elf_create_ifunc_dyn_reloc
- (bfd *, struct bfd_link_info *, asection *sec, asection *sreloc,
- struct elf_dyn_relocs **);
extern bfd_boolean _bfd_elf_allocate_ifunc_dyn_relocs
(struct bfd_link_info *, struct elf_link_hash_entry *,
- struct elf_dyn_relocs **, unsigned int, unsigned int);
+ struct elf_dyn_relocs **, unsigned int, unsigned int, unsigned int);
extern void elf_append_rela (bfd *, asection *, Elf_Internal_Rela *);
extern void elf_append_rel (bfd *, asection *, Elf_Internal_Rela *);
diff --git a/bfd/elf-ifunc.c b/bfd/elf-ifunc.c
index c2fa163..8d48e66 100644
--- a/bfd/elf-ifunc.c
+++ b/bfd/elf-ifunc.c
@@ -104,51 +104,6 @@ _bfd_elf_create_ifunc_sections (bfd *abfd, struct bfd_link_info *info)
return TRUE;
}
-/* For a STT_GNU_IFUNC symbol, create a dynamic reloc section, SRELOC,
- for the input section, SEC, and append this reloc to HEAD. */
-
-asection *
-_bfd_elf_create_ifunc_dyn_reloc (bfd *abfd, struct bfd_link_info *info,
- asection *sec, asection *sreloc,
- struct elf_dyn_relocs **head)
-{
- struct elf_dyn_relocs *p;
- struct elf_link_hash_table *htab = elf_hash_table (info);
-
- if (sreloc == NULL)
- {
- const struct elf_backend_data *bed = get_elf_backend_data (abfd);
-
- if (htab->dynobj == NULL)
- htab->dynobj = abfd;
-
- sreloc = _bfd_elf_make_dynamic_reloc_section (sec, htab->dynobj,
- bed->s->log_file_align,
- abfd,
- bed->rela_plts_and_copies_p);
- if (sreloc == NULL)
- return NULL;
- }
-
- p = *head;
- if (p == NULL || p->sec != sec)
- {
- bfd_size_type amt = sizeof *p;
-
- p = ((struct elf_dyn_relocs *) bfd_alloc (htab->dynobj, amt));
- if (p == NULL)
- return NULL;
- p->next = *head;
- *head = p;
- p->sec = sec;
- p->count = 0;
- p->pc_count = 0;
- }
- p->count += 1;
-
- return sreloc;
-}
-
/* Allocate space in .plt, .got and associated reloc sections for
dynamic relocs against a STT_GNU_IFUNC symbol definition. */
@@ -157,6 +112,7 @@ _bfd_elf_allocate_ifunc_dyn_relocs (struct bfd_link_info *info,
struct elf_link_hash_entry *h,
struct elf_dyn_relocs **head,
unsigned int plt_entry_size,
+ unsigned int plt_header_size,
unsigned int got_entry_size)
{
asection *plt, *gotplt, *relplt;
@@ -238,7 +194,7 @@ keep:
/* If this is the first .plt entry, make room for the special
first entry. */
if (plt->size == 0)
- plt->size += plt_entry_size;
+ plt->size += plt_header_size;
}
else
{
diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c
index 2609130..cc8b48e 100644
--- a/bfd/elf32-i386.c
+++ b/bfd/elf32-i386.c
@@ -2197,7 +2197,8 @@ elf_i386_allocate_dynrelocs (struct elf_link_hash_entry *h, void *inf)
if (h->type == STT_GNU_IFUNC
&& h->def_regular)
return _bfd_elf_allocate_ifunc_dyn_relocs (info, h, &eh->dyn_relocs,
- plt_entry_size, 4);
+ plt_entry_size,
+ plt_entry_size, 4);
else if (htab->elf.dynamic_sections_created
&& h->plt.refcount > 0)
{
diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c
index cb7692b..54ae641 100644
--- a/bfd/elf32-mips.c
+++ b/bfd/elf32-mips.c
@@ -1515,7 +1515,7 @@ static reloc_howto_type elf_mips_copy_howto =
FALSE, /* pc_relative */
0, /* bitpos */
complain_overflow_bitfield, /* complain_on_overflow */
- bfd_elf_generic_reloc, /* special_function */
+ _bfd_mips_elf_generic_reloc, /* special_function */
"R_MIPS_COPY", /* name */
FALSE, /* partial_inplace */
0x0, /* src_mask */
@@ -1531,7 +1531,7 @@ static reloc_howto_type elf_mips_jump_slot_howto =
FALSE, /* pc_relative */
0, /* bitpos */
complain_overflow_bitfield, /* complain_on_overflow */
- bfd_elf_generic_reloc, /* special_function */
+ _bfd_mips_elf_generic_reloc, /* special_function */
"R_MIPS_JUMP_SLOT", /* name */
FALSE, /* partial_inplace */
0x0, /* src_mask */
diff --git a/bfd/elf32-msp430.c b/bfd/elf32-msp430.c
index b46e72c..6f66282 100644
--- a/bfd/elf32-msp430.c
+++ b/bfd/elf32-msp430.c
@@ -1,6 +1,5 @@
/* MSP430-specific support for 32-bit ELF
- Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2010, 2012
- Free Software Foundation, Inc.
+ Copyright (C) 2002-2013 Free Software Foundation, Inc.
Contributed by Dmitry Diky <diwil@mail.ru>
This file is part of BFD, the Binary File Descriptor library.
@@ -27,9 +26,6 @@
#include "elf-bfd.h"
#include "elf/msp430.h"
-/* Use RELA instead of REL. */
-#undef USE_REL
-
static reloc_howto_type elf_msp430_howto_table[] =
{
HOWTO (R_MSP430_NONE, /* type */
@@ -69,7 +65,7 @@ static reloc_howto_type elf_msp430_howto_table[] =
0, /* bitpos */
complain_overflow_bitfield,/* complain_on_overflow */
bfd_elf_generic_reloc, /* special_function */
- "R_MSP430_13_PCREL", /* name */
+ "R_MSP430_10_PCREL", /* name */
FALSE, /* partial_inplace */
0xfff, /* src_mask */
0xfff, /* dst_mask */
@@ -90,7 +86,7 @@ static reloc_howto_type elf_msp430_howto_table[] =
0xffff, /* dst_mask */
FALSE), /* pcrel_offset */
- /* A 16 bit absolute relocation for command address. */
+ /* A 16 bit PC relative relocation for command address. */
HOWTO (R_MSP430_16_PCREL, /* type */
1, /* rightshift */
1, /* size (0 = byte, 1 = short, 2 = long) */
@@ -164,6 +160,340 @@ static reloc_howto_type elf_msp430_howto_table[] =
0, /* src_mask */
0xffff, /* dst_mask */
TRUE) /* pcrel_offset */
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [SCM] pmuldoon/python-backtrace: Merge remote-tracking branch 'gdb/master' into pmuldoon/python-backtrace
@ 2013-05-02 13:11 pmuldoon
0 siblings, 0 replies; 9+ messages in thread
From: pmuldoon @ 2013-05-02 13:11 UTC (permalink / raw)
To: archer-commits
The branch, pmuldoon/python-backtrace has been updated
via ead3607d488a25b15cf8e010afb6308d3f14bc55 (commit)
via b78790fc3bd1677ea0825df100c5bf524846053a (commit)
via 9c081aa6576570099ede776f98678bd0f7345928 (commit)
via c343590706cffe0cb91c6efda33ad32f9a11d092 (commit)
via d910abfa3b84b0b89abf9039596d783ff00e766d (commit)
via 86398324bfc747b2e5ad4689f5fdd2448dbd9fb1 (commit)
via 7de1158dc2a54a50bf2d47c2674fa80214ebe36b (commit)
via 9ba6e858651d1a124dc20a2e772090669f47e7f0 (commit)
via 7742f4f5e38efacdb8b0c018c2837fcb4a1ec8b7 (commit)
via abd8ed39e861452889728d3fc970af008866f11d (commit)
via 79cef858b75b1eaf117a952ea6d6825c4d237e02 (commit)
via e33a3f1a2e9dedab71d27c029beba8815bcebd1f (commit)
via 7278f246a92191c8fae5abd0c45bc00e6c35b1ca (commit)
via 9fcd69680e6da8bd60cc1073d69d4604c63f3bd7 (commit)
via 77664a6d7cfa893614de5d28b9ca8b26e6b5a874 (commit)
via e96330f8a0b100e9c264977ccd36cecfad66888f (commit)
via b66173eafa56bfa8ddfbfc2bb7c66d97c56046b0 (commit)
via 1bb9f1a19b407289a832608705980821074cd84d (commit)
from f27449c171726af57bcd94a7f70d3b6b3396a5cb (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit ead3607d488a25b15cf8e010afb6308d3f14bc55
Merge: f27449c b78790f
Author: Phil Muldoon <pmuldoon@redhat.com>
Date: Thu May 2 14:11:05 2013 +0100
Merge remote-tracking branch 'gdb/master' into pmuldoon/python-backtrace
commit b78790fc3bd1677ea0825df100c5bf524846053a
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Thu May 2 00:00:33 2013 +0000
*** empty log message ***
commit 9c081aa6576570099ede776f98678bd0f7345928
Author: Alan Modra <amodra@bigpond.net.au>
Date: Thu May 2 00:00:05 2013 +0000
daily update
commit c343590706cffe0cb91c6efda33ad32f9a11d092
Author: Maciej W. Rozycki <macro@linux-mips.org>
Date: Wed May 1 17:27:46 2013 +0000
bfd/
* config.bfd: Replace alpha*-*-linuxecoff* pattern with
alpha*-*-linux*ecoff*.
binutils/testsuite/
* lib/binutils-common.exp (is_elf_format): Also exclude
*-*-linux*ecoff*.
gas/
* configure.tgt: Replace alpha*-*-linuxecoff* pattern with
alpha*-*-linux*ecoff*.
ld/
* configure.tgt: Replace alpha*-*-linuxecoff* pattern with
alpha*-*-linux*ecoff*. Update the `sed' pattern used to convert
from alpha*-*-linux-* to alpha*-*-linux*ecoff*.
commit d910abfa3b84b0b89abf9039596d783ff00e766d
Author: Joel Brobecker <brobecker@gnat.com>
Date: Wed May 1 14:54:18 2013 +0000
Fix various -Wpointer-sign warnings in darwin-nat.c
gdb/ChangeLog:
* darwin-nat.c (darwin_read_write_inferior): Change types
of parameters rdaddr and wraddr to "gdb_byte *". Change type
of copy_count to "mach_msg_type_number_t".
(darwin_read_dyld_info): Change type of parameter
rdaddr to "gdb_byte *".
commit 86398324bfc747b2e5ad4689f5fdd2448dbd9fb1
Author: Joel Brobecker <brobecker@gnat.com>
Date: Wed May 1 14:33:00 2013 +0000
Fix -Wpointer-sign errors in solib-ia64-hpux.c
gdb/ChangeLog:
* solib-ia64-hpux.c (ia64_hpux_read_dynamic_info): Change cast
of &info->load_map from "char *" to "gdb_byte *".
commit 7de1158dc2a54a50bf2d47c2674fa80214ebe36b
Author: Joel Brobecker <brobecker@gnat.com>
Date: Wed May 1 14:31:55 2013 +0000
Fix -Wpointer-sign errors in ia64-tdep.c
gdb/ChangeLog:
* ia64-tdep.c (ia64_access_fpreg): Change cast of val
from "char *" to "gdb_byte *".
(ia64_access_rse_fpreg, ia64_access_mem): Likewise.
commit 9ba6e858651d1a124dc20a2e772090669f47e7f0
Author: Alan Modra <amodra@bigpond.net.au>
Date: Wed May 1 00:00:05 2013 +0000
daily update
commit 7742f4f5e38efacdb8b0c018c2837fcb4a1ec8b7
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Wed May 1 00:00:02 2013 +0000
*** empty log message ***
commit abd8ed39e861452889728d3fc970af008866f11d
Author: Doug Evans <dje@google.com>
Date: Tue Apr 30 23:19:41 2013 +0000
* dwarf2read.c (lookup_dwo_unit): Return NULL if DWO not found.
(init_cutu_and_read_dies): Flag a complaint, not error, for bad
DWO stub. If DWO isn't found, just use stub.
(lookup_dwo_cutu): Don't try DWO if there's a DWP file.
commit 79cef858b75b1eaf117a952ea6d6825c4d237e02
Author: Doug Evans <dje@google.com>
Date: Tue Apr 30 21:11:50 2013 +0000
* dwarf2read.c (dw2_find_symbol_file): Initialize filename before
calling init_cutu_and_read_dies.
commit e33a3f1a2e9dedab71d27c029beba8815bcebd1f
Author: Jan-Benedict Glaw <jbglaw@lug-owl.de>
Date: Tue Apr 30 12:40:41 2013 +0000
2013-04-30 Jan-Benedict Glaw <jbglaw@lug-owl.de>
config/
* picflag.m4: Merge from GCC.
* dfp.m4: Ditto.
* bootstrap-asan.mk: Ditto.
* ChangeLog: Ditto.
commit 7278f246a92191c8fae5abd0c45bc00e6c35b1ca
Author: wtedeschi <wtedeschi>
Date: Tue Apr 30 12:33:51 2013 +0000
Fix display of structures/bitfields in register description.
Add support for displaying structures and bitfields for registers when
executing "maint print c-tdesc". This command is also used when
converting the xml target description file into c file.
Example of the behaviour is given below reporting a snipet of the xml file
and a snippet of the c code generated.
XML file contains:
...
<union id="vecint">
<field name="v4" type="v4int8"/>
<field name="v2" type="v2int16"/>
</union>
<struct id="struct1">
<field name="v4" type="v4int8"/>
<field name="v2" type="v2int16"/>
</struct>
<struct id="struct2" size="8">
<field name="f1" start="0" end="34"/>
<field name="f2" start="63" end="63"/>
</struct>
...
Setting this xml file as target description file and
issuing the maintenance print c-tdesc the following output
is obtained:
feature = tdesc_create_feature (result, "extra");
field_type = tdesc_named_type (feature, "int8");
tdesc_create_vector (feature, "v4int8", field_type, 4);
field_type = tdesc_named_type (feature, "int16");
tdesc_create_vector (feature, "v2int16", field_type, 2);
type = tdesc_create_union (feature, "vecint");
field_type = tdesc_named_type (feature, "v4int8");
tdesc_add_field (type, "v4", field_type);
field_type = tdesc_named_type (feature, "v2int16");
tdesc_add_field (type, "v2", field_type);
C output is not supported type "struct1".
This is finally the issue.
2013-03-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
* target-descriptions.c (maint_print_c_tdesc_cmd):
Add case to parse structures as register types and
bitfields.
testsuite/
* gdb.xml/maint_print_struct.exp: New file.
* gdb.xml/maint_print_struct.xml: New file.
Change-Id: I2e20b095d508319c80275e724a9452c7e2834067
Signed-off-by: Walfred Tedeschi <walfred.tedeschi@intel.com>
commit 9fcd69680e6da8bd60cc1073d69d4604c63f3bd7
Author: Nick Clifton <nickc@redhat.com>
Date: Tue Apr 30 12:13:09 2013 +0000
PR binutils/15417
* elflink.c (elf_link_add_object_symbols): Initialise 'idx' to
zero.
commit 77664a6d7cfa893614de5d28b9ca8b26e6b5a874
Author: Joel Brobecker <brobecker@gnat.com>
Date: Tue Apr 30 11:56:23 2013 +0000
Fix date in some of my recent ChangeLog entries...
commit e96330f8a0b100e9c264977ccd36cecfad66888f
Author: Joel Brobecker <brobecker@gnat.com>
Date: Tue Apr 30 11:52:13 2013 +0000
Fix -Wpointer-sign warning in sol-thread.c
This fixes a couple of compiler warnings in rw_common when calling
target_read_memory/target_write_memory due to the type of parameter
"buf" (char *) not matching what these function expect (gdb_byte *).
gdb/ChangeLog:
* sol-thread.c (rw_common): Change type of parameter "buf"
to "gdb_byte *".
(ps_pdwrite, ps_ptwrite): Cast parameter "buf" in call to
rw_common to "gdb_byte *" instead of "char *".
commit b66173eafa56bfa8ddfbfc2bb7c66d97c56046b0
Author: Joel Brobecker <brobecker@gnat.com>
Date: Tue Apr 30 11:36:45 2013 +0000
Fix build error in sol-thread.c:info_cb
gdb/ChangeLog:
* sol-thread.c (info_cb) [ti.ti_startfunc != 0]: Change type
of local variable msym to const struct bound_minimal_symbol.
Adjust use accordingly.
[ti.ti_state == TD_THR_SLEEP]: Likewise.
commit 1bb9f1a19b407289a832608705980821074cd84d
Author: wtedeschi <wtedeschi>
Date: Tue Apr 30 11:17:20 2013 +0000
Add myself as a maintainer.
Change-Id: Ie1b0cb082a384144eef327e9294949e9bacc4415
-----------------------------------------------------------------------
Summary of changes:
bfd/ChangeLog | 11 +++
bfd/config.bfd | 2 +-
bfd/elflink.c | 2 +-
bfd/version.h | 2 +-
config/ChangeLog | 10 ++
config/bootstrap-asan.mk | 1 +
config/dfp.m4 | 2 +-
config/picflag.m4 | 4 +-
gdb/ChangeLog | 59 ++++++++++++-
gdb/MAINTAINERS | 1 +
gdb/darwin-nat.c | 8 +-
gdb/dwarf2read.c | 125 ++++++++++++++-----------
gdb/ia64-tdep.c | 8 +-
gdb/sol-thread.c | 24 +++---
gdb/solib-ia64-hpux.c | 3 +-
gdb/target-descriptions.c | 33 +++++++-
gdb/testsuite/ChangeLog | 5 +
gdb/testsuite/gdb.xml/maint_print_struct.exp | 35 +++++++
gdb/testsuite/gdb.xml/maint_print_struct.xml | 26 ++++++
gdb/version.in | 2 +-
20 files changed, 279 insertions(+), 84 deletions(-)
create mode 100644 gdb/testsuite/gdb.xml/maint_print_struct.exp
create mode 100644 gdb/testsuite/gdb.xml/maint_print_struct.xml
First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 49e2e16..2a0ee47 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,14 @@
+2013-05-01 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * config.bfd: Replace alpha*-*-linuxecoff* pattern with
+ alpha*-*-linux*ecoff*.
+
+2013-04-30 Olaf Flebbe <o.flebbe@science-computing.de>
+
+ PR binutils/15417
+ * elflink.c (elf_link_add_object_symbols): Initialise 'idx' to
+ zero.
+
2013-04-30 Alan Modra <amodra@gmail.com>
* elflink.c (bfd_elf_record_link_assignment): Dont make
diff --git a/bfd/config.bfd b/bfd/config.bfd
index 228e7c1..5634154 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -202,7 +202,7 @@ case "${targ}" in
targ_selvecs=nlm32_alpha_vec
want64=true
;;
- alpha*-*-linuxecoff*)
+ alpha*-*-linux*ecoff*)
targ_defvec=ecoffalpha_little_vec
targ_selvecs=bfd_elf64_alpha_vec
want64=true
diff --git a/bfd/elflink.c b/bfd/elflink.c
index 363abed..7cfc379 100644
--- a/bfd/elflink.c
+++ b/bfd/elflink.c
@@ -4665,7 +4665,7 @@ error_free_dyn:
struct elf_link_hash_entry *hlook;
asection *slook;
bfd_vma vlook;
- size_t i, j, idx;
+ size_t i, j, idx = 0;
hlook = weaks;
weaks = hlook->u.weakdef;
diff --git a/bfd/version.h b/bfd/version.h
index 40c26c8..65cb86a 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20130430
+#define BFD_VERSION_DATE 20130502
#define BFD_VERSION @bfd_version@
#define BFD_VERSION_STRING @bfd_version_package@ @bfd_version_string@
#define REPORT_BUGS_TO @report_bugs_to@
diff --git a/config/ChangeLog b/config/ChangeLog
index c6e8b25..cdc733c 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,13 @@
+2013-03-27 Kai Tietz <ktietz@redhat.com>
+
+ * dfp.m4: Add support for cygwin x64 target.
+ * picflag.m4: Likewise.
+
+2013-02-25 H.J. Lu <hongjiu.lu@intel.com>
+
+ * bootstrap-asan.mk (POSTSTAGE1_LDFLAGS): Add
+ -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/asan/.
+
2013-01-15 Richard Biener <rguenther@suse.de>
PR other/55973
diff --git a/config/bootstrap-asan.mk b/config/bootstrap-asan.mk
index d37a9da..e3f34f5 100644
--- a/config/bootstrap-asan.mk
+++ b/config/bootstrap-asan.mk
@@ -3,4 +3,5 @@
STAGE2_CFLAGS += -fsanitize=address
STAGE3_CFLAGS += -fsanitize=address
POSTSTAGE1_LDFLAGS += -fsanitize=address -static-libasan \
+ -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/asan/ \
-B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/asan/.libs
diff --git a/config/dfp.m4 b/config/dfp.m4
index e971db4..48683f0 100644
--- a/config/dfp.m4
+++ b/config/dfp.m4
@@ -23,7 +23,7 @@ Valid choices are 'yes', 'bid', 'dpd', and 'no'.]) ;;
powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | s390*-*-linux* | \
i?86*-*-gnu* | \
i?86*-*-mingw* | x86_64*-*-mingw* | \
- i?86*-*-cygwin*)
+ i?86*-*-cygwin* | x86_64*-*-cygwin*)
enable_decimal_float=yes
;;
*)
diff --git a/config/picflag.m4 b/config/picflag.m4
index bd81812..2ee5cd0 100644
--- a/config/picflag.m4
+++ b/config/picflag.m4
@@ -17,7 +17,9 @@ case "${$2}" in
hppa*64*-*-hpux*)
# PIC is the default for 64-bit PA HP-UX.
;;
- i[[34567]]86-*-cygwin* | i[[34567]]86-*-mingw* | x86_64-*-mingw*)
+ i[[34567]]86-*-cygwin* | x86_64-*-cygwin*)
+ ;;
+ i[[34567]]86-*-mingw* | x86_64-*-mingw*)
;;
i[[34567]]86-*-interix[[3-9]]*)
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 12254b7..654e4fc 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,21 +1,74 @@
+2013-05-01 Joel Brobecker <brobecker@adacore.com>
+
+ * darwin-nat.c (darwin_read_write_inferior): Change types
+ of parameters rdaddr and wraddr to "gdb_byte *". Change type
+ of copy_count to "mach_msg_type_number_t".
+ (darwin_read_dyld_info): Change type of parameter
+ rdaddr to "gdb_byte *".
+
+2013-05-01 Joel Brobecker <brobecker@adacore.com>
+
+ * solib-ia64-hpux.c (ia64_hpux_read_dynamic_info): Change cast
+ of &info->load_map from "char *" to "gdb_byte *".
+
+2013-05-01 Joel Brobecker <brobecker@adacore.com>
+
+ * ia64-tdep.c (ia64_access_fpreg): Change cast of val
+ from "char *" to "gdb_byte *".
+ (ia64_access_rse_fpreg, ia64_access_mem): Likewise.
+
+2013-04-30 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (lookup_dwo_unit): Return NULL if DWO not found.
+ (init_cutu_and_read_dies): Flag a complaint, not error, for bad
+ DWO stub. If DWO isn't found, just use stub.
+ (lookup_dwo_cutu): Don't try DWO if there's a DWP file.
+
+ * dwarf2read.c (dw2_find_symbol_file): Initialize filename before
+ calling init_cutu_and_read_dies.
+
+2013-03-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
+
+ * target-descriptions.c (maint_print_c_tdesc_cmd):
+ Add case to parse structures as register types and
+ bitfields.
+
+2013-04-30 Walfred Tedeschi <walfred.tedeschi@intel.com>
+
+ * MAINTAINERS (Write After Approval): Add myself to the list.
+
+2013-04-30 Joel Brobecker <brobecker@adacore.com>
+
+ * sol-thread.c (rw_common): Change type of parameter "buf"
+ to "gdb_byte *".
+ (ps_pdwrite, ps_ptwrite): Cast parameter "buf" in call to
+ rw_common to "gdb_byte *" instead of "char *".
+
+2013-04-30 Joel Brobecker <brobecker@adacore.com>
+
+ * sol-thread.c (info_cb) [ti.ti_startfunc != 0]: Change type
+ of local variable msym to const struct bound_minimal_symbol.
+ Adjust use accordingly.
+ [ti.ti_state == TD_THR_SLEEP]: Likewise.
+
2013-04-30 Samuel Thibault <samuel.thibault@gnu.org>
* i386gnu-nat.c (CREG_OFFSET): New macro.
(creg_offset): New array.
(CREG_ADDR): Use creg_offset instead of reg_offset.
-2013-04-29 Joel Brobecker <brobecker@adacore.com>
+2013-04-30 Joel Brobecker <brobecker@adacore.com>
* mep-tdep.c (mep_write_pc): Delete.
(mep_gdbarch_init): Remove call to set_gdbarch_write_pc.
Add call to set_gdbarch_pc_regnum.
-2013-04-29 Joel Brobecker <brobecker@adacore.com>
+2013-04-30 Joel Brobecker <brobecker@adacore.com>
* common/filestuff.c: Replace #include <dirent.h> by
#include "gdb_dirent.h".
-2013-04-29 Joel Brobecker <brobecker@adacore.com>
+2013-04-30 Joel Brobecker <brobecker@adacore.com>
* common/filestuff.c: Replace #include <sys/stat.h> by
#include "gdb_stat.h".
diff --git a/gdb/MAINTAINERS b/gdb/MAINTAINERS
index 53c5e7c..400742d 100644
--- a/gdb/MAINTAINERS
+++ b/gdb/MAINTAINERS
@@ -627,6 +627,7 @@ Petr Sorfa petrs@caldera.com
Andrew Stubbs ams@codesourcery.com
Emi Suzuki emi-suzuki@tjsys.co.jp
Ian Lance Taylor ian@airs.com
+Walfred Tedeschi walfred.tedeschi@intel.com
Gary Thomas gthomas@redhat.com
Jason Thorpe thorpej@netbsd.org
Caroline Tice ctice@apple.com
diff --git a/gdb/darwin-nat.c b/gdb/darwin-nat.c
index 1344101..c4280a4 100644
--- a/gdb/darwin-nat.c
+++ b/gdb/darwin-nat.c
@@ -1688,14 +1688,15 @@ darwin_thread_alive (struct target_ops *ops, ptid_t ptid)
Return 0 on failure; number of bytes read / writen otherwise. */
static int
darwin_read_write_inferior (task_t task, CORE_ADDR addr,
- char *rdaddr, const char *wraddr, int length)
+ gdb_byte *rdaddr, const gdb_byte *wraddr,
+ int length)
{
kern_return_t kret;
mach_vm_address_t offset = addr & (mach_page_size - 1);
mach_vm_address_t low_address = (mach_vm_address_t) (addr - offset);
mach_vm_size_t aligned_length = (mach_vm_size_t) PAGE_ROUND (offset + length);
pointer_t copied;
- int copy_count;
+ mach_msg_type_number_t copy_count;
mach_vm_size_t remaining_length;
mach_vm_address_t region_address;
mach_vm_size_t region_length;
@@ -1821,7 +1822,8 @@ out:
#ifdef TASK_DYLD_INFO_COUNT
/* This is not available in Darwin 9. */
static int
-darwin_read_dyld_info (task_t task, CORE_ADDR addr, char *rdaddr, int length)
+darwin_read_dyld_info (task_t task, CORE_ADDR addr, gdb_byte *rdaddr,
+ int length)
{
struct task_dyld_info task_dyld_info;
mach_msg_type_number_t count = TASK_DYLD_INFO_COUNT;
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 8dcf971..2b4d8ad 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -3465,6 +3465,9 @@ dw2_find_symbol_file (struct objfile *objfile, const char *name)
return per_cu->v.quick->symtab->filename;
}
+ /* Initialize filename in case there's a problem reading the DWARF,
+ dw2_get_primary_filename_reader may not get called. */
+ filename = NULL;
init_cutu_and_read_dies (per_cu, NULL, 0, 0,
dw2_get_primary_filename_reader, &filename);
@@ -4602,7 +4605,7 @@ read_cutu_die_from_dwo (struct dwarf2_per_cu_data *this_cu,
/* Subroutine of init_cutu_and_read_dies to simplify it.
Look up the DWO unit specified by COMP_UNIT_DIE of THIS_CU.
- If the specified DWO unit cannot be found an error is thrown. */
+ Returns NULL if the specified DWO unit cannot be found. */
static struct dwo_unit *
lookup_dwo_unit (struct dwarf2_per_cu_data *this_cu,
@@ -4647,14 +4650,6 @@ lookup_dwo_unit (struct dwarf2_per_cu_data *this_cu,
signature);
}
- if (dwo_unit == NULL)
- {
- error (_("Dwarf Error: CU at offset 0x%x references unknown DWO"
- " with ID %s [in module %s]"),
- this_cu->offset.sect_off, hex_string (signature),
- this_cu->objfile->name);
- }
-
return dwo_unit;
}
@@ -4831,21 +4826,35 @@ init_cutu_and_read_dies (struct dwarf2_per_cu_data *this_cu,
struct die_info *dwo_comp_unit_die;
if (has_children)
- error (_("Dwarf Error: compilation unit with DW_AT_GNU_dwo_name"
- " has children (offset 0x%x) [in module %s]"),
- this_cu->offset.sect_off, bfd_get_filename (abfd));
+ {
+ complaint (&symfile_complaints,
+ _("compilation unit with DW_AT_GNU_dwo_name"
+ " has children (offset 0x%x) [in module %s]"),
+ this_cu->offset.sect_off, bfd_get_filename (abfd));
+ }
dwo_unit = lookup_dwo_unit (this_cu, comp_unit_die);
- if (read_cutu_die_from_dwo (this_cu, dwo_unit,
- abbrev_table != NULL,
- comp_unit_die,
- &reader, &info_ptr,
- &dwo_comp_unit_die, &has_children) == 0)
+ if (dwo_unit != NULL)
{
- /* Dummy die. */
- do_cleanups (cleanups);
- return;
+ if (read_cutu_die_from_dwo (this_cu, dwo_unit,
+ abbrev_table != NULL,
+ comp_unit_die,
+ &reader, &info_ptr,
+ &dwo_comp_unit_die, &has_children) == 0)
+ {
+ /* Dummy die. */
+ do_cleanups (cleanups);
+ return;
+ }
+ comp_unit_die = dwo_comp_unit_die;
+ }
+ else
+ {
+ /* Yikes, we couldn't find the rest of the DIE, we only have
+ the stub. A complaint has already been logged. There's
+ not much more we can do except pass on the stub DIE to
+ die_reader_func. We don't want to throw an error on bad
+ debug info. */
}
- comp_unit_die = dwo_comp_unit_die;
}
/* All of the above is setup for this call. Yikes. */
@@ -9291,7 +9300,10 @@ lookup_dwo_cutu (struct dwarf2_per_cu_data *this_unit,
struct dwo_file *dwo_file;
struct dwp_file *dwp_file;
- /* Have we already read SIGNATURE from a DWP file? */
+ /* First see if there's a DWP file.
+ If we have a DWP file but didn't find the DWO inside it, don't
+ look for the original DWO file. It makes gdb behave differently
+ depending on whether one is debugging in the build tree. */
dwp_file = get_dwp_file ();
if (dwp_file != NULL)
@@ -9318,45 +9330,47 @@ lookup_dwo_cutu (struct dwarf2_per_cu_data *this_unit,
}
}
}
-
- /* Have we already seen DWO_NAME? */
-
- dwo_file_slot = lookup_dwo_file_slot (dwo_name, comp_dir);
- if (*dwo_file_slot == NULL)
- {
- /* Read in the file and build a table of the DWOs it contains. */
- *dwo_file_slot = open_and_init_dwo_file (this_unit, dwo_name, comp_dir);
- }
- /* NOTE: This will be NULL if unable to open the file. */
- dwo_file = *dwo_file_slot;
-
- if (dwo_file != NULL)
+ else
{
- struct dwo_unit *dwo_cutu = NULL;
+ /* No DWP file, look for the DWO file. */
- if (is_debug_types && dwo_file->tus)
+ dwo_file_slot = lookup_dwo_file_slot (dwo_name, comp_dir);
+ if (*dwo_file_slot == NULL)
{
- struct dwo_unit find_dwo_cutu;
-
- memset (&find_dwo_cutu, 0, sizeof (find_dwo_cutu));
- find_dwo_cutu.signature = signature;
- dwo_cutu = htab_find (dwo_file->tus, &find_dwo_cutu);
- }
- else if (!is_debug_types && dwo_file->cu)
- {
- if (signature == dwo_file->cu->signature)
- dwo_cutu = dwo_file->cu;
+ /* Read in the file and build a table of the CUs/TUs it contains. */
+ *dwo_file_slot = open_and_init_dwo_file (this_unit, dwo_name, comp_dir);
}
+ /* NOTE: This will be NULL if unable to open the file. */
+ dwo_file = *dwo_file_slot;
- if (dwo_cutu != NULL)
+ if (dwo_file != NULL)
{
- if (dwarf2_read_debug)
+ struct dwo_unit *dwo_cutu = NULL;
+
+ if (is_debug_types && dwo_file->tus)
+ {
+ struct dwo_unit find_dwo_cutu;
+
+ memset (&find_dwo_cutu, 0, sizeof (find_dwo_cutu));
+ find_dwo_cutu.signature = signature;
+ dwo_cutu = htab_find (dwo_file->tus, &find_dwo_cutu);
+ }
+ else if (!is_debug_types && dwo_file->cu)
{
- fprintf_unfiltered (gdb_stdlog, "DWO %s %s(%s) found: @%s\n",
- kind, dwo_name, hex_string (signature),
- host_address_to_string (dwo_cutu));
+ if (signature == dwo_file->cu->signature)
+ dwo_cutu = dwo_file->cu;
+ }
+
+ if (dwo_cutu != NULL)
+ {
+ if (dwarf2_read_debug)
+ {
+ fprintf_unfiltered (gdb_stdlog, "DWO %s %s(%s) found: @%s\n",
+ kind, dwo_name, hex_string (signature),
+ host_address_to_string (dwo_cutu));
+ }
+ return dwo_cutu;
}
- return dwo_cutu;
}
}
@@ -9371,9 +9385,10 @@ lookup_dwo_cutu (struct dwarf2_per_cu_data *this_unit,
}
complaint (&symfile_complaints,
- _("Could not find DWO %s referenced by CU at offset 0x%x"
+ _("Could not find DWO %s %s(%s) referenced by CU at offset 0x%x"
" [in module %s]"),
- kind, this_unit->offset.sect_off, objfile->name);
+ kind, dwo_name, hex_string (signature),
+ this_unit->offset.sect_off, objfile->name);
return NULL;
}
diff --git a/gdb/ia64-tdep.c b/gdb/ia64-tdep.c
index 7d440e4..44000b9 100644
--- a/gdb/ia64-tdep.c
+++ b/gdb/ia64-tdep.c
@@ -2558,7 +2558,7 @@ ia64_access_fpreg (unw_addr_space_t as, unw_regnum_t uw_regnum,
/* We never call any libunwind routines that need to write registers. */
gdb_assert (!write);
- get_frame_register (this_frame, regnum, (char *) val);
+ get_frame_register (this_frame, regnum, (gdb_byte *) val);
return 0;
}
@@ -2639,7 +2639,7 @@ ia64_access_rse_fpreg (unw_addr_space_t as, unw_regnum_t uw_regnum,
/* We never call any libunwind routines that need to write registers. */
gdb_assert (!write);
- regcache_cooked_read (regcache, regnum, (char *) val);
+ regcache_cooked_read (regcache, regnum, (gdb_byte *) val);
return 0;
}
@@ -2664,9 +2664,9 @@ ia64_access_mem (unw_addr_space_t as,
/* XXX do we need to normalize byte-order here? */
if (write)
- return target_write_memory (addr, (char *) val, sizeof (unw_word_t));
+ return target_write_memory (addr, (gdb_byte *) val, sizeof (unw_word_t));
else
- return target_read_memory (addr, (char *) val, sizeof (unw_word_t));
+ return target_read_memory (addr, (gdb_byte *) val, sizeof (unw_word_t));
}
/* Call low-level function to access the kernel unwind table. */
diff --git a/gdb/sol-thread.c b/gdb/sol-thread.c
index ec3df83..969bfaf 100644
--- a/gdb/sol-thread.c
+++ b/gdb/sol-thread.c
@@ -782,7 +782,7 @@ ps_pglobal_lookup (gdb_ps_prochandle_t ph, const char *ld_object_name,
static ps_err_e
rw_common (int dowrite, const struct ps_prochandle *ph, gdb_ps_addr_t addr,
- char *buf, int size)
+ gdb_byte *buf, int size)
{
int ret;
struct cleanup *old_chain;
@@ -831,7 +831,7 @@ ps_err_e
ps_pdwrite (gdb_ps_prochandle_t ph, gdb_ps_addr_t addr,
gdb_ps_write_buf_t buf, gdb_ps_size_t size)
{
- return rw_common (1, ph, addr, (char *) buf, size);
+ return rw_common (1, ph, addr, (gdb_byte *) buf, size);
}
/* Copies SIZE bytes from target process .text segment to debugger memory. */
@@ -849,7 +849,7 @@ ps_err_e
ps_ptwrite (gdb_ps_prochandle_t ph, gdb_ps_addr_t addr,
gdb_ps_write_buf_t buf, gdb_ps_size_t size)
{
- return rw_common (1, ph, addr, (char *) buf, size);
+ return rw_common (1, ph, addr, (gdb_byte *) buf, size);
}
/* Get general-purpose registers for LWP. */
@@ -1115,11 +1115,12 @@ info_cb (const td_thrhandle_t *th, void *s)
/* Print thr_create start function. */
if (ti.ti_startfunc != 0)
{
- struct minimal_symbol *msym;
- msym = lookup_minimal_symbol_by_pc (ti.ti_startfunc);
- if (msym)
+ const struct bound_minimal_symbol msym
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [SCM] pmuldoon/python-backtrace: Merge remote-tracking branch 'gdb/master' into pmuldoon/python-backtrace
@ 2013-04-30 9:40 pmuldoon
0 siblings, 0 replies; 9+ messages in thread
From: pmuldoon @ 2013-04-30 9:40 UTC (permalink / raw)
To: archer-commits
The branch, pmuldoon/python-backtrace has been updated
via 8f43a4f73dff17b107d537a15c4a2a4690ad1d5a (commit)
via f07777f3d6fdeeb0bf54c3411bb9212cf2db8cca (commit)
via 31c5013d4a2abb9e4bff9e46c0782daf7edd1fd7 (commit)
via 0a9e8954b7385596ca4d650c3a9457cd94a9f0c3 (commit)
via 842809252f742c8e84195742cfa8f8c8490d19a8 (commit)
via 157e1b7c1618d417b1d980fd747a64b4dbd637d5 (commit)
via b3115258ab45c340a5bcb74a821e6715d7c6c580 (commit)
via ddabd64d2b6eef792b324de723f5a3de542c2145 (commit)
via 1ef6af4459a5ed937df08728a316b5e77f9b5718 (commit)
via cc173028ea3382ae3e4663f669221835e35a87d0 (commit)
via 13773b30f16fb5c84903139b4018696d900284f3 (commit)
via 7d9c6579c7a3041c73f4e4b161952480990c32a1 (commit)
via 73a9ac437a8d796367b459e9f299228de48db46a (commit)
via 5f84f6446697d2462a51977edff7523d6adc8af7 (commit)
via 334e3f5577eda59dbb1547bad8a58a57cb8a2667 (commit)
via 922f3816b2e61b8b496d5fbc1a45888f292a0734 (commit)
via a770c2cf10da51a32de765b248f8c974620fbdea (commit)
via 87a92a2b9ae99df3543a06f06697dc463db11d2a (commit)
via 6c7bdada280a511749a750246b45c7200d1cb099 (commit)
via 590909ea9631090e227a57ef7e7ef75ac39748fd (commit)
via ca61fe229aa2e5c6c33fa60b28e68039bd6abf01 (commit)
via aefc7d03c760358b9f048f0d0ef0d04f7cb79805 (commit)
via 6330ab576e18fb97912839fc116c7babb5fd8c70 (commit)
via ce8a701215fa121e038199d49a6054aac86ec7f6 (commit)
via b9159f3f27c1d944eb546b31b43bec73b4f275ec (commit)
via 41041102676146d1b4c1045e3475245e67c86eff (commit)
via d6743957be0be6636ecd73ba454379bcf347a65f (commit)
via 39fcd2fdc410efdf2356201b976f21c074b7bd65 (commit)
via 6176274447234dcc9ebcb7e7aefe0cee8367d86c (commit)
via ff7d34eae75e033cdd4cc39c2b19cc8659ff9acf (commit)
via a0a7241421d97061b1e691cdf5657a24f3390c2c (commit)
via 97106f3b3295e83abf1ab3dc3e3ce03dbdd0ff54 (commit)
via 737ce405fa3dfce6f73d5028788d1dbc11c15655 (commit)
via ad06d02eef76b374305e65e1c6c4d4a2c0c752eb (commit)
via 056cef676aa35c35516932443545ad24aa0231cc (commit)
via 9bf5cd53792ab6d5e0113d7c40cf10148fe614bb (commit)
via eb0cef962ccce4c456e6fa87cfbc8f113eec4afb (commit)
via d1debb56c4486497d184ac21c081f47c714f5f0f (commit)
via ffc9246b7b8b1ba1c665ca8deb8c7a59dc129d1d (commit)
via 032553c640bd155aa4fe35b0ff31879a1903f39d (commit)
via 9969e593c6d5c36472dc999f322510bdf042f241 (commit)
via 888cf48cd5de386c518fc6880280466b8bc58be2 (commit)
via 0203b21844827c8cb09a1f01cd1ec2af6d77c140 (commit)
via e40163f78b1c283325520ff1d2eec78cc06ef278 (commit)
via 5cea280c6df6c447c2fb32d01e2b6e0a0d178a5f (commit)
via e4e998fbc0c8ed7c45e322560711d38f38186c0b (commit)
via 038edce9d30490ef69495290a8861085a458545f (commit)
via c3a3c5fe4b9ba9dce63c2aa5e78a0729c33f49cd (commit)
via de8259ea19c9457b0fcc9118d37a3ced3ddaf998 (commit)
via a9c3a3df0662cb0ed15321000107c8c1aa768cdc (commit)
via e72104afc5d23348fc23c206bc32235d4edf9e33 (commit)
via 4a3e7d158ae4a2005ae20e77541152e52acc9582 (commit)
via 0d7b8797a6206f8c706938448d6084c5fe9fdeb7 (commit)
via 7a99bbbf485a85d27aacf5006139fe67eb35ac68 (commit)
via 82110b496cd3e5c0d82796f85201ed8f587bfe4b (commit)
via 6747612706d81d31b1673974537ed8dff22444ba (commit)
via a1ccd4e4395a1215661f4dc88646514c53aeb0b9 (commit)
via ceff6a55e34396c81009e9c93086e7fa84eb73ec (commit)
via c8672d57d6e470057494b26e1a3c58d6b9e45ebe (commit)
via dbd948e82e78b6c0cec97764b9efeafab21bdb3d (commit)
via f2469987720df2d5333e2e46e72c0caa00b40817 (commit)
from 54585436d6c183677e19a08ade1ccc884dd47337 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit 8f43a4f73dff17b107d537a15c4a2a4690ad1d5a
Merge: 5458543 f07777f
Author: Phil Muldoon <pmuldoon@redhat.com>
Date: Tue Apr 30 10:40:13 2013 +0100
Merge remote-tracking branch 'gdb/master' into pmuldoon/python-backtrace
commit f07777f3d6fdeeb0bf54c3411bb9212cf2db8cca
Author: tschwinge <tschwinge>
Date: Tue Apr 30 09:27:43 2013 +0000
2013-04-30 Samuel Thibault <samuel.thibault@gnu.org>
* i386gnu-nat.c (CREG_OFFSET): New macro.
(creg_offset): New array.
(CREG_ADDR): Use creg_offset instead of reg_offset.
commit 31c5013d4a2abb9e4bff9e46c0782daf7edd1fd7
Author: Joel Brobecker <brobecker@gnat.com>
Date: Tue Apr 30 08:28:54 2013 +0000
mep: define gdbarch_pc_regnum instead of gdbarch_write_pc.
gdb/ChangeLog:
* mep-tdep.c (mep_write_pc): Delete.
(mep_gdbarch_init): Remove call to set_gdbarch_write_pc.
Add call to set_gdbarch_pc_regnum.
commit 0a9e8954b7385596ca4d650c3a9457cd94a9f0c3
Author: Joel Brobecker <brobecker@gnat.com>
Date: Tue Apr 30 08:28:31 2013 +0000
Delete ChangeLog entry with no corresponding change in sources.
This ChangeLog entry was the result of a result of botched commit
which resulted in the ChangeLog update being checked in, while
the actual code code itself did not make it to CVS.
This patch deletes the entry in gdb/ChangeLog titled:
mep: define gdbarch_pc_regnum instead of gdbarch_write_pc.
commit 842809252f742c8e84195742cfa8f8c8490d19a8
Author: Joel Brobecker <brobecker@gnat.com>
Date: Tue Apr 30 08:20:46 2013 +0000
filestuff.c: Include "gdb_dirent.h" instead of <dirent.h>
gdb/ChangeLog:
* common/filestuff.c: Replace #include <dirent.h> by
#include "gdb_dirent.h".
commit 157e1b7c1618d417b1d980fd747a64b4dbd637d5
Author: Joel Brobecker <brobecker@gnat.com>
Date: Tue Apr 30 08:20:04 2013 +0000
filestuff.c: Use gdb_stat.h instead of <sys/stat.h>
gdb/ChangeLog:
* common/filestuff.c: Replace #include <sys/stat.h> by
#include "gdb_stat.h".
commit b3115258ab45c340a5bcb74a821e6715d7c6c580
Author: Alan Modra <amodra@bigpond.net.au>
Date: Tue Apr 30 01:05:18 2013 +0000
* elflink.c (bfd_elf_record_link_assignment): Dont make
STV_INTERNAL symbols STV_HIDDEN.
commit ddabd64d2b6eef792b324de723f5a3de542c2145
Author: Alan Modra <amodra@bigpond.net.au>
Date: Tue Apr 30 00:00:04 2013 +0000
daily update
commit 1ef6af4459a5ed937df08728a316b5e77f9b5718
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Tue Apr 30 00:00:02 2013 +0000
*** empty log message ***
commit cc173028ea3382ae3e4663f669221835e35a87d0
Author: Tom Tromey <tromey@redhat.com>
Date: Mon Apr 29 17:32:43 2013 +0000
PR python/14204:
* gdb.texinfo (Python API): Fix menu entry.
(Blocks In Python): Fix subsubsection text. Rewrite intro.
Define global and static block. Add example. Clarify
block relationship for inline functions.
commit 13773b30f16fb5c84903139b4018696d900284f3
Author: Tom Tromey <tromey@redhat.com>
Date: Mon Apr 29 17:30:26 2013 +0000
* gdb.texinfo (Python API): Mention Python help and keyword
arguments. Move pagination text to Basic Python.
(Basic Python): Put pagination text here. Document
close-on-exec, SIGCHLD, and SIGINT.
commit 7d9c6579c7a3041c73f4e4b161952480990c32a1
Author: Jan-Benedict Glaw <jbglaw@lug-owl.de>
Date: Mon Apr 29 15:13:52 2013 +0000
* config.guess: Update from config repo.
* config.sub: Ditto.
commit 73a9ac437a8d796367b459e9f299228de48db46a
Author: Nick Clifton <nickc@redhat.com>
Date: Mon Apr 29 13:38:57 2013 +0000
* elflink.c (_bfd_elf_gc_mark_extra_sections): Remove mark from
fragmented .debug_line sections associated with unmarked code
sections.
* dwarf.c (read_debug_line_header): New function. Reads in a
header in a .debug_line section.
(display_debug_lines_raw): Use new function. Handle fragmentary
.debug_line sections.
(display_debug_lines_decoded): Likewise.
* readelf.c (process_section_headers): Handle fragmenatry
.debug_line sections.
(display_debug_section): Likewise.
* as.c (Options): Add -gdwarf-sections.
(parse_args): Likewise.
* as.h (flag_dwarf_sections): Declare.
* dwarf2dbg.c (emit_fixed_inc_line_addr): Skip section changes.
(process_entries): When -gdwarf-sections is enabled generate
fragmentary .debug_line sections.
(out_debug_line): Set the section for the .debug_line section end
symbol.
* doc/as.texinfo: Document -gdwarf-sections.
* NEWS: Mention -gdwarf-sections.
* gas/elf/dwarf2-3.d: Fix expected readelf output.
* scripttempl/DWARF.sc: Add support for .debug_line.* and
.debug_line_end.
commit 5f84f6446697d2462a51977edff7523d6adc8af7
Author: Joel Brobecker <brobecker@gnat.com>
Date: Mon Apr 29 10:10:35 2013 +0000
mep: define gdbarch_pc_regnum instead of gdbarch_write_pc.
gdb/ChangeLog:
* mep-tdep.c (mep_write_pc): Delete.
(mep_gdbarch_init): Remove call to set_gdbarch_write_pc.
Add call to set_gdbarch_pc_regnum.
commit 334e3f5577eda59dbb1547bad8a58a57cb8a2667
Author: Joel Brobecker <brobecker@gnat.com>
Date: Mon Apr 29 10:08:45 2013 +0000
Use gdbarch_pc_regnum instead of gdbarch_write_pc.
gdb/ChangeLog:
* m32r-tdep.c (m32r_write_pc): Delete.
(m32r_gdbarch_init): Remove call to set_gdbarch_write_pc.
Add call to set_gdbarch_pc_regnum.
commit 922f3816b2e61b8b496d5fbc1a45888f292a0734
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date: Mon Apr 29 09:52:07 2013 +0000
* dwarf2read.c (handle_DW_AT_stmt_list): Avoid ARI warning for
editCase function rule.
(get_DW_AT_signature_type): Likewise.
commit a770c2cf10da51a32de765b248f8c974620fbdea
Author: willnewton <willnewton>
Date: Mon Apr 29 09:48:31 2013 +0000
bfd/efl32-arm.c: Fix handling of IRELATIVE relocs.
bfd/ChangeLog:
2013-04-24 Will Newton <will.newton@linaro.org>
* elf32-arm.c (elf32_arm_populate_plt_entry): Call
elf32_arm_add_dynreloc when emitting R_ARM_IRELATIVE relocs.
ld/testsuite/ChangeLog:
2013-04-24 Will Newton <will.newton@linaro.org>
* ld-arm/arm-elf.exp: Add IFUNC test 17.
* ld-arm/ifunc-17.dd: New file.
* ld-arm/ifunc-17.gd: Likewise.
* ld-arm/ifunc-17.rd: Likewise.
* ld-arm/ifunc-17.s: Likweise.
* ld-arm/ifunc-1.rd: Reorder relocs to match linker output.
* ld-arm/ifunc-2.rd: Likewise.
* ld-arm/ifunc-5.rd: Likewise.
* ld-arm/ifunc-6.rd: Likewise.
commit 87a92a2b9ae99df3543a06f06697dc463db11d2a
Author: Nick Clifton <nickc@redhat.com>
Date: Mon Apr 29 08:33:51 2013 +0000
* elf64-aarch64.c (elf64_aarch64_check_relocs): Move relocation
error check up and add error message.
commit 6c7bdada280a511749a750246b45c7200d1cb099
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date: Mon Apr 29 08:32:17 2013 +0000
* ./contrib/ari/gdb_ari.sh (editCase rule): Fix spelling error.
commit 590909ea9631090e227a57ef7e7ef75ac39748fd
Author: Joel Brobecker <brobecker@gnat.com>
Date: Mon Apr 29 05:05:44 2013 +0000
Add ARI marker to get_DW_AT_signature_type.
gdb/ChangeLog:
* dwarf2read.c (get_DW_AT_signature_type): Add ARI marker.
commit ca61fe229aa2e5c6c33fa60b28e68039bd6abf01
Author: Alan Modra <amodra@bigpond.net.au>
Date: Mon Apr 29 00:00:04 2013 +0000
daily update
commit aefc7d03c760358b9f048f0d0ef0d04f7cb79805
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Mon Apr 29 00:00:02 2013 +0000
*** empty log message ***
commit 6330ab576e18fb97912839fc116c7babb5fd8c70
Author: qiyao <qiyao>
Date: Sun Apr 28 08:58:29 2013 +0000
gdb/
* solib-dsbt.c (fetch_loadmap): Re-indent.
(displacement_from_map, enable_break2): Likewise.
(dsbt_relocate_section_addresses): Likewise.
commit ce8a701215fa121e038199d49a6054aac86ec7f6
Author: Alan Modra <amodra@bigpond.net.au>
Date: Sun Apr 28 00:00:04 2013 +0000
daily update
commit b9159f3f27c1d944eb546b31b43bec73b4f275ec
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Sun Apr 28 00:00:02 2013 +0000
*** empty log message ***
commit 41041102676146d1b4c1045e3475245e67c86eff
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Sat Apr 27 00:00:32 2013 +0000
*** empty log message ***
commit d6743957be0be6636ecd73ba454379bcf347a65f
Author: Alan Modra <amodra@bigpond.net.au>
Date: Sat Apr 27 00:00:05 2013 +0000
daily update
commit 39fcd2fdc410efdf2356201b976f21c074b7bd65
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Fri Apr 26 14:07:53 2013 +0000
GDB 7.6 released.
commit 6176274447234dcc9ebcb7e7aefe0cee8367d86c
Author: willnewton <willnewton>
Date: Fri Apr 26 09:18:43 2013 +0000
Remove some dead code from elf64_aarch64_check_relocs.
bfd/ChangeLog:
2013-04-25 Will Newton <will.newton@linaro.org>
* elf64-aarch64.c (elf64_aarch64_check_relocs): Remove dead code.
commit ff7d34eae75e033cdd4cc39c2b19cc8659ff9acf
Author: Alan Modra <amodra@bigpond.net.au>
Date: Fri Apr 26 00:00:03 2013 +0000
daily update
commit a0a7241421d97061b1e691cdf5657a24f3390c2c
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Fri Apr 26 00:00:02 2013 +0000
*** empty log message ***
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 15 +
Makefile.def | 2 +-
Makefile.in | 18 +-
bfd/ChangeLog | 60 +
bfd/config.bfd | 5 +-
bfd/ecoff.c | 6 +-
bfd/elf-bfd.h | 8 +-
bfd/elf32-arm.c | 2962 ++++++++++++++--------------
bfd/elf32-tic6x.c | 5 +-
bfd/elf32-v850.c | 2 +-
bfd/elf64-aarch64.c | 30 +-
bfd/elflink.c | 61 +-
bfd/version.h | 2 +-
bfd/vms-alpha.c | 2 +-
config.guess | 25 +-
config.sub | 23 +-
configure | 2 +
configure.ac | 2 +
gdb/ChangeLog | 161 ++
gdb/Makefile.in | 7 +-
gdb/auto-load.c | 5 +-
gdb/auxv.c | 3 +-
gdb/breakpoint.c | 25 +-
gdb/cli/cli-cmds.c | 3 +
gdb/cli/cli-decode.c | 3 +
gdb/cli/cli-dump.c | 3 +-
gdb/common/agent.c | 3 +-
gdb/common/filestuff.c | 372 ++++
gdb/common/filestuff.h | 60 +
gdb/common/linux-osdata.c | 17 +-
gdb/common/linux-procfs.c | 5 +-
gdb/config.in | 9 +-
gdb/configure | 5 +-
gdb/configure.ac | 5 +-
gdb/contrib/ari/gdb_ari.sh | 2 +-
gdb/corelow.c | 3 +-
gdb/doc/ChangeLog | 15 +
gdb/doc/gdb.texinfo | 115 +-
gdb/dwarf2read.c | 12 +-
gdb/fork-child.c | 3 +
gdb/gdb_bfd.c | 3 +-
gdb/gdbserver/ChangeLog | 13 +
gdb/gdbserver/Makefile.in | 8 +-
gdb/gdbserver/ax.c | 1 +
gdb/gdbserver/config.in | 6 +
gdb/gdbserver/configure | 2 +-
gdb/gdbserver/configure.ac | 2 +-
gdb/i386gnu-nat.c | 15 +-
gdb/inf-child.c | 3 +-
gdb/linux-nat.c | 11 +-
gdb/m32r-tdep.c | 8 +-
gdb/main.c | 2 +
gdb/mep-tdep.c | 9 +-
gdb/remote-fileio.c | 3 +-
gdb/remote-sim.c | 6 +-
gdb/remote.c | 5 +-
gdb/ser-pipe.c | 17 +-
gdb/ser-tcp.c | 5 +-
gdb/ser-unix.c | 3 +-
gdb/solib-dsbt.c | 48 +-
gdb/solib.c | 7 +-
gdb/source.c | 7 +-
gdb/testsuite/ChangeLog | 24 +
gdb/testsuite/gdb.base/dprintf.exp | 4 +-
gdb/testsuite/gdb.base/save-bp.exp | 5 +-
gdb/testsuite/gdb.base/setshow.exp | 7 +
gdb/testsuite/gdb.dwarf2/nostaticblock.exp | 59 +
gdb/testsuite/gdb.gdb/selftest.exp | 4 +
gdb/tracepoint.c | 5 +-
gdb/tui/tui-io.c | 3 +-
gdb/ui-file.c | 3 +-
gdb/version.in | 2 +-
gdb/xml-support.c | 5 +-
libiberty/ChangeLog | 4 +
libiberty/hashtab.c | 33 +-
opcodes/ChangeLog | 5 +
opcodes/nios2-opc.c | 2 +-
77 files changed, 2721 insertions(+), 1694 deletions(-)
create mode 100644 gdb/common/filestuff.c
create mode 100644 gdb/common/filestuff.h
create mode 100644 gdb/testsuite/gdb.dwarf2/nostaticblock.exp
First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index 07594a4..06c7d47 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+2013-04-29 Jan-Benedict Glaw <jbglaw@lug-owl.de>
+
+ * config.guess: Update from config repo.
+ * config.sub: Ditto.
+
+2013-04-22 Jan-Benedict Glaw <jbglaw@lug-owl.de>
+
+ * Makefile.def: Sync with GCC.
+ * Makefile.in: Regenerate.
+
+2013-04-22 Jan-Benedict Glaw <jbglaw@lug-owl.de>
+
+ * configure.ac: Sync with GCC.
+ * configure: Regenerate.
+
2013-03-22 Mike Frysinger <vapier@gentoo.org>
* src-release (VER): Change bfd/configure.in sed to use the new
diff --git a/Makefile.def b/Makefile.def
index 1af7460..90d9653 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -138,7 +138,7 @@ target_modules = { module= libtermcap; no_check=true;
missing=maintainer-clean; };
target_modules = { module= winsup; };
target_modules = { module= libgloss; no_check=true; };
-target_modules = { module= libffi; };
+target_modules = { module= libffi; no_install=true; };
target_modules = { module= libjava; raw_cxx=true;
extra_configure_flags="$(EXTRA_CONFIGARGS_LIBJAVA)"; };
target_modules = { module= zlib; };
diff --git a/Makefile.in b/Makefile.in
index 08049de..bfbaf03 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -38710,13 +38710,8 @@ maybe-install-target-libffi:
@if target-libffi
maybe-install-target-libffi: install-target-libffi
-install-target-libffi: installdirs
- @: $(MAKE); $(unstage)
- @r=`${PWD_COMMAND}`; export r; \
- s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
- $(NORMAL_TARGET_EXPORTS) \
- (cd $(TARGET_SUBDIR)/libffi && \
- $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
+# Dummy target for uninstallable.
+install-target-libffi:
@endif target-libffi
@@ -38725,13 +38720,8 @@ maybe-install-strip-target-libffi:
@if target-libffi
maybe-install-strip-target-libffi: install-strip-target-libffi
-install-strip-target-libffi: installdirs
- @: $(MAKE); $(unstage)
- @r=`${PWD_COMMAND}`; export r; \
- s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
- $(NORMAL_TARGET_EXPORTS) \
- (cd $(TARGET_SUBDIR)/libffi && \
- $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
+# Dummy target for uninstallable.
+install-strip-target-libffi:
@endif target-libffi
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index c8d5619..49e2e16 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,63 @@
+2013-04-30 Alan Modra <amodra@gmail.com>
+
+ * elflink.c (bfd_elf_record_link_assignment): Dont make
+ STV_INTERNAL symbols STV_HIDDEN.
+
+2013-04-29 Nick Clifton <nickc@redhat.com>
+
+ * elflink.c (_bfd_elf_gc_mark_extra_sections): Remove mark from
+ fragmented .debug_line sections associated with unmarked code
+ sections.
+
+2013-04-29 Will Newton <will.newton@linaro.org>
+
+ * elf32-arm.c (elf32_arm_populate_plt_entry): Call
+ elf32_arm_add_dynreloc when emitting R_ARM_IRELATIVE relocs.
+
+2013-04-29 Will Newton <will.newton@linaro.org>
+
+ * elf64-aarch64.c (elf64_aarch64_check_relocs): Move relocation
+ error check up and add error message.
+
+2013-04-26 Will Newton <will.newton@linaro.org>
+
+ * elf64-aarch64.c (elf64_aarch64_check_relocs): Remove dead code.
+
+2013-04-25 Alan Modra <amodra@gmail.com>
+
+ * config.bfd: Add powerpc64le-linux.
+
+2013-04-24 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config.bfd (targ_selvecs): Add bfd_elf32_x86_64_vec for
+ x86_64-*-elf*.
+
+2013-04-24 Roland McGrath <mcgrathr@google.com>
+
+ * elf32-arm.c (elf32_arm_allocate_plt_entry): If HTAB->nacl_p,
+ allocate space for PLT header even if IS_IPLT_ENTRY.
+ (arm_nacl_put_plt0): New function, broken out of ...
+ (elf32_arm_finish_dynamic_sections): ... here. Call it.
+ If HTAB->nacl_p, set up the PLT header in .iplt too.
+ (elf32_arm_output_arch_local_syms): If HTAB->nacl_p, write
+ a mapping symbol for the start of .iplt too.
+
+2013-04-19 Luca Pizzamiglio <luca.pizzamiglio@gmail.com>
+
+ * ecoff.c (_bfd_ecoff_sizeof_headers): Cast the return value of
+ BFD_ALIGN to int.
+ * elf32-tic6x.c (elf32_tic6x_size_dynamic_sections): Remove unused
+ variables.
+ * elf32-v850.c (v850_elf_relax_section): Redefine the type of 'i'
+ to bfd_vma.
+ * vms-alpha.c (evax_bfd_print_etir): Initialize sec_len.
+
+2013-04-22 Alan Modra <amodra@gmail.com>
+
+ PR ld/15382
+ * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Don't multiply
+ sh_size or reloc_count adjustment by count.
+
2013-04-22 Alan Modra <amodra@gmail.com>
* elf64-ppc.c (ppc64_elf_check_relocs): Don't call
diff --git a/bfd/config.bfd b/bfd/config.bfd
index 10820e2..228e7c1 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -644,7 +644,7 @@ case "${targ}" in
;;
x86_64-*-elf*)
targ_defvec=bfd_elf64_x86_64_vec
- targ_selvecs="bfd_elf32_i386_vec bfd_elf64_l1om_vec bfd_elf64_k1om_vec i386coff_vec"
+ targ_selvecs="bfd_elf32_i386_vec bfd_elf32_x86_64_vec bfd_elf64_l1om_vec bfd_elf64_k1om_vec"
want64=true
;;
x86_64-*-dragonfly*)
@@ -1242,7 +1242,8 @@ case "${targ}" in
targ_selvecs="bfd_elf64_powerpcle_vec bfd_elf32_powerpc_vec bfd_elf32_powerpcle_vec rs6000coff_vec rs6000coff64_vec aix5coff64_vec"
want64=true
;;
- powerpc64le-*-elf* | powerpcle-*-elf64*)
+ powerpc64le-*-elf* | powerpcle-*-elf64* | powerpc64le-*-linux* | \
+ powerpc64le-*-*bsd*)
targ_defvec=bfd_elf64_powerpcle_vec
targ_selvecs="bfd_elf64_powerpc_vec bfd_elf32_powerpcle_vec bfd_elf32_powerpc_vec rs6000coff_vec rs6000coff64_vec aix5coff64_vec"
want64=true
diff --git a/bfd/ecoff.c b/bfd/ecoff.c
index eaf8ada..5add50c 100644
--- a/bfd/ecoff.c
+++ b/bfd/ecoff.c
@@ -1,7 +1,5 @@
/* Generic ECOFF (Extended-COFF) routines.
- Copyright 1990, 1991, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
- 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
- Free Software Foundation, Inc.
+ Copyright 1990-2013 Free Software Foundation, Inc.
Original version by Per Bothner.
Full support added by Ian Lance Taylor, ian@cygnus.com.
@@ -1888,7 +1886,7 @@ _bfd_ecoff_sizeof_headers (bfd *abfd,
ret = (bfd_coff_filhsz (abfd)
+ bfd_coff_aoutsz (abfd)
+ c * bfd_coff_scnhsz (abfd));
- return BFD_ALIGN (ret, 16);
+ return (int) BFD_ALIGN (ret, 16);
}
/* Get the contents of a section. */
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index 3b4bd6f..b643dbc 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -2497,16 +2497,16 @@ extern asection _bfd_elf_large_com_section;
rel_hdr = _bfd_elf_single_rel_hdr (input_section->output_section); \
\
/* Avoid empty output section. */ \
- if (rel_hdr->sh_size > count * rel_hdr->sh_entsize) \
+ if (rel_hdr->sh_size > rel_hdr->sh_entsize) \
{ \
- rel_hdr->sh_size -= count * rel_hdr->sh_entsize; \
+ rel_hdr->sh_size -= rel_hdr->sh_entsize; \
rel_hdr = _bfd_elf_single_rel_hdr (input_section); \
- rel_hdr->sh_size -= count * rel_hdr->sh_entsize; \
+ rel_hdr->sh_size -= rel_hdr->sh_entsize; \
\
memmove (rel, rel + count, \
(relend - rel - count) * sizeof (*rel)); \
\
- input_section->reloc_count -= count; \
+ input_section->reloc_count--; \
relend -= count; \
rel--; \
continue; \
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
index 9fff630..2ed4741 100644
--- a/bfd/elf32-arm.c
+++ b/bfd/elf32-arm.c
@@ -1,6 +1,6 @@
/* 32-bit ELF support for ARM
Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
- 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
+ 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
@@ -327,160 +327,160 @@ static reloc_howto_type elf32_arm_howto_table_1[] =
/* Dynamic TLS relocations. */
HOWTO (R_ARM_TLS_DTPMOD32, /* type */
- 0, /* rightshift */
- 2, /* size (0 = byte, 1 = short, 2 = long) */
- 32, /* bitsize */
- FALSE, /* pc_relative */
- 0, /* bitpos */
- complain_overflow_bitfield,/* complain_on_overflow */
- bfd_elf_generic_reloc, /* special_function */
- "R_ARM_TLS_DTPMOD32", /* name */
- TRUE, /* partial_inplace */
- 0xffffffff, /* src_mask */
- 0xffffffff, /* dst_mask */
- FALSE), /* pcrel_offset */
+ 0, /* rightshift */
+ 2, /* size (0 = byte, 1 = short, 2 = long) */
+ 32, /* bitsize */
+ FALSE, /* pc_relative */
+ 0, /* bitpos */
+ complain_overflow_bitfield,/* complain_on_overflow */
+ bfd_elf_generic_reloc, /* special_function */
+ "R_ARM_TLS_DTPMOD32", /* name */
+ TRUE, /* partial_inplace */
+ 0xffffffff, /* src_mask */
+ 0xffffffff, /* dst_mask */
+ FALSE), /* pcrel_offset */
HOWTO (R_ARM_TLS_DTPOFF32, /* type */
- 0, /* rightshift */
- 2, /* size (0 = byte, 1 = short, 2 = long) */
- 32, /* bitsize */
- FALSE, /* pc_relative */
- 0, /* bitpos */
- complain_overflow_bitfield,/* complain_on_overflow */
- bfd_elf_generic_reloc, /* special_function */
- "R_ARM_TLS_DTPOFF32", /* name */
- TRUE, /* partial_inplace */
- 0xffffffff, /* src_mask */
- 0xffffffff, /* dst_mask */
- FALSE), /* pcrel_offset */
+ 0, /* rightshift */
+ 2, /* size (0 = byte, 1 = short, 2 = long) */
+ 32, /* bitsize */
+ FALSE, /* pc_relative */
+ 0, /* bitpos */
+ complain_overflow_bitfield,/* complain_on_overflow */
+ bfd_elf_generic_reloc, /* special_function */
+ "R_ARM_TLS_DTPOFF32", /* name */
+ TRUE, /* partial_inplace */
+ 0xffffffff, /* src_mask */
+ 0xffffffff, /* dst_mask */
+ FALSE), /* pcrel_offset */
HOWTO (R_ARM_TLS_TPOFF32, /* type */
- 0, /* rightshift */
- 2, /* size (0 = byte, 1 = short, 2 = long) */
- 32, /* bitsize */
- FALSE, /* pc_relative */
- 0, /* bitpos */
- complain_overflow_bitfield,/* complain_on_overflow */
- bfd_elf_generic_reloc, /* special_function */
- "R_ARM_TLS_TPOFF32", /* name */
- TRUE, /* partial_inplace */
- 0xffffffff, /* src_mask */
- 0xffffffff, /* dst_mask */
- FALSE), /* pcrel_offset */
+ 0, /* rightshift */
+ 2, /* size (0 = byte, 1 = short, 2 = long) */
+ 32, /* bitsize */
+ FALSE, /* pc_relative */
+ 0, /* bitpos */
+ complain_overflow_bitfield,/* complain_on_overflow */
+ bfd_elf_generic_reloc, /* special_function */
+ "R_ARM_TLS_TPOFF32", /* name */
+ TRUE, /* partial_inplace */
+ 0xffffffff, /* src_mask */
+ 0xffffffff, /* dst_mask */
+ FALSE), /* pcrel_offset */
/* Relocs used in ARM Linux */
HOWTO (R_ARM_COPY, /* type */
- 0, /* rightshift */
- 2, /* size (0 = byte, 1 = short, 2 = long) */
- 32, /* bitsize */
- FALSE, /* pc_relative */
- 0, /* bitpos */
- complain_overflow_bitfield,/* complain_on_overflow */
- bfd_elf_generic_reloc, /* special_function */
- "R_ARM_COPY", /* name */
- TRUE, /* partial_inplace */
- 0xffffffff, /* src_mask */
- 0xffffffff, /* dst_mask */
- FALSE), /* pcrel_offset */
+ 0, /* rightshift */
+ 2, /* size (0 = byte, 1 = short, 2 = long) */
+ 32, /* bitsize */
+ FALSE, /* pc_relative */
+ 0, /* bitpos */
+ complain_overflow_bitfield,/* complain_on_overflow */
+ bfd_elf_generic_reloc, /* special_function */
+ "R_ARM_COPY", /* name */
+ TRUE, /* partial_inplace */
+ 0xffffffff, /* src_mask */
+ 0xffffffff, /* dst_mask */
+ FALSE), /* pcrel_offset */
HOWTO (R_ARM_GLOB_DAT, /* type */
- 0, /* rightshift */
- 2, /* size (0 = byte, 1 = short, 2 = long) */
- 32, /* bitsize */
- FALSE, /* pc_relative */
- 0, /* bitpos */
- complain_overflow_bitfield,/* complain_on_overflow */
- bfd_elf_generic_reloc, /* special_function */
- "R_ARM_GLOB_DAT", /* name */
- TRUE, /* partial_inplace */
- 0xffffffff, /* src_mask */
- 0xffffffff, /* dst_mask */
- FALSE), /* pcrel_offset */
+ 0, /* rightshift */
+ 2, /* size (0 = byte, 1 = short, 2 = long) */
+ 32, /* bitsize */
+ FALSE, /* pc_relative */
+ 0, /* bitpos */
+ complain_overflow_bitfield,/* complain_on_overflow */
+ bfd_elf_generic_reloc, /* special_function */
+ "R_ARM_GLOB_DAT", /* name */
+ TRUE, /* partial_inplace */
+ 0xffffffff, /* src_mask */
+ 0xffffffff, /* dst_mask */
+ FALSE), /* pcrel_offset */
HOWTO (R_ARM_JUMP_SLOT, /* type */
- 0, /* rightshift */
- 2, /* size (0 = byte, 1 = short, 2 = long) */
- 32, /* bitsize */
- FALSE, /* pc_relative */
- 0, /* bitpos */
- complain_overflow_bitfield,/* complain_on_overflow */
- bfd_elf_generic_reloc, /* special_function */
- "R_ARM_JUMP_SLOT", /* name */
- TRUE, /* partial_inplace */
- 0xffffffff, /* src_mask */
- 0xffffffff, /* dst_mask */
- FALSE), /* pcrel_offset */
+ 0, /* rightshift */
+ 2, /* size (0 = byte, 1 = short, 2 = long) */
+ 32, /* bitsize */
+ FALSE, /* pc_relative */
+ 0, /* bitpos */
+ complain_overflow_bitfield,/* complain_on_overflow */
+ bfd_elf_generic_reloc, /* special_function */
+ "R_ARM_JUMP_SLOT", /* name */
+ TRUE, /* partial_inplace */
+ 0xffffffff, /* src_mask */
+ 0xffffffff, /* dst_mask */
+ FALSE), /* pcrel_offset */
HOWTO (R_ARM_RELATIVE, /* type */
- 0, /* rightshift */
- 2, /* size (0 = byte, 1 = short, 2 = long) */
- 32, /* bitsize */
- FALSE, /* pc_relative */
- 0, /* bitpos */
- complain_overflow_bitfield,/* complain_on_overflow */
- bfd_elf_generic_reloc, /* special_function */
- "R_ARM_RELATIVE", /* name */
- TRUE, /* partial_inplace */
- 0xffffffff, /* src_mask */
- 0xffffffff, /* dst_mask */
- FALSE), /* pcrel_offset */
+ 0, /* rightshift */
+ 2, /* size (0 = byte, 1 = short, 2 = long) */
+ 32, /* bitsize */
+ FALSE, /* pc_relative */
+ 0, /* bitpos */
+ complain_overflow_bitfield,/* complain_on_overflow */
+ bfd_elf_generic_reloc, /* special_function */
+ "R_ARM_RELATIVE", /* name */
+ TRUE, /* partial_inplace */
+ 0xffffffff, /* src_mask */
+ 0xffffffff, /* dst_mask */
+ FALSE), /* pcrel_offset */
HOWTO (R_ARM_GOTOFF32, /* type */
- 0, /* rightshift */
- 2, /* size (0 = byte, 1 = short, 2 = long) */
- 32, /* bitsize */
- FALSE, /* pc_relative */
- 0, /* bitpos */
- complain_overflow_bitfield,/* complain_on_overflow */
- bfd_elf_generic_reloc, /* special_function */
- "R_ARM_GOTOFF32", /* name */
- TRUE, /* partial_inplace */
- 0xffffffff, /* src_mask */
- 0xffffffff, /* dst_mask */
- FALSE), /* pcrel_offset */
+ 0, /* rightshift */
+ 2, /* size (0 = byte, 1 = short, 2 = long) */
+ 32, /* bitsize */
+ FALSE, /* pc_relative */
+ 0, /* bitpos */
+ complain_overflow_bitfield,/* complain_on_overflow */
+ bfd_elf_generic_reloc, /* special_function */
+ "R_ARM_GOTOFF32", /* name */
+ TRUE, /* partial_inplace */
+ 0xffffffff, /* src_mask */
+ 0xffffffff, /* dst_mask */
+ FALSE), /* pcrel_offset */
HOWTO (R_ARM_GOTPC, /* type */
- 0, /* rightshift */
- 2, /* size (0 = byte, 1 = short, 2 = long) */
- 32, /* bitsize */
- TRUE, /* pc_relative */
- 0, /* bitpos */
- complain_overflow_bitfield,/* complain_on_overflow */
- bfd_elf_generic_reloc, /* special_function */
- "R_ARM_GOTPC", /* name */
- TRUE, /* partial_inplace */
- 0xffffffff, /* src_mask */
- 0xffffffff, /* dst_mask */
- TRUE), /* pcrel_offset */
+ 0, /* rightshift */
+ 2, /* size (0 = byte, 1 = short, 2 = long) */
+ 32, /* bitsize */
+ TRUE, /* pc_relative */
+ 0, /* bitpos */
+ complain_overflow_bitfield,/* complain_on_overflow */
+ bfd_elf_generic_reloc, /* special_function */
+ "R_ARM_GOTPC", /* name */
+ TRUE, /* partial_inplace */
+ 0xffffffff, /* src_mask */
+ 0xffffffff, /* dst_mask */
+ TRUE), /* pcrel_offset */
HOWTO (R_ARM_GOT32, /* type */
- 0, /* rightshift */
- 2, /* size (0 = byte, 1 = short, 2 = long) */
- 32, /* bitsize */
- FALSE, /* pc_relative */
- 0, /* bitpos */
- complain_overflow_bitfield,/* complain_on_overflow */
- bfd_elf_generic_reloc, /* special_function */
- "R_ARM_GOT32", /* name */
- TRUE, /* partial_inplace */
- 0xffffffff, /* src_mask */
- 0xffffffff, /* dst_mask */
- FALSE), /* pcrel_offset */
+ 0, /* rightshift */
+ 2, /* size (0 = byte, 1 = short, 2 = long) */
+ 32, /* bitsize */
+ FALSE, /* pc_relative */
+ 0, /* bitpos */
+ complain_overflow_bitfield,/* complain_on_overflow */
+ bfd_elf_generic_reloc, /* special_function */
+ "R_ARM_GOT32", /* name */
+ TRUE, /* partial_inplace */
+ 0xffffffff, /* src_mask */
+ 0xffffffff, /* dst_mask */
+ FALSE), /* pcrel_offset */
HOWTO (R_ARM_PLT32, /* type */
- 2, /* rightshift */
- 2, /* size (0 = byte, 1 = short, 2 = long) */
- 24, /* bitsize */
- TRUE, /* pc_relative */
- 0, /* bitpos */
- complain_overflow_bitfield,/* complain_on_overflow */
- bfd_elf_generic_reloc, /* special_function */
- "R_ARM_PLT32", /* name */
- FALSE, /* partial_inplace */
- 0x00ffffff, /* src_mask */
- 0x00ffffff, /* dst_mask */
- TRUE), /* pcrel_offset */
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [SCM] pmuldoon/python-backtrace: Merge remote-tracking branch 'gdb/master' into pmuldoon/python-backtrace
@ 2013-04-22 12:13 pmuldoon
0 siblings, 0 replies; 9+ messages in thread
From: pmuldoon @ 2013-04-22 12:13 UTC (permalink / raw)
To: archer-commits
The branch, pmuldoon/python-backtrace has been updated
via 54585436d6c183677e19a08ade1ccc884dd47337 (commit)
via 8b336e6bdffba2095f20c39140ca1b4db9d5a9d1 (commit)
via effff1b7fb47a783d5041d5bfa906e0598237f47 (commit)
via 387dcc423f0b0837835ec7d1f1c5ed7728fa9574 (commit)
via 051f357decdb4ebb99a374616ec2f231a231d188 (commit)
via 40f0f68dc579c37f7b8acc50dbea5e4f6c013b1f (commit)
via 9fbc529f6156b9f4b92bd339e2043eb5ef28cded (commit)
via 064089ea8bff6088c25347790569670735fff568 (commit)
via 9d98d54e5dd823ce1db8eaa5565786353bde08d2 (commit)
via 5461f4b4302ed312ae837284661f63bcbb5f0150 (commit)
via f857351bba8ed38f911fae105fb163ecbb891f38 (commit)
via 105a5d1d91e1262b3f9c41cba005de5bb67d1d8b (commit)
via df3f6541130aef717e500bc647efa1bde2ac65d3 (commit)
via 19c227dcd47973ba3d4ab7b69967b94840df0e34 (commit)
via f7eb9e8a850efb3f2c65d29cdacaf88ada15f8bd (commit)
via 5e5c0ff1bb5f27ebd180c0696a104f2816d0c145 (commit)
via 0d9856c8507b0b2e0a88fda3fc14404228218c74 (commit)
via 86beac1070093ae3f91c9e1cd3009bed3e475fa6 (commit)
via 295123e116bd75f28ca1a6c310471668960f2fc0 (commit)
via bf63885a12b4ff83174a400335f6258536e0ff2a (commit)
via 72ba79c167998175b9302b5b83cb472625f886b8 (commit)
via 3b3be33462801c7945e328c6570f7e3d6a4acbac (commit)
via c3f787aca95e3ecb7215b6b42be6f4620fc7c02c (commit)
via 70685987aab47cea63a45e038097fde4fef548fd (commit)
via 29fc1b0ae32e3110fac0313a6720aca198de02c9 (commit)
via 1016d2d11a157ae44dd2f29620bbfd9d459ab7c8 (commit)
via 3b0b4cc40ad6020112bc02ccd539fb0d9b0c6ede (commit)
via 5e50ec2db34555434bdf0c61996647573945f047 (commit)
via 34bcb4e371534d9a450ea11a578adff28704fa23 (commit)
via ea029ce7c43cebe294b644bc316eeefcc774d992 (commit)
via d6617aac65a3e5acc91ea0905a0bdd543a821f2d (commit)
via a2429991882d4235f1eb017ddd0a9d8f1e8b5398 (commit)
via 045f778a4c12658419d10ec5485bd0347935a39d (commit)
via 1d3d38e1eacb431efb1d0a4a67e6eacf15c0f2b2 (commit)
via 31bfb03710f59e01c2cd123bf01be2f991f29e22 (commit)
via 4b42dc673381808a31f0f6cc7ed7eccd3c9043b8 (commit)
via cea2b1f6f345e375adba8f2eb9861b004d33c1e8 (commit)
via 5c6f64738585ff93d63f5782b9bb044eca637fa0 (commit)
via 7b6538165a92ffa94a76d4c7677c8c0a5de527b9 (commit)
via 49c16422a06186b20f0fc33380113b131c20c8f8 (commit)
via 05920b10b4f7e7c44329c13644bbfa14c427ae92 (commit)
via 1614db2f39d46d6ba389e88edfeed3eeef6e3e7e (commit)
via f78a17cc8b54f718d16b6cfd63163a39a6df738b (commit)
via 74d7e164d1e9d6ff1fd7c1acf675e3589098fa81 (commit)
from bc81493517989311a33355d00a68bbdfa95862b9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit 54585436d6c183677e19a08ade1ccc884dd47337
Merge: bc81493 8b336e6
Author: Phil Muldoon <pmuldoon@redhat.com>
Date: Mon Apr 22 13:13:18 2013 +0100
Merge remote-tracking branch 'gdb/master' into pmuldoon/python-backtrace
commit 8b336e6bdffba2095f20c39140ca1b4db9d5a9d1
Author: qiyao <qiyao>
Date: Mon Apr 22 09:34:27 2013 +0000
gdb/
* infrun.c: Fix typo in comment.
commit effff1b7fb47a783d5041d5bfa906e0598237f47
Author: sergiodj <sergiodj>
Date: Mon Apr 22 09:32:21 2013 +0000
2013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
* gdb.arch/arm-bl-branch-dest.exp: Replace additional_flags by
ldflags.
commit 387dcc423f0b0837835ec7d1f1c5ed7728fa9574
Author: sergiodj <sergiodj>
Date: Mon Apr 22 09:20:32 2013 +0000
Andrew Haley found a bug on GDB running on ARM when using
--enable-64-bit-bfd. Basically the issue happens when dealing with "bl"
instructions: GDB does branch destination calculation and (wrongly)
sign-extends the PC. Here is a piece of his original message explaining
the problem:
> next_pc = arm_get_next_pc (frame, get_frame_pc (frame));
>
> /* The Linux kernel offers some user-mode helpers in a high page. We can
> not read this page (as of 2.6.23), and even if we could then we couldn't
> set breakpoints in it, and even if we could then the atomic operations
> would fail when interrupted. They are all called as functions and return
> to the address in LR, so step to there instead. */
> if (next_pc > 0xffff0000)
> next_pc = get_frame_register_unsigned (frame, ARM_LR_REGNUM);
>
> arm_insert_single_step_breakpoint (gdbarch, aspace, next_pc);
>
> Unfortunately, branch destination addresses are SIGN EXTENDED to 64
> bits. So,
>
> (top-gdb) p/x next_pc
> $14 = 0xffffffffb6df2864
>
> Which triggers the next_pc = get_frame_register_unsigned(), and we
> cannot step into any branches because the destination PC is wrong.
Anyway, the fix is simple and Andrew himself provided it for us. It
took a while for me to figure out how to trigger the bug (in order to
write a testcase for it), but I finally made it.
The attached patch fixes the problem (by casting to `unsigned long'
instead of just `long'), and also includes a testcase to reproduce the
issue.
gdb/ChangeLog:
2013-04-22 Andrew Haley <aph@redhat.com>
* arm-tdep.c (BranchDest): Cast result as "unsigned long",
instead of "long".
gdb/testsuite/ChangeLog:
2013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
* gdb.arch/arm-bl-branch-dest.c: New file.
* gdb.arch/arm-bl-branch-dest.exp: Likewise.
commit 051f357decdb4ebb99a374616ec2f231a231d188
Author: Alan Modra <amodra@bigpond.net.au>
Date: Mon Apr 22 03:11:39 2013 +0000
bfd/
* elf64-ppc.c (ppc64_elf_check_relocs): Don't call
create_linkage_sections here..
(ppc64_elf_init_stub_bfd): ..do so here. Return status.
(create_linkage_sections): Move earlier in file.
(ppc64_elf_setup_section_lists): Remove now useless htab->brlt test.
* elf64-ppc.h (ppc64_elf_init_stub_bfd): Update proto.
ld/
* emultempl/ppc64elf.em (ppc_create_output_section_statements):
Check return from ppc64_elf_init_stub_bfd.
ld/testsuite/
* ld-powerpc/tlsexe.d: Adjust.
* ld-powerpc/tlsexe.r: Adjust.
* ld-powerpc/tlsexetoc.d: Adjust.
* ld-powerpc/tlsexetoc.r: Adjust.
* ld-powerpc/tlsso.d: Adjust.
* ld-powerpc/tlsso.r: Adjust.
* ld-powerpc/tlstocso.d: Adjust.
* ld-powerpc/tlstocso.r: Adjust.
commit 40f0f68dc579c37f7b8acc50dbea5e4f6c013b1f
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Mon Apr 22 00:00:32 2013 +0000
*** empty log message ***
commit 9fbc529f6156b9f4b92bd339e2043eb5ef28cded
Author: Alan Modra <amodra@bigpond.net.au>
Date: Mon Apr 22 00:00:04 2013 +0000
daily update
-----------------------------------------------------------------------
Summary of changes:
bfd/ChangeLog | 9 +
bfd/elf64-ppc.c | 172 +++++++-------
bfd/elf64-ppc.h | 2 +-
bfd/version.h | 2 +-
gdb/ChangeLog | 320 +++++++++++++++++++++++++
gdb/aarch64-tdep.c | 6 +-
gdb/ada-lang.c | 5 +-
gdb/ada-tasks.c | 2 +-
gdb/alpha-tdep.c | 6 +-
gdb/alphanbsd-tdep.c | 8 +-
gdb/arm-linux-tdep.c | 16 +-
gdb/arm-tdep.c | 14 +-
gdb/arm-tdep.h | 6 +-
gdb/arm-wince-tdep.c | 4 +-
gdb/armnbsd-tdep.c | 8 +-
gdb/armobsd-tdep.c | 4 +-
gdb/avr-tdep.c | 8 +-
gdb/c-lang.c | 2 +-
gdb/coff-pe-read.c | 7 +-
gdb/common/agent.c | 3 +-
gdb/configure | 2 +-
gdb/configure.ac | 2 +-
gdb/cp-valprint.c | 2 +-
gdb/cris-tdep.c | 26 +-
gdb/ctf.c | 19 +-
gdb/doc/ChangeLog | 10 +
gdb/doc/gdbint.texinfo | 13 +-
gdb/dwarf2-frame.c | 6 +-
gdb/dwarf2loc.c | 4 +-
gdb/dwarf2read.c | 10 +-
gdb/frv-tdep.c | 10 +-
gdb/hppa-hpux-tdep.c | 16 +-
gdb/hppa-tdep.c | 4 +-
gdb/i386-cygwin-tdep.c | 6 +-
gdb/i387-tdep.c | 2 +-
gdb/ia64-tdep.c | 24 +-
gdb/infrun.c | 2 +-
gdb/linux-tdep.c | 8 +-
gdb/m32c-tdep.c | 3 +-
gdb/m68hc11-tdep.c | 14 +-
gdb/mep-tdep.c | 2 +-
gdb/mips-tdep.c | 6 +-
gdb/mipsnbsd-tdep.c | 2 +-
gdb/mn10300-tdep.c | 11 +-
gdb/monitor.c | 14 +-
gdb/moxie-tdep.c | 14 +-
gdb/ppc-linux-tdep.c | 2 +-
gdb/ppc-ravenscar-thread.c | 6 +-
gdb/python/py-inferior.c | 2 +-
gdb/python/py-prettyprint.c | 10 +-
gdb/python/py-value.c | 3 +-
gdb/ravenscar-thread.c | 2 +-
gdb/record-full.c | 10 +-
gdb/record.c | 2 +-
gdb/remote-m32r-sdi.c | 2 +-
gdb/remote-mips.c | 34 ++--
gdb/remote.c | 31 ++--
gdb/reverse.c | 4 +-
gdb/s390-tdep.c | 8 +-
gdb/score-tdep.c | 2 +-
gdb/ser-base.c | 9 +-
gdb/ser-base.h | 2 +-
gdb/ser-go32.c | 21 +-
gdb/ser-tcp.c | 5 +-
gdb/serial.c | 16 +-
gdb/serial.h | 6 +-
gdb/sh-tdep.c | 44 ++--
gdb/sh64-tdep.c | 41 ++--
gdb/solib-darwin.c | 10 +-
gdb/solib-dsbt.c | 2 +-
gdb/solib-frv.c | 2 +-
gdb/solib-irix.c | 12 +-
gdb/solib-som.c | 2 +-
gdb/solib-spu.c | 2 +-
gdb/solib-svr4.c | 6 +-
gdb/sparc-ravenscar-thread.c | 6 +-
gdb/spu-multiarch.c | 2 +-
gdb/spu-tdep.c | 18 +-
gdb/testsuite/ChangeLog | 16 ++
gdb/testsuite/gdb.arch/arm-bl-branch-dest.c | 29 +++
gdb/testsuite/gdb.arch/arm-bl-branch-dest.exp | 37 +++
gdb/testsuite/gdb.arch/i386-float.S | 34 +++
gdb/testsuite/gdb.arch/i386-float.exp | 43 ++++
gdb/tic6x-tdep.c | 2 +-
gdb/tic6x-tdep.h | 2 +-
gdb/tracepoint.c | 19 +-
gdb/version.in | 2 +-
gdb/xcoffread.c | 2 +-
gdb/xstormy16-tdep.c | 10 +-
gdb/xtensa-tdep.c | 10 +-
sim/ChangeLog | 4 +
sim/ppc/ppc-instructions | 13 +
92 files changed, 954 insertions(+), 429 deletions(-)
create mode 100644 gdb/testsuite/gdb.arch/arm-bl-branch-dest.c
create mode 100644 gdb/testsuite/gdb.arch/arm-bl-branch-dest.exp
create mode 100644 gdb/testsuite/gdb.arch/i386-float.S
create mode 100644 gdb/testsuite/gdb.arch/i386-float.exp
First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 22cf440..c8d5619 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,12 @@
+2013-04-22 Alan Modra <amodra@gmail.com>
+
+ * elf64-ppc.c (ppc64_elf_check_relocs): Don't call
+ create_linkage_sections here..
+ (ppc64_elf_init_stub_bfd): ..do so here. Return status.
+ (create_linkage_sections): Move earlier in file.
+ (ppc64_elf_setup_section_lists): Remove now useless htab->brlt test.
+ * elf64-ppc.h (ppc64_elf_init_stub_bfd): Update proto.
+
2013-04-19 Nick Clifton <nickc@redhat.com>
PR binutils/15356
diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c
index e14bfb0..cb33821 100644
--- a/bfd/elf64-ppc.c
+++ b/bfd/elf64-ppc.c
@@ -4061,9 +4061,86 @@ ppc64_elf_link_hash_table_free (struct bfd_link_hash_table *hash)
_bfd_elf_link_hash_table_free (hash);
}
+/* Create sections for linker generated code. */
+
+static bfd_boolean
+create_linkage_sections (bfd *dynobj, struct bfd_link_info *info)
+{
+ struct ppc_link_hash_table *htab;
+ flagword flags;
+
+ htab = ppc_hash_table (info);
+
+ /* Create .sfpr for code to save and restore fp regs. */
+ flags = (SEC_ALLOC | SEC_LOAD | SEC_CODE | SEC_READONLY
+ | SEC_HAS_CONTENTS | SEC_IN_MEMORY | SEC_LINKER_CREATED);
+ htab->sfpr = bfd_make_section_anyway_with_flags (dynobj, ".sfpr",
+ flags);
+ if (htab->sfpr == NULL
+ || ! bfd_set_section_alignment (dynobj, htab->sfpr, 2))
+ return FALSE;
+
+ /* Create .glink for lazy dynamic linking support. */
+ htab->glink = bfd_make_section_anyway_with_flags (dynobj, ".glink",
+ flags);
+ if (htab->glink == NULL
+ || ! bfd_set_section_alignment (dynobj, htab->glink, 3))
+ return FALSE;
+
+ if (!info->no_ld_generated_unwind_info)
+ {
+ flags = (SEC_ALLOC | SEC_LOAD | SEC_READONLY | SEC_HAS_CONTENTS
+ | SEC_IN_MEMORY | SEC_LINKER_CREATED);
+ htab->glink_eh_frame = bfd_make_section_anyway_with_flags (dynobj,
+ ".eh_frame",
+ flags);
+ if (htab->glink_eh_frame == NULL
+ || !bfd_set_section_alignment (dynobj, htab->glink_eh_frame, 2))
+ return FALSE;
+ }
+
+ flags = SEC_ALLOC | SEC_LINKER_CREATED;
+ htab->iplt = bfd_make_section_anyway_with_flags (dynobj, ".iplt", flags);
+ if (htab->iplt == NULL
+ || ! bfd_set_section_alignment (dynobj, htab->iplt, 3))
+ return FALSE;
+
+ flags = (SEC_ALLOC | SEC_LOAD | SEC_READONLY
+ | SEC_HAS_CONTENTS | SEC_IN_MEMORY | SEC_LINKER_CREATED);
+ htab->reliplt = bfd_make_section_anyway_with_flags (dynobj,
+ ".rela.iplt",
+ flags);
+ if (htab->reliplt == NULL
+ || ! bfd_set_section_alignment (dynobj, htab->reliplt, 3))
+ return FALSE;
+
+ /* Create branch lookup table for plt_branch stubs. */
+ flags = (SEC_ALLOC | SEC_LOAD
+ | SEC_HAS_CONTENTS | SEC_IN_MEMORY | SEC_LINKER_CREATED);
+ htab->brlt = bfd_make_section_anyway_with_flags (dynobj, ".branch_lt",
+ flags);
+ if (htab->brlt == NULL
+ || ! bfd_set_section_alignment (dynobj, htab->brlt, 3))
+ return FALSE;
+
+ if (!info->shared)
+ return TRUE;
+
+ flags = (SEC_ALLOC | SEC_LOAD | SEC_READONLY
+ | SEC_HAS_CONTENTS | SEC_IN_MEMORY | SEC_LINKER_CREATED);
+ htab->relbrlt = bfd_make_section_anyway_with_flags (dynobj,
+ ".rela.branch_lt",
+ flags);
+ if (htab->relbrlt == NULL
+ || ! bfd_set_section_alignment (dynobj, htab->relbrlt, 3))
+ return FALSE;
+
+ return TRUE;
+}
+
/* Satisfy the ELF linker by filling in some fields in our fake bfd. */
-void
+bfd_boolean
ppc64_elf_init_stub_bfd (bfd *abfd, struct bfd_link_info *info)
{
struct ppc_link_hash_table *htab;
@@ -4075,9 +4152,14 @@ ppc64_elf_init_stub_bfd (bfd *abfd, struct bfd_link_info *info)
the start of the output TOC section. */
htab = ppc_hash_table (info);
if (htab == NULL)
- return;
+ return FALSE;
htab->stub_bfd = abfd;
htab->elf.dynobj = abfd;
+
+ if (info->relocatable)
+ return TRUE;
+
+ return create_linkage_sections (htab->elf.dynobj, info);
}
/* Build a name for an entry in the stub hash table. */
@@ -4227,85 +4309,6 @@ ppc_add_stub (const char *stub_name,
return stub_entry;
}
-/* Create sections for linker generated code. */
-
-static bfd_boolean
-create_linkage_sections (bfd *dynobj, struct bfd_link_info *info)
-{
- struct ppc_link_hash_table *htab;
- flagword flags;
-
- htab = ppc_hash_table (info);
- if (htab == NULL)
- return FALSE;
-
- /* Create .sfpr for code to save and restore fp regs. */
- flags = (SEC_ALLOC | SEC_LOAD | SEC_CODE | SEC_READONLY
- | SEC_HAS_CONTENTS | SEC_IN_MEMORY | SEC_LINKER_CREATED);
- htab->sfpr = bfd_make_section_anyway_with_flags (dynobj, ".sfpr",
- flags);
- if (htab->sfpr == NULL
- || ! bfd_set_section_alignment (dynobj, htab->sfpr, 2))
- return FALSE;
-
- /* Create .glink for lazy dynamic linking support. */
- htab->glink = bfd_make_section_anyway_with_flags (dynobj, ".glink",
- flags);
- if (htab->glink == NULL
- || ! bfd_set_section_alignment (dynobj, htab->glink, 3))
- return FALSE;
-
- if (!info->no_ld_generated_unwind_info)
- {
- flags = (SEC_ALLOC | SEC_LOAD | SEC_READONLY | SEC_HAS_CONTENTS
- | SEC_IN_MEMORY | SEC_LINKER_CREATED);
- htab->glink_eh_frame = bfd_make_section_anyway_with_flags (dynobj,
- ".eh_frame",
- flags);
- if (htab->glink_eh_frame == NULL
- || !bfd_set_section_alignment (dynobj, htab->glink_eh_frame, 2))
- return FALSE;
- }
-
- flags = SEC_ALLOC | SEC_LINKER_CREATED;
- htab->iplt = bfd_make_section_anyway_with_flags (dynobj, ".iplt", flags);
- if (htab->iplt == NULL
- || ! bfd_set_section_alignment (dynobj, htab->iplt, 3))
- return FALSE;
-
- flags = (SEC_ALLOC | SEC_LOAD | SEC_READONLY
- | SEC_HAS_CONTENTS | SEC_IN_MEMORY | SEC_LINKER_CREATED);
- htab->reliplt = bfd_make_section_anyway_with_flags (dynobj,
- ".rela.iplt",
- flags);
- if (htab->reliplt == NULL
- || ! bfd_set_section_alignment (dynobj, htab->reliplt, 3))
- return FALSE;
-
- /* Create branch lookup table for plt_branch stubs. */
- flags = (SEC_ALLOC | SEC_LOAD
- | SEC_HAS_CONTENTS | SEC_IN_MEMORY | SEC_LINKER_CREATED);
- htab->brlt = bfd_make_section_anyway_with_flags (dynobj, ".branch_lt",
- flags);
- if (htab->brlt == NULL
- || ! bfd_set_section_alignment (dynobj, htab->brlt, 3))
- return FALSE;
-
- if (!info->shared)
- return TRUE;
-
- flags = (SEC_ALLOC | SEC_LOAD | SEC_READONLY
- | SEC_HAS_CONTENTS | SEC_IN_MEMORY | SEC_LINKER_CREATED);
- htab->relbrlt = bfd_make_section_anyway_with_flags (dynobj,
- ".rela.branch_lt",
- flags);
- if (htab->relbrlt == NULL
- || ! bfd_set_section_alignment (dynobj, htab->relbrlt, 3))
- return FALSE;
-
- return TRUE;
-}
-
/* Create .got and .rela.got sections in ABFD, and .got in dynobj if
not already done. */
@@ -4983,10 +4986,6 @@ ppc64_elf_check_relocs (bfd *abfd, struct bfd_link_info *info,
ppc64_elf_section_data (sec)->sec_type = sec_opd;
}
- if (htab->sfpr == NULL
- && !create_linkage_sections (htab->elf.dynobj, info))
- return FALSE;
-
rel_end = relocs + sec->reloc_count;
for (rel = relocs; rel < rel_end; rel++)
{
@@ -10547,9 +10546,6 @@ ppc64_elf_setup_section_lists
htab->add_stub_section = add_stub_section;
htab->layout_sections_again = layout_sections_again;
- if (htab->brlt == NULL)
- return 0;
-
/* Find the top input section id. */
for (input_bfd = info->input_bfds, top_id = 3;
input_bfd != NULL;
diff --git a/bfd/elf64-ppc.h b/bfd/elf64-ppc.h
index 2728b27..89495bc 100644
--- a/bfd/elf64-ppc.h
+++ b/bfd/elf64-ppc.h
@@ -19,7 +19,7 @@
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
MA 02110-1301, USA. */
-void ppc64_elf_init_stub_bfd
+bfd_boolean ppc64_elf_init_stub_bfd
(bfd *, struct bfd_link_info *);
bfd_boolean ppc64_elf_edit_opd
(struct bfd_link_info *, bfd_boolean);
diff --git a/bfd/version.h b/bfd/version.h
index e5462d7..8d7d489 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20130419
+#define BFD_VERSION_DATE 20130422
#define BFD_VERSION @bfd_version@
#define BFD_VERSION_STRING @bfd_version_package@ @bfd_version_string@
#define REPORT_BUGS_TO @report_bugs_to@
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 85c3245..d6014ce 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,323 @@
+2013-04-22 Yao Qi <yao@codesourcery.com>
+
+ * infrun.c: Fix typo in comment.
+
+2013-04-22 Andrew Haley <aph@redhat.com>
+
+ * arm-tdep.c (BranchDest): Cast result as "unsigned long",
+ instead of "long".
+
+2013-04-20 Yao Qi <yao@codesourcery.com>
+
+ * ctf.c (ctf_fetch_registers): Change the type of 'regs' from
+ 'char *' to 'gdb_byte *'. Cast the return value of
+ 'bt_ctf_get_char_array' to 'gdb_byte *'.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * configure.ac (build_warnings): Replace -Wno-pointer-sign with
+ -Wpointer-sign.
+ * configure: Regenerate.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * ser-tcp.c (net_read_prim): Cast second argument to recv to
+ 'void *'.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * monitor.c (monitor_write_memory, monitor_write_memory_bytes):
+ Change type of 'myaddr' parameter to gdb_byte pointer.
+ (monitor_write_memory_longlongs): Likewise. Cast 'myaddr' pointer
+ to 'long long' pointer instead of to 'unsigned long long'.
+ (monitor_write_memory_block, monitor_read_memory_single)
+ (monitor_read_memory): Change type of 'myaddr' parameter to
+ gdb_byte pointer.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * record.c (validate_history_size): Make parameter 'setting'
+ unsigned.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * ctf.c (ctf_write_uploaded_tsv, ctf_write_uploaded_tp): Add casts
+ to 'gdb_byte *'.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * cp-valprint.c (cp_print_class_member): Change type of 'fieldno'
+ local to int.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * ada-lang.c (print_it_exception): Add cast to gdb_byte *.
+ * ada-tasks.c (read_fat_string_value): Likewise.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * dwarf2-frame.c (execute_cfa_program): Make 'bytes_read' local
+ unsigned. Pass 'tmp' to safe_read_uleb128 instead of the signed
+ 'offset', and adjust.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * dwarf2read.c (dwarf2_get_dwz_file): Add cast to const char *.
+ (read_index_from_section): Add cast to 'char *'.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * xcoffread.c (xcoff_initial_scan): Add cast to 'char *'.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * coff-pe-read.c (read_pe_exported_syms): Handle strings as char.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * record-full.c (record_full_get_bookmark): Change local 'ret'
+ type to char * and add cast to gdb_byte *.
+ (record_full_goto_bookmark): Handle 'bookmark' argument as a
+ string.
+ * reverse.c (goto_bookmark_command): Add casts to gdb_byte *.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * python/py-inferior.c (infpy_write_memory): Add cast to gdb_byte
+ * python/py-prettyprint.c (print_string_repr): Change type of
+ 'output' local to char *. Add cast to gdb_byte * in
+ LA_PRINT_STRING call.
+ (print_children): Change type of 'output' local to char *.
+ * python/py-value.c (valpy_string): Add cast to const char * in
+ PyUnicode_Decode call.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * remote-mips.c (mips_cksum): Rename 'data' parameter to 'datastr'
+ and change its type to 'const char *'. Adjust.
+ (mips_send_packet): Add cast to 'char *', and remove cast to
+ 'unsigned char *'.
+ (mips_receive_packet): Remove cast to 'unsigned char *'.
+ (mips_load_srec): Use bfd_byte.
+ (pmon_makeb64, pmon_zeroset): Make 'chksum' parameter unsigned.
+ (pmon_checkset): Make 'value' parameter unsigned.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * common/agent.c (agent_run_command): Add cast to gdb_byte *.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * remote.c (remote_write_bytes_aux, compare_sections_command)
+ (remote_read_qxfer)
+ (remote_search_memory, remote_hostio_pwrite, remote_hostio_pread)
+ (remote_hostio_readlink, remote_bfd_iovec_pread)
+ (remote_set_trace_notes): Use gdb_byte when RSP buffer is used as
+ binary buffer, and char when buffer is used as string.
+ * tracepoint.c (encode_source_string, tfile_write_uploaded_tp)
+ (trace_save, tfile_open, traceframe_walk_blocks)
+ (tfile_fetch_registers): Likewise.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * ser-base.c (ser_base_write): Change prototype -- take 'void *'
+ buffer and size_t size. Adjust.
+ * ser-base.h (ser_base_write): Adjust.
+ * ser-go32.c (cnts): Change type to size_t.
+ (dos_write): Change prototype -- take 'void *'
+ buffer and size_t size. Adjust.
+ (dos_info): Print elements of 'cnts' as unsigned long.
+ * serial.c (serial_write): Likewise.
+ * serial.h (serial_write): Adjust.
+ (struct serial_ops) <write>: Change prototype -- take 'void *'
+ buffer and size_t size. Adjust.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * c-lang.c (evaluate_subexp_c): Cast result of obstack_base to
+ gdb_byte *.
+ * linux-tdep.c (linux_make_mappings_corefile_notes): Likewise.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * alpha-tdep.c (alpha_extract_return_value): Use
+ regcache_cooked_read_unsigned to read 'v0'.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * xtensa-tdep.c (execute_l32e, execute_s32e): Change type of
+ parameters 'at', 'as' and 'offset' to uint32_t.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * aarch64-tdep.c (aarch64_analyze_prologue): Change type of local
+ 'is64' to signed 'int'.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * s390-tdep.c (is_rs, is_rsy, is_rx, is_rxy): Change type of 'd2'
+ parameter to int *.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * ppc-linux-tdep.c (ppc_skip_trampoline_code): Change local
+ 'insnbuf' buffer type to unsigned int[].
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * mips-tdep.c (mips_read_pc): Change local 'pc' type to LONGEST.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * mep-tdep.c (mep_get_insn): Change 'insn' parameter type to
+ unsigned long *.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * alpha-tdep.c (heuristic_fence_post): Change type to int.
+ (alpha_heuristic_proc_start): Adjust to check -1 instead of
+ UINT_MAX.
+ * mips-tdep.c (heuristic_fence_post): Change type to int.
+ (heuristic_proc_start): Adjust to check -1 instead of UINT_MAX.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * cris-tdep.c (usr_cmd_cris_version): Make unsigned.
+ (struct gdbarch_tdep) <cris_version>: Make unsigned.
+ (cris_spec_reg_applicable, cris_gdbarch_init): Adjust locals.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * avr-tdep.c (avr_io_reg_read_command): New local 'bufstr'. Use
+ it to get a string view of the byte buffer.
+ * i386-cygwin-tdep.c (core_process_module_section): Change local 'buf'
+ type to gdb_byte *. Adjust.
+ * linux-tdep.c (linux_info_proc, linux_find_memory_regions_full):
+ Change local to char *.
+ * solib-darwin.c (find_program_interpreter): Change return type to
+ char *. Adjust.
+ (darwin_solib_get_all_image_info_addr_at_init): Adjust.
+ * solib-dsbt.c (enable_break2): Change local 'buf' to char *.
+ * solib-frv.c (enable_break2): Change local 'buf' to char *.
+ * solib-spu.c (spu_current_sos): Add gdb_byte * cast.
+ * solib-svr4.c (find_program_interpreter): Change return type to
+ char *. Adjust.
+ (enable_break): Change local 'interp_name' to char *.
+ * spu-multiarch.c (spu_xfer_partial): Add cast to 'char *'.
+ * spu-tdep.c (spu_pseudo_register_read_spu): Add cast to 'char *'.
+ (spu_pseudo_register_write_spu): Use char for string buffer.
+ Adjust.
+ (info_spu_event_command, info_spu_signal_command): Add casts to
+ 'char *'.
+
+2013-04-19 Pedro Alves <palves@redhat.com>
+
+ * aarch64-tdep.c (aarch64_default_breakpoint): Change type to
+ gdb_byte[].
+ (aarch64_breakpoint_from_pc): Change return type to gdb_byte *.
+ * ada-lang.c (ada_value_assign): Use gdb_byte.
+ * alphanbsd-tdep.c (sigtramp_retcode): Change type to gdb_byte[].
+ (alphanbsd_sigtramp_offset): Use gdb_byte.
+ * arm-linux-tdep.c (arm_linux_arm_le_breakpoint)
+ (arm_linux_arm_be_breakpoint, eabi_linux_arm_le_breakpoint)
+ (eabi_linux_arm_be_breakpoint, arm_linux_thumb_be_breakpoint)
+ (arm_linux_thumb_le_breakpoint, arm_linux_thumb2_be_breakpoint)
+ (arm_linux_thumb2_le_breakpoint): Change type to gdb_byte[].
+ * arm-tdep.c (arm_stub_unwind_sniffer)
+ (arm_displaced_init_closure): Use gdb_byte.
+ (arm_default_arm_le_breakpoint, arm_default_arm_be_breakpoint)
+ (arm_default_thumb_le_breakpoint)
+ (arm_default_thumb_be_breakpoint): Change type to gdb_byte[].
+ * arm-tdep.h (struct gdbarch_tdep) <arm_breakpoint,
+ thumb_breakpoint, thumb2_breakpoint>: Change type to gdb_byte *.
+ * arm-wince-tdep.c (arm_wince_le_breakpoint)
+ (arm_wince_thumb_le_breakpoint): Change type to gdb_byte[].
+ * armnbsd-tdep.c (arm_nbsd_arm_le_breakpoint)
+ (arm_nbsd_arm_be_breakpoint, arm_nbsd_thumb_le_breakpoint)
+ (arm_nbsd_thumb_be_breakpoint): Change type to gdb_byte[].
+ * armobsd-tdep.c (arm_obsd_thumb_le_breakpoint)
+ (arm_obsd_thumb_be_breakpoint): Change type to gdb_byte[].
+ * cris-tdep.c (push_stack_item, cris_push_dummy_call)
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [SCM] pmuldoon/python-backtrace: Merge remote-tracking branch 'gdb/master' into pmuldoon/python-backtrace
@ 2013-03-08 15:40 pmuldoon
0 siblings, 0 replies; 9+ messages in thread
From: pmuldoon @ 2013-03-08 15:40 UTC (permalink / raw)
To: archer-commits
The branch, pmuldoon/python-backtrace has been updated
via 9d45de3ff8519e67889eb97f06602f7f916ec41c (commit)
via 9cb1f23594b3c4027638eb9751fd779781d1398b (commit)
via 61ea5d208bafd661f52b7db0d43cd2655741987f (commit)
via 53d2625aa5606dfd19ba3806eebeda54ce159f09 (commit)
via c383fc030120a3e092381dda26a7e5d3999b9fee (commit)
via 3255f72c09abc5fa6fba404460b68908158044b5 (commit)
via 2954f54136e2d338b294b1ac033dff7826caf73f (commit)
via 2b1bc98105f6eb99b045645642216ce9d45153c7 (commit)
via 03a29636e9c8396fffddb01febb42c948cd92b20 (commit)
via 4f4971ecba427a64c83c268ba2d482bb63fee46e (commit)
via 01e2d314eaf50040393a13aa8078f867a7c5917e (commit)
via 9b5e2b6ceb52acc5a61ab5396bfacd06aa9985cd (commit)
via 7fb6ee6c3b9469b8ae3d869a92597c6f03294511 (commit)
via 97a07d234cd3cbf4217611693e72f4895c69a942 (commit)
via 4fc89e5ff47fef8279872bbe956145b7e61141e0 (commit)
via fc4f53b3094a7dada7dec096d2fbad55a0bbc184 (commit)
via c4a72c18337864933890575a3c804e8a7f172725 (commit)
via b372434e1bf2ad62fc62e2cdadfaac49f46cf13d (commit)
via c71a03ac4a169da2c8dd6ef746ef01a600c22141 (commit)
via 01d6af77052d4842b3bbef718918a1d412daa1e1 (commit)
via a76e22e087ee5784e62508cf8ec29e2ab21634e6 (commit)
via 780ab92c4e72b06ae71a0725e4a739f9b54225ac (commit)
via 4e4203ba2047788730a832ae0a170fe9b9d7bae7 (commit)
via 4fa139e6e846958311e8a2ed1acc0de42428679f (commit)
via d3f78a07f15fa2321a2d19a66cbaa08073441418 (commit)
via 5451fccf3c5c1cd0855f2dc932b3bcd5331e7b15 (commit)
via a19bdcbdb23cb75a20fe73164cc7c45bce6af0d7 (commit)
via 6eb8b57e8717879dcf30d0dbdc4235be516659bf (commit)
via 808063f3501f45c3f00fa6ce6428319c9392cc70 (commit)
via 7ac04623a9df976de0c5d379aebc88c8126739a7 (commit)
via a9c4418872df7e82ff4e14171902d90bad2f7987 (commit)
via ebf3262775ab5d785278cc5096c40bad16ac5dc5 (commit)
via 8945e77196073b641208e991da067b3fcb63e5d7 (commit)
via d0516cbdb20f6884e0c513ed56a218baf9c7283b (commit)
via db286784aa52e906c04f636ea2c5d5f58192364d (commit)
via c2a65e648556cfce850e3c19289a4587ae1a6ccf (commit)
via 51f7bc66b09e61db6bd3c91b4f0c9ef58b21bc7b (commit)
via 5e16cbd55ff6fc0ca2db757d4cca4b9da102d0bc (commit)
via d2169b1b530a4555587128747942994e4d7a95d2 (commit)
via 633991aa595fd9b375d71510b5f4f4470ac0f047 (commit)
via 1a922e7a8a1158b172b88590d751dab50eb83a65 (commit)
via 0c46735e42d175fb4c1a1fa00c267a55aaf35bdc (commit)
via 2bdfe98c0bba4610708a1ebf9cf4db47916a6a9d (commit)
via a6447a314a5e038909e67767f25fab4f8c8f3372 (commit)
from 2df7735feedd77ddc69ea7d486135eecfa268c6e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit 9d45de3ff8519e67889eb97f06602f7f916ec41c
Merge: 2df7735 9cb1f23
Author: Phil Muldoon <pmuldoon@redhat.com>
Date: Fri Mar 8 15:39:36 2013 +0000
Merge remote-tracking branch 'gdb/master' into pmuldoon/python-backtrace
commit 9cb1f23594b3c4027638eb9751fd779781d1398b
Author: Maciej W. Rozycki <macro@linux-mips.org>
Date: Fri Mar 8 11:50:27 2013 +0000
* elfxx-mips.c (mips_elf_allocate_lazy_stub): Correct data type.
-----------------------------------------------------------------------
Summary of changes:
bfd/ChangeLog | 18 ++-
bfd/config.bfd | 2 +-
bfd/elf32-ppc.c | 58 +++---
bfd/elfxx-mips.c | 2 +-
bfd/version.h | 2 +-
gdb/ChangeLog | 207 ++++++++++++++++++
gdb/NEWS | 1 +
gdb/ada-exp.y | 6 +-
gdb/ada-lang.c | 113 ++++++----
gdb/ada-lang.h | 3 +-
gdb/ax-gdb.c | 2 +-
gdb/ax-gdb.h | 2 +-
gdb/ax-general.c | 2 +-
gdb/ax.h | 2 +-
gdb/breakpoint.c | 9 +-
gdb/c-lang.c | 2 +-
gdb/charset.c | 6 +-
gdb/cli/cli-cmds.c | 14 +-
gdb/cli/cli-decode.c | 2 +-
gdb/coff-pe-read.c | 3 +
gdb/command.h | 7 +-
gdb/config/i386/cygwin64.mh | 20 ++
gdb/configure.host | 1 +
gdb/configure.tgt | 2 +-
gdb/corefile.c | 2 +-
gdb/elfread.c | 6 +-
gdb/expprint.c | 8 +-
gdb/findcmd.c | 13 +-
gdb/gdbserver/ChangeLog | 18 ++
gdb/gdbserver/configure.srv | 4 +
gdb/gdbserver/linux-low.c | 8 +-
gdb/gdbserver/tracepoint.c | 16 +-
gdb/go32-nat.c | 19 +-
gdb/infcmd.c | 9 +-
gdb/language.h | 6 +-
gdb/linespec.c | 267 +++++++++++++++++-------
gdb/linux-record.c | 7 +-
gdb/linux-tdep.c | 15 +-
gdb/linux-thread-db.c | 4 +-
gdb/m32r-rom.c | 4 +-
gdb/maint.c | 4 +-
gdb/mi/mi-parse.c | 16 +-
gdb/minsyms.c | 4 +-
gdb/objc-lang.c | 34 +--
gdb/python/py-utils.c | 13 --
gdb/python/python-internal.h | 1 -
gdb/python/python.c | 10 +-
gdb/regcache.c | 4 +-
gdb/remote-m32r-sdi.c | 5 +-
gdb/remote-notif.c | 2 +-
gdb/remote-notif.h | 2 +-
gdb/remote.c | 4 -
gdb/remote.h | 4 +
gdb/ser-tcp.c | 2 +-
gdb/serial.c | 4 +-
gdb/stack.c | 4 +-
gdb/stap-probe.c | 2 +-
gdb/symfile.c | 4 +-
gdb/symtab.c | 36 ++--
gdb/target.c | 14 +-
gdb/testsuite/ChangeLog | 29 +++
gdb/testsuite/gdb.linespec/base/one/thefile.cc | 7 +-
gdb/testsuite/gdb.linespec/base/two/thefile.cc | 7 +-
gdb/testsuite/gdb.linespec/break-ask.exp | 100 +++++++++
gdb/testsuite/gdb.linespec/lspec.cc | 2 +-
gdb/testsuite/gdb.trace/tstatus.exp | 89 ++------
gdb/thread.c | 3 +-
gdb/tracepoint.c | 43 ++---
gdb/utils.c | 23 ++-
gdb/valprint.c | 4 +-
gdb/varobj.c | 4 +-
gdb/version.in | 2 +-
72 files changed, 915 insertions(+), 459 deletions(-)
create mode 100644 gdb/config/i386/cygwin64.mh
create mode 100644 gdb/testsuite/gdb.linespec/break-ask.exp
First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 8b949e4..1454f40 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,17 @@
+2013-03-08 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * elfxx-mips.c (mips_elf_allocate_lazy_stub): Correct data type.
+
+2013-03-05 Corinna Vinschen <vinschen@redhat.com>
+
+ * config.bfd: Add x86_64-*-cygwin to list of supported targets.
+
+2013-03-04 Alan Modra <amodra@gmail.com>
+
+ * elf32-ppc.c (ppc_elf_relocate_section <R_PPC_PLTREL24>): Adjust
+ non-zero addends when relocatable, rather than addends >= 32768.
+ Always zero "addend" before applying relocation.
+
2013-03-04 Nick Clifton <nickc@redhat.com>
* archive64.c (bfd_elf64_archive_write_armap): Fix calculation of
@@ -1017,8 +1031,8 @@
2013-01-07 Tom Tromey <tromey@redhat.com>
* section.c (_bfd_std_section): Rename from std_section.
- (bfd_com_section_ptr, bfd_und_section_ptr, bfd_abs_section_ptr)
- (STD_SECTION): Update.
+ (bfd_com_section_ptr, bfd_und_section_ptr, bfd_abs_section_ptr)
+ (STD_SECTION): Update.
* bfd-in2.h: Rebuild.
2013-01-04 Juergen Urban <JuergenUrban@gmx.de>
diff --git a/bfd/config.bfd b/bfd/config.bfd
index ade2731..10820e2 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -673,7 +673,7 @@ case "${targ}" in
targ_archs="$targ_archs bfd_arm_arch"
want64=true
;;
- x86_64-*-mingw* | x86_64-*-pe | x86_64-*-pep)
+ x86_64-*-mingw* | x86_64-*-pe | x86_64-*-pep | x86_64-*-cygwin)
targ_defvec=x86_64pe_vec
targ_selvecs="x86_64pe_vec x86_64pei_vec bfd_elf64_x86_64_vec bfd_elf64_l1om_vec bfd_elf64_k1om_vec i386pe_vec i386pei_vec bfd_elf32_i386_vec"
want64=true
diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c
index bac1ce2..c05f2f0 100644
--- a/bfd/elf32-ppc.c
+++ b/bfd/elf32-ppc.c
@@ -7472,7 +7472,7 @@ ppc_elf_relocate_section (bfd *output_bfd,
{
if (got2 != NULL
&& r_type == R_PPC_PLTREL24
- && rel->r_addend >= 32768)
+ && rel->r_addend != 0)
{
/* R_PPC_PLTREL24 is rather special. If non-zero, the
addend specifies the GOT pointer offset within .got2. */
@@ -8477,33 +8477,37 @@ ppc_elf_relocate_section (bfd *output_bfd,
break;
case R_PPC_PLTREL24:
- if (h == NULL || ifunc != NULL)
- break;
- /* Relocation is to the entry for this symbol in the
- procedure linkage table. */
- {
- struct plt_entry *ent = find_plt_ent (&h->plt.plist, got2,
- info->shared ? addend : 0);
- addend = 0;
- if (ent == NULL
- || htab->plt == NULL)
- {
- /* We didn't make a PLT entry for this symbol. This
- happens when statically linking PIC code, or when
- using -Bsymbolic. */
- break;
- }
+ if (h != NULL && ifunc == NULL)
+ {
+ struct plt_entry *ent = find_plt_ent (&h->plt.plist, got2,
+ info->shared ? addend : 0);
+ if (ent == NULL
+ || htab->plt == NULL)
+ {
+ /* We didn't make a PLT entry for this symbol. This
+ happens when statically linking PIC code, or when
+ using -Bsymbolic. */
+ }
+ else
+ {
+ /* Relocation is to the entry for this symbol in the
+ procedure linkage table. */
+ unresolved_reloc = FALSE;
+ if (htab->plt_type == PLT_NEW)
+ relocation = (htab->glink->output_section->vma
+ + htab->glink->output_offset
+ + ent->glink_offset);
+ else
+ relocation = (htab->plt->output_section->vma
+ + htab->plt->output_offset
+ + ent->plt.offset);
+ }
+ }
- unresolved_reloc = FALSE;
- if (htab->plt_type == PLT_NEW)
- relocation = (htab->glink->output_section->vma
- + htab->glink->output_offset
- + ent->glink_offset);
- else
- relocation = (htab->plt->output_section->vma
- + htab->plt->output_offset
- + ent->plt.offset);
- }
+ /* R_PPC_PLTREL24 is rather special. If non-zero, the
+ addend specifies the GOT pointer offset within .got2.
+ Don't apply it to the relocation field. */
+ addend = 0;
break;
/* Relocate against _SDA_BASE_. */
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c
index 2843118..a5ad454 100644
--- a/bfd/elfxx-mips.c
+++ b/bfd/elfxx-mips.c
@@ -8920,7 +8920,7 @@ mips_elf_estimate_stub_size (bfd *output_bfd, struct bfd_link_info *info)
allocate an entry in the stubs section. */
static bfd_boolean
-mips_elf_allocate_lazy_stub (struct mips_elf_link_hash_entry *h, void **data)
+mips_elf_allocate_lazy_stub (struct mips_elf_link_hash_entry *h, void *data)
{
struct mips_elf_link_hash_table *htab;
diff --git a/bfd/version.h b/bfd/version.h
index 9f5454b..03b88f9 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20130304
+#define BFD_VERSION_DATE 20130308
#define BFD_VERSION @bfd_version@
#define BFD_VERSION_STRING @bfd_version_package@ @bfd_version_string@
#define REPORT_BUGS_TO @report_bugs_to@
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 2a35477..da506b4 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,210 @@
+2013-03-07 Pedro Alves <palves@redhat.com>
+
+ * target.c (target_read_stralloc, target_fileio_read_alloc):
+ *Cast pointer to 'gdb_byte *' in target call.
+
+2013-03-07 Pedro Alves <palves@redhat.com>
+
+ * corefile.c (read_memory_string): Cast pointer to gdb_byte* in
+ call.
+
+2013-03-07 Keith Seitz <keiths@redhat.com>
+
+ * breakpoint.c (catch_syscall_split_args): Use skip_spaces.
+ (trace_pass_command): Likewise.
+ * cli/cli-cmds.c: Include cli/cli-utils.h.
+ (source_command): Use skip-spaces.
+ (disassemble_command): Likewise.
+ * findcmd.c: Include cli/cli-utils.h.
+ (parse_find_args): Use skip_spaces.
+ * go32-nat.c: Include cli/cli-utils.h.
+ (go32_sldt): Use skip_spaces.
+ (go32_sgdt): Likewise.
+ (go32_sidt): Likewise.
+ (go32_pde): Likewise.
+ (go32_pte): Likewise.
+ (go32_pte_for_address): Likewise.
+ * infcmd.c: Include cli/cli-utils.h.
+ (registers_info): Use skip_spaces.
+ * linux-tdep.c (read_mapping): Use skip_spaces_const.
+ (linux_info_proc): Likewise.
+ * linux-thread-db.c: Include cli/cli-utils.h.
+ (info_auto_load_libthread_db): Use skip_spaces_const.
+ * m32r-rom.c: Include cli/cli-utils.h.
+ (m32r_upload_command): Use skip_spaces.
+ * maint.c: Include cli/cli-utils.h.
+ (maintenance_translate_address): Use skip_spaces.
+ * mi/mi-parse.c: Include cli/cli-utils.h.
+ (mi_parse_argv): Use skip_spaces.
+ (mi_parse): Likewise.
+ * minsyms.c: Include cli/cli-utils.h.
+ (msymbol_hash_iw): Use skip_spaces_const.
+ * objc-lang.c: Include cli/cli-utils.h.
+ (parse_selector): Use skip_spaces.
+ (parse_method): Likewise.
+ * python/python.c: Include cli/cli-utils.h.
+ (python_interactive_command)[HAVE_PYTHON]: Use skip_spaces.
+ (python_command)[HAVE_PYTHON]: Likewise.
+ (python_interactive_command)[!HAVE_PYTHON]: Likewise.
+ * remote-m32r-sdi.c: Include cli/cli-utils.h.
+ (m32r_load): Use skip_spaces.
+ * serial.c: Include cli/cli-utils.h.
+ (serial_open): Use skip_spaces_const.
+ * stack.c: Include cli/cli-utils.h.
+ (parse_frame_specification_1): Use skip_spaces_const.
+ * symfile.c: Include cli/cli-utils.h.
+ (set_ext_lang_command): Use skip_spaces.
+ * symtab.c: Include cli/cli-utils.h.
+ (rbreak_command): Use skip_spaces.
+ * thread.c (thread_name_command): Use skip_spaces.
+ * tracepoint.c (validate_actionline): Use skip_spaces.
+ (encode_actions_1): Likewise.
+ (trace_find_range_command): Likewise.
+ (trace_find_outside_command): Likewise.
+ (trace_dump_actions): Likewise.
+
+2013-03-07 Pedro Alves <palves@redhat.com>
+
+ * c-lang.c (parse_one_string): Cast argument to gdb_byte *.
+ * expprint.c (print_subexp_standard): Likewise.
+ * utils.c (host_char_to_target): Likewise.
+ * valprint.c (generic_emit_char, generic_printstr): Likewise.
+ * varobj.c (value_get_print_value): Change type of local to char*.
+ Cast it gdb_byte * in call to language printer.
+
+2013-03-07 Pedro Alves <palves@redhat.com>
+
+ * charset.c (struct wchar_iterator) <input>: Change type to 'const
+ gdb_byte *'.
+ (make_wchar_iterator): Remove cast to char*.
+ (wchar_iterate): Change type of local.
+
+2013-03-07 Pedro Alves <palves@redhat.com>
+
+ * regcache.c (regcache_xmalloc_1): Call XCALLOC with signed char
+ for 'regcache->register_status'.
+
+2013-03-07 Pedro Alves <palves@redhat.com>
+
+ * breakpoint.c (breakpoint_xfer_memory): Change type of local to
+ int.
+
+2013-03-07 Pedro Alves <palves@redhat.com>
+
+ * stap-probe.c (handle_stap_probe): Add cast to char*.
+
+2013-03-07 Pedro Alves <palves@redhat.com>
+
+ * linux-record.c (record_linux_system_call) <gdb_sys_msgrcv,
+ RECORD_MSGRCV>: Pass a signed variable to
+ regcache_raw_read_signed, instead of an unsigned one.
+
+2013-03-07 Pedro Alves <palves@redhat.com>
+
+ * remote-notif.c (notif_debug): Change type to int.
+ * remote-notif.h (notif_debug): Likewise.
+
+2013-03-07 Pedro Alves <palves@redhat.com>
+
+ * ser-tcp.c (tcp_retry_limit): Change type to unsigned int.
+
+2013-03-07 Pedro Alves <palves@redhat.com>
+
+ * remote.c (hex2bin, bin2hex): Move extern declarations to ...
+ * remote.h (hex2bin, bin2hex): ... here.
+ * tracepoint.c (hex2bin, bin2hex): Remove extern declarations.
+
+2013-03-07 Eli Zaretskii <eliz@gnu.org>
+
+ * utils.c (initialize_utils): Improve doc strings of "set/show
+ width", "set/show height", and "set/show pagination".
+
+2013-03-06 Keith Seitz <keiths@redhat.com>
+
+ * ax-gdb.c (gen_printf): Make FORMAT const.
+ * ax-gdb.h (gen_printf): Likewise.
+ * ax-general.c (ax_string): Make STR const.
+ * ax.h (ax_string): Likewise.
+
+2013-03-06 Doug Evans <dje@google.com>
+
+ * elfread.c (elf_symfile_read): Move debugging printf to more
+ logical location.
+
+2013-03-06 Pedro Alves <palves@redhat.com>
+
+ * python/py-utils.c (target_string_to_unicode): Delete function.
+ * python/python-internal.h (target_string_to_unicode): Delete
+ declaration.
+
+2013-03-06 Pierre Muller <muller@sourceware.org>
+
+ * linespec.c (get_current_search_block): ARI fix, use (void)
+ for empty parameter list.
+
+2013-03-05 Doug Evans <dje@google.com>
+
+ * ada-lang.c (ada_lookup_symbol_list_worker): New function, contents
+ of old ada_lookup_symbol_list. In !full_search case, don't
+ search superblocks.
+ (ada_lookup_symbol_list): Delete arg full_search, all callers
+ updated. Call ada_lookup_symbol_list_worker.
+ (ada_iterate_over_symbols): Call ada_lookup_symbol_list_worker.
+ * ada-lang.h (ada_lookup_symbol_list): Update.
+ * language.h (language_defn): Update comment for
+ la_iterate_over_symbols.
+ * linespec.c (iterate_over_file_blocks): New function.
+ (iterate_over_all_matching_symtabs): Call it.
+ (lookup_prefix_sym): Ditto.
+ (get_current_search_block): New function.
+ (get_search_block): Delete.
+ (find_label_symbols): Call get_current_search_block.
+ (add_matching_symbols_to_info): Call iterate_over_file_blocks.
+ * symtab.c (iterate_over_symbols): Don't search superblocks.
+
+2013-03-05 Yao Qi <yao@codesourcery.com>
+
+ * cli/cli-decode.c (add_setshow_zuinteger_unlimited_cmd): Change
+ parameter VAR's type from "unsigned int" to "int".
+ * command.h (var_zuinteger_unlimited): Update its comments.
+ (add_setshow_zuinteger_unlimited_cmd): Update the declaration.
+
+2013-03-05 Corinna Vinschen <vinschen@redhat.de>
+
+ * NEWS: Mention new target x86_64-*-cygwin*.
+
+2013-03-05 Corinna Vinschen <vinschen@redhat.de>
+
+ * configure.host: Add x86_64-*-cygwin* as host.
+ * configure.tgt: Add x86_64-*-cygwin* as target.
+ * config/i386/cygwin64.mh: New file.
+
+2013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * linespec.c (decode_line_2): Fix duplicate request off by two message.
+
+2013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * linespec.c (struct linespec_canonical_name): New.
+ (struct linespec_state): Change canonical_names type to it.
+ (add_sal_to_sals): Change variable canonical_name to canonical. Change
+ xrealloc element size. Initialize the different CANONICAL fields.
+ (canonical_to_fullform): New.
+ (filter_results): Use it. Add variables canonical, fullform and
+ cleanup.
+ (struct decode_line_2_item, decode_line_2_compare_items): New.
+ (decode_line_2): Remove variables iter and item_names, add variables
+ items and items_count. Modify the code for these new variables.
+
+2013-03-04 Corinna Vinschen <vinschen@redhat.com>
+
+ * coff-pe-read.c (read_pe_exported_syms): Don't return without
+ calling do_cleanup.
+
+2013-03-04 Luis Machado <lgustavo@codesourcery.com>
+
+ * tracepoint.c (build_traceframe_info): Add code for byte order.
+
2013-03-02 Kevin Buettner <kevinb@redhat.com>
* v850-tdep.c: (v850e2_register_name): Revise system register
diff --git a/gdb/NEWS b/gdb/NEWS
index 0877aa2..05fa498 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -13,6 +13,7 @@ FreeBSD/powerpc powerpc*-*-freebsd
ARM AArch64 aarch64*-*-elf
ARM AArch64 GNU/Linux aarch64*-*-linux
Lynx 178 PowerPC powerpc-*-lynx*178
+x86_64/Cygwin x86_64-*-cygwin*
* If the configured location of system.gdbinit file (as given by the
--with-system-gdbinit option at configure time) is in the
diff --git a/gdb/ada-exp.y b/gdb/ada-exp.y
index e4bcfb3..d9fa9ac 100644
--- a/gdb/ada-exp.y
+++ b/gdb/ada-exp.y
@@ -1025,7 +1025,7 @@ block_lookup (struct block *context, char *raw_name)
else
name = ada_encode (raw_name);
- nsyms = ada_lookup_symbol_list (name, context, VAR_DOMAIN, &syms, 1);
+ nsyms = ada_lookup_symbol_list (name, context, VAR_DOMAIN, &syms);
if (context == NULL
&& (nsyms == 0 || SYMBOL_CLASS (syms[0].sym) != LOC_BLOCK))
symtab = lookup_symtab (name);
@@ -1282,7 +1282,7 @@ write_var_or_type (const struct block *block, struct stoken name0)
encoded_name[tail_index] = '\0';
nsyms = ada_lookup_symbol_list (encoded_name, block,
- VAR_DOMAIN, &syms, 1);
+ VAR_DOMAIN, &syms);
encoded_name[tail_index] = terminator;
/* A single symbol may rename a package or object. */
@@ -1430,7 +1430,7 @@ write_name_assoc (struct stoken name)
{
struct ada_symbol_info *syms;
int nsyms = ada_lookup_symbol_list (name.ptr, expression_context_block,
- VAR_DOMAIN, &syms, 1);
+ VAR_DOMAIN, &syms);
if (nsyms != 1 || SYMBOL_CLASS (syms[0].sym) == LOC_TYPEDEF)
write_exp_op_with_string (OP_NAME, name);
else
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index 634e761..75f1c3d 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -3110,7 +3110,7 @@ resolve_subexp (struct expression **expp, int *pos, int deprocedure_p,
ada_lookup_symbol_list (SYMBOL_LINKAGE_NAME
(exp->elts[pc + 2].symbol),
exp->elts[pc + 1].block, VAR_DOMAIN,
- &candidates, 1);
+ &candidates);
if (n_candidates > 1)
{
@@ -3202,7 +3202,7 @@ resolve_subexp (struct expression **expp, int *pos, int deprocedure_p,
ada_lookup_symbol_list (SYMBOL_LINKAGE_NAME
(exp->elts[pc + 5].symbol),
exp->elts[pc + 4].block, VAR_DOMAIN,
- &candidates, 1);
+ &candidates);
if (n_candidates == 1)
i = 0;
else
@@ -3254,7 +3254,7 @@ resolve_subexp (struct expression **expp, int *pos, int deprocedure_p,
n_candidates =
ada_lookup_symbol_list (ada_encode (ada_decoded_op_name (op)),
(struct block *) NULL, VAR_DOMAIN,
- &candidates, 1);
+ &candidates);
i = ada_resolve_function (candidates, n_candidates, argvec, nargs,
ada_decoded_op_name (op), NULL);
if (i < 0)
@@ -5052,26 +5052,28 @@ add_nonlocal_symbols (struct obstack *obstackp, const char *name,
}
}
-/* Find symbols in DOMAIN matching NAME0, in BLOCK0 and enclosing
- scope and in global scopes, returning the number of matches.
+/* Find symbols in DOMAIN matching NAME0, in BLOCK0 and, if full_search is
+ non-zero, enclosing scope and in global scopes, returning the number of
+ matches.
Sets *RESULTS to point to a vector of (SYM,BLOCK) tuples,
indicating the symbols found and the blocks and symbol tables (if
- any) in which they were found. This vector are transient---good only to
- the next call of ada_lookup_symbol_list. Any non-function/non-enumeral
+ any) in which they were found. This vector is transient---good only to
+ the next call of ada_lookup_symbol_list.
+
+ When full_search is non-zero, any non-function/non-enumeral
symbol match within the nest of blocks whose innermost member is BLOCK0,
is the one match returned (no other matches in that or
enclosing blocks is returned). If there are any matches in or
- surrounding BLOCK0, then these alone are returned. Otherwise, if
- FULL_SEARCH is non-zero, then the search extends to global and
- file-scope (static) symbol tables.
+ surrounding BLOCK0, then these alone are returned.
+
Names prefixed with "standard__" are handled specially: "standard__"
is first stripped off, and only static and global symbols are searched. */
-int
-ada_lookup_symbol_list (const char *name0, const struct block *block0,
- domain_enum namespace,
- struct ada_symbol_info **results,
- int full_search)
+static int
+ada_lookup_symbol_list_worker (const char *name0, const struct block *block0,
+ domain_enum namespace,
+ struct ada_symbol_info **results,
+ int full_search)
{
struct symbol *sym;
struct block *block;
@@ -5107,10 +5109,24 @@ ada_lookup_symbol_list (const char *name0, const struct block *block0,
/* Check the non-global symbols. If we have ANY match, then we're done. */
- ada_add_local_symbols (&symbol_list_obstack, name, block, namespace,
- wild_match_p);
- if (num_defns_collected (&symbol_list_obstack) > 0 || !full_search)
- goto done;
+ if (block != NULL)
+ {
+ if (full_search)
+ {
+ ada_add_local_symbols (&symbol_list_obstack, name, block,
+ namespace, wild_match_p);
+ }
+ else
+ {
+ /* In the !full_search case we're are being called by
+ ada_iterate_over_symbols, and we don't want to search
+ superblocks. */
+ ada_add_block_symbols (&symbol_list_obstack, block, name,
+ namespace, NULL, wild_match_p);
+ }
+ if (num_defns_collected (&symbol_list_obstack) > 0 || !full_search)
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [SCM] pmuldoon/python-backtrace: Merge remote-tracking branch 'gdb/master' into pmuldoon/python-backtrace
@ 2013-03-04 14:57 pmuldoon
0 siblings, 0 replies; 9+ messages in thread
From: pmuldoon @ 2013-03-04 14:57 UTC (permalink / raw)
To: archer-commits
The branch, pmuldoon/python-backtrace has been updated
via b8b48cb9f82600f5b16f06b68174b86cec80d09e (commit)
via 0f35195383794f1dcf4f1f8ae2ef5f07858aca50 (commit)
via 4e788bd4be2950df996a2c0c739207d7bcb7f5d8 (commit)
via 5790218b0893f7f0a5e5134122272ebb18cd7d92 (commit)
via 4e9b47fbf3a3b49c8035cd9b99c631eaf659a810 (commit)
via 691b7b1619b24eb868511e9e6c01f15d88cf5593 (commit)
via 594713cde31afaa841f79cc6aed3fd4050a81a5f (commit)
via 8f71e83348767590d87fbea0900bcad1373f1adc (commit)
via 9d9879fa54fedf41b1b8c0ad2722351c3016aa40 (commit)
via 6418d069fab3da999d5acd2cc9642af3e9a8781e (commit)
via baf854baee4c0d91cea8ede74254b5294b0afded (commit)
via 3f06a288043476f8a5d0ad59dae9d19d200cc6a9 (commit)
via 2c66bfdc1df559e2e964fbc8a12cfb7a60c746df (commit)
via 443082b7ef5f69e97f1d8f0e253bb96d0e8198fc (commit)
via aafdb4f6069ecbdb379add3ae0dd922f10b01ea9 (commit)
via 61295913b52b25d7eaebaad367b8905871d86af4 (commit)
via f7feb8ed05092f1ff35198ece8f56c83cb2cdf04 (commit)
via d915986e0120981ac466ee26e9b5efd6e6b58003 (commit)
via 8f0aafd10f86de7b28b3e21ec6abc2b847c8009e (commit)
via 67f321214dfb0c58d4b1ff21e4c5e1af3a072359 (commit)
via 7aeafcc429cc2611354197b0db5c350fadd48bfe (commit)
via 59f0d85306d7c8f40e2342d151d5ce5523ccbea9 (commit)
via 8df1bb09f2964890064a22333c773f633716e241 (commit)
via 19877e9971c2fdcba4d094c7ceccb70b86728e84 (commit)
via 117e297f387b49403987460c19d0427e2b95a9e2 (commit)
via eddc5294adaa3e39b3f1533208e8a7fc2520905e (commit)
via 8156b292f0bda6d2f335d2f4bda6c5bb37709260 (commit)
via 789f5888389f3e0aa1e948824c4b391a655b3cb0 (commit)
via cc27921fa54a33125a649e7e8e2e2aa868762658 (commit)
via 3873faf4381851d2ac70bf235bf0cfefcd14af57 (commit)
via 30a8cb2f3121545ee5b4bd01a29b5d2808c5585f (commit)
via cb18d6a74dec7482af131a46f5340f2ec2b0451e (commit)
via 7e3f0d549dd34c2f02b68771655da8b7848b7aed (commit)
via 417defa7183f63f0f1c96c3fad14a4b2ee33efc8 (commit)
from 752671ef14d31e0d7adf5c3f3febe43b46721309 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit b8b48cb9f82600f5b16f06b68174b86cec80d09e
Merge: 752671e 0f35195
Author: Phil Muldoon <pmuldoon@redhat.com>
Date: Mon Mar 4 14:57:09 2013 +0000
Merge remote-tracking branch 'gdb/master' into pmuldoon/python-backtrace
commit 0f35195383794f1dcf4f1f8ae2ef5f07858aca50
Author: Nick Clifton <nickc@redhat.com>
Date: Mon Mar 4 09:21:40 2013 +0000
* archive64.c (bfd_elf64_archive_write_armap): Fix calculation of
file pointer offsets for thin archives.
commit 4e788bd4be2950df996a2c0c739207d7bcb7f5d8
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Mon Mar 4 00:00:03 2013 +0000
*** empty log message ***
commit 5790218b0893f7f0a5e5134122272ebb18cd7d92
Author: Alan Modra <amodra@bigpond.net.au>
Date: Sun Mar 3 23:00:07 2013 +0000
daily update
commit 4e9b47fbf3a3b49c8035cd9b99c631eaf659a810
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Sun Mar 3 00:00:33 2013 +0000
*** empty log message ***
commit 691b7b1619b24eb868511e9e6c01f15d88cf5593
Author: Alan Modra <amodra@bigpond.net.au>
Date: Sat Mar 2 23:00:06 2013 +0000
daily update
commit 594713cde31afaa841f79cc6aed3fd4050a81a5f
Author: Kevin Buettner <kevinb@redhat.com>
Date: Sat Mar 2 18:34:13 2013 +0000
Revise ChangeLog comment for recently committed change.
commit 8f71e83348767590d87fbea0900bcad1373f1adc
Author: Kevin Buettner <kevinb@redhat.com>
Date: Sat Mar 2 18:26:26 2013 +0000
* v850-tdep.c: (v850e2_register_name): (v850e2_reg_names):
Revise system register names to match current V850E2M
architecture specifications.
commit 9d9879fa54fedf41b1b8c0ad2722351c3016aa40
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Sat Mar 2 01:57:47 2013 +0000
Add RegRex64 to riz
* i386-reg.tbl (riz): Add RegRex64.
* i386-tbl.h: Regenerated.
commit 6418d069fab3da999d5acd2cc9642af3e9a8781e
Author: jiwang <jiwang>
Date: Sat Mar 2 01:34:39 2013 +0000
gdb/
* tilegx-tdep.c (tilegx_analyze_prologue): Limit bundle reading
to END_ADDR.
(tilegx_skip_prologue): Limit prologue analysis to section end
commit baf854baee4c0d91cea8ede74254b5294b0afded
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Sat Mar 2 00:00:03 2013 +0000
*** empty log message ***
commit 3f06a288043476f8a5d0ad59dae9d19d200cc6a9
Author: Cary Coutant <ccoutant@google.com>
Date: Fri Mar 1 23:40:38 2013 +0000
Restore patch lost in last merge from GCC.
include/
* dwarf2.h (enum dwarf_sect): New enum type.
commit 2c66bfdc1df559e2e964fbc8a12cfb7a60c746df
Author: DJ Delorie <dj@delorie.com>
Date: Fri Mar 1 23:00:18 2013 +0000
merge from gcc
commit 443082b7ef5f69e97f1d8f0e253bb96d0e8198fc
Author: Alan Modra <amodra@bigpond.net.au>
Date: Fri Mar 1 23:00:06 2013 +0000
daily update
commit aafdb4f6069ecbdb379add3ae0dd922f10b01ea9
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Fri Mar 1 21:18:18 2013 +0000
gdb/
* dwarf2loc.c (call_site_find_chain_1): New variable save_callee_pc,
use it.
commit 61295913b52b25d7eaebaad367b8905871d86af4
Author: Cary Coutant <ccoutant@google.com>
Date: Fri Mar 1 19:23:32 2013 +0000
include/
* dwarf2.h (enum dwarf_sect): New enum type.
commit f7feb8ed05092f1ff35198ece8f56c83cb2cdf04
Author: Pedro Alves <palves@redhat.com>
Date: Fri Mar 1 15:38:23 2013 +0000
Use gdb_byte for bytes from the program being debugged.
gdb_byte should be used for bytes from the program being debugged. We
have many places using char or unsigned char instead all over the
existing ports, and more ends up added over time due to copy/paste as
new code is based on old code.
I've greped the tree for "char buf[", and fixed all I found.
Tested by building with --enable-targets=all.
2013-03-01 Pedro Alves <palves@redhat.com>
Use gdb_byte for bytes from the program being debugged.
* arm-tdep.c (arm_store_return_value, arm_get_longjmp_target):
Change type of local 'buf' to gdb_byte.
* avr-tdep.c (avr_frame_prev_register, avr_push_dummy_call): Likewise.
* bfin-tdep.c (bfin_push_dummy_call): Likewise.
* cris-tdep.c (cris_sigcontext_addr)
(cris_sigtramp_frame_unwind_cache): Likewise.
* frv-linux-tdep.c (frv_linux_pc_in_sigtramp)
(frv_linux_sigcontext_reg_addr, frv_linux_sigtramp_frame_cache):
Likewise.
* frv-tdep.c (frv_pseudo_register_write, frv_analyze_prologue): Likewise.
* hppa-hpux-tdep.c (hppa32_hpux_find_global_pointer)
(hppa32_hpux_search_dummy_call_sequence)
(hppa_hpux_supply_save_state): Likewise.
* hppa-linux-tdep.c (insns_match_pattern)
(hppa_linux_find_global_pointer): Likewise.
* hppa-tdep.c (hppa_in_function_epilogue_p)
(skip_prologue_hard_way, hppa_frame_cache): Likewise.
* i386-nto-tdep.c (i386nto_sigcontext_addr): Likewise.
* i386fbsd-tdep.c (i386fbsd_supply_uthread)
(i386fbsd_collect_uthread): Likewise.
* ia64-hpux-tdep.c (ia64_hpux_push_dummy_code): Likewise.
* ia64-linux-tdep.c (ia64_linux_sigcontext_register_address): Likewise.
* ia64-tdep.c (examine_prologue, ia64_frame_cache)
(ia64_frame_prev_register, ia64_sigtramp_frame_cache)
(ia64_sigtramp_frame_prev_register, ia64_access_reg)
(ia64_access_rse_reg, ia64_libunwind_frame_this_id)
(ia64_libunwind_frame_prev_register)
(ia64_libunwind_sigtramp_frame_this_id)
(ia64_find_global_pointer_from_dynamic_section)
(find_extant_func_descr, find_func_descr, ia64_dummy_id)
(ia64_unwind_pc): Likewise.
* iq2000-tdep.c (iq2000_store_return_value): Likewise.
* m68hc11-tdep.c (m68hc11_push_dummy_call)
(m68hc11_extract_return_value): Likewise.
* m68klinux-nat.c (fetch_register, store_register): Likewise.
* mep-tdep.c (mep_pseudo_cr32_read, mep_pseudo_cr32_write)
(mep_get_insn, mep_push_dummy_call): Likewise.
* mips-linux-tdep.c (mips_linux_get_longjmp_target)
(mips_linux_in_dynsym_stub): Likewise.
* mn10300-tdep.c (mep_pseudo_cr32_write): Likewise.
* ppc-linux-nat.c (fetch_register, store_register): Likewise.
* regcache.c (dump_endian_bytes): Change type of parameter 'buf'
to gdb_byte.
* remote-mips.c (mips_set_register): Likewise.
* remote-sim.c (gdbsim_fetch_register): Likewise.
* score-tdep.c (score7_fetch_inst): Change type of parameter
'memblock' and local 'buf' to gdb_byte.
(score7_malloc_and_get_memblock): Change return type to gdb_byte.
Change type of local 'buf' to gdb_byte. Adjust.
(score7_adjust_memblock_ptr): Change type of parameter 'memblock'
to gdb_byte**.
(score7_analyze_prologue): Change type of 'memblock' and
'memblock_ptr' locals to gdb_byte*.
* sh64-tdep.c (sh64_extract_return_value)
(sh64_store_return_value): Change type of local 'buf' to gdb_byte.
* solib-darwin.c (darwin_current_sos, darwin_read_exec_load_addr):
* solib-pa64.c (pa64_solib_create_inferior_hook)
(pa64_open_symbol_file_object): Remove local 'buf'.
* solib-som.c (som_solib_create_inferior_hook, link_map_start)
(som_open_symbol_file_object): Likewise.
* solib-spu.c (spu_current_sos): Likewise.
* spu-linux-nat.c (spu_fetch_inferior_registers): Likewise.
* spu-multiarch.c (parse_spufs_run, spu_fetch_registers)
(spu_store_registers): Likewise.
* target.c (debug_print_register): Likewise.
* tic6x-tdep.c (tic6x_get_longjmp_target): Likewise.
* xstormy16-tdep.c (xstormy16_store_return_value)
(xstormy16_push_dummy_call, xstormy16_resolve_jmp_table_entry)
(xstormy16_find_jmp_table_entry): Likewise.
-----------------------------------------------------------------------
Summary of changes:
bfd/ChangeLog | 10 +
bfd/archive64.c | 13 +-
bfd/elf32-arm.c | 18 +-
bfd/version.h | 2 +-
gdb/ChangeLog | 137 ++++++++
gdb/arm-tdep.c | 4 +-
gdb/avr-tdep.c | 4 +-
gdb/bfin-tdep.c | 2 +-
gdb/contrib/excheck.py | 296 +++++++++++++++++
gdb/contrib/exsummary.py | 185 +++++++++++
gdb/contrib/gcc-with-excheck | 28 ++
gdb/cris-tdep.c | 4 +-
gdb/dwarf2loc.c | 3 +-
gdb/frv-linux-tdep.c | 6 +-
gdb/frv-tdep.c | 4 +-
gdb/gdbserver/ChangeLog | 13 +
gdb/gdbserver/config.in | 6 +
gdb/gdbserver/configure | 200 ++++++++++++
gdb/gdbserver/configure.ac | 1 +
gdb/gdbserver/win32-low.c | 30 +-
gdb/hppa-hpux-tdep.c | 8 +-
gdb/hppa-linux-tdep.c | 6 +-
gdb/hppa-tdep.c | 6 +-
gdb/i386-nto-tdep.c | 2 +-
gdb/i386fbsd-tdep.c | 4 +-
gdb/ia64-hpux-tdep.c | 2 +-
gdb/ia64-linux-tdep.c | 2 +-
gdb/ia64-tdep.c | 32 +-
gdb/iq2000-tdep.c | 2 +-
gdb/m68hc11-tdep.c | 4 +-
gdb/m68klinux-nat.c | 4 +-
gdb/mep-tdep.c | 8 +-
gdb/mips-linux-tdep.c | 4 +-
gdb/mn10300-tdep.c | 2 +-
gdb/objfiles.h | 2 +-
gdb/ppc-linux-nat.c | 4 +-
gdb/python/py-arch.c | 6 +-
gdb/python/py-block.c | 6 +-
gdb/python/py-finishbreakpoint.c | 72 ++--
gdb/python/python.c | 48 ++-
gdb/regcache.c | 4 +-
gdb/regformats/reg-tilegx32.dat | 67 ++++
gdb/remote-mips.c | 2 +-
gdb/remote-sim.c | 4 +-
gdb/score-tdep.c | 16 +-
gdb/sh64-tdep.c | 4 +-
gdb/solib-darwin.c | 4 +-
gdb/solib-pa64.c | 2 -
gdb/solib-som.c | 6 +-
gdb/solib-spu.c | 2 +-
gdb/spu-linux-nat.c | 2 +-
gdb/spu-multiarch.c | 14 +-
gdb/target.c | 2 +-
gdb/tic6x-tdep.c | 2 +-
gdb/tilegx-tdep.c | 37 ++-
gdb/v850-tdep.c | 57 ++--
gdb/version.in | 2 +-
gdb/xstormy16-tdep.c | 8 +-
include/ChangeLog | 4 +
include/dwarf2.h | 14 +
include/opcode/ChangeLog | 4 +
include/opcode/aarch64.h | 1 +
libiberty/ChangeLog | 6 +
libiberty/libiberty.texi | 6 +-
libiberty/obstacks.texi | 2 +-
opcodes/ChangeLog | 16 +
opcodes/aarch64-asm-2.c | 134 ++++----
opcodes/aarch64-dis-2.c | 668 +++++++++++++++++++++-----------------
opcodes/aarch64-opc-2.c | 66 ++--
opcodes/aarch64-tbl.h | 24 ++
opcodes/i386-reg.tbl | 2 +-
opcodes/i386-tbl.h | 8 +-
72 files changed, 1775 insertions(+), 605 deletions(-)
create mode 100644 gdb/contrib/excheck.py
create mode 100644 gdb/contrib/exsummary.py
create mode 100755 gdb/contrib/gcc-with-excheck
create mode 100644 gdb/regformats/reg-tilegx32.dat
First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 27746f2..8b949e4 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,13 @@
+2013-03-04 Nick Clifton <nickc@redhat.com>
+
+ * archive64.c (bfd_elf64_archive_write_armap): Fix calculation of
+ file pointer offsets for thin archives.
+
+2013-02-28 Nathan Sidwell <nathan@codesourcery.com>
+
+ * elf32-arm.c (elf32_arm_size_dynamic_sections): Don't call
+ elf32_arm_allocate_dynrelocs for source reloc for non-dynamic link.
+
2013-02-27 DJ Delorie <dj@redhat.com>
* reloc.c (BFD_RELOC_RL78_CODE): Add.
diff --git a/bfd/archive64.c b/bfd/archive64.c
index db4ce2c..be64e0d 100644
--- a/bfd/archive64.c
+++ b/bfd/archive64.c
@@ -1,6 +1,5 @@
-/* MIPS-specific support for 64-bit ELF
- Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006, 2007,
- 2010, 2012 Free Software Foundation, Inc.
+/* Support for 64-bit ELF archives.
+ Copyright 1996-2013 Free Software Foundation, Inc.
Ian Lance Taylor, Cygnus Support
Linker support added by Mark Mitchell, CodeSourcery, LLC.
<mark@codesourcery.com>
@@ -200,7 +199,7 @@ bfd_elf64_archive_write_armap (bfd *arch,
current = current->archive_next)
{
/* For each symbol which is used defined in this object, write out
- the object file's address in the archive */
+ the object file's address in the archive. */
for (;
count < symbol_count && map[count].u.abfd == current;
@@ -210,9 +209,11 @@ bfd_elf64_archive_write_armap (bfd *arch,
if (bfd_bwrite (buf, 8, arch) != 8)
return FALSE;
}
+
/* Add size of this archive entry */
- archive_member_file_ptr += (arelt_size (current)
- + sizeof (struct ar_hdr));
+ archive_member_file_ptr += sizeof (struct ar_hdr);
+ if (! bfd_is_thin_archive (arch))
+ archive_member_file_ptr += arelt_size (current);
/* remember about the even alignment */
archive_member_file_ptr += archive_member_file_ptr % 2;
}
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
index cf5bc6d..aba1814 100644
--- a/bfd/elf32-arm.c
+++ b/bfd/elf32-arm.c
@@ -13648,14 +13648,18 @@ elf32_arm_size_dynamic_sections (bfd * output_bfd ATTRIBUTE_UNUSED,
&& (local_iplt == NULL
|| local_iplt->arm.noncall_refcount == 0))
elf32_arm_allocate_irelocs (info, srel, 1);
- else if ((info->shared && !(*local_tls_type & GOT_TLS_GDESC))
- || *local_tls_type & GOT_TLS_GD)
- elf32_arm_allocate_dynrelocs (info, srel, 1);
-
- if (info->shared && *local_tls_type & GOT_TLS_GDESC)
+ else if (info->shared || output_bfd->flags & DYNAMIC)
{
- elf32_arm_allocate_dynrelocs (info, htab->root.srelplt, 1);
- htab->tls_trampoline = -1;
+ if ((info->shared && !(*local_tls_type & GOT_TLS_GDESC))
+ || *local_tls_type & GOT_TLS_GD)
+ elf32_arm_allocate_dynrelocs (info, srel, 1);
+
+ if (info->shared && *local_tls_type & GOT_TLS_GDESC)
+ {
+ elf32_arm_allocate_dynrelocs (info,
+ htab->root.srelplt, 1);
+ htab->tls_trampoline = -1;
+ }
}
}
else
diff --git a/bfd/version.h b/bfd/version.h
index c80f9a6..9f5454b 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20130228
+#define BFD_VERSION_DATE 20130304
#define BFD_VERSION @bfd_version@
#define BFD_VERSION_STRING @bfd_version_package@ @bfd_version_string@
#define REPORT_BUGS_TO @report_bugs_to@
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a3bdecd..2a35477 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,140 @@
+2013-03-02 Kevin Buettner <kevinb@redhat.com>
+
+ * v850-tdep.c: (v850e2_register_name): Revise system register
+ names to match current V850E2M architecture specifications.
+ Update register number enum comments too.
+
+2013-03-01 Jiong Wang <jiwang@tilera.com>
+ Pedro Alves <palves@redhat.com>
+
+ * tilegx-tdep.c (tilegx_analyze_prologue): Limit bundle reading
+ to END_ADDR.
+ (tilegx_skip_prologue): Limit prologue analysis to section end.
+
+2013-03-01 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * dwarf2loc.c (call_site_find_chain_1): New variable save_callee_pc,
+ use it.
+
+2013-03-01 Pedro Alves <palves@redhat.com>
+
+ Use gdb_byte for bytes from the program being debugged.
+
+ * arm-tdep.c (arm_store_return_value, arm_get_longjmp_target):
+ Change type of local 'buf' to gdb_byte.
+ * avr-tdep.c (avr_frame_prev_register, avr_push_dummy_call): Likewise.
+ * bfin-tdep.c (bfin_push_dummy_call): Likewise.
+ * cris-tdep.c (cris_sigcontext_addr)
+ (cris_sigtramp_frame_unwind_cache): Likewise.
+ * frv-linux-tdep.c (frv_linux_pc_in_sigtramp)
+ (frv_linux_sigcontext_reg_addr, frv_linux_sigtramp_frame_cache):
+ Likewise.
+ * frv-tdep.c (frv_pseudo_register_write, frv_analyze_prologue): Likewise.
+ * hppa-hpux-tdep.c (hppa32_hpux_find_global_pointer)
+ (hppa32_hpux_search_dummy_call_sequence)
+ (hppa_hpux_supply_save_state): Likewise.
+ * hppa-linux-tdep.c (insns_match_pattern)
+ (hppa_linux_find_global_pointer): Likewise.
+ * hppa-tdep.c (hppa_in_function_epilogue_p)
+ (skip_prologue_hard_way, hppa_frame_cache): Likewise.
+ * i386-nto-tdep.c (i386nto_sigcontext_addr): Likewise.
+ * i386fbsd-tdep.c (i386fbsd_supply_uthread)
+ (i386fbsd_collect_uthread): Likewise.
+ * ia64-hpux-tdep.c (ia64_hpux_push_dummy_code): Likewise.
+ * ia64-linux-tdep.c (ia64_linux_sigcontext_register_address): Likewise.
+ * ia64-tdep.c (examine_prologue, ia64_frame_cache)
+ (ia64_frame_prev_register, ia64_sigtramp_frame_cache)
+ (ia64_sigtramp_frame_prev_register, ia64_access_reg)
+ (ia64_access_rse_reg, ia64_libunwind_frame_this_id)
+ (ia64_libunwind_frame_prev_register)
+ (ia64_libunwind_sigtramp_frame_this_id)
+ (ia64_find_global_pointer_from_dynamic_section)
+ (find_extant_func_descr, find_func_descr, ia64_dummy_id)
+ (ia64_unwind_pc): Likewise.
+ * iq2000-tdep.c (iq2000_store_return_value): Likewise.
+ * m68hc11-tdep.c (m68hc11_push_dummy_call)
+ (m68hc11_extract_return_value): Likewise.
+ * m68klinux-nat.c (fetch_register, store_register): Likewise.
+ * mep-tdep.c (mep_pseudo_cr32_read, mep_pseudo_cr32_write)
+ (mep_get_insn, mep_push_dummy_call): Likewise.
+ * mips-linux-tdep.c (mips_linux_get_longjmp_target)
+ (mips_linux_in_dynsym_stub): Likewise.
+ * mn10300-tdep.c (mep_pseudo_cr32_write): Likewise.
+ * ppc-linux-nat.c (fetch_register, store_register): Likewise.
+ * regcache.c (dump_endian_bytes): Change type of parameter 'buf'
+ to gdb_byte.
+ * remote-mips.c (mips_set_register): Likewise.
+ * remote-sim.c (gdbsim_fetch_register): Likewise.
+ * score-tdep.c (score7_fetch_inst): Change type of parameter
+ 'memblock' and local 'buf' to gdb_byte.
+ (score7_malloc_and_get_memblock): Change return type to gdb_byte.
+ Change type of local 'buf' to gdb_byte. Adjust.
+ (score7_adjust_memblock_ptr): Change type of parameter 'memblock'
+ to gdb_byte**.
+ (score7_analyze_prologue): Change type of 'memblock' and
+ 'memblock_ptr' locals to gdb_byte*.
+ * sh64-tdep.c (sh64_extract_return_value)
+ (sh64_store_return_value): Change type of local 'buf' to gdb_byte.
+ * solib-darwin.c (darwin_current_sos, darwin_read_exec_load_addr):
+ * solib-pa64.c (pa64_solib_create_inferior_hook)
+ (pa64_open_symbol_file_object): Remove local 'buf'.
+ * solib-som.c (som_solib_create_inferior_hook, link_map_start)
+ (som_open_symbol_file_object): Likewise.
+ * solib-spu.c (spu_current_sos): Likewise.
+ * spu-linux-nat.c (spu_fetch_inferior_registers): Likewise.
+ * spu-multiarch.c (parse_spufs_run, spu_fetch_registers)
+ (spu_store_registers): Likewise.
+ * target.c (debug_print_register): Likewise.
+ * tic6x-tdep.c (tic6x_get_longjmp_target): Likewise.
+ * xstormy16-tdep.c (xstormy16_store_return_value)
+ (xstormy16_push_dummy_call, xstormy16_resolve_jmp_table_entry)
+ (xstormy16_find_jmp_table_entry): Likewise.
+
+2013-03-01 Jiong Wang <jiwang@tilera.com>
+
+ * tilegx-tdep.c (tilegx_get_longjmp_target): New function.
+ (tilegx_gdbarch_init): Install it.
+
+2013-02-28 Tom Tromey <tromey@redhat.com>
+
+ * python/py-arch.c (archpy_disassemble): Use PyInt_Check and
+ PyLong_Check.
+
+2013-02-28 Doug Evans <dje@google.com>
+
+ * python/py-finishbreakpoint.c (bpfinishpy_init): gcc -Wall lint.
+ * python/python.c (gdbpy_find_pc_line): Ditto.
+
+2013-02-28 Tom Tromey <tromey@redhat.com>
+
+ * contrib/excheck.py: New file.
+ * contrib/exsummary.py: New file.
+ * contrib/gcc-with-excheck: New file.
+
+2013-02-28 Tom Tromey <tromey@redhat.com>
+
+ * python/python.c (gdbpy_print_stack): Call begin_line and
+ fprintf_filtered inside TRY_CATCH.
+
+2013-02-28 Tom Tromey <tromey@redhat.com>
+
+ * python/python.c (gdbpy_find_pc_line): Call find_pc_line
+ inside TRY_CATCH.
+
+2013-02-28 Tom Tromey <tromey@redhat.com>
+
+ * py-finishbreakpoint.c (bpfinishpy_init): Reorganize to call
+ frame_object_to_frame_info inside TRY_CATCH.
+
+2013-02-28 Tom Tromey <tromey@redhat.com>
+
+ * py-block.c (gdbpy_block_for_pc): Call block_for_pc inside
+ TRY_CATCH.
+
+2013-02-28 Tom Tromey <tromey@redhat.com>
+
+ * objfiles.h (ALL_PSPACE_OBJFILES): Remove trailing backlash.
+
2013-02-27 Corinna Vinschen <vinschen@redhat.com>
* windows-nat.c: Throughout, fix format strings and casts of
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
index ead09d7..d890dcb 100644
--- a/gdb/arm-tdep.c
+++ b/gdb/arm-tdep.c
@@ -9043,7 +9043,7 @@ arm_store_return_value (struct type *type, struct regcache *regs,
if (TYPE_CODE (type) == TYPE_CODE_FLT)
{
- char buf[MAX_REGISTER_SIZE];
+ gdb_byte buf[MAX_REGISTER_SIZE];
switch (gdbarch_tdep (gdbarch)->fp_model)
{
@@ -9207,7 +9207,7 @@ arm_get_longjmp_target (struct frame_info *frame, CORE_ADDR *pc)
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
CORE_ADDR jb_addr;
- char buf[INT_REGISTER_SIZE];
+ gdb_byte buf[INT_REGISTER_SIZE];
jb_addr = get_frame_register_unsigned (frame, ARM_A1_REGNUM);
diff --git a/gdb/avr-tdep.c b/gdb/avr-tdep.c
index 9dd807f..b14bf83 100644
--- a/gdb/avr-tdep.c
+++ b/gdb/avr-tdep.c
@@ -1103,7 +1103,7 @@ avr_frame_prev_register (struct frame_info *this_frame,
everything else about the avr is little endian. Ick! */
ULONGEST pc;
int i;
- unsigned char buf[3];
+ gdb_byte buf[3];
struct gdbarch *gdbarch = get_frame_arch (this_frame);
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
@@ -1245,7 +1245,7 @@ avr_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
{
enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
int i;
- unsigned char buf[3];
+ gdb_byte buf[3];
int call_length = gdbarch_tdep (gdbarch)->call_length;
CORE_ADDR return_pc = avr_convert_iaddr_to_raw (bp_addr);
int regnum = AVR_ARGN_REGNUM;
diff --git a/gdb/bfin-tdep.c b/gdb/bfin-tdep.c
index d7fcccb..22dad1b 100644
--- a/gdb/bfin-tdep.c
+++ b/gdb/bfin-tdep.c
@@ -503,7 +503,7 @@ bfin_push_dummy_call (struct gdbarch *gdbarch,
{
enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
- char buf[4];
+ gdb_byte buf[4];
int i;
long reg_r0, reg_r1, reg_r2;
int total_len = 0;
diff --git a/gdb/contrib/excheck.py b/gdb/contrib/excheck.py
new file mode 100644
index 0000000..f8f917f
--- /dev/null
+++ b/gdb/contrib/excheck.py
@@ -0,0 +1,296 @@
+# Copyright 2011, 2013 Free Software Foundation, Inc.
+#
+# This is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see
+# <http://www.gnu.org/licenses/>.
+
+# This is a GCC plugin that computes some exception-handling data for
+# gdb. This data can then be summarized and checked by the
+# exsummary.py script.
+
+# To use:
+# * First, install the GCC Python plugin. See
+# https://fedorahosted.org/gcc-python-plugin/
+# * export PYTHON_PLUGIN=/full/path/to/plugin/directory
+# This should be the directory holding "python.so".
+# * cd build/gdb; make mostlyclean
+# * make CC=.../gcc-with-excheck
+# This will write a number of .py files in the build directory.
+# * python .../exsummary.py
+# This will show the violations.
+
+import gcc
+import gccutils
+import sys
+
+# Where our output goes.
+output_file = None
+
+# Cleanup functions require special treatment, because they take a
+# function argument, but in theory the function must be nothrow.
+cleanup_functions = {
+ 'make_cleanup': 1,
+ 'make_cleanup_dtor': 1,
+ 'make_final_cleanup': 1,
+ 'make_my_cleanup2': 1,
+ 'make_my_cleanup': 1
+}
+
+# Functions which may throw but which we want to ignore.
+ignore_functions = {
+ # This one is super special.
+ 'exceptions_state_mc': 1,
+ # gdb generally pretends that internal_error cannot throw, even
+ # though it can.
+ 'internal_error': 1,
+ # do_cleanups and friends are supposedly nothrow but we don't want
+ # to run afoul of the indirect function call logic.
+ 'do_cleanups': 1,
+ 'do_final_cleanups': 1
+}
+
+# Functions which take a function argument, but which are not
+# interesting, usually because the argument is not called in the
+# current context.
+non_passthrough_functions = {
+ 'signal': 1,
+ 'add_internal_function': 1
+}
+
+# Return True if the type is from Python.
+def type_is_pythonic(t):
+ if isinstance(t, gcc.ArrayType):
+ t = t.type
+ if not isinstance(t, gcc.RecordType):
+ return False
+ # Hack.
+ return str(t).find('struct Py') == 0
+
+# Examine all the fields of a struct. We don't currently need any
+# sort of recursion, so this is simple for now.
+def examine_struct_fields(initializer):
+ global output_file
+ for idx2, value2 in initializer.elements:
+ if isinstance(idx2, gcc.Declaration):
+ if isinstance(value2, gcc.AddrExpr):
+ value2 = value2.operand
+ if isinstance(value2, gcc.FunctionDecl):
+ output_file.write("declare_nothrow(%s)\n"
+ % repr(str(value2.name)))
+
+# Examine all global variables looking for pointers to functions in
+# structures whose types were defined by Python.
+def examine_globals():
+ global output_file
+ vars = gcc.get_variables()
+ for var in vars:
+ if not isinstance(var.decl, gcc.VarDecl):
+ continue
+ output_file.write("################\n")
+ output_file.write("# Analysis for %s\n" % var.decl.name)
+ if not var.decl.initial:
+ continue
+ if not type_is_pythonic(var.decl.type):
+ continue
+
+ if isinstance(var.decl.type, gcc.ArrayType):
+ for idx, value in var.decl.initial.elements:
+ examine_struct_fields(value)
+ else:
+ gccutils.check_isinstance(var.decl.type, gcc.RecordType)
+ examine_struct_fields(var.decl.initial)
+
+# Called at the end of compilation to write out some data derived from
+# globals and to close the output.
+def close_output(*args):
+ global output_file
+ examine_globals()
+ output_file.close()
+
+# The pass which derives some exception-checking information. We take
+# a two-step approach: first we get a call graph from the compiler.
+# This is emitted by the plugin as Python code. Then, we run a second
+# program that reads all the generated Python and uses it to get a
+# global view of exception routes in gdb.
+class GdbExceptionChecker(gcc.GimplePass):
+ def __init__(self, output_file):
+ gcc.GimplePass.__init__(self, 'gdb_exception_checker')
+ self.output_file = output_file
+
+ def log(self, obj):
+ self.output_file.write("# %s\n" % str(obj))
+
+ # Return true if FN is a call to a method on a Python object.
+ # We know these cannot throw in the gdb sense.
+ def fn_is_python_ignorable(self, fn):
+ if not isinstance(fn, gcc.SsaName):
+ return False
+ stmt = fn.def_stmt
+ if not isinstance(stmt, gcc.GimpleAssign):
+ return False
+ if stmt.exprcode is not gcc.ComponentRef:
+ return False
+ rhs = stmt.rhs[0]
+ if not isinstance(rhs, gcc.ComponentRef):
+ return False
+ if not isinstance(rhs.field, gcc.FieldDecl):
+ return False
+ return rhs.field.name == 'tp_dealloc' or rhs.field.name == 'tp_free'
+
+ # Decode a function call and write something to the output.
+ # THIS_FUN is the enclosing function that we are processing.
+ # FNDECL is the call to process; it might not actually be a DECL
+ # node.
+ # LOC is the location of the call.
+ def handle_one_fndecl(self, this_fun, fndecl, loc):
+ callee_name = ''
+ if isinstance(fndecl, gcc.AddrExpr):
+ fndecl = fndecl.operand
+ if isinstance(fndecl, gcc.FunctionDecl):
+ # Ordinary call to a named function.
+ callee_name = str(fndecl.name)
+ self.output_file.write("function_call(%s, %s, %s)\n"
+ % (repr(callee_name),
+ repr(this_fun.decl.name),
+ repr(str(loc))))
+ elif self.fn_is_python_ignorable(fndecl):
+ # Call to tp_dealloc.
+ pass
+ elif (isinstance(fndecl, gcc.SsaName)
+ and isinstance(fndecl.var, gcc.ParmDecl)):
+ # We can ignore an indirect call via a parameter to the
+ # current function, because this is handled via the rule
+ # for passthrough functions.
+ pass
+ else:
+ # Any other indirect call.
+ self.output_file.write("has_indirect_call(%s, %s)\n"
+ % (repr(this_fun.decl.name),
+ repr(str(loc))))
+ return callee_name
+
+ # This does most of the work for examine_one_bb.
+ # THIS_FUN is the enclosing function.
+ # BB is the basic block to process.
+ # Returns True if this block is the header of a TRY_CATCH, False
+ # otherwise.
+ def examine_one_bb_inner(self, this_fun, bb):
+ if not bb.gimple:
+ return False
+ try_catch = False
+ for stmt in bb.gimple:
+ loc = stmt.loc
+ if not loc:
+ loc = this_fun.decl.location
+ if not isinstance(stmt, gcc.GimpleCall):
+ continue
+ callee_name = self.handle_one_fndecl(this_fun, stmt.fn, loc)
+
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [SCM] pmuldoon/python-backtrace: Merge remote-tracking branch 'gdb/master' into pmuldoon/python-backtrace
@ 2013-02-28 9:46 pmuldoon
0 siblings, 0 replies; 9+ messages in thread
From: pmuldoon @ 2013-02-28 9:46 UTC (permalink / raw)
To: archer-commits
The branch, pmuldoon/python-backtrace has been updated
via eb06aa7cb8d8767fc52170a21cdc9e574bc4c1cd (commit)
via 9b3d351fbd7a903ad4da9f9e9a654344a43e6ba1 (commit)
via 8f9033e47ef46907343b53bafbed3d5549194870 (commit)
via d553b22ba5a611eb42962b5d620e48c44dbd732c (commit)
via 8030f6600cb4cc512b0e9eb539f3e7a15630a553 (commit)
via 621259858ec670c217843a3a48acd5bc789cd001 (commit)
via 5716ab79df45a7ba8e4717726b7cc0467e0a27e0 (commit)
via 2d00f9f7698b624c0c46fa026f0965ce52801605 (commit)
via 87d6ac5f28766d6cbe5b39104c7fd67d8591a20e (commit)
via 1d14ca56409b5ce6472623c10cde009ca5a29a19 (commit)
via ac647b5006be36a915d2efdb5733e54e2fac4dce (commit)
via 579461a43ac1890f39b571d0c0efda846263be8c (commit)
via 38c3c26c5e751a437f10f58cf58c99de1e242642 (commit)
via c71fe3d967ea74866990ef1d109691e1002300d4 (commit)
via 780aa79fa4ce360487bed6e6428d989f5457ecf8 (commit)
via b9acb689c9d6c54e9ec304e816fe490c3991faf9 (commit)
via 5b547fb74d1e39e66f6884addfb94007245b0e54 (commit)
via ede57e81be6791a3a43157f1d10909c386a38fbf (commit)
via 225cc5bbdd8aab1e38a53e75d9a7c6ddb3ecdaf6 (commit)
via 7ba9038443b61a4de2c4181a75b2aebd033d0c03 (commit)
from 3920788b2863520474fb37b4b333edee8cae84d0 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit eb06aa7cb8d8767fc52170a21cdc9e574bc4c1cd
Merge: 3920788 9b3d351
Author: Phil Muldoon <pmuldoon@redhat.com>
Date: Thu Feb 28 09:45:55 2013 +0000
Merge remote-tracking branch 'gdb/master' into pmuldoon/python-backtrace
commit 9b3d351fbd7a903ad4da9f9e9a654344a43e6ba1
Author: qiyao <qiyao>
Date: Thu Feb 28 01:21:08 2013 +0000
gdb/gdbserver/
* tracepoint.c (cmd_qtbuffer): Call phex_nz instead of
pulongest.
commit 8f9033e47ef46907343b53bafbed3d5549194870
Author: qiyao <qiyao>
Date: Thu Feb 28 00:42:18 2013 +0000
gdb/gdbserver/
* gdb.trace/report.exp: Move some code to ...
(use_collected_data): New.
(top level): Call use_collected_data once on the live target.
Save at file of the current trace session, load it with target
tfile, and call use_collected_data again.
commit d553b22ba5a611eb42962b5d620e48c44dbd732c
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Thu Feb 28 00:00:34 2013 +0000
*** empty log message ***
commit 8030f6600cb4cc512b0e9eb539f3e7a15630a553
Author: Alan Modra <amodra@bigpond.net.au>
Date: Wed Feb 27 23:00:07 2013 +0000
daily update
commit 621259858ec670c217843a3a48acd5bc789cd001
Author: DJ Delorie <dj@delorie.com>
Date: Wed Feb 27 21:39:17 2013 +0000
* reloc.c (BFD_RELOC_RL78_CODE): Add.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
* elf32-rl78.c (rl78_elf_relocate_section): Handle weak code
references in compuated relocs.
* config/tc-rl78.c (reloc_function): Add %code -> BFD_RELOC_RL78_CODE.
(rl78_op): Handle %code().
(rl78_cons_fix_new): Likewise, but ignore for 20-bit operands.
(tc_gen_reloc): Likwise; convert to a computed reloc.
(md_apply_fix): Likewise.
commit 5716ab79df45a7ba8e4717726b7cc0467e0a27e0
Author: Corinna Vinschen <corinna@vinschen.de>
Date: Wed Feb 27 19:42:23 2013 +0000
* windows-nat.c: Throughout, fix format strings and casts of
printf-like functions to avoid type related warnings on all
platforms.
(handle_output_debug_string): Fetch context information address
from debug string using string_to_core_addr.
commit 2d00f9f7698b624c0c46fa026f0965ce52801605
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Wed Feb 27 18:48:23 2013 +0000
gdb/testsuite/
* gdb.threads/fork-thread-pending.c (main): Add alarm.
commit 87d6ac5f28766d6cbe5b39104c7fd67d8591a20e
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Wed Feb 27 18:46:51 2013 +0000
gdb/testsuite/
* gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
Add final kill of ${valgrind_pid}.
commit 1d14ca56409b5ce6472623c10cde009ca5a29a19
Author: jiwang <jiwang>
Date: Wed Feb 27 14:58:13 2013 +0000
gdb/
* regformats/reg-tilegx.dat (name): Change abi name to "tilegx".
* regformats/reg-tilegx32.dat: New.
gdbserver/
* Makefile.in (clean): Remove reg-tilegx.c, reg-tilegx32.c.
(reg-tilegx32.c): New rule.
* configure.srv (tilegx-*-linux*): Add reg-tilegx32.o to srv_regobj.
* linux-tile-low.c (tile_arch_setup): New function. Invoke
different register info initializer according to elf class.
(init_registers_tilgx32): New function. The tilegx32 register info
initializer.
(tile_fill_gregset): Use "uint_reg_t" to represent register size.
(tile_store_gregset): Likewise.
commit ac647b5006be36a915d2efdb5733e54e2fac4dce
Author: jiwang <jiwang>
Date: Wed Feb 27 14:49:14 2013 +0000
gdb/
* configure.tgt (tilegx-*-linux*): Enable gdbserver.
commit 579461a43ac1890f39b571d0c0efda846263be8c
Author: jiwang <jiwang>
Date: Wed Feb 27 14:47:11 2013 +0000
gdb/
* configure.tgt (tilegx-*-linux*): Replace whitespace with tab.
commit 38c3c26c5e751a437f10f58cf58c99de1e242642
Author: qiyao <qiyao>
Date: Wed Feb 27 13:31:38 2013 +0000
gdb/gdbserver/
* server.c (process_point_options): Print debug message when
debug_threads is true.
commit c71fe3d967ea74866990ef1d109691e1002300d4
Author: Alan Modra <amodra@bigpond.net.au>
Date: Wed Feb 27 03:00:43 2013 +0000
* rl78-decode.opc (rl78_decode_opcode): Fix typo.
* rl78-decode.c: Regenerate.
commit 780aa79fa4ce360487bed6e6428d989f5457ecf8
Author: qiyao <qiyao>
Date: Wed Feb 27 01:39:26 2013 +0000
gdb/
2013-02-27 Yao Qi <yao@codesourcery.com>
Pedro Alves <palves@redhat.com>
* tracepoint.c (tfile_trace_find): For tfind
pc/tp/range/outside, look for the next trace frame instead of
always starting from frame 0.
commit b9acb689c9d6c54e9ec304e816fe490c3991faf9
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Wed Feb 27 00:00:04 2013 +0000
*** empty log message ***
commit 5b547fb74d1e39e66f6884addfb94007245b0e54
Author: Alan Modra <amodra@bigpond.net.au>
Date: Tue Feb 26 23:00:06 2013 +0000
daily update
commit ede57e81be6791a3a43157f1d10909c386a38fbf
Author: Anthony Green <green@redhat.com>
Date: Tue Feb 26 22:12:44 2013 +0000
Add moxie-*-rtems* support.
commit 225cc5bbdd8aab1e38a53e75d9a7c6ddb3ecdaf6
Author: Anthony Green <green@redhat.com>
Date: Tue Feb 26 22:07:53 2013 +0000
Tweak moxie-rtems triplet recognition
commit 7ba9038443b61a4de2c4181a75b2aebd033d0c03
Author: qiyao <qiyao>
Date: Tue Feb 26 14:11:57 2013 +0000
gdb/gdbserver/
* tracepoint.c (cmd_qtbuffer): Don't set '\0' in OWN_BUF.
-----------------------------------------------------------------------
Summary of changes:
bfd/ChangeLog | 12 +
bfd/bfd-in2.h | 1 +
bfd/config.bfd | 2 +-
bfd/elf32-rl78.c | 2 +
bfd/libbfd.h | 1 +
bfd/reloc.c | 2 +
bfd/version.h | 2 +-
gdb/ChangeLog | 32 ++
gdb/configure.tgt | 9 +-
gdb/gdbserver/ChangeLog | 26 ++
gdb/gdbserver/Makefile.in | 3 +
gdb/gdbserver/configure.srv | 1 +
gdb/gdbserver/linux-tile-low.c | 31 ++-
gdb/gdbserver/server.c | 3 +-
gdb/gdbserver/tracepoint.c | 3 +-
gdb/regformats/reg-tilegx.dat | 2 +-
gdb/testsuite/ChangeLog | 17 +
gdb/testsuite/gdb.base/valgrind-infcall.exp | 4 +
gdb/testsuite/gdb.threads/fork-thread-pending.c | 2 +
gdb/testsuite/gdb.trace/report.exp | 313 ++++++++++--------
gdb/tracepoint.c | 61 ++--
gdb/version.in | 2 +-
gdb/windows-nat.c | 66 ++--
opcodes/ChangeLog | 5 +
opcodes/rl78-decode.c | 403 ++++++++++++-----------
opcodes/rl78-decode.opc | 2 +-
26 files changed, 592 insertions(+), 415 deletions(-)
First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 99c7c2b..27746f2 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,15 @@
+2013-02-27 DJ Delorie <dj@redhat.com>
+
+ * reloc.c (BFD_RELOC_RL78_CODE): Add.
+ * libbfd.h: Regenerate.
+ * bfd-in2.h: Regenerate.
+ * elf32-rl78.c (rl78_elf_relocate_section): Handle weak code
+ references in compuated relocs.
+
+2013-02-26 Anthony Green <green@moxielogic.com>
+
+ * config.bfd: Extend moxie-rtems target triplet name support.
+
2013-02-21 H.J. Lu <hongjiu.lu@intel.com>
PR ld/15167
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 6dfd17f..524e97e 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -4239,6 +4239,7 @@ in .byte hlo8(symbol) */
BFD_RELOC_RL78_HI16,
BFD_RELOC_RL78_HI8,
BFD_RELOC_RL78_LO16,
+ BFD_RELOC_RL78_CODE,
/* Renesas RX Relocations. */
BFD_RELOC_RX_NEG8,
diff --git a/bfd/config.bfd b/bfd/config.bfd
index 0f75b0b..ade2731 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -436,7 +436,7 @@ case "${targ}" in
targ_selvecs=bfd_elf32_frv_vec
;;
- moxie-*-elf | moxie-*-rtems | moxie-*-uclinux)
+ moxie-*-elf | moxie-*-rtems* | moxie-*-uclinux)
targ_defvec=bfd_elf32_bigmoxie_vec
targ_selvecs=bfd_elf32_littlemoxie_vec
;;
diff --git a/bfd/elf32-rl78.c b/bfd/elf32-rl78.c
index 3a46c6b..ea9a076 100644
--- a/bfd/elf32-rl78.c
+++ b/bfd/elf32-rl78.c
@@ -778,6 +778,8 @@ rl78_elf_relocate_section
+ sec->output_section->vma
+ sec->output_offset
+ rel->r_addend);
+ else if (h->root.type == bfd_link_hash_undefweak)
+ RL78_STACK_PUSH (0);
else
_bfd_error_handler (_("Warning: RL78_SYM reloc with an unknown symbol"));
}
diff --git a/bfd/libbfd.h b/bfd/libbfd.h
index bcd76a0..857d1ea 100644
--- a/bfd/libbfd.h
+++ b/bfd/libbfd.h
@@ -1970,6 +1970,7 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@",
"BFD_RELOC_RL78_HI16",
"BFD_RELOC_RL78_HI8",
"BFD_RELOC_RL78_LO16",
+ "BFD_RELOC_RL78_CODE",
"BFD_RELOC_RX_NEG8",
"BFD_RELOC_RX_NEG16",
"BFD_RELOC_RX_NEG24",
diff --git a/bfd/reloc.c b/bfd/reloc.c
index 626c818..b59ca00 100644
--- a/bfd/reloc.c
+++ b/bfd/reloc.c
@@ -4560,6 +4560,8 @@ ENUMX
BFD_RELOC_RL78_HI8
ENUMX
BFD_RELOC_RL78_LO16
+ENUMX
+ BFD_RELOC_RL78_CODE
ENUMDOC
Renesas RL78 Relocations.
diff --git a/bfd/version.h b/bfd/version.h
index 8811919..c80f9a6 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20130226
+#define BFD_VERSION_DATE 20130228
#define BFD_VERSION @bfd_version@
#define BFD_VERSION_STRING @bfd_version_package@ @bfd_version_string@
#define REPORT_BUGS_TO @report_bugs_to@
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a308ba8..a3bdecd 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,35 @@
+2013-02-27 Corinna Vinschen <vinschen@redhat.com>
+
+ * windows-nat.c: Throughout, fix format strings and casts of
+ printf-like functions to avoid type related warnings on all
+ platforms.
+ (handle_output_debug_string): Fetch context information address
+ from debug string using string_to_core_addr.
+
+2013-02-27 Jiong Wang <jiwang@tilera.com>
+
+ * regformats/reg-tilegx.dat (name): Change abi name to "tilegx".
+ * regformats/reg-tilegx32.dat: New.
+
+2013-02-27 Jiong Wang <jiwang@tilera.com>
+
+ * configure.tgt (tilegx-*-linux*): Enable gdbserver.
+
+2013-02-27 Jiong Wang <jiwang@tilera.com>
+
+ * configure.tgt (tilegx-*-linux*): Replace whitespace with tab.
+
+2013-02-27 Yao Qi <yao@codesourcery.com>
+ Pedro Alves <palves@redhat.com>
+
+ * tracepoint.c (tfile_trace_find): For tfind
+ pc/tp/range/outside, look for the next trace frame instead of
+ always starting from frame 0.
+
+2013-02-26 Anthony Green <green@moxielogic.com>
+
+ * configure.tgt: Add support for moxie-*-rtems* target.
+
2013-02-25 Pedro Alves <palves@redhat.com>
* common/linux-ptrace.c (linux_ptrace_test_ret_to_nx): Change
diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index feb2059..77dc37c 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -139,7 +139,7 @@ frv-*-*)
gdb_sim=../sim/frv/libsim.a
;;
-moxie-*-elf)
+moxie-*-elf | moxie-*-rtems*)
gdb_target_obs="moxie-tdep.o"
gdb_sim=../sim/moxie/libsim.a
;;
@@ -596,10 +596,11 @@ tic6x-*-*)
;;
tilegx-*-linux*)
- # Target: TILE-Gx
- gdb_target_obs="tilegx-tdep.o tilegx-linux-tdep.o solib-svr4.o \
+ # Target: TILE-Gx
+ gdb_target_obs="tilegx-tdep.o tilegx-linux-tdep.o solib-svr4.o \
symfile-mem.o glibc-tdep.o linux-tdep.o"
- ;;
+ build_gdbserver=yes
+ ;;
xstormy16-*-*)
# Target: Sanyo Xstormy16a processor
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 88cd101..6e51f73 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,29 @@
+2013-02-28 Yao Qi <yao@codesourcery.com>
+
+ * tracepoint.c (cmd_qtbuffer): Call phex_nz instead of
+ pulongest.
+
+2013-02-27 Jiong Wang <jiwang@tilera.com>
+
+ * Makefile.in (clean): Remove reg-tilegx.c, reg-tilegx32.c.
+ (reg-tilegx32.c): New rule.
+ * configure.srv (tilegx-*-linux*): Add reg-tilegx32.o to srv_regobj.
+ * linux-tile-low.c (tile_arch_setup): New function. Invoke
+ different register info initializer according to elf class.
+ (init_registers_tilgx32): New function. The tilegx32 register info
+ initializer.
+ (tile_fill_gregset): Use "uint_reg_t" to represent register size.
+ (tile_store_gregset): Likewise.
+
+2013-02-27 Yao Qi <yao@codesourcery.com>
+
+ * server.c (process_point_options): Print debug message when
+ debug_threads is true.
+
+2013-02-26 Yao Qi <yao@codesourcery.com>
+
+ * tracepoint.c (cmd_qtbuffer): Don't set '\0' in OWN_BUF.
+
2013-02-19 Pedro Alves <palves@redhat.com>
Kai Tietz <ktietz@redhat.com>
diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in
index dffe8ae..ee2c400 100644
--- a/gdb/gdbserver/Makefile.in
+++ b/gdb/gdbserver/Makefile.in
@@ -320,6 +320,7 @@ clean:
rm -f reg-arm.c reg-bfin.c i386.c reg-ia64.c reg-m32r.c reg-m68k.c
rm -f reg-sh.c reg-sparc.c reg-spu.c amd64.c i386-linux.c
rm -f reg-cris.c reg-crisv32.c amd64-linux.c reg-xtensa.c
+ rm -f reg-tilegx.c reg-tilegx32.c
rm -f arm-with-iwmmxt.c
rm -f arm-with-vfpv2.c arm-with-vfpv3.c arm-with-neon.c
rm -f mips-linux.c mips64-linux.c
@@ -694,6 +695,8 @@ reg-xtensa.c : $(srcdir)/../regformats/reg-xtensa.dat $(regdat_sh)
$(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-xtensa.dat reg-xtensa.c
reg-tilegx.c : $(srcdir)/../regformats/reg-tilegx.dat $(regdat_sh)
$(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-tilegx.dat reg-tilegx.c
+reg-tilegx32.c : $(srcdir)/../regformats/reg-tilegx32.dat $(regdat_sh)
+ $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-tilegx32.dat reg-tilegx32.c
#
# Dependency tracking. Most of this is conditional on GNU Make being
diff --git a/gdb/gdbserver/configure.srv b/gdb/gdbserver/configure.srv
index 93c499c..b9a99d0 100644
--- a/gdb/gdbserver/configure.srv
+++ b/gdb/gdbserver/configure.srv
@@ -333,6 +333,7 @@ case "${target}" in
srv_linux_regsets=yes
;;
tilegx-*-linux*) srv_regobj=reg-tilegx.o
+ srv_regobj="${srv_regobj} reg-tilegx32.o"
srv_tgtobj="linux-low.o linux-tile-low.o linux-osdata.o linux-procfs.o"
srv_tgtobj="${srv_tgtobj} linux-ptrace.o"
srv_linux_regsets=yes
diff --git a/gdb/gdbserver/linux-tile-low.c b/gdb/gdbserver/linux-tile-low.c
index c73bdf2..f242675 100644
--- a/gdb/gdbserver/linux-tile-low.c
+++ b/gdb/gdbserver/linux-tile-low.c
@@ -20,10 +20,13 @@
#include "server.h"
#include "linux-low.h"
+#include <arch/abi.h>
#include <sys/ptrace.h>
-/* Defined in auto-generated file reg-tile.c. */
-void init_registers_tile (void);
+/* Defined in auto-generated file reg-tilegx.c. */
+void init_registers_tilegx (void);
+/* Defined in auto-generated file reg-tilegx32.c. */
+void init_registers_tilegx32 (void);
#define tile_num_regs 65
@@ -103,7 +106,7 @@ tile_fill_gregset (struct regcache *regcache, void *buf)
for (i = 0; i < tile_num_regs; i++)
if (tile_regmap[i] != -1)
- collect_register (regcache, i, ((unsigned int *) buf) + tile_regmap[i]);
+ collect_register (regcache, i, ((uint_reg_t *) buf) + tile_regmap[i]);
}
static void
@@ -113,7 +116,7 @@ tile_store_gregset (struct regcache *regcache, const void *buf)
for (i = 0; i < tile_num_regs; i++)
if (tile_regmap[i] != -1)
- supply_register (regcache, i, ((unsigned long *) buf) + tile_regmap[i]);
+ supply_register (regcache, i, ((uint_reg_t *) buf) + tile_regmap[i]);
}
struct regset_info target_regsets[] =
@@ -123,9 +126,27 @@ struct regset_info target_regsets[] =
{ 0, 0, 0, -1, -1, NULL, NULL }
};
+static void
+tile_arch_setup (void)
+{
+ int pid = pid_of (get_thread_lwp (current_inferior));
+ unsigned int machine;
+ int is_elf64 = linux_pid_exe_is_elf_64_file (pid, &machine);
+
+ if (sizeof (void *) == 4)
+ if (is_elf64 > 0)
+ error (_("Can't debug 64-bit process with 32-bit GDBserver"));
+
+ if (!is_elf64)
+ init_registers_tilegx32();
+ else
+ init_registers_tilegx();
+}
+
+
struct linux_target_ops the_low_target =
{
- init_registers_tile,
+ tile_arch_setup,
tile_num_regs,
tile_regmap,
NULL,
diff --git a/gdb/gdbserver/server.c b/gdb/gdbserver/server.c
index 371647c..768eae7 100644
--- a/gdb/gdbserver/server.c
+++ b/gdb/gdbserver/server.c
@@ -2860,7 +2860,8 @@ process_point_options (CORE_ADDR point_addr, char **packet)
if (*dataptr == 'X')
{
/* Conditional expression. */
- fprintf (stderr, "Found breakpoint condition.\n");
+ if (debug_threads)
+ fprintf (stderr, "Found breakpoint condition.\n");
add_breakpoint_condition (point_addr, &dataptr);
}
else if (strncmp (dataptr, "cmds:", strlen ("cmds:")) == 0)
diff --git a/gdb/gdbserver/tracepoint.c b/gdb/gdbserver/tracepoint.c
index 95c55ad..0f83ae6 100644
--- a/gdb/gdbserver/tracepoint.c
+++ b/gdb/gdbserver/tracepoint.c
@@ -3969,7 +3969,7 @@ cmd_qtbuffer (char *own_buf)
unpack_varlen_hex (packet, &num);
trace_debug ("Want to get trace buffer, %d bytes at offset 0x%s",
- (int) num, pulongest (offset));
+ (int) num, phex_nz (offset, 0));
tot = (trace_buffer_hi - trace_buffer_lo) - free_space ();
@@ -4002,7 +4002,6 @@ cmd_qtbuffer (char *own_buf)
num = (PBUFSIZ - 16) / 2;
convert_int_to_ascii (tbp, own_buf, num);
- own_buf[num] = '\0';
}
static void
diff --git a/gdb/regformats/reg-tilegx.dat b/gdb/regformats/reg-tilegx.dat
index fc971f9..588252f 100644
--- a/gdb/regformats/reg-tilegx.dat
+++ b/gdb/regformats/reg-tilegx.dat
@@ -1,4 +1,4 @@
-name:tile
+name:tilegx
expedite:sp,lr,pc
64:r0
64:r1
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 3a8a8e1..54f0e3c 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,20 @@
+2013-02-28 Yao Qi <yao@codesourcery.com>
+
+ * gdb.trace/report.exp: Move some code to ...
+ (use_collected_data): New.
+ (top level): Call use_collected_data once on the live target.
+ Save at file of the current trace session, load it with target
+ tfile, and call use_collected_data again.
+
+2013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * gdb.threads/fork-thread-pending.c (main): Add alarm.
+
+2013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
+ Add final kill of ${valgrind_pid}.
+
2013-02-20 Siva Chandra Reddy <sivachandra@google.com>
* gdb.python/py-arch.c: New test case
diff --git a/gdb/testsuite/gdb.base/valgrind-infcall.exp b/gdb/testsuite/gdb.base/valgrind-infcall.exp
index 50a273f..5ca83d4 100644
--- a/gdb/testsuite/gdb.base/valgrind-infcall.exp
+++ b/gdb/testsuite/gdb.base/valgrind-infcall.exp
@@ -79,6 +79,7 @@ gdb_test_multiple "" $test {
}
# Do not kill valgrind.
+set valgrind_pid [exp_pid -i [board_info host fileid]]
unset gdb_spawn_id
set board [host_info name]
unset_board_info fileid
@@ -122,3 +123,6 @@ gdb_test_multiple $test $test {
pass $test
}
}
+
+# Only if valgrind got stuck.
+remote_exec host "kill -9 ${valgrind_pid}"
diff --git a/gdb/testsuite/gdb.threads/fork-thread-pending.c b/gdb/testsuite/gdb.threads/fork-thread-pending.c
index 43188bd..1c06c0b 100644
--- a/gdb/testsuite/gdb.threads/fork-thread-pending.c
+++ b/gdb/testsuite/gdb.threads/fork-thread-pending.c
@@ -94,6 +94,8 @@ main (void)
int args[NUMTHREADS];
int i, j;
+ alarm (600);
+
i = pthread_barrier_init (&barrier, NULL, NUMTHREADS);
assert (i == 0);
diff --git a/gdb/testsuite/gdb.trace/report.exp b/gdb/testsuite/gdb.trace/report.exp
index e8aa597..b32bca1 100644
--- a/gdb/testsuite/gdb.trace/report.exp
+++ b/gdb/testsuite/gdb.trace/report.exp
@@ -181,210 +181,243 @@ gdb_test "continue" \
gdb_test "tstop" ".*" ""
-#
-# 9.1 test the tdump command
-#
+gdb_tfind_test "9.1: init: make sure not debugging any trace frame" \
+ "none" "-1"
-set timeout 60
+# 9.3 help tdump
-gdb_tfind_test "9.1: init: make sure not debugging any trace frame" "none" "-1"
+gdb_test "help tdump" "Print everything collected at the current.*" \
+ "9.3: help tdump"
-gdb_tfind_test "9.1: find frame for TP $tdp1" "tracepoint $tdp1" \
+# Check the collected trace data from different sources, such as live
+# inferior and tfile.
+
+proc use_collected_data { data_source } { with_test_prefix "${data_source}" {
+ global tdp1 tdp2 tdp3 tdp4 tdp5 tdp6
+ global testline1 testline2 testline3 testline4 testline5 testline6
+ global pcreg fpreg spreg
+ global srcfile srcdir subdir
+ global arg1 arg3
+ global decimal hex gdb_prompt
+ #
+ # 9.1 test the tdump command
+ #
+
+ set timeout 60
+
+ gdb_tfind_test "9.1: find frame for TP $tdp1" "tracepoint $tdp1" \
"\$tracepoint" "$tdp1"
-# Nothing was collected at tdp1, so this tdump should be empty.
-gdb_test "tdump" \
+ # Nothing was collected at tdp1, so this tdump should be empty.
+ gdb_test "tdump" \
"Data collected at tracepoint $tdp1, trace frame $decimal:" \
"9.1: tdump, nothing collected"
-gdb_tfind_test "9.1: find frame for TP $tdp2" "tracepoint $tdp2" \
+ gdb_tfind_test "9.1: find frame for TP $tdp2" "tracepoint $tdp2" \
"\$tracepoint" "$tdp2"
-# regs were collected at tdp2.
-# How to match for the output of "info registers" on an unknown architecture?
-# For now, assume that most architectures have a register called "pc".
+ # regs were collected at tdp2.
+ # How to match for the output of "info registers" on an unknown architecture?
+ # For now, assume that most architectures have a register called "pc".
-gdb_test "tdump" \
- "\[\r\n\]$pcreg .*" \
- "9.1: tdump, regs collected"
+ gdb_test "tdump" \
+ "\[\r\n\]$pcreg .*" \
+ "9.1: tdump, regs collected"
-gdb_tfind_test "9.1: find frame for TP $tdp3" "tracepoint $tdp3" \
+ gdb_tfind_test "9.1: find frame for TP $tdp3" "tracepoint $tdp3" \
"\$tracepoint" "$tdp3"
-# args were collected at tdp3
-gdb_test "tdump" \
+ # args were collected at tdp3
+ gdb_test "tdump" \
"depth = 3.*q1 = 2.*q2 = 2.*q3 = 3.*q4 = 4.*q5 = 5.*q6 = 6" \
"9.1: tdump, args collected"
-gdb_tfind_test "9.1: find frame for TP $tdp4" "tracepoint $tdp4" \
+ gdb_tfind_test "9.1: find frame for TP $tdp4" "tracepoint $tdp4" \
"\$tracepoint" "$tdp4"
-# locals were collected at tdp4
-gdb_test "tdump" \
+ # locals were collected at tdp4
+ gdb_test "tdump" \
"q = 1" \
"9.1: tdump, locals collected"
-gdb_tfind_test "9.1: find frame for TP $tdp5" "tracepoint $tdp5" \
+ gdb_tfind_test "9.1: find frame for TP $tdp5" "tracepoint $tdp5" \
"\$tracepoint" "$tdp5"
-# stack was collected at tdp5, plus the frame pointer
-gdb_test "tdump" \
- ".$fpreg = .*$spreg @ 64 = .*" \
- "9.1: tdump, memrange collected"
+ # stack was collected at tdp5, plus the frame pointer
+ gdb_test "tdump" \
+ ".$fpreg = .*$spreg @ 64 = .*" \
+ "9.1: tdump, memrange collected"
-gdb_tfind_test "9.1: find frame for TP $tdp6" "tracepoint $tdp6" \
+ gdb_tfind_test "9.1: find frame for TP $tdp6" "tracepoint $tdp6" \
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2013-05-10 8:43 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-19 11:29 [SCM] pmuldoon/python-backtrace: Merge remote-tracking branch 'gdb/master' into pmuldoon/python-backtrace pmuldoon
-- strict thread matches above, loose matches on Subject: below --
2013-05-10 8:43 pmuldoon
2013-05-08 10:03 pmuldoon
2013-05-02 13:11 pmuldoon
2013-04-30 9:40 pmuldoon
2013-04-22 12:13 pmuldoon
2013-03-08 15:40 pmuldoon
2013-03-04 14:57 pmuldoon
2013-02-28 9:46 pmuldoon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).