From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15359 invoked by alias); 18 Jun 2013 18:10:48 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 15340 invoked by uid 306); 18 Jun 2013 18:10:47 -0000 Date: Tue, 18 Jun 2013 18:10:00 -0000 Message-ID: <20130618181046.14968.qmail@sourceware.org> From: tromey@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] tromey/gcc-pr-55608-fallout: automatically dereference synthetic pointers when printing X-Git-Refname: refs/heads/tromey/gcc-pr-55608-fallout X-Git-Reftype: branch X-Git-Oldrev: d8869b0d5043736df641eccb3743a95b1a5a51ee X-Git-Newrev: 9be946885496ae1b0eb6ae93d3673a6296dc4b39 X-SW-Source: 2013-q2/txt/msg00094.txt.bz2 List-Id: The branch, tromey/gcc-pr-55608-fallout has been updated discards d8869b0d5043736df641eccb3743a95b1a5a51ee (commit) discards eaf69d968852d383fc3dcd9c75c5bcda9aa8cd92 (commit) discards f39e776c70fd81a769af4010cf0ea6c73d2ae26f (commit) via 9be946885496ae1b0eb6ae93d3673a6296dc4b39 (commit) via 21e63c65047803597b08d769b6dfe8b88a3c7ae0 (commit) via 9103ff331f43317c4afbce28a8e2753c06c40e68 (commit) via 7a106f17dfd78345ebdc1714e4e7cdaff73727bc (commit) via a207d4e3c3716aeaf48378f45328947be732d564 (commit) via ba705a97e0f9e9c24244f50d5ed414cc60ac556f (commit) via b22d1dba9dbe0edf7d54008fe4196201fe5af9a6 (commit) via 63d56af11e57587bda22e30f63f74ebd11c39d3e (commit) via d33aa35b7856edaa056abdb54e4304472387c701 (commit) via b45c51e012c1d3d5bcda8caffba46406ac60eeea (commit) via 4a9fa32bf9948b2077984c896d034da24a057b3f (commit) via 10b69d8264d23e4f2133a73f880655f06a3f604c (commit) via aba6da4e2b62f0caec9f9d6d1adf47c4c8401466 (commit) via 3a65a4a6d28d3875f6047b050f78f5ed4157a120 (commit) via 33dee249503847b3d86d9edc06fa34477c915ae4 (commit) via e10a24172d88254e16af4304a5603556608ffca2 (commit) via 7272111c87bfd55917e34172115ca9bdfcaa726e (commit) via df9378ffadb503231fff2c0c7cf1755ba8b2960b (commit) via 4ba8483c26cc449fa115cd490c71ccbff7039190 (commit) via ace916f43edbf3d31c3b2ed78fa6e0f81fba705d (commit) via 99d1a5c0fa76b3981690bbda26d7faae284e190a (commit) via e238081bb7e50055e2b7c0b0d1b697e47fe2d877 (commit) via 5625f90ce53854b1c62f49229577e4dbdf323947 (commit) via 21206e81f8efc486383f971b37fdc6b3bdddeb5c (commit) via 05bf60502998d3e6793eeea259a84528e3dca307 (commit) via e70a152e6e28a5bbe792614d746f1182512e1d91 (commit) via 01e3f656d2961975c298fd1e626e0acf83976911 (commit) via 9799ab54486adf49a50e5aadd9f5e6bc03db6123 (commit) via 9230078ad017a32d7f2f4b7107a65a34554ae9c8 (commit) via 498756d858f199c2f7122e7df1bd3b802410eb63 (commit) via 334ab20292c3bbbc963c0429d223880d790aa67f (commit) via 50806d380850c864f1eccee76b825215ac1555a9 (commit) via 19588b66da2fa4f71096a96e755b6824a871bb81 (commit) via 08410765129c3c84996505f538993bebf1bb973a (commit) via cacca56f51809f9fc1d6366dbe4406fd94d5f9be (commit) via 142a4c245ed9a79ce295588c85fbc63739b7971b (commit) via e05713dd030d5dbad35b7a4f2fce547641e737e7 (commit) via 901efc30a8dbf43d75c3fe237698fa3966849a01 (commit) via 00d6602ca21bef18541121216d3fd6e8e57e05e0 (commit) via b54c583c9dc7f0c8ae0d2da56f3fb93a71e51d29 (commit) via 55806c25eac813da365236c2996613e6aeb341f6 (commit) via 1e1754a3d30c05ef7e179dba583057083eebf926 (commit) via 6776fcaed605fcc6835dc1d7add224bda852fb78 (commit) via 3a433e6f35874b7ba61ed048365ca6a9dd71fe42 (commit) via 75932b72d870d8b1d48b14dceb53abc966469ce8 (commit) via debeeac623885b04c2a30a5e6212e599023c7c3f (commit) via 46773a75ce73ca35bd36fcc9b2292eb24875d836 (commit) via d303935e79b890e16fdd6acbbb1325b524243d88 (commit) via 46b39981ce282ac72d2536427d085f9a83c2a892 (commit) via 7ab0f9e460b59d1bd6df158ef14243922759cf9f (commit) via 1b87443249230bdb8fa8bf50f441f387721eeb23 (commit) via 926e3028346f3b536b95f904040a2d696ac60e60 (commit) via 984815e83ea7218e9b297810e8ff541ae81a608f (commit) via b8b4f20298ffb194091ab024904094111123897b (commit) via a8036ca23145ace743ec0f98db2663c56f9dec7c (commit) via 7dfbc23277be786c5d40f4ca28b7847774216238 (commit) via 6c15b536607c0297f9696ca96410b88c7c5e4ec0 (commit) via 865c724068a13540c75f0e5b0024a19b35a12c14 (commit) via 8306f4153ae79a0c8bf3acd3a07076c3c3aceee1 (commit) via e0dd06f0a384338523320a769d5bec6b93335235 (commit) via 45895d8453d380eca6acce2bf23ebb363f391e93 (commit) via 42b6105c2ab06d684595414c4fb6ac2b2056019f (commit) via 412f6d9c3dd9bf3049d1b78aefdc7391f95b5484 (commit) via 7c56eaa2a0e8d0026b30db4bb7ed5dac7714c780 (commit) via 8bf0fc50a745b6a5c727dff87cb38d2f6c922940 (commit) via 5ba9957aac5fc02b7c774aad69d9582fa5d413ff (commit) via f34c4136fdbb75c35ce3144e810b2633a737dd48 (commit) via 9c543ebf2eeb2698cb4128f7f9e1e2716790121d (commit) via e3d3ffe8e2191706b4adb8063acfefdb1a53308f (commit) via dae5167feb0a7f441503b56a30e3a44166d21459 (commit) via 1c84a012eae901086a22b0fb01b4b4e142c584c3 (commit) via e11f0c0337e63b9170900b452ca0990f804d729c (commit) via 4d54e920dcdfbb93fca782d1989aae539cd50e04 (commit) via de07f81d1d66a6e16b60b53f1cb0b9126dc6d50b (commit) via a6808c0c8f122f5940c0556f4a23b4faf85f952c (commit) via 312d69cced726700c40eb8affd224ffa0f6e141b (commit) via dca4d6be9dbb46d002e992fc1f8062f737f3f5b7 (commit) via 377d4926e91e18e2446f8be7a10ffaa254f6b3ae (commit) via 0fe49c97e446b21adc088124181c755dddaa6b3e (commit) via 7bb9e3e26deb8909c037aa47db2d9129e0cd52cf (commit) via ca16a04e13325f079cb3476eb3e440697b7f7d60 (commit) via 794c9c4e8483eac3c400772745e4eea3ce894003 (commit) via f293a7e173e2c220c53bffdd7dfa51625c351975 (commit) via 4fd8c02c8ffb336200f473cad9ff04d5c9662434 (commit) via b8018373ee89d06385f09c614046a8530056c85d (commit) via a304d267aecbf5c1100035758bf4aa8135fb8a0d (commit) via 1fcafc429220f73ba0e2414832f04e935c8b8271 (commit) via 1c294e16013896a46fafda4e0d89a474641e3bb5 (commit) via bb052acd2ff9c1f5e572f89ca2dbd3fc3e1ddecb (commit) via b027995f2d8173e26eb63d5c2386defa59419f78 (commit) via a1130b7b0f496ab69e8565e69b84388091451f5d (commit) via 4233e4d779ba9fd15fab617ec378488e7961b1b4 (commit) via 740d732d28e4d38031d8b7a29b3a18c769bc7182 (commit) via 41a566af394703a0b789ecb07e11e37e7cb66e6b (commit) via 9af2e33ee9c2b585453e72ff7e30eda8c5a7283c (commit) via 82317bfa2ccb9dd741e508815eb77e181b1dae45 (commit) via 38e484893aac45e294bc8e3fa443c430ed553539 (commit) via f031ed530e4f9bf7c04ed3d13eba6fc9b919fa8f (commit) via ab7d05421c9ee2b50a6c191a1c23c262b288bdcf (commit) via 7c0c349462ed043999c2ff07e9e3bdad4b9b7940 (commit) via e94a795930db456392604e213ab29a959255d28d (commit) via 63b55747e23f5950422d3a10350e3a0869e1b8a3 (commit) via 736d95d04891f566adf9cc5363b964e82610a855 (commit) via be33098462e01e61d6c9df8e3ad701763c8b0217 (commit) via 1f6268b42e3698c70d6d6c1402f59a800b410c92 (commit) via a22c0ea0e9b3f4c44d781b12215b35a482951170 (commit) via 1831b542dc3b53aa442cd02af1219a24dca0f9a6 (commit) via 4d5659573cb61ae9196d95ef3eba14cf0b9fd685 (commit) via c527d3ccdbfcfe1570f45293e13d2a538e66dc21 (commit) via b1c4bf43f28eaeb557ef691faf6a2783c981c8dc (commit) via cb449309cafb9f8cdc0246c0b1158b1b76254dbc (commit) via 4a1b49ebff71d76ea500fac82540f13bf9067c1d (commit) via 5f3ca9b0398abbe61e460800a0fc2e6463ee59af (commit) via 0a1e6a1891814a2fa65b72a265d2cd52edb3e296 (commit) via 87c4ecaa180e412ecc937c8b557ca903c3430877 (commit) via f32f285fa9f4d8ba2584573af3141e9d67b44b04 (commit) via 77295e379f6e8cad6b54c6ad19a03448fd802e33 (commit) via 8b26d772baef73317f2c92931f991a9afd115652 (commit) via cf5c1b327ec68f1a7e8115296d0aa4162340981a (commit) via 6dd130dcda5fe19dcc00e86ce61f001d43437016 (commit) via 11a307da49aba205e4e478c8265e149763730189 (commit) via 4d4f46ce89bfcd710420e953a49dfb7e59ce7b4f (commit) via 1eac09fbb5a0298d689e9a2948fd456aee72da69 (commit) via 6868414a37859e8f455d7180bb243d89d8889120 (commit) via 772ba0012061d30809885e891dd022bb999115de (commit) via 9a9a177185ba7001908265435d00f0eb2ebfe3cf (commit) via c260d1c1076b7376edf5e78a35387e490a6a7c1b (commit) via d8122e3514d9882af265f540f7685c0e8b0134e9 (commit) via 55b9ec9fe370014dafe940eb31b2606ac3bbce98 (commit) via b1f88d6b4edadd346881ab799412d3b77c964741 (commit) via 493ae1d2b38acb0253e698d847efed3b2c01000a (commit) via cd35c0f4d29935cedbe55903abab49fda6376d90 (commit) via 60adeb1b551428ac5ae33365c80981db3c676cce (commit) via 0abc7a2bdbfb6c3e08c7d89dae7a50297c18ccd0 (commit) via 232cf858dc9952f123510778333b2e8ab2dc56f9 (commit) via 2ddc5b46e057658b157c26045d74d7d3bbc0c271 (commit) via c5b4e875304c5faf3658e6de1e45d27e4284976c (commit) via 5e779115609a2353599ff1a8949b1f562075030f (commit) via 5a6ba404ea5b0b9966902369a19218194bb15b76 (commit) via 4284b1547b5e95baa1d4121fce9879cf055b8f72 (commit) via 071bf1d63dae39f38e3c59208d436c71ec22e534 (commit) via fa5ef4de3adb10fbe3bfb7e758434b315fad9fea (commit) via f2be34e2d2574ca696ad9dfc7122a24a0d582fb7 (commit) via db1d5ba6b2833a2b4fdd360032e5090e9e575bff (commit) via 69342dcbbf2ae3793102b3e1450d337910a30e97 (commit) via 45e4ebaf10de18859d5b1160854b4b4f9fc7593e (commit) via 40228b361e712cd089fff53b7156e2dbfa5181b4 (commit) via a4e3ade070c28d8a59db0413c62720b2f89d4b7c (commit) via 95a415b69583178c93bac6b1660e5f2077962200 (commit) via f5603f3daefe89a252201aff5ac977e75309c080 (commit) via dc4a73ac5c6cb797b92c8884d7266d7f4a7b506a (commit) via 0caafac6f41bfdb77efa9e2828c2bac9d7d93860 (commit) via b888adba161204724ff72d0c18f78c63e9322a95 (commit) via fe3883c5a86d66f9c29239b71226fae0f358ba08 (commit) via 88f77f91c9b0a13109802f2bb44a9d42c16f91ea (commit) via 2ee2dd5484d40040254d5ac82c3d07de5057abfe (commit) via 5810e2b26a920f0a8eb4ea29a3a8084ad04ebc91 (commit) via 8a710779dd2d0e55b9d03e3b6f07ee9ffef590b9 (commit) via b86531d6abb565e5973706271b514c8b92e7629b (commit) via 8b50a13a31f4ef572b16144fe832bcd2fd08ece7 (commit) via fcf3be2b715c1defb0e199ac01be903d301372a8 (commit) via 0a35c53f8ae0814dddc3a45fc48564945c314a2c (commit) via 943e0de82e5997ef54acb296fe71501e5617802a (commit) via ee6093e8c41b580edb74f55987184fc8cc1a1cab (commit) via da4b06c8aab71118e3cac9272b853f60c61e1e1a (commit) via 4f4a50060707b7f669d7962f6f5976d629d9da90 (commit) via 12e31f35b30518836aca25487f8d812804d059e7 (commit) via e7a11fc8cf574dc6a945d1d662c9f38ae4bc79b7 (commit) via 365cccf226609730d3e1c82b244b8736682c3cfc (commit) via 3f5220a976bd61ecfc9eb432b37f32cb7818a13f (commit) via c26ab3582fedb5cf90072c977586c1cab5cc25c5 (commit) via e76d8f495098c50581b07afaea62b54e0344f301 (commit) via ae0abbcfaffe5460d26641ccd19dd7ee022a81f4 (commit) via b8aa5d2d87720b19aff29ab5210bb7a4fb0f89c3 (commit) via 369e9c4f566a6c7c44481fc8434d5008efb61b32 (commit) via d6b71a966ab398e67b2011bdf0f24dc9ca51f9b4 (commit) via 07cbf74b89eed441820ac018d0cb2ecd21746f86 (commit) via d8e2260eaed12c7d11e885e82d252b7ea66d6e04 (commit) via 80cc28dff3a8cd1ab736016e5c3c3c57125ca09b (commit) via c3c37e6644ca04bd1022dc58e315024789f35083 (commit) via affc6055a06debad749a30a843ea804ebf574601 (commit) via 3eb2a51c46804f0be530893e94af559abee8b4f8 (commit) via dc494069c836882834b58d9ddcce138664506407 (commit) via df1d3df3301756235f18919ccea03f9353225eea (commit) via 546eb05e3a883af5fcf1513c386eb0db749cb43c (commit) via c86349e2b62a613c60a568a906ebec927aa159ec (commit) via bde79dd528687683b9a3041b91b2c9fce3fb8eed (commit) via 8183711475fe01dbe481c63eaf2f7e9194331f05 (commit) via ac26ece4e3fb025f54f1cf56a226a3ad77416586 (commit) via 0354583c5e842015f3b54116c89110d43e63b2f0 (commit) via aa5b4b2cb2665ee0fc06885f311f1f2c519ed337 (commit) via 091e0eecf207d7557cecb3c015d477fe90f9f560 (commit) via 5c0483514a78fd1d07d255241c19b8556dd6a1c6 (commit) via e3f520c455ed113e0eee8e4e85e6f56f3fdb71a7 (commit) via d3a851bf984a159b45f4d92f51ef90d49c84627e (commit) via b0b72d14aefe9252bf4638087fe60174a3a9e10f (commit) via 0d49fd8a9a093ecb6f33960a6d2f8793d7958e94 (commit) via 86b94567968e87f6ace1dbd63dc913f0284fd133 (commit) via 0fd73668f658231452795b53ce348b2ef1eb72e8 (commit) via 67bd2c9af4e5366af4ecab5e18ab3d2defce4af1 (commit) via c9e6e004ed57006e3756f42d987922b48e7c6eac (commit) via 76dc4bb9cbed27e6c4d802a81c669828c4b80dc2 (commit) via 6876850721768f002bdebf47ea013b6283403d37 (commit) via ee9c380976c428455ba465c586e1c945fb1c0e97 (commit) via 7ac839d2ea970056e05eb9aabfa2925c6c9d6a13 (commit) via 34d2892f76ba085447dad2041ebace48815a45fc (commit) via 79aeb20ca9af9669fca91eb85950f816bbe8a4e9 (commit) via 06d59c620a5c8a598b9711ee7869ca83175b93f1 (commit) via a72f82fc28e2e0464fc59fc418c2a2b7d6db315c (commit) via 8169424bbf064788c952aadb142993fa4eee61f6 (commit) via 99a8549b696b9943585e216bb352aa274b9344a9 (commit) via a019568598ef099621feee572b3229079d68e6a2 (commit) via 6fcd25589f95ed1c663b4993b5faa47fad2389d4 (commit) via 72de6e69758282b35491e7289d368eb7542f638f (commit) via fc07e754275bc3e4bbe2bd762fdd8fdb57ddc102 (commit) via d6fab887386fae52a12bd6864382564bbeda8514 (commit) via 00ed95a3aacde879bc7fcb7888c69091f33b41b8 (commit) via 412237328f6a7293cfba3f85d914f896db975af1 (commit) via 783bc92bdf91418a80557af431c7e4f86ecee768 (commit) via d72eabc6f823fe4e3a4eafa81a119867c988a0c4 (commit) via 5f9197eeaf0fa87eb98ac6ebaf88930f33821eab (commit) via 61ce8822bafd4554dd911d8f58d7142f3839bb2b (commit) via fa466a282b30a743765b2a8cd1ecc74bb5d796db (commit) via 6f6adb3c6b95796c51a48920526c6ef98afae9f8 (commit) via e3be5bf957b120a042ceb164213af36d7bca32b5 (commit) via c8d7739e9cf54d4aa465bde90a6ec94ffdfb33c4 (commit) via 488588c3628913be0dbcf7113cee04c1cd791d5d (commit) via 4f20a2011c6cec47718bff32a9a8de67eac63b53 (commit) via 3b29b975fe1a101ef9feb0a130570228152019c9 (commit) via 13f2e76510cd8d5b2da22d958cdcc3dd3e785005 (commit) via a5d4bb2f9bfe5ed5911e9e79d0f00a8de790727d (commit) via aac6de18bb842276b6d26bea129de9901ae891df (commit) via b7bab74342776d73cef3a9c060810fbb80328312 (commit) via 7645df08c5ba29820e44a03f7bbf70b478801cae (commit) via c6bf3878c5f48650e928c55e7a454583d977a1cf (commit) via e3ae979a6c36d47350919caaf654e656dea3ac76 (commit) via 01219ac3f8e7fa6f5a5876afd826d0283d29524b (commit) via 2f2a2015c740d447fee472e08471aa28d416b551 (commit) via c91374499747d84609217f6815ffa6e637dedba3 (commit) via 1d990d7bb9acc77de45d92801bc116f875bfd621 (commit) via 1dbe9d429b900945876f8c8c0358f4a18ce57c66 (commit) via 49fca17027ea8a35eae2353248b527415f95f25e (commit) via 2005985ad1c8abbf905a9c6ab269e9a96f836e3b (commit) via 35c1e5efc16caf256acb5c76df8f02a3f1de246e (commit) via 2d3bbd57c568f6586015ee82b9d2db1d1432cb14 (commit) via 39cc9036cec20e713f4ec002e425422c21f81b12 (commit) via 29b26fc5635d26ca73927809396f6c8c03de159e (commit) via 7513d357f031eb43c1dc4b309faa80922c41004d (commit) via 62234c99e3a311c07838ebaea38198d7f4239d0c (commit) via a1dc2890b9843e7bbadb81cf7d733d2954dbb097 (commit) via c84620664b6cd95ef9d2609c73c6832dba830cdf (commit) via 636305372b3cdc5b60127ed7ea546bdbee217226 (commit) via 2e687216be4e6f289cb8083e18f1ccfb3bde90cd (commit) via e0ede36274a194c07ed4407f4471849e3bda9db8 (commit) via 27ace36109505b3b255e60778b487decce10e92e (commit) via 7fb29343dacbc73483669327128c491a9a17ccaa (commit) via 80a8b525413b213614508a73c3b95e683e412942 (commit) via a906bc6480dbdc7cc1bd54884702fb807ef0fbc1 (commit) via 9b859adb4f3dfc4df5022746517422d8769100ee (commit) via 65882c1a92a8d600890bab983a7e013faac37e3e (commit) via 6466b77e27b5743f65a4c3e02fa6ef17c86f43bd (commit) via e99af83087857cf32e550d45c338587dd0fc1a6c (commit) via 174e82f2f135bada36bbb0abf52b46319421b71a (commit) via 3d850673810aa884193630d83749cb658165c8b2 (commit) via cf5b0fcbc621db7b4b9da236866a26431151def6 (commit) via 5ce3c185948cce3e2d7e1801bb19aac009ca7ebb (commit) via 6a7ee8d8ad61cfb463d7e9bb95dd7dd23f5d8110 (commit) via 210e3c157c1380359c9702b99eac0a83416ccc24 (commit) via 81387c7f1f50f0b076617fd37e2df0055a74e762 (commit) via b30830ad38d34bdeedd0e5571845821eae50b661 (commit) via 73748a82bb4a64335cc3388b34ef9c5486b69e65 (commit) via d0a19b37c43775341c5412d90635353345b5f5c8 (commit) via 8bc515ce4080608a1a35b00d8d9706a5778025d6 (commit) via 826738a7377eb04bf47c7a9f469948de0b4ec4ab (commit) via cd1f6ea471233b241a973de805d3bb6386d6edf1 (commit) via f3cc1179691abf92468d89452aae2e1fe5ced731 (commit) via 9cba98336ff14e06e83494a55c71e795f130700d (commit) via 5aee30367e9dfb9af9b3b461d91eb640ed2c94ea (commit) via 452e29236ed5bf99404ecd3531df85a058a12ff5 (commit) via 4072a8adda6f9c894beee03ed64a2b3c9b8c182b (commit) via 12eebc99a69a969e7d2adaffdc48e6714ecccb6e (commit) via 0dc1cb92d94b5f56c9bf29b2b103839453b22f36 (commit) via 0baf8277ae52466a945c9e97bdc64459b38cca94 (commit) via f1710886bbcad31da44b5ab3be5e9fbc04c0fb49 (commit) via d0b63f741de6049646fe979182fb390f219ce934 (commit) via 4b7405c0381c72b154d8dddd82cf4e960e27720c (commit) via 7d9b86e671db86e2d42b833f6033bad30312fea2 (commit) via 73b53903b87f8b8d4561327358bb2ecb55d202fb (commit) via 4fd63bf1390f2e850157a51c5771a304dc713d31 (commit) via cc10b3df010272968aa2e6e1768ffd5da2100f4b (commit) via d192e191467b71a5ab3bc93515126ed534148602 (commit) via 5a4337e6ec84ebc21bdf15e9d7076576e4f8e862 (commit) via 6f78e1e9b3d53d75b3f8c9fe2fb0c90774fc3641 (commit) via f26df3c4024643a8608ba16fd9cfd1e04048b9d7 (commit) via dde6c19a39f11b3835b9903fc459f337b86daf81 (commit) via 10361b212f7b40ed6eacf773adf7716f8f640e1e (commit) via dbd14a18547bd78def0d91c5bb5324d79b87cad4 (commit) via 1035e7311fb8ea56f99c4698e9e8ee1dfb0c4f86 (commit) via 92dc8d9605a1472907a18e5548b0116ed759c42b (commit) via 753a490543a83113f173beba637b2adf661b8698 (commit) via 8e8d0e321d16b1c1bdb71ad268df467a13ad3b81 (commit) via 5aa148e4cbf9f25d8a1a33d71c029abe3a7d9f6c (commit) via 0e8baff8e5a7752131364f177906d70ee92934f0 (commit) via 0c4d80b4815ec4698a37846243ac1994f4d461bf (commit) via 7353e382d81309bf17cc4addd99ef6e52df49150 (commit) via 10853ff1dc86eb6f331f4c7b175d1cb0308b19d0 (commit) via 4917f7eef3ad12d18fe0757ffda9de60ba556078 (commit) via e55999758aa986a1f3e55ad3e741e3d591e3b38a (commit) via 19d4501df9cf271fed4f30f8a24e786d4add9552 (commit) via 6f0258cb652b897a1c2e50197a59c7e8c117f91b (commit) via b01b13936c8ef44b9eb3bc1f6a85edc4c6610888 (commit) via e6e0cb74ef4c2fad6b021adbf9cfb28e1b90372a (commit) via aaff5eec7e98db292460ab53f47194a9e762798d (commit) via b74c156c02cac7fb90ea19bc7a5de78457987a85 (commit) via 78762a4af473e619e3d2b4c545f544ab887d5b6b (commit) via 7a6238d05b50241a569ca445dfa618c3cd3a638c (commit) via a91d830489296a37cc62b9cedff6072b88a8e9fe (commit) via a4c8dde8904ab79f98b6450b1b8deb4c4c32fa7f (commit) via d3184353b6f0f57269d312135c4073c3ebeea74a (commit) via 405f66c46796dbbc453d77ddd8472899c7e0359e (commit) via b5ae236fa445289bccdfcb131df21dc1f7512567 (commit) via a6b1ebe618d1e0e0a01cbeecd11c227469eb7ce9 (commit) via 100be925a50e9bc2634749aef30454ef91892fae (commit) via f34f21507d436eccdc711811486bdb2a3fff0fd7 (commit) via 499e1aa537ff95059f94e3578b46bad03476f81d (commit) via 9ebb53df62142e78f45f2038d1abd6cc50140cf3 (commit) from d8869b0d5043736df641eccb3743a95b1a5a51ee (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 9be946885496ae1b0eb6ae93d3673a6296dc4b39 Author: Tom Tromey Date: Wed Mar 27 10:49:54 2013 -0600 automatically dereference synthetic pointers when printing This automatically dereferences synthetic pointers when printing. However it has weird effects sometimes: (gdb) p c $2 = (byte *) No frame selected. and doesn't print strings properly yet (gdb) p c $1 = (byte *) 114 'r' commit 21e63c65047803597b08d769b6dfe8b88a3c7ae0 Author: Tom Tromey Date: Tue Apr 23 11:45:11 2013 -0600 Fix PR symtab/15391 PR symtab/15391 is a failure with the DW_OP_GNU_implicit_pointer feature. I tracked it down to a logic error in read_pieced_value. The code truncates this_size_bits according to the type size and offset too early -- it should do it after taking bits_to_skip into account. This patch fixes the bug. While testing this, I also tripped across a latent bug because indirect_pieced_value does not sign-extend where needed. This patch fixes this bug as well. Finally, Pedro pointed out that a previous version implemented sign extension incorrectly. This version introduces a new gdb_sign_extend function for this. A couple of notes on this function: * It has the gdb_ prefix to avoid clashes with various libraries that felt free to avoid proper namespacing. There is a "sign_extend" function in a Tile GX header, in an SOM-related BFD header (and in sh64-tdep.c and as a macro in arm-wince-tdep.c, but those are ours...) * I looked at all the sign extensions in gdb and didn't see ones that I felt comfortable converting to use this function; in large part because I don't have a good way to test the conversion. Built and regtested on x86-64 Fedora 18. New test cases included; this required a minor addition to the DWARF assembler. Note that the DWARF CU made by implptrpiece.exp uses a funny pointer size in order to show the sign-extension bug on all platforms. * dwarf2loc.c (read_pieced_value): Truncate this_size_bits after taking bits_to_skip into account. Sign extend byte_offset. * utils.h (gdb_sign_extend): Declare. * utils.c (gdb_sign_extend): New function. * gdb.dwarf2/implptrpiece.exp: New file. * gdb.dwarf2/implptrconst.exp (d): New variable. Print d. * lib/dwarf2.exp (Dwarf::_location): Handle DW_OP_piece. commit 9103ff331f43317c4afbce28a8e2753c06c40e68 Author: Tom Tromey Date: Wed Mar 27 07:14:52 2013 -0600 add README.archer commit 7a106f17dfd78345ebdc1714e4e7cdaff73727bc Author: Jan Kratochvil Date: Tue Jun 18 15:50:33 2013 +0000 gdb/ * dwarf2read.c (write_psymtabs_to_index): Ignore NULL PSYMTAB. commit a207d4e3c3716aeaf48378f45328947be732d564 Author: Tom Tromey Date: Tue Jun 18 14:12:08 2013 +0000 fix python-selftest.exp failure with gdbserver python-selftest.exp fails with an error when using the native-gdbserver.exp board. The bug is that the selftest code doesn't work in this situation. It never has. This patch fixes the problem by pushing the needed check into do_self_tests. This helps prevent the problem in the future. * lib/selftest-support.exp (do_self_tests): Reject remote or non-native targets. * gdb.gdb/complaints.exp: Remove check. * gdb.gdb/observer.exp: Remove check. * gdb.gdb/xfullpath.exp: Remove check. * gdb.gdb/complaints.exp: Remove check. commit ba705a97e0f9e9c24244f50d5ed414cc60ac556f Author: gdbadmin Date: Tue Jun 18 00:00:32 2013 +0000 *** empty log message *** commit b22d1dba9dbe0edf7d54008fe4196201fe5af9a6 Author: Alan Modra Date: Tue Jun 18 00:00:04 2013 +0000 daily update commit 63d56af11e57587bda22e30f63f74ebd11c39d3e Author: Catherine Moore Date: Mon Jun 17 22:59:10 2013 +0000 2013-06-17 Catherine Moore Maciej W. Rozycki Chao-Ying Fu gas/testsuite/ * gas/mips/mips.exp: Run new tests. * gas/mips/eva.d: New. * gas/mips/eva.s: New. * gas/mips/micromips@eva.d: New. gas/ * config/tc-mips.c (mips_set_options): Add ase_eva. (mips_set_options mips_opts): Add ase_eva. (file_ase_eva): Declare. (ISA_SUPPORTS_EVA_ASE): Define. (IS_SEXT_9BIT_NUM): Define. (MIPS_CPU_ASE_EVA): Define. (is_opcode_valid): Add support for ase_eva. (macro_build): Likewise. (macro): Likewise. (validate_mips_insn): Likewise. (validate_micromips_insn): Likewise. (mips_ip): Likewise. (options): Add OPTION_EVA and OPTION_NO_EVA. (md_longopts): Add -meva and -mno-eva. (md_parse_option): Process new options. (mips_after_parse_args): Check for valid EVA combinations. (s_mipsset): Likewise. include/ * opcode/mips.h (OP_SH_EVAOFFSET): Define. (OP_MASK_EVAOFFSET): Define. (INSN_ASE_MASK): Delete. (ASE_EVA): Define. (M_CACHEE_AB, M_CACHEE_OB): New. (M_LBE_OB, M_LBE_AB): New. (M_LBUE_OB, M_LBUE_AB): New. (M_LHE_OB, M_LHE_AB): New. (M_LHUE_OB, M_LHUE_AB): New. (M_LLE_AB, M_LLE_OB): New. (M_LWE_OB, M_LWE_AB): New. (M_LWLE_AB, M_LWLE_OB): New. (M_LWRE_AB, M_LWRE_OB): New. (M_PREFE_AB, M_PREFE_OB): New. (M_SCE_AB, M_SCE_OB): New. (M_SBE_OB, M_SBE_AB): New. (M_SHE_OB, M_SHE_AB): New. (M_SWE_OB, M_SWE_AB): New. (M_SWLE_AB, M_SWLE_OB): New. (M_SWRE_AB, M_SWRE_OB): New. (MICROMIPSOP_SH_EVAOFFSET): Define. (MICROMIPSOP_MASK_EVAOFFSET): Define. opcodes/ * micromips-opc.c (EVA): Define. (TLBINV): Define. (micromips_opcodes): Add EVA opcodes. * mips-dis.c (mips_arch_choices): Update for ASE_EVA. (print_insn_args): Handle EVA offsets. (print_insn_micromips): Likewise. * mips-opc.c (EVA): Define. (TLBINV): Define. (mips_builtin_opcodes): Add EVA opcodes. commit d33aa35b7856edaa056abdb54e4304472387c701 Author: Alan Modra Date: Mon Jun 17 11:51:13 2013 +0000 * Makefile.am (mips-opc.lo): Add rules to create automatic dependency files. Pass archdefs. (micromips-opc.lo, mips16-opc.lo): Likewise. * Makefile.in: Regenerate. commit b45c51e012c1d3d5bcda8caffba46406ac60eeea Author: Pierre Muller Date: Mon Jun 17 06:14:24 2013 +0000 * corelow.c (core_open): Print GDB signal name instead of target signal number. commit 4a9fa32bf9948b2077984c896d034da24a057b3f Author: Mike Frysinger Date: Mon Jun 17 04:58:56 2013 +0000 sim: bfin: tweak run-tests for parallel usage commit 10b69d8264d23e4f2133a73f880655f06a3f604c Author: Mike Frysinger Date: Mon Jun 17 04:47:25 2013 +0000 sim: bfin: add helpful info for generating test tables commit aba6da4e2b62f0caec9f9d6d1adf47c4c8401466 Author: Mike Frysinger Date: Mon Jun 17 04:45:54 2013 +0000 sim: bfin: drop RET[ENI] setup Since these insns run in usermode, there should be no need to setup RET[ENI] to safe values. They won't be dereferenced, and any insn that returns via them are valid only in supervisor mode. Since this is in the main exception code path, saving any insn at all is good as it gets multiplied quickly (as in O(n^2) times). Signed-off-by: Mike Frysinger commit 3a65a4a6d28d3875f6047b050f78f5ed4157a120 Author: Mike Frysinger Date: Mon Jun 17 04:43:22 2013 +0000 sim: bfin: add flush/HWERR todo commit 33dee249503847b3d86d9edc06fa34477c915ae4 Author: Mike Frysinger Date: Mon Jun 17 04:39:15 2013 +0000 gdb: ignore generated gcore commit e10a24172d88254e16af4304a5603556608ffca2 Author: gdbadmin Date: Mon Jun 17 00:00:33 2013 +0000 *** empty log message *** commit 7272111c87bfd55917e34172115ca9bdfcaa726e Author: Alan Modra Date: Mon Jun 17 00:00:04 2013 +0000 daily update commit df9378ffadb503231fff2c0c7cf1755ba8b2960b Author: Alan Modra Date: Sun Jun 16 00:00:05 2013 +0000 daily update commit 4ba8483c26cc449fa115cd490c71ccbff7039190 Author: gdbadmin Date: Sun Jun 16 00:00:03 2013 +0000 *** empty log message *** commit ace916f43edbf3d31c3b2ed78fa6e0f81fba705d Author: Alan Modra Date: Sat Jun 15 00:00:04 2013 +0000 daily update commit 99d1a5c0fa76b3981690bbda26d7faae284e190a Author: gdbadmin Date: Sat Jun 15 00:00:03 2013 +0000 *** empty log message *** commit e238081bb7e50055e2b7c0b0d1b697e47fe2d877 Author: DJ Delorie Date: Fri Jun 14 19:57:10 2013 +0000 * rx-decode.opc (rx_decode_opcode): Bit operations on registers are 32-bit operations, not 8-bit operations. * rx-decode.c: Regenerate. commit 5625f90ce53854b1c62f49229577e4dbdf323947 Author: yufeng Date: Fri Jun 14 16:07:20 2013 +0000 bfd/ * elf64-aarch64.c (elf64_aarch64_final_link_relocate): Call aarch64_resolve_relocation and bfd_elf_aarch64_put_addend to handle the relocations of R_AARCH64_JUMP26, R_AARCH64_CALL26, R_AARCH64_LD64_GOT_LO12_NC, R_AARCH64_ADR_GOT_PAGE and R_AARCH64_GOT_LD_PREL19. ld/testsuite/ * ld-aarch64/aarch64-elf.exp: Add 'ifunc-7c'. * ld-aarch64/ifunc-7c.d: New test. commit 21206e81f8efc486383f971b37fdc6b3bdddeb5c Author: gdbadmin Date: Fri Jun 14 00:00:32 2013 +0000 *** empty log message *** commit 05bf60502998d3e6793eeea259a84528e3dca307 Author: Alan Modra Date: Fri Jun 14 00:00:04 2013 +0000 daily update commit e70a152e6e28a5bbe792614d746f1182512e1d91 Author: Doug Evans Date: Thu Jun 13 23:01:37 2013 +0000 * dwarf2read.c (try_open_dwop_file): Work around behaviour of OPF_TRY_CWD_FIRST to not search path if the file contains a '/'. commit 01e3f656d2961975c298fd1e626e0acf83976911 Author: Chao-ying Fu Date: Thu Jun 13 21:01:44 2013 +0000 2013-06-13 Chao-ying Fu * micromips-opc.c (IVIRT): New define. (IVIRT64): New define. (micromips_opcodes): Add dmfgc0, dmtgc0, hypcall, mfgc0, mtgc0, tlbginv, tlbginvf, tlbgp, tlbgr, tlbgwi, tlbgwr VIRT instructions. * mips-dis.c (print_insn_micromips): Handle mfgc0, mtgc0, dmfgc0, dmtgc0 to print cp0 names. commit 9799ab54486adf49a50e5aadd9f5e6bc03db6123 Author: Nick Clifton Date: Thu Jun 13 12:36:01 2013 +0000 PR ld/15302 * elf32-arm.c (allocate_dynrelocs_for_symbol): Transform ST_BRANCH_TO_ARM into ST_BRANCH_TO_THUMB if the target only supports thumb instructions. PR ld/15302 * ld-arm/branch-lks-sym.ld: New script. * ld-arm/thumb-b-lks-sym.s: New test. * ld-arm/thumb-b-lks-sym.d: Expected disassembly. * ld-arm/thumb-bl-lks-sym.s: New test. * ld-arm/thumb-bl-lks-sym.d: Expected disassembly. * ld-arm/arm-elf.exp: Run the new tests. commit 9230078ad017a32d7f2f4b7107a65a34554ae9c8 Author: gdbadmin Date: Thu Jun 13 00:00:32 2013 +0000 *** empty log message *** commit 498756d858f199c2f7122e7df1bd3b802410eb63 Author: Alan Modra Date: Thu Jun 13 00:00:04 2013 +0000 daily update commit 334ab20292c3bbbc963c0429d223880d790aa67f Author: Sandra Loosemore Date: Wed Jun 12 23:03:20 2013 +0000 2013-06-12 Sandra Loosemore include/opcode/ * nios2.h (OP_MATCH_ERET): Correct eret encoding. gas/testsuite/ * gas/nios2/tret.d: Correct eret encoding. commit 50806d380850c864f1eccee76b825215ac1555a9 Author: Pedro Alves Date: Wed Jun 12 16:05:39 2013 +0000 [GDBserver] Fix gdb.threads/siginfo-threads.exp, gdb.base/siginfo-obj.exp regressions. This fixes the regressions reported at : $ runtest-gdbserver gdb.base/siginfo-obj.exp gdb.base/siginfo-thread.exp gdb.threads/siginfo-threads.exp Running ./gdb.base/siginfo-thread.exp ... FAIL: gdb.base/siginfo-thread.exp: p ssi_addr Running ./gdb.threads/siginfo-threads.exp ... FAIL: gdb.threads/siginfo-threads.exp: signal 0 si_pid FAIL: gdb.threads/siginfo-threads.exp: signal 1 si_pid FAIL: gdb.threads/siginfo-threads.exp: signal 2 si_pid FAIL: gdb.threads/siginfo-threads.exp: signal 3 si_pid Running ./gdb.base/siginfo-obj.exp ... FAIL: gdb.base/siginfo-obj.exp: p ssi_addr FAIL: gdb.base/siginfo-obj.exp: p ssi_addr The multi-arch patch made GDBserver do the the wrong siginfo layout conversion, because most uses of `linux_is_elf64' were removed, and it ended up never set. A global really is the wrong thing to use as elf64-ness is a per-process property; `linux_is_elf64' was just accidentally left behind. Tested on x86_64 Fedora 17. gdb/gdbserver/ 2013-06-12 Pedro Alves * linux-x86-low.c (linux_is_elf64): Delete global. (x86_siginfo_fixup): Replace reference to `linux_is_elf64' global with local linux_pid_exe_is_elf_64_file use. commit 19588b66da2fa4f71096a96e755b6824a871bb81 Author: pmuldoon Date: Wed Jun 12 12:16:47 2013 +0000 2013-06-12 Phil Muldoon * stack.c (backtrace_command_1): Fix indentation. commit 08410765129c3c84996505f538993bebf1bb973a Author: Alan Modra Date: Wed Jun 12 00:00:04 2013 +0000 daily update commit cacca56f51809f9fc1d6366dbe4406fd94d5f9be Author: gdbadmin Date: Wed Jun 12 00:00:02 2013 +0000 *** empty log message *** commit 142a4c245ed9a79ce295588c85fbc63739b7971b Author: DJ Delorie Date: Tue Jun 11 19:16:07 2013 +0000 * elf32-rl78.c (rl78_elf_relocate_section): Fix OPsub math. commit e05713dd030d5dbad35b7a4f2fce547641e737e7 Author: Pedro Alves Date: Tue Jun 11 18:05:57 2013 +0000 Lazily allocate 'struct regsets_info'::disabled_regsets. There's no need for every arch to pre-allocate disabled_regsets. Chances are the array won't be used. (I have a hunch that with some more work we could dispense with initialize_regsets_info.) Tested on x86_64 Fedora 17 w/ -lmcheck. gdb/gdbserver/ 2013-06-11 Pedro Alves * linux-low.c (regset_disabled, disable_regset): New functions. (regsets_fetch_inferior_registers) (regsets_store_inferior_registers): Use them. (initialize_regsets_info); Don't allocate the disabled_regsets array here. * linux-low.h (struct regsets_info) : Extend comment. commit 901efc30a8dbf43d75c3fe237698fa3966849a01 Author: Pedro Alves Date: Tue Jun 11 17:26:25 2013 +0000 Fix regression from multi-arch patch. This fixes the regression reported at . GDBserver was reaching: static int regsets_fetch_inferior_registers (struct regsets_info *regsets_info, struct regcache *regcache) { struct regset_info *regset; int saw_general_regs = 0; int pid; struct iovec iov; regset = regsets_info->regsets; pid = lwpid_of (get_thread_lwp (current_inferior)); while (regset->size >= 0) { void *buf, *data; int nt_type, res; if (regset->size == 0 || regsets_info->disabled_regsets[regset - regsets_info->regsets]) { >>>>>>> regset ++; <<<<<<< HERE continue; } Because info->disabled_regsets[] was not being initialized, and that causes all sorts of wrong. gdb/gdbserver/ 2013-06-11 Pedro Alves * linux-low.c (initialize_regsets_info): Use xcalloc instead of xmalloc. commit 00d6602ca21bef18541121216d3fd6e8e57e05e0 Author: Pedro Alves Date: Tue Jun 11 13:32:52 2013 +0000 [GDBserver] Initialize the x32 avx target description. All target descriptions must be initialized at startup, but this one was forgotten. gdb/gdbserver/ 2013-06-11 Pedro Alves * linux-x86-low.c (initialize_low_arch): Call init_registers_x32_avx_linux. commit b54c583c9dc7f0c8ae0d2da56f3fb93a71e51d29 Author: Joel Brobecker Date: Tue Jun 11 11:03:42 2013 +0000 windows-nat.c:thread_rec: Add missing empty line after var declaration. gdb/ChangeLog: * window-nat.c (thread_rec): Add missing empty line after local variable declaration. commit 55806c25eac813da365236c2996613e6aeb341f6 Author: Joel Brobecker Date: Tue Jun 11 11:01:45 2013 +0000 [windows] Fix accidental change of %u -> %d in SuspendThread warning. While enhancing the warning printed in when SuspendThread fails, I accidently changed the format used to print the error code from %u to %d. This patch reverts it back. gdb/ChangeLog: * windows-nat.c (thread_rec): Revert format used to print error code returned by SuspendThread from %d back to %u. commit 1e1754a3d30c05ef7e179dba583057083eebf926 Author: Joel Brobecker Date: Tue Jun 11 10:20:24 2013 +0000 windows: Prefix thread ID values with "0x" in debug traces The windows-nat.c debug traces print the thread ID in base 16, but give no indication of it. So, in a trace like the following... gdb: kernel event for pid=4816 tid=720 code=CREATE_THREAD_DEBUG_EVENT) ... where tid is "720", it's easy to be confused and think that the thread ID is 720 rather than 0x720. This patch avoids the confusion by adding the usual "0x" prefix used for hexadecimal values. gdb/ChangeLog: * windows-nat.c (windows_continue): Add "0x" prefix for thread ID in debug trace. (get_windows_debug_event): Likewise, for all debug traces. commit 6776fcaed605fcc6835dc1d7add224bda852fb78 Author: Joel Brobecker Date: Tue Jun 11 10:20:11 2013 +0000 windows: Add thread ID in SuspendThread error warning message. This patch adds the thread ID to a warning printed when a call to SuspendThread fails. It will help investigate issues, particularly when correlated with the various debug traces provided by the windows-nat module. For the record, the output has been changed from... warning: SuspendThread failed. (winerr 6) ... to ... warning: SuspendThread (tid=0x720) failed. (winerr 6) gdb/ChangeLog: * window-nat.c (thread_rec): Add thread ID in SuspendThread warning message. commit 3a433e6f35874b7ba61ed048365ca6a9dd71fe42 Author: willnewton Date: Tue Jun 11 09:25:52 2013 +0000 bfd/elf64-aarch64.c: Use ELF64_R_SYM instead of ELF32_R_SYM. Fix incorrect usage of ELF32_R_SYM introduced in ifunc changes. bfd/ChangeLog: 2013-06-11 Will Newton * elf64-aarch64.c (elf_aarch64_get_local_sym_hash): Use ELF64_R_SYM instead of ELF32_R_SYM. commit 75932b72d870d8b1d48b14dceb53abc966469ce8 Author: Nick Clifton Date: Tue Jun 11 07:21:40 2013 +0000 * elf32-rl78.c (rl78_elf_finish_dynamic_sections): Onlly run checks if the dynamic sections have been created and relaxation has not been performed. commit debeeac623885b04c2a30a5e6212e599023c7c3f Author: Alan Modra Date: Tue Jun 11 00:00:04 2013 +0000 daily update commit 46773a75ce73ca35bd36fcc9b2292eb24875d836 Author: gdbadmin Date: Tue Jun 11 00:00:02 2013 +0000 *** empty log message *** commit d303935e79b890e16fdd6acbbb1325b524243d88 Author: Mike Frysinger Date: Mon Jun 10 02:25:35 2013 +0000 sim: bfin: only regen linux-fixed-code.h in maintainer mode Since many people don't have a Blackfin toolchain available, only try to regenerate the header file when in maintainer mode. This file rarely changes, and when it does, we commit the generated output, so there's almost never a need to run directly on an end system. commit 46b39981ce282ac72d2536427d085f9a83c2a892 Author: Sandra Loosemore Date: Mon Jun 10 01:04:42 2013 +0000 2013-06-09 Sandra Loosemore opcodes/ * nios2-opc.c (nios2_builtin_opcodes): Give "trap" a type-"b" argument. gas/ * config/tc-nios2.c (nios2_parse_args): Allow trap argument to omitted. gas/testsuite/ * gas/nios2/trap.s: Add additional test cases for optional argument. * gas/nios2/trap.d: Likewise. commit 7ab0f9e460b59d1bd6df158ef14243922759cf9f Author: gdbadmin Date: Mon Jun 10 00:00:32 2013 +0000 *** empty log message *** commit 1b87443249230bdb8fa8bf50f441f387721eeb23 Author: Alan Modra Date: Mon Jun 10 00:00:04 2013 +0000 daily update commit 926e3028346f3b536b95f904040a2d696ac60e60 Author: Jan Kratochvil Date: Sun Jun 9 17:08:47 2013 +0000 gdb/gdbserver/ Fix compatibility with Android Bionic. * linux-low.c (linux_qxfer_libraries_svr4): Ignore first entry even if it is not empty. commit 984815e83ea7218e9b297810e8ff541ae81a608f Author: gdbadmin Date: Sun Jun 9 00:00:32 2013 +0000 *** empty log message *** commit b8b4f20298ffb194091ab024904094111123897b Author: Alan Modra Date: Sun Jun 9 00:00:04 2013 +0000 daily update commit a8036ca23145ace743ec0f98db2663c56f9dec7c Author: Richard Sandiford Date: Sat Jun 8 10:22:55 2013 +0000 gas/ 2013-06-08 Catherine Moore * config/tc-mips.c (is_opcode_valid): Build ASE mask. (is_opcode_valid_16): Pass ase value to opcode_is_member. (append_insn): Change INSN_xxxx to ASE_xxxx. include/ 2013-06-08 Catherine Moore * opcode/mips.h (mips_opcode): Add ase field. (INSN_ASE_MASK): Delete. (INSN_DSP): Rename to ASE_DSP. Provide new value. (INSN_DSPR2): Rename to ASE_DSPR2. Provide new value. (INSN_MCU): Rename to ASE_MCU. Provide new value. (INSN_MDMX): Rename to ASE_MDMX. Provide new value. (INSN_MIPS3d): Rename to ASE_MIPS3D. Provide new value. (INSN_MT): Rename to ASE_MT. Provide new value. (INSN_SMARTMIPS): Rename to ASE_SMARTMIPS. Provide new value. (INSN_VIRT): Rename to ASE_VIRT. Provide new value. (INSN_VIRT64): Rename to ASE_VIRT64. Provide new value. (opcode_is_member): Add ase argument. Check ase. opcodes/ 2013-06-08 Catherine Moore Richard Sandiford * micromips-opc.c (D32, D33, MC): Update definitions. (micromips_opcodes): Initialize ase field. * mips-dis.c (mips_arch_choice): Add ase field. (mips_arch_choices): Initialize ase field. (set_default_mips_dis_options): Declare and setup mips_ase. * mips-opc.c (M3D, SMT, MX, IVIRT, IVIRT64, D32, D33, D64, MT32, MC): Update definitions. (mips_builtin_opcodes): Initialize ase field. commit 7dfbc23277be786c5d40f4ca28b7847774216238 Author: qiyao Date: Sat Jun 8 00:21:41 2013 +0000 gdb/ * mi/mi-main.c (get_register): Remove declaration. (output_register): Declare. (mi_cmd_data_list_register_values): Remove local variable 'tuple_cleanup'. Move some code into output_register. (get_register): Renamed to ... (output_register): ... this. Output the register's "number" ui_out tuple here. commit 6c15b536607c0297f9696ca96410b88c7c5e4ec0 Author: Alan Modra Date: Sat Jun 8 00:00:04 2013 +0000 daily update commit 865c724068a13540c75f0e5b0024a19b35a12c14 Author: gdbadmin Date: Sat Jun 8 00:00:02 2013 +0000 *** empty log message *** commit 8306f4153ae79a0c8bf3acd3a07076c3c3aceee1 Author: willnewton Date: Fri Jun 7 18:57:00 2013 +0000 aarch64: Add support for GNU indirect functions. Add support for STT_GNU_IFUNC symbols to the AArch64 bfd backend. The tests are ported from the ld-ifunc tests but are enabled for cross builds so can be run easily without hardware or a simulator. bfd/ChangeLog: 2013-06-07 Will Newton * configure: Regenerate. * configure.in: Build elf-ifunc.o for AArch64. * elf64-aarch64.c: Include objalloc.h. (elf64_aarch64_howto_dynrelocs): Add R_AARCH64_IRELATIVE howto. (struct elf64_aarch64_link_hash_table): Add members for handling R_AARCH64_IRELATIVE relocations. (elf_aarch64_local_htab_hash): New function. (elf_aarch64_local_htab_eq): New function. (elf_aarch64_get_local_sym_hash): New function. (elf64_aarch64_link_hash_table_create): Initialize local STT_GNU_IFUNC symbol hash. (elf64_aarch64_hash_table_free): Free local STT_GNU_IFUNC symbol hash. (elf64_aarch64_final_link_relocate): Add sym argument. Add support for handling STT_GNU_IFUNC symbols. (elf64_aarch64_gc_sweep_hook): Add support for garbage collecting references to STT_GNU_IFUNC symbols. (elf64_aarch64_adjust_dynamic_symbol): Add support for handling STT_GNU_IFUNC symbols. (elf64_aarch64_check_relocs): Add support for handling STT_GNU_IFUNC symbols. Ensure we don't increase plt.refcount from -1 to 0. (elf64_aarch64_post_process_headers): Call _bfd_elf_set_osabi. (elf64_aarch64_is_function_type): Remove function. (elf64_aarch64_allocate_dynrelocs): Call _bfd_elf_allocate_ifunc_dyn_relocs for STT_GNU_IFUNC symbols. (elf_aarch64_allocate_local_dynrelocs): New function. (elf64_aarch64_size_dynamic_sections): Call elf_aarch64_allocate_local_dynrelocs. Initialize next_irelative_index. (elf64_aarch64_create_small_pltn_entry): Add info argument. Add support for creating .iplt entries for STT_GNU_IFUNC symbols. (elf64_aarch64_finish_dynamic_symbol): Add support for handling STT_GNU_IFUNC symbols and .iplt. (elf_aarch64_finish_local_dynamic_symbol): New function. (elf64_aarch64_finish_dynamic_sections): Call elf_aarch64_finish_local_dynamic_symbol. (elf64_aarch64_add_symbol_hook): New function. include/elf/ChangeLog: 2013-06-07 Will Newton * aarch64.h: Add R_AARCH64_IRELATIVE reloc. ld/ChangeLog: 2013-06-07 Will Newton * emulparams/aarch64elf.sh: Add IREL_IN_PLT. ld/testsuite/ChangeLog: 2013-06-07 Will Newton * ld-ifunc/ifunc.exp: Enable ifunc tests for AArch64. * ld-aarch64/aarch64-elf.exp: Add ifunc tests. * ld-aarch64/ifunc-1-local.d: New file. * ld-aarch64/ifunc-1-local.s: Likewise. * ld-aarch64/ifunc-1.d: Likewise. * ld-aarch64/ifunc-1.s: Likewise. * ld-aarch64/ifunc-10.d: Likewise. * ld-aarch64/ifunc-10.s: Likewise. * ld-aarch64/ifunc-11.d: Likewise. * ld-aarch64/ifunc-11.s: Likewise. * ld-aarch64/ifunc-12.d: Likewise. * ld-aarch64/ifunc-12.s: Likewise. * ld-aarch64/ifunc-13.d: Likewise. * ld-aarch64/ifunc-13a.s: Likewise. * ld-aarch64/ifunc-13b.s: Likewise. * ld-aarch64/ifunc-14a.d: Likewise. * ld-aarch64/ifunc-14a.s: Likewise. * ld-aarch64/ifunc-14b.d: Likewise. * ld-aarch64/ifunc-14b.s: Likewise. * ld-aarch64/ifunc-14c.d: Likewise. * ld-aarch64/ifunc-14c.s: Likewise. * ld-aarch64/ifunc-14d.d: Likewise. * ld-aarch64/ifunc-14e.d: Likewise. * ld-aarch64/ifunc-14f.d: Likewise. * ld-aarch64/ifunc-15.d: Likewise. * ld-aarch64/ifunc-15.s: Likewise. * ld-aarch64/ifunc-16.d: Likewise. * ld-aarch64/ifunc-16.s: Likewise. * ld-aarch64/ifunc-17a.d: Likewise. * ld-aarch64/ifunc-17a.s: Likewise. * ld-aarch64/ifunc-17b.d: Likewise. * ld-aarch64/ifunc-17b.s: Likewise. * ld-aarch64/ifunc-18a.d: Likewise. * ld-aarch64/ifunc-18a.s: Likewise. * ld-aarch64/ifunc-18b.d: Likewise. * ld-aarch64/ifunc-18b.s: Likewise. * ld-aarch64/ifunc-19a.d: Likewise. * ld-aarch64/ifunc-19a.s: Likewise. * ld-aarch64/ifunc-19b.d: Likewise. * ld-aarch64/ifunc-19b.s: Likewise. * ld-aarch64/ifunc-2-local.d: Likewise. * ld-aarch64/ifunc-2-local.s: Likewise. * ld-aarch64/ifunc-2.d: Likewise. * ld-aarch64/ifunc-2.s: Likewise. * ld-aarch64/ifunc-20.d: Likewise. * ld-aarch64/ifunc-20.s: Likewise. * ld-aarch64/ifunc-3.s: Likewise. * ld-aarch64/ifunc-3a.d: Likewise. * ld-aarch64/ifunc-3b.d: Likewise. * ld-aarch64/ifunc-4.d: Likewise. * ld-aarch64/ifunc-4.s: Likewise. * ld-aarch64/ifunc-4a.d: Likewise. * ld-aarch64/ifunc-5-local.s: Likewise. * ld-aarch64/ifunc-5.s: Likewise. * ld-aarch64/ifunc-5a-local.d: Likewise. * ld-aarch64/ifunc-5a.d: Likewise. * ld-aarch64/ifunc-5b-local.d: Likewise. * ld-aarch64/ifunc-5b.d: Likewise. * ld-aarch64/ifunc-5r-local.d: Likewise. * ld-aarch64/ifunc-6.s: Likewise. * ld-aarch64/ifunc-6a.d: Likewise. * ld-aarch64/ifunc-6b.d: Likewise. * ld-aarch64/ifunc-7.s: Likewise. * ld-aarch64/ifunc-7a.d: Likewise. * ld-aarch64/ifunc-7b.d: Likewise. * ld-aarch64/ifunc-8.d: Likewise. * ld-aarch64/ifunc-8a.s: Likewise. * ld-aarch64/ifunc-8b.s: Likewise. * ld-aarch64/ifunc-9.d: Likewise. * ld-aarch64/ifunc-9.s: Likewise. commit e0dd06f0a384338523320a769d5bec6b93335235 Author: Pedro Alves Date: Fri Jun 7 17:31:06 2013 +0000 Remove superfluous semicolons from testsuite throughout. A few months ago semicolons after "return" were removed throughout the testsuite. However, as I pointed out in review, they're unnecessary not just after "return", but pretty much after any tcl command. ';' is the command separator, and you only need it if there's another command on the same line afterwards. This patch was written by running: $ find . -name "*.exp" | xargs grep -l ";\s*$" | xargs sed -i 's/\([^#][^\s*;]*\)\s*;\s*$/\1/' and then undoing changes to comments, and lib/future.exp. Tested on x86_64 Fedora 17. gdb/testsuite/ 2013-06-07 Pedro Alves * boards/native-extended-gdbserver.exp: Remove semicolon. * config/arm-ice.exp: Likewise. * config/bfin.exp: Likewise. * config/cygmon.exp: Likewise. * config/h8300.exp: Likewise. * config/monitor.exp: Likewise. * config/sid.exp: Likewise. * config/sim.exp: Likewise. * config/slite.exp: Likewise. * config/vx.exp: Likewise. * gdb.arch/i386-bp_permanent.exp: Likewise. * gdb.asm/asm-source.exp: Likewise. * gdb.base/args.exp: Likewise. * gdb.base/attach-pie-misread.exp: Likewise. * gdb.base/auxv.exp: Likewise. * gdb.base/bigcore.exp: Likewise. * gdb.base/bitfields2.exp: Likewise. * gdb.base/bitfields.exp: Likewise. * gdb.base/break.exp: Likewise. * gdb.base/break-interp.exp: Likewise. * gdb.base/callfuncs.exp: Likewise. * gdb.base/call-sc.exp: Likewise. * gdb.base/commands.exp: Likewise. * gdb.base/corefile.exp: Likewise. * gdb.base/dbx.exp: Likewise. * gdb.base/ending-run.exp: Likewise. * gdb.base/exprs.exp: Likewise. * gdb.base/funcargs.exp: Likewise. * gdb.base/hbreak2.exp: Likewise. * gdb.base/huge.exp: Likewise. * gdb.base/list.exp: Likewise. * gdb.base/memattr.exp: Likewise. * gdb.base/overlays.exp: Likewise. * gdb.base/printcmds.exp: Likewise. * gdb.base/recurse.exp: Likewise. * gdb.base/remotetimeout.exp: Likewise. * gdb.base/reread.exp: Likewise. * gdb.base/savedregs.exp: Likewise. * gdb.base/scope.exp: Likewise. * gdb.base/sepdebug.exp: Likewise. * gdb.base/setshow.exp: Likewise. * gdb.base/setvar.exp: Likewise. * gdb.base/sigaltstack.exp: Likewise. * gdb.base/siginfo-addr.exp: Likewise. * gdb.base/siginfo.exp: Likewise. * gdb.base/siginfo-obj.exp: Likewise. * gdb.base/sigrepeat.exp: Likewise. * gdb.base/sigstep.exp: Likewise. * gdb.base/structs.exp: Likewise. * gdb.base/testenv.exp: Likewise. * gdb.base/twice.exp: Likewise. * gdb.base/valgrind-db-attach.exp: Likewise. * gdb.base/valgrind-infcall.exp: Likewise. * gdb.base/varargs.exp: Likewise. * gdb.base/watchpoint.exp: Likewise. * gdb.cp/gdb1355.exp: Likewise. * gdb.cp/misc.exp: Likewise. * gdb.disasm/hppa.exp: Likewise. * gdb.disasm/t01_mov.exp: Likewise. * gdb.disasm/t02_mova.exp: Likewise. * gdb.disasm/t03_add.exp: Likewise. * gdb.disasm/t04_sub.exp: Likewise. * gdb.disasm/t05_cmp.exp: Likewise. * gdb.disasm/t06_ari2.exp: Likewise. * gdb.disasm/t07_ari3.exp: Likewise. * gdb.disasm/t08_or.exp: Likewise. * gdb.disasm/t09_xor.exp: Likewise. * gdb.disasm/t10_and.exp: Likewise. * gdb.disasm/t11_logs.exp: Likewise. * gdb.disasm/t12_bit.exp: Likewise. * gdb.disasm/t13_otr.exp: Likewise. * gdb.gdb/selftest.exp: Likewise. * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise. * gdb.mi/mi-reverse.exp: Likewise. * gdb.pascal/floats.exp: Likewise. * gdb.python/py-inferior.exp: Likewise. * gdb.threads/attach-into-signal.exp: Likewise. * gdb.threads/pthreads.exp: Likewise. * gdb.threads/thread_events.exp: Likewise. * gdb.threads/watchthreads.exp: Likewise. * gdb.trace/actions-changed.exp: Likewise. * gdb.trace/actions.exp: Likewise. * gdb.trace/ax.exp: Likewise. * gdb.trace/backtrace.exp: Likewise. * gdb.trace/change-loc.exp: Likewise. * gdb.trace/deltrace.exp: Likewise. * gdb.trace/disconnected-tracing.exp: Likewise. * gdb.trace/ftrace.exp: Likewise. * gdb.trace/infotrace.exp: Likewise. * gdb.trace/passc-dyn.exp: Likewise. * gdb.trace/passcount.exp: Likewise. * gdb.trace/pending.exp: Likewise. * gdb.trace/qtro.exp: Likewise. * gdb.trace/range-stepping.exp: Likewise. * gdb.trace/report.exp: Likewise. * gdb.trace/save-trace.exp: Likewise. * gdb.trace/status-stop.exp: Likewise. * gdb.trace/strace.exp: Likewise. * gdb.trace/tfile.exp: Likewise. * gdb.trace/tfind.exp: Likewise. * gdb.trace/trace-break.exp: Likewise. * gdb.trace/tracecmd.exp: Likewise. * gdb.trace/trace-mt.exp: Likewise. * gdb.trace/tspeed.exp: Likewise. * gdb.trace/tsv.exp: Likewise. * gdb.trace/while-stepping.exp: Likewise. * lib/gdb.exp: Likewise. * lib/gdbserver-support.exp: Likewise. * lib/java.exp: Likewise. * lib/mi-support.exp: Likewise. * lib/pascal.exp: Likewise. * lib/prompt.exp: Likewise. * lib/trace-support.exp: Likewise. commit 45895d8453d380eca6acce2bf23ebb363f391e93 Author: Pedro Alves Date: Fri Jun 7 14:39:30 2013 +0000 Fix formating in copyright headers. File list found with: $ grep "along with this program" * -A 1 -rn \ | grep "*/" \ | grep -v "along with this program" \ | sed 's,-[0-9]\+-.*,,g' Tested on x86_64 Fedora 17. gdb/ 2013-06-07 Pedro Alves * darwin-nat.c: Fix formating in copyright header. * darwin-nat.h: Likewise. * gnu-nat.c: Likewise. * machoread.c: Likewise. gdb/testsuite/ 2013-06-07 Pedro Alves * gdb.ada/info_types.c: Fix formating in copyright header. * gdb.base/break-on-linker-gcd-function.cc: Likewise. * gdb.base/float.c: Likewise. * gdb.base/inferior-died.c: Likewise. * gdb.base/interp.c: Likewise. * gdb.base/jit-main.c: Likewise. * gdb.base/jit-solib.c: Likewise. * gdb.base/long_long.c: Likewise. * gdb.base/longjmp.c: Likewise. * gdb.base/nextoverexit.c: Likewise. * gdb.base/pr11022.c: Likewise. * gdb.base/prelink-lib.c: Likewise. * gdb.base/prelink.c: Likewise. * gdb.base/prologue.c: Likewise. * gdb.base/restore.c: Likewise. * gdb.base/sigchld.c: Likewise. * gdb.base/solib-search-lib1.c: Likewise. * gdb.base/solib-search-lib2.c: Likewise. * gdb.base/solib-search.c: Likewise. * gdb.base/solib-search.h: Likewise. * gdb.base/whatis.c: Likewise. * gdb.cp/abstract-origin.cc: Likewise. * gdb.cp/anon-struct.cc: Likewise. * gdb.cp/baseenum.cc: Likewise. * gdb.cp/bs15503.cc: Likewise. * gdb.cp/call-c-1.c: Likewise. * gdb.cp/call-c.cc: Likewise. * gdb.cp/class2.cc: Likewise. * gdb.cp/classes.cc: Likewise. * gdb.cp/cttiadd.cc: Likewise. * gdb.cp/cttiadd1.cc: Likewise. * gdb.cp/cttiadd2.cc: Likewise. * gdb.cp/cttiadd3.cc: Likewise. * gdb.cp/derivation.cc: Likewise. * gdb.cp/derivation2.cc: Likewise. * gdb.cp/dispcxx.cc: Likewise. * gdb.cp/exception.cc: Likewise. * gdb.cp/gdb2384-base.cc: Likewise. * gdb.cp/gdb2384-base.h: Likewise. * gdb.cp/gdb2384.cc: Likewise. * gdb.cp/gdb2495.cc: Likewise. * gdb.cp/mb-inline.h: Likewise. * gdb.cp/mb-inline1.cc: Likewise. * gdb.cp/mb-inline2.cc: Likewise. * gdb.cp/member-name.cc: Likewise. * gdb.cp/member-ptr.cc: Likewise. * gdb.cp/misc.cc: Likewise. * gdb.cp/namespace1.cc: Likewise. * gdb.cp/nextoverthrow.cc: Likewise. * gdb.cp/pr-574.cc: Likewise. * gdb.cp/pr9631.cc: Likewise. * gdb.cp/printmethod.cc: Likewise. * gdb.cp/psmang1.cc: Likewise. * gdb.cp/psmang2.cc: Likewise. * gdb.cp/psymtab-parameter.cc: Likewise. * gdb.cp/ptype-flags.cc: Likewise. * gdb.cp/ref-params.cc: Likewise. * gdb.cp/ref-types.cc: Likewise. * gdb.cp/smartp.cc: Likewise. * gdb.cp/try_catch.cc: Likewise. * gdb.cp/userdef.cc: Likewise. * gdb.cp/using-crash.cc: Likewise. * gdb.cp/virtfunc.cc: Likewise. * gdb.cp/virtfunc2.cc: Likewise. * gdb.dwarf2/callframecfa.S: Likewise. * gdb.dwarf2/dw2-ranges.c: Likewise. * gdb.dwarf2/dw2-ranges2.c: Likewise. * gdb.dwarf2/dw2-ranges3.c: Likewise. * gdb.dwarf2/dw2-restore.S: Likewise. * gdb.dwarf2/pieces.S: Likewise. * gdb.dwarf2/valop.S: Likewise. * gdb.java/jnpe.java: Likewise. * gdb.mi/mi-stepn.c: Likewise. * gdb.mi/mi-var-cp.cc: Likewise. * gdb.mi/mi-var-rtti.cc: Likewise. * gdb.mi/ns-stale-regcache.c: Likewise. * gdb.mi/pr11022.c: Likewise. * gdb.mi/solib-lib.c: Likewise. * gdb.mi/solib-main.c: Likewise. * gdb.python/py-arch.c: Likewise. * gdb.python/py-block.c: Likewise. * gdb.python/py-breakpoint.c: Likewise. * gdb.python/py-events.c: Likewise. * gdb.python/py-evthreads.c: Likewise. * gdb.python/py-explore.c: Likewise. * gdb.python/py-explore.cc: Likewise. * gdb.python/py-finish-breakpoint.c: Likewise. * gdb.python/py-finish-breakpoint2.cc: Likewise. * gdb.python/py-symbol.c: Likewise. * gdb.threads/execl.c: Likewise. * gdb.threads/execl1.c: Likewise. commit 42b6105c2ab06d684595414c4fb6ac2b2056019f Author: Pedro Alves Date: Fri Jun 7 10:55:22 2013 +0000 Mention PR server/14823 in ChangeLogs. commit 412f6d9c3dd9bf3049d1b78aefdc7391f95b5484 Author: Pedro Alves Date: Fri Jun 7 10:46:57 2013 +0000 [GDBserver] Multi-process + multi-arch This patch makes GDBserver support multi-process + biarch. Currently, if you're debugging more than one process at once with a single gdbserver (in extended-remote mode), then all processes must have the same architecture (e.g., 64-bit vs 32-bit). Otherwise, you see this: Added inferior 2 [Switching to inferior 2 [] ()] Reading symbols from /home/pedro/gdb/tests/main32...done. Temporary breakpoint 2 at 0x4004cf: main. (2 locations) Starting program: /home/pedro/gdb/tests/main32 warning: Selected architecture i386 is not compatible with reported target architecture i386:x86-64 warning: Architecture rejected target-supplied description Remote 'g' packet reply is too long: 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000090cfffff0000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000b042f7460000000000020000230000002b0000002b0000002b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007f03000000000000ffff0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000801f00003b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ... etc, etc ... Even though the process was running a 32-bit program, GDBserver sent back to GDB a register set in 64-bit layout. A patch (http://sourceware.org/ml/gdb-patches/2012-11/msg00228.html) a while ago made GDB track a target_gdbarch per inferior, and as consequence, fetch a target description per-inferior. This patch is the GDBserver counterpart, that makes GDBserver keep track of each process'es XML target description and register layout. So in the example above, GDBserver will send the correct register set in 32-bit layout to GDB. A new "struct target_desc" object (tdesc for short) is added, that holds the target description and register layout information about each process. Each `struct process_info' holds a pointer to a target description. The regcache also gains a pointer to a target description, mainly for convenience, and parallel with GDB (and possible future support for programs that flip processor modes). The low target's arch_setup routines are responsible for setting the process'es correct tdesc. This isn't that much different to how things were done before, except that instead of detecting the inferior process'es architecture and calling the corresponding init_registers_FOO routine, which would change the regcache layout globals and recreate the threads' regcaches, the regcache.c globals are gone, and the init_registers_$BAR routines now each initialize a separate global struct target_desc object (one for each arch variant GDBserver supports), and so all the init_registers_$BAR routines that are built into GDBserver are called early at GDBserver startup time (similarly to how GDB handles its built-in target descriptions), and then the arch_setup routine is responsible for making process_info->tdesc point to one of these target description globals. The regcache module is all parameterized to get the regcache's layout from the tdesc object instead of the old register_bytes, etc. globals. The threads' regcaches are now created lazily. The old scheme where we created each of them when we added a new thread doesn't work anymore, because we add the main thread/lwp before we see it stop for the first time, and it is only when we see the thread stop for the first time that we have a chance of determining the inferior's architecture (through the_low_target.arch_setup). Therefore when we add the main thread we don't know which architecture/tdesc its regcache should have. This patch makes the gdb.multi/multi-arch.exp test now pass against (extended-remote) GDBserver. It currently fails, without this patch. The IPA also uses the regcache, so it gains a new global struct target_desc pointer, which points at the description of the process it is loaded in. Re. the linux-low.c & friends changes. Since the register map etc. may differ between processes (64-bit vs 32-bit) etc., the linux_target_ops num_regs, regmap and regset_bitmap data fields are no longer sufficient. A new method is added in their place that returns a pointer to a new struct that includes all info linux-low.c needs to access registers of the current inferior. The patch/discussion that originally introduced linux-low.c:disabled_regsets mentions that the disabled_regsets set may be different per mode (in a biarch setup), and indeed that is cleared whenever we start a new (first) inferior, so that global is moved as well behind the new `struct regs_info'. On the x86 side: I simply replaced the i387-fp.c:num_xmm_registers global with a check for 64-bit or 32-bit process, which is equivalent to how the global was set. This avoided coming up with some more general mechanism that would work for all targets that use this module (GNU/Linux, Windows, etc.). Tested: GNU/Linux IA64 GNU/Linux MIPS64 GNU/Linux PowerPC (Fedora 16) GNU/Linux s390x (Fedora 16) GNU/Linux sparc64 (Debian) GNU/Linux x86_64, -m64 and -m32 (Fedora 17) Cross built, and smoke tested: i686-w64-mingw32, under Wine. GNU/Linux TI C6x, by Yao Qi. Cross built but otherwise not tested: aarch64-linux-gnu arm-linux-gnu m68k-linux nios2-linux-gnu sh-linux-gnu spu tilegx-unknown-linux-gnu Completely untested: GNU/Linux Blackfin GNU/Linux CRIS GNU/Linux CRISv32 GNU/Linux TI Xtensa GNU/Linux M32R LynxOS QNX NTO gdb/gdbserver/ 2013-06-07 Pedro Alves * Makefile.in (OBS): Add tdesc.o. (IPA_OBJS): Add tdesc-ipa.o. (tdesc-ipa.o): New rule. * ax.c (gdb_eval_agent_expr): Adjust register_size call to new interface. * linux-low.c (new_inferior): Delete. (disabled_regsets, num_regsets): Delete. (linux_add_process): Adjust to set the new per-process new_inferior flag. (linux_detach_one_lwp): Adjust to call regcache_invalidate_thread. (linux_wait_for_lwp): Adjust. Only call arch_setup if the event was a stop. When calling arch_setup, switch the current inferior to the thread that got an event. (linux_resume_one_lwp): Adjust to call regcache_invalidate_thread. (regsets_fetch_inferior_registers) (regsets_store_inferior_registers): New regsets_info parameter. Adjust to use it. (linux_register_in_regsets): New regs_info parameter. Adjust to use it. (register_addr, fetch_register, store_register): New usrregs_info parameter. Adjust to use it. (usr_fetch_inferior_registers, usr_store_inferior_registers): New parameter regs_info. Adjust to use it. (linux_fetch_registers): Get the current inferior's regs_info, and adjust to use it. (linux_store_registers): Ditto. [HAVE_LINUX_REGSETS] (initialize_regsets_info): New. (initialize_low): Don't initialize the target_regsets here. Call initialize_low_arch. * linux-low.h (target_regsets): Delete declaration. (struct regsets_info): New. (struct usrregs_info): New. (struct regs_info): New. (struct process_info_private) : New field. (struct linux_target_ops): Delete the num_regs, regmap, and regset_bitmap fields. New field regs_info. [HAVE_LINUX_REGSETS] (initialize_regsets_info): Declare. * i387-fp.c (num_xmm_registers): Delete. (i387_cache_to_fsave, i387_fsave_to_cache): Adjust find_regno calls to new interface. (i387_cache_to_fxsave, i387_cache_to_xsave, i387_fxsave_to_cache) (i387_xsave_to_cache): Adjust find_regno calls to new interface. Infer the number of xmm registers from the regcache's target description. * i387-fp.h (num_xmm_registers): Delete. * inferiors.c (add_thread): Don't install the thread's regcache here. * proc-service.c (gregset_info): Fetch the current inferior's regs_info. Adjust to use it. * regcache.c: Include tdesc.h. (register_bytes, reg_defs, num_registers) (gdbserver_expedite_regs): Delete. (get_thread_regcache): If the thread doesn't have a regcache yet, create one, instead of aborting gdbserver. (regcache_invalidate_one): Rename to ... (regcache_invalidate_thread): ... this. (regcache_invalidate_one): New. (regcache_invalidate): Only invalidate registers of the current process. (init_register_cache): Add target_desc parameter, and use it. (new_register_cache): Ditto. Assert the target description has a non zero registers_size. (regcache_cpy): Add assertions. Adjust. (realloc_register_cache, set_register_cache): Delete. (registers_to_string, registers_from_string): Adjust. (find_register_by_name, find_regno, find_register_by_number) (register_cache_size): Add target_desc parameter, and use it. (free_register_cache_thread, free_register_cache_thread_one) (regcache_release, register_cache_size): New. (register_size): Add target_desc parameter, and use it. (register_data, supply_register, supply_register_zeroed) (supply_regblock, supply_register_by_name, collect_register) (collect_register_as_string, collect_register_by_name): Adjust. * regcache.h (struct target_desc): Forward declare. (struct regcache) : New field. (init_register_cache, new_register_cache): Add target_desc parameter. (regcache_invalidate_thread): Declare. (regcache_invalidate_one): Delete declaration. (regcache_release): Declare. (find_register_by_number, register_cache_size, register_size) (find_regno): Add target_desc parameter. (gdbserver_expedite_regs, gdbserver_xmltarget): Delete declarations. * remote-utils.c: Include tdesc.h. (outreg, prepare_resume_reply): Adjust. * server.c: Include tdesc.h. (gdbserver_xmltarget): Delete declaration. (get_features_xml, process_serial_event): Adjust. * server.h [IN_PROCESS_AGENT] (struct target_desc): Forward declare. (struct process_info) : New field. (ipa_tdesc): Declare. * tdesc.c: New file. * tdesc.h: New file. * tracepoint.c: Include tdesc.h. [IN_PROCESS_AGENT] (ipa_tdesc): Define. (get_context_regcache): Adjust to pass ipa_tdesc down. (do_action_at_tracepoint): Adjust to get the register cache size from the context regcache's description. (traceframe_walk_blocks): Adjust to get the register cache size from the current trace frame's description. (traceframe_get_pc): Adjust to get current trace frame's description and pass it down. (gdb_collect): Adjust to get the register cache size from the IPA's description. * linux-amd64-ipa.c (tdesc_amd64_linux): Declare. (gdbserver_xmltarget): Delete. (initialize_low_tracepoint): Set the ipa's target description. * linux-i386-ipa.c (tdesc_i386_linux): Declare. (initialize_low_tracepoint): Set the ipa's target description. * linux-x86-low.c: Include tdesc.h. [__x86_64__] (is_64bit_tdesc): New. (ps_get_thread_area, x86_get_thread_area): Use it. (i386_cannot_store_register): Rename to ... (x86_cannot_store_register): ... this. Use is_64bit_tdesc. (i386_cannot_fetch_register): Rename to ... (x86_cannot_fetch_register): ... this. Use is_64bit_tdesc. (x86_fill_gregset, x86_store_gregset): Adjust register_size calls to new interface. (target_regsets): Rename to ... (x86_regsets): ... this. (x86_get_pc, x86_set_pc): Adjust register_size calls to new interface. (x86_siginfo_fixup): Use is_64bit_tdesc. [__x86_64__] (tdesc_amd64_linux, tdesc_amd64_avx_linux) (tdesc_x32_avx_linux, tdesc_x32_linux) (tdesc_i386_linux, tdesc_i386_mmx_linux, tdesc_i386_avx_linux): Declare. (x86_linux_update_xmltarget): Delete. (I386_LINUX_XSAVE_XCR0_OFFSET): Define. (have_ptrace_getfpxregs, have_ptrace_getregset): New. (AMD64_LINUX_USER64_CS): New. (x86_linux_read_description): New, based on x86_linux_update_xmltarget. (same_process_callback): New. (x86_arch_setup_process_callback): New. (x86_linux_update_xmltarget): New. (x86_regsets_info): New. (amd64_linux_regs_info): New. (i386_linux_usrregs_info): New. (i386_linux_regs_info): New. (x86_linux_regs_info): New. (x86_arch_setup): Reimplement. (x86_install_fast_tracepoint_jump_pad): Use is_64bit_tdesc. (x86_emit_ops): Ditto. (the_low_target): Adjust. Install x86_linux_regs_info, x86_cannot_fetch_register, and x86_cannot_store_register. (initialize_low_arch): New. * linux-ia64-low.c (tdesc_ia64): Declare. (ia64_fetch_register): Adjust. (ia64_usrregs_info, regs_info): New globals. (ia64_regs_info): New function. (the_low_target): Adjust. (initialize_low_arch): New function. * linux-sparc-low.c (tdesc_sparc64): Declare. (sparc_fill_gregset_to_stack, sparc_store_gregset_from_stack): Adjust. (sparc_arch_setup): New function. (sparc_regsets_info, sparc_usrregs_info, regs_info): New globals. (the_low_target): Adjust. (initialize_low_arch): New function. * linux-ppc-low.c (tdesc_powerpc_32l, tdesc_powerpc_altivec32l) (tdesc_powerpc_cell32l, tdesc_powerpc_vsx32l) (tdesc_powerpc_isa205_32l, tdesc_powerpc_isa205_altivec32l) (tdesc_powerpc_isa205_vsx32l, tdesc_powerpc_e500l) (tdesc_powerpc_64l, tdesc_powerpc_altivec64l) (tdesc_powerpc_cell64l, tdesc_powerpc_vsx64l) (tdesc_powerpc_isa205_64l, tdesc_powerpc_isa205_altivec64l) (tdesc_powerpc_isa205_vsx64l): Declare. (ppc_cannot_store_register, ppc_collect_ptrace_register) (ppc_supply_ptrace_register, parse_spufs_run, ppc_get_pc) (ppc_set_pc, ppc_get_hwcap): Adjust. (ppc_usrregs_info): Forward declare. (!__powerpc64__) ppc_regmap_adjusted: New global. (ppc_arch_setup): Adjust to the current process'es target description. (ppc_fill_vsxregset, ppc_store_vsxregset, ppc_fill_vrregset) (ppc_store_vrregset, ppc_fill_evrregset, ppc_store_evrregse) (ppc_store_evrregset): Adjust. (target_regsets): Rename to ... (ppc_regsets): ... this, and make static. (ppc_usrregs_info, ppc_regsets_info, regs_info): New globals. (ppc_regs_info): New function. (the_low_target): Adjust. (initialize_low_arch): New function. * linux-s390-low.c (tdesc_s390_linux32, tdesc_s390_linux32v1) (tdesc_s390_linux32v2, tdesc_s390_linux64, tdesc_s390_linux64v1) (tdesc_s390_linux64v2, tdesc_s390x_linux64, tdesc_s390x_linux64v1) (tdesc_s390x_linux64v2): Declare. (s390_collect_ptrace_register, s390_supply_ptrace_register) (s390_fill_gregset, s390_store_last_break): Adjust. (target_regsets): Rename to ... (s390_regsets): ... this, and make static. (s390_get_pc, s390_set_pc): Adjust. (s390_get_hwcap): New target_desc parameter, and use it. [__s390x__] (have_hwcap_s390_high_gprs): New global. (s390_arch_setup): Adjust to set the current process'es target description. Don't adjust the regmap. (s390_usrregs_info, s390_regsets_info, regs_info): New globals. [__s390x__] (s390_usrregs_info_3264, s390_regsets_info_3264) (regs_info_3264): New globals. (s390_regs_info): New function. (the_low_target): Adjust. (initialize_low_arch): New function. * linux-mips-low.c (tdesc_mips_linux, tdesc_mips_dsp_linux) (tdesc_mips64_linux, tdesc_mips64_dsp_linux): Declare. [__mips64] (init_registers_mips_linux) (init_registers_mips_dsp_linux): Delete defines. [__mips64] (tdesc_mips_linux, tdesc_mips_dsp_linux): New defines. (have_dsp): New global. (mips_read_description): New, based on mips_arch_setup. (mips_arch_setup): Reimplement. (get_usrregs_info): New function. (mips_cannot_fetch_register, mips_cannot_store_register) (mips_get_pc, mips_set_pc, mips_fill_gregset, mips_store_gregset) (mips_fill_fpregset, mips_store_fpregset): Adjust. (target_regsets): Rename to ... (mips_regsets): ... this, and make static. (mips_regsets_info, mips_dsp_usrregs_info, mips_usrregs_info) (dsp_regs_info, regs_info): New globals. (mips_regs_info): New function. (the_low_target): Adjust. (initialize_low_arch): New function. * linux-arm-low.c (tdesc_arm, tdesc_arm_with_iwmmxt) (tdesc_arm_with_vfpv2, tdesc_arm_with_vfpv3, tdesc_arm_with_neon): Declare. (arm_fill_vfpregset, arm_store_vfpregset): Adjust. (arm_read_description): New, with bits factored from arm_arch_setup. (arm_arch_setup): Reimplement. (target_regsets): Rename to ... (arm_regsets): ... this, and make static. (arm_regsets_info, arm_usrregs_info, regs_info): New globals. (arm_regs_info): New function. (the_low_target): Adjust. (initialize_low_arch): New function. * linux-m68k-low.c (tdesc_m68k): Declare. (target_regsets): Rename to ... (m68k_regsets): ... this, and make static. (m68k_regsets_info, m68k_usrregs_info, regs_info): New globals. (m68k_regs_info): New function. (m68k_arch_setup): New function. (the_low_target): Adjust. (initialize_low_arch): New function. * linux-sh-low.c (tdesc_sharch): Declare. (target_regsets): Rename to ... (sh_regsets): ... this, and make static. (sh_regsets_info, sh_usrregs_info, regs_info): New globals. (sh_regs_info, sh_arch_setup): New functions. (the_low_target): Adjust. (initialize_low_arch): New function. * linux-bfin-low.c (tdesc_bfin): Declare. (bfin_arch_setup): New function. (bfin_usrregs_info, regs_info): New globals. (bfin_regs_info): New function. (the_low_target): Adjust. (initialize_low_arch): New function. * linux-cris-low.c (tdesc_cris): Declare. (cris_arch_setup): New function. (cris_usrregs_info, regs_info): New globals. (cris_regs_info): New function. (the_low_target): Adjust. (initialize_low_arch): New function. * linux-cris-low.c (tdesc_crisv32): Declare. (cris_arch_setup): New function. (cris_regsets_info, cris_usrregs_info, regs_info): New globals. (cris_regs_info): New function. (the_low_target): Adjust. (initialize_low_arch): New function. * linux-m32r-low.c (tdesc_m32r): Declare. (m32r_arch_setup): New function. (m32r_usrregs_info, regs_info): New globals. (m32r_regs_info): Adjust. (initialize_low_arch): New function. * linux-tic6x-low.c (tdesc_tic6x_c64xp_linux) (tdesc_tic6x_c64x_linux, tdesc_tic6x_c62x_linux): Declare. (tic6x_usrregs_info): Forward declare. (tic6x_read_description): New function, based on ... (tic6x_arch_setup): ... this. Reimplement. (target_regsets): Rename to ... (tic6x_regsets): ... this, and make static. (tic6x_regsets_info, tic6x_usrregs_info, regs_info): New globals. (tic6x_regs_info): New function. (the_low_target): Adjust. (initialize_low_arch): New function. * linux-xtensa-low.c (tdesc_xtensa): Declare. (xtensa_fill_gregset, xtensa_store_gregset): Adjust. (target_regsets): Rename to ... (xtensa_regsets): ... this, and make static. (xtensa_regsets_info, xtensa_usrregs_info, regs_info): New globals. (xtensa_arch_setup, xtensa_regs_info): New functions. (the_low_target): Adjust. (initialize_low_arch): New function. * linux-nios2-low.c (tdesc_nios2_linux): Declare. (nios2_arch_setup): Set the current process'es tdesc. (target_regsets): Rename to ... (nios2_regsets): ... this. (nios2_regsets_info, nios2_usrregs_info, regs_info): New globals. (nios2_regs_info): New function. (the_low_target): Adjust. (initialize_low_arch): New function. * linux-aarch64-low.c (tdesc_aarch64): Declare. (aarch64_arch_setup): Set the current process'es tdesc. (target_regsets): Rename to ... (aarch64_regsets): ... this. (aarch64_regsets_info, aarch64_usrregs_info, regs_info): New globals. (aarch64_regs_info): New function. (the_low_target): Adjust. (initialize_low_arch): New function. * linux-tile-low.c (tdesc_tilegx, tdesc_tilegx32): Declare globals. (target_regsets): Rename to ... (tile_regsets): ... this. (tile_regsets_info, tile_usrregs_info, regs_info): New globals. (tile_regs_info): New function. (tile_arch_setup): Set the current process'es tdesc. (the_low_target): Adjust. (initialize_low_arch): New function. * spu-low.c (tdesc_spu): Declare. (spu_create_inferior, spu_attach): Set the new process'es tdesc. * win32-arm-low.c (tdesc_arm): Declare. (arm_arch_setup): New function. (the_low_target): Install arm_arch_setup instead of init_registers_arm. * win32-i386-low.c (tdesc_i386, tdesc_amd64): Declare. (init_windows_x86): Rename to ... (i386_arch_setup): ... this. Set `win32_tdesc'. (the_low_target): Adjust. * win32-low.c (win32_tdesc): New global. (child_add_thread): Don't create the thread cache here. (do_initial_child_stuff): Set the new process'es tdesc. * win32-low.h (struct target_desc): Forward declare. (win32_tdesc): Declare. * lynx-i386-low.c (tdesc_i386): Declare global. (lynx_i386_arch_setup): Set `lynx_tdesc'. * lynx-low.c (lynx_tdesc): New global. (lynx_add_process): Set the new process'es tdesc. * lynx-low.h (struct target_desc): Forward declare. (lynx_tdesc): Declare global. * lynx-ppc-low.c (tdesc_powerpc_32): Declare global. (lynx_ppc_arch_setup): Set `lynx_tdesc'. * nto-low.c (nto_tdesc): New global. (do_attach): Set the new process'es tdesc. * nto-low.h (struct target_desc): Forward declare. (nto_tdesc): Declare. * nto-x86-low.c (tdesc_i386): Declare. (nto_x86_arch_setup): Set `nto_tdesc'. gdb/ 2013-06-07 Pedro Alves * regformats/regdat.sh: Output #include tdesc.h. Make globals static. Output a global target description pointer. (init_registers_${name}): Adjust to initialize a target description structure. commit 7c56eaa2a0e8d0026b30db4bb7ed5dac7714c780 Author: willnewton Date: Fri Jun 7 08:53:32 2013 +0000 gdb/testsuite/gdb.base/long_long.exp: Fix ARM EABI target glob. The current glob missed gnueabihf targets. Expand to catch these cases and fix the test failure on those systems. gdb/testsuite/ChangeLog: 2013-06-07 Will Newton * gdb.base/long_long.exp: Fix ARM EABI target glob. commit 8bf0fc50a745b6a5c727dff87cb38d2f6c922940 Author: willnewton Date: Fri Jun 7 08:51:42 2013 +0000 gdb/testsuite/gdb.cp/annota2.exp: Add missing empty line in output. There should be an empty line between "post-prompt" and "starting". This fixes a testsuite failure on ARM. gdb/testsuite/ChangeLog: 2013-06-07 Will Newton * gdb.cp/annota2.exp: Add empty line between "post-prompt" and "starting". commit 5ba9957aac5fc02b7c774aad69d9582fa5d413ff Author: willnewton Date: Fri Jun 7 08:47:09 2013 +0000 gdb/testsuite/gdb.cp: Fix tests for ARM C++ ABI. The ARM C++ ABI defines constructors and destructors to return pointers to this. The C++ tests that check the types of constructors and destructors expect a return type of void. Conditionalize these tests so they pass on ARM. gdb/testsuite/ChangeLog: 2013-06-07 Will Newton * gdb.cp/anon-struct.exp: Conditionalize constructor and destructor prototypes for ARM ABI. * gdb.cp/m-static.exp: Likewise. commit f34c4136fdbb75c35ce3144e810b2633a737dd48 Author: willnewton Date: Fri Jun 7 07:49:09 2013 +0000 gdb/printcmd.c: Fix printing of Thumb minimal symbols. In build_address_symbolic we call gdbarch_addr_bits_remove for symbols in the symbol table but not for minimal symbols. This causes a failure in gdb.cp/virtfunc.exp on ARM, as the address of the virtual thunk is given an offset of 1 when in Thumb mode. gdb/ChangeLog: 2013-06-07 Will Newton * printcmd.c (build_address_symbolic): Call gdbarch_addr_bits_remove for text minimal symbols. commit 9c543ebf2eeb2698cb4128f7f9e1e2716790121d Author: willnewton Date: Fri Jun 7 07:44:19 2013 +0000 gdb/MAINTAINERS: Add myself to Write After Approval. gdb/ChangeLog: 2013-06-07 Will Newton * MAINTAINERS: Add myself to Write After Approval. commit e3d3ffe8e2191706b4adb8063acfefdb1a53308f Author: qiyao Date: Fri Jun 7 00:33:24 2013 +0000 gdb/doc/ * gdb.texinfo (Symbols): Add kindex and cindex for 'maint print msymbols'. commit dae5167feb0a7f441503b56a30e3a44166d21459 Author: qiyao Date: Fri Jun 7 00:29:19 2013 +0000 gdb/testsuite/ * gdb.trace/mi-trace-unavailable.exp: New. * gdb.trace/trace-unavailable.c: New. commit 1c84a012eae901086a22b0fb01b4b4e142c584c3 Author: qiyao Date: Fri Jun 7 00:19:35 2013 +0000 gdb/ * tracepoint.c (start_tracing): Move code to ... (trace_reset_local_state): ... here. New. (disconnect_tracing): Don't call set_current_traceframe, set_tracepoint_num, and set_traceframe_context. Call trace_reset_local_state instead. (tfile_close): Call trace_reset_local_state. * ctf.c (ctf_close): Likewise. * remote.c (remote_close): Likewise. * tracepoint.h (trace_reset_local_state): Declare. commit e11f0c0337e63b9170900b452ca0990f804d729c Author: Alan Modra Date: Fri Jun 7 00:00:05 2013 +0000 daily update commit 4d54e920dcdfbb93fca782d1989aae539cd50e04 Author: gdbadmin Date: Fri Jun 7 00:00:03 2013 +0000 *** empty log message *** commit de07f81d1d66a6e16b60b53f1cb0b9126dc6d50b Author: Doug Evans Date: Thu Jun 6 23:51:08 2013 +0000 * dwarf2read.c: Whitespace fixes for DWP file format documentation, and fix header docs. commit a6808c0c8f122f5940c0556f4a23b4faf85f952c Author: Maciej W. Rozycki Date: Thu Jun 6 22:09:07 2013 +0000 * mips.h (ELF_ST_SET_MIPS_PIC): Clear any STO_MIPS16 setting. commit 312d69cced726700c40eb8affd224ffa0f6e141b Author: Doug Evans Date: Thu Jun 6 19:02:26 2013 +0000 * gdb.cp/derivation.exp: Make tests have unique names. commit dca4d6be9dbb46d002e992fc1f8062f737f3f5b7 Author: Tom Tromey Date: Thu Jun 6 19:00:13 2013 +0000 * gdb.base/dump.exp (capture_value): Don't put expression into test name if arguments passed in. Rename a couple more tests to make them unique. commit 377d4926e91e18e2446f8be7a10ffaa254f6b3ae Author: Doug Evans Date: Thu Jun 6 18:02:48 2013 +0000 Add PR number to this entry: PR server/15594 * linux-x86-low.c (ps_get_thread_area): Properly extend address to 64 bits in 64-cross-32 environment. commit 0fe49c97e446b21adc088124181c755dddaa6b3e Author: Tom Tromey Date: Thu Jun 6 15:50:37 2013 +0000 * gdb.base/break-always.exp: Explicitly specify test name. commit 7bb9e3e26deb8909c037aa47db2d9129e0cd52cf Author: gary Date: Thu Jun 6 08:50:08 2013 +0000 Add missing PR to ChangeLog entry ----------------------------------------------------------------------- Summary of changes: ChangeLog | 5 + bfd/ChangeLog | 200 +++ bfd/bfd-in2.h | 9 +- bfd/cache.c | 38 +- bfd/coff-rs6000.c | 4 +- bfd/coff64-rs6000.c | 3 + bfd/config.in | 6 + bfd/configure | 16 +- bfd/configure.in | 8 +- bfd/dwarf2.c | 148 ++- bfd/ecoff.c | 4 +- bfd/elf32-arm.c | 9 +- bfd/elf32-mips.c | 22 + bfd/elf32-rl78.c | 35 +- bfd/elf32-vax.c | 19 +- bfd/elf64-aarch64.c | 755 ++++++++-- bfd/elf64-mips.c | 23 + bfd/elfn32-mips.c | 23 + bfd/elfxx-mips.c | 2 +- bfd/format.c | 22 +- bfd/libbfd.h | 5 +- bfd/opncls.c | 189 ++- bfd/reloc.c | 6 +- bfd/srec.c | 7 +- bfd/syms.c | 10 +- bfd/sysdep.h | 4 + bfd/version.h | 2 +- gdb/.gitignore | 1 + gdb/ChangeLog | 1280 +++++++++++++++++ gdb/ChangeLog-2009 | 2 +- gdb/ChangeLog-2011 | 2 +- gdb/MAINTAINERS | 1 + gdb/Makefile.in | 8 +- gdb/NEWS | 44 + gdb/aarch64-tdep.c | 2 - gdb/acinclude.m4 | 2 +- gdb/ada-lang.c | 44 +- gdb/breakpoint.c | 35 +- gdb/breakpoint.h | 3 +- gdb/c-valprint.c | 24 +- gdb/cleanups.c | 5 +- gdb/cli/cli-cmds.c | 10 +- gdb/cli/cli-dump.c | 3 +- gdb/cli/cli-logging.c | 9 +- gdb/cli/cli-script.c | 25 +- gdb/common/filestuff.c | 10 +- gdb/config.in | 3 + gdb/configure | 241 +++- gdb/configure.ac | 15 +- gdb/contrib/cc-with-tweaks.sh | 11 +- gdb/contrib/cleanup_check.py | 335 +++++ gdb/contrib/gcc-with-excheck | 32 +- gdb/corelow.c | 16 +- gdb/cp-namespace.c | 39 +- gdb/ctf.c | 2 + gdb/darwin-nat.c | 3 +- gdb/darwin-nat.h | 3 +- gdb/data-directory/Makefile.in | 58 +- gdb/dbxread.c | 11 +- gdb/doc/ChangeLog | 57 + gdb/doc/gdb.texinfo | 242 +++- gdb/dwarf2read.c | 554 ++++++-- gdb/eval.c | 2 +- gdb/features/Makefile | 2 +- gdb/features/aarch64-without-fpu.c | 54 - gdb/features/aarch64-without-fpu.xml | 13 - gdb/frame.c | 101 ++- gdb/gcore.c | 2 +- gdb/gcore.h | 2 +- gdb/gdbarch.c | 33 + gdb/gdbarch.h | 9 + gdb/gdbarch.sh | 4 + gdb/gdbserver/ChangeLog | 477 ++++++ gdb/gdbserver/Makefile.in | 11 +- gdb/gdbserver/ax.c | 2 +- gdb/gdbserver/configure.srv | 3 +- gdb/gdbserver/i386-low.c | 2 +- gdb/gdbserver/i387-fp.c | 34 +- gdb/gdbserver/i387-fp.h | 2 - gdb/gdbserver/inferiors.c | 1 - gdb/gdbserver/linux-aarch64-low.c | 46 +- gdb/gdbserver/linux-amd64-ipa.c | 6 +- gdb/gdbserver/linux-arm-low.c | 91 +- gdb/gdbserver/linux-bfin-low.c | 38 +- gdb/gdbserver/linux-cris-low.c | 37 +- gdb/gdbserver/linux-crisv32-low.c | 52 +- gdb/gdbserver/linux-i386-ipa.c | 2 + gdb/gdbserver/linux-ia64-low.c | 44 +- gdb/gdbserver/linux-low.c | 525 +++++--- gdb/gdbserver/linux-low.h | 82 +- gdb/gdbserver/linux-m32r-low.c | 37 +- gdb/gdbserver/linux-m68k-low.c | 50 +- gdb/gdbserver/linux-mips-low.c | 193 ++- gdb/gdbserver/linux-nios2-low.c | 43 +- gdb/gdbserver/linux-ppc-low.c | 181 ++- gdb/gdbserver/linux-s390-low.c | 195 ++- gdb/gdbserver/linux-sh-low.c | 49 +- gdb/gdbserver/linux-sparc-low.c | 60 +- gdb/gdbserver/linux-tic6x-low.c | 73 +- gdb/gdbserver/linux-tile-low.c | 48 +- gdb/gdbserver/linux-x86-low.c | 486 ++++--- gdb/gdbserver/linux-xtensa-low.c | 61 +- gdb/gdbserver/lynx-i386-low.c | 2 + gdb/gdbserver/lynx-low.c | 61 +- gdb/gdbserver/lynx-low.h | 4 + gdb/gdbserver/lynx-ppc-low.c | 2 + gdb/gdbserver/nto-low.c | 6 +- gdb/gdbserver/nto-low.h | 6 + gdb/gdbserver/nto-x86-low.c | 2 + gdb/gdbserver/proc-service.c | 10 +- gdb/gdbserver/regcache.c | 242 ++-- gdb/gdbserver/regcache.h | 33 +- gdb/gdbserver/remote-utils.c | 9 +- gdb/gdbserver/server.c | 54 +- gdb/gdbserver/server.h | 6 + gdb/gdbserver/spu-low.c | 10 +- gdb/gdbserver/target.h | 15 + gdb/gdbserver/tdesc.c | 66 + gdb/gdbserver/tdesc.h | 64 + gdb/gdbserver/tracepoint.c | 35 +- gdb/gdbserver/win32-arm-low.c | 11 +- gdb/gdbserver/win32-i386-low.c | 8 +- gdb/gdbserver/win32-low.c | 10 +- gdb/gdbserver/win32-low.h | 6 + gdb/gdbthread.h | 12 + gdb/gnu-nat.c | 3 +- gdb/gnu-v3-abi.c | 12 +- gdb/go32-nat.c | 2 +- gdb/inf-ptrace.c | 14 +- gdb/infcmd.c | 8 +- gdb/inferior.c | 4 +- gdb/inferior.h | 2 +- gdb/inflow.c | 2 +- gdb/infrun.c | 58 +- gdb/interps.c | 5 +- gdb/linespec.c | 6 +- gdb/linux-thread-db.c | 8 +- gdb/m32r-rom.c | 1 + gdb/machoread.c | 3 +- gdb/mi/mi-cmd-break.c | 164 ++- gdb/mi/mi-cmd-stack.c | 30 +- gdb/mi/mi-cmd-var.c | 36 +- gdb/mi/mi-cmds.c | 5 +- gdb/mi/mi-cmds.h | 5 +- gdb/mi/mi-main.c | 38 +- gdb/mi/mi-parse.c | 22 + gdb/mi/mi-parse.h | 4 + gdb/mips-linux-tdep.c | 115 +- gdb/mipsread.c | 25 +- gdb/objfiles.c | 57 +- gdb/objfiles.h | 16 + gdb/ppc-linux-nat.c | 19 +- gdb/ppc-linux-tdep.c | 4 +- gdb/ppc-tdep.h | 4 +- gdb/ppc64-tdep.c | 142 ++- gdb/printcmd.c | 20 +- gdb/probe.c | 54 +- gdb/probe.h | 10 + gdb/psymtab.c | 45 +- gdb/python/py-arch.c | 16 +- gdb/python/py-auto-load.c | 4 +- gdb/python/py-block.c | 19 +- gdb/python/py-bpevent.c | 3 +- gdb/python/py-breakpoint.c | 22 +- gdb/python/py-cmd.c | 79 +- gdb/python/py-continueevent.c | 3 +- gdb/python/py-event.c | 27 +- gdb/python/py-event.h | 21 +- gdb/python/py-events.h | 3 +- gdb/python/py-evtregistry.c | 17 +- gdb/python/py-evts.c | 47 +- gdb/python/py-exitedevent.c | 3 +- gdb/python/py-finishbreakpoint.c | 25 +- gdb/python/py-frame.c | 104 +- gdb/python/py-function.c | 27 +- gdb/python/py-gdb-readline.c | 7 +- gdb/python/py-inferior.c | 149 +- gdb/python/py-infthread.c | 12 +- gdb/python/py-lazy-string.c | 8 +- gdb/python/py-newobjfileevent.c | 3 +- gdb/python/py-objfile.c | 12 +- gdb/python/py-param.c | 31 +- gdb/python/py-prettyprint.c | 12 +- gdb/python/py-progspace.c | 12 +- gdb/python/py-signalevent.c | 3 +- gdb/python/py-symbol.c | 82 +- gdb/python/py-symtab.c | 36 +- gdb/python/py-threadevent.c | 3 + gdb/python/py-type.c | 64 +- gdb/python/py-utils.c | 50 +- gdb/python/py-value.c | 31 +- gdb/python/python-internal.h | 198 ++- gdb/python/python.c | 173 ++- gdb/record-full.c | 4 +- gdb/record.c | 54 +- gdb/regformats/aarch64-without-fpu.dat | 38 - gdb/regformats/regdat.sh | 30 +- gdb/remote-mips.c | 19 +- gdb/remote.c | 205 +++- gdb/rs6000-aix-tdep.c | 297 ++++ gdb/{gcore.h => rs6000-aix-tdep.h} | 19 +- gdb/rs6000-nat.c | 210 +--- gdb/rs6000-tdep.c | 35 +- gdb/solib-aix.c | 4 +- gdb/solib-svr4.c | 691 +++++++++- gdb/solib.c | 66 +- gdb/solib.h | 10 +- gdb/solist.h | 13 + gdb/somread.c | 5 +- gdb/source.c | 19 +- gdb/stabsread.c | 5 +- gdb/stack.c | 37 +- gdb/stack.h | 2 +- gdb/symfile.c | 14 +- gdb/symmisc.c | 140 ++ gdb/symtab.c | 2 +- gdb/system-gdbinit/elinos.py | 79 + .../wrs-linux.py} | 24 +- gdb/target.c | 16 +- gdb/target.h | 16 +- gdb/testsuite/ChangeLog | 438 ++++++ gdb/testsuite/boards/fission-dwp.exp | 49 + gdb/testsuite/boards/native-extended-gdbserver.exp | 2 +- gdb/testsuite/boards/remote-stdio-gdbserver.exp | 127 ++ gdb/testsuite/config/arm-ice.exp | 2 +- gdb/testsuite/config/bfin.exp | 2 +- gdb/testsuite/config/cygmon.exp | 2 +- gdb/testsuite/config/h8300.exp | 2 +- gdb/testsuite/config/monitor.exp | 94 +- gdb/testsuite/config/sid.exp | 14 +- gdb/testsuite/config/sim.exp | 2 +- gdb/testsuite/config/slite.exp | 52 +- gdb/testsuite/config/vx.exp | 8 +- gdb/testsuite/gdb.ada/complete.exp | 24 +- gdb/testsuite/gdb.ada/float_param.exp | 43 + gdb/testsuite/gdb.ada/float_param/foo.adb | 23 + gdb/testsuite/gdb.ada/float_param/pck.adb | 35 + gdb/testsuite/gdb.ada/float_param/pck.ads | 31 + gdb/testsuite/gdb.ada/info_types.c | 3 +- gdb/testsuite/gdb.arch/i386-bp_permanent.exp | 10 +- gdb/testsuite/gdb.asm/asm-source.exp | 2 +- gdb/testsuite/gdb.base/args.exp | 2 +- gdb/testsuite/gdb.base/attach-pie-misread.exp | 2 +- gdb/testsuite/gdb.base/auxv.exp | 2 +- gdb/testsuite/gdb.base/bigcore.exp | 2 +- gdb/testsuite/gdb.base/bitfields.exp | 38 +- gdb/testsuite/gdb.base/bitfields2.exp | 20 +- gdb/testsuite/gdb.base/break-always.exp | 3 +- gdb/testsuite/gdb.base/break-interp.exp | 33 +- .../gdb.base/break-on-linker-gcd-function.cc | 3 +- .../solib-lib.c => gdb.base/break-probes-solib.c} | 11 +- .../using-crash.cc => gdb.base/break-probes.c} | 35 +- gdb/testsuite/gdb.base/break-probes.exp | 78 + gdb/testsuite/gdb.base/break.exp | 6 +- gdb/testsuite/gdb.base/call-sc.exp | 2 +- gdb/testsuite/gdb.base/callfuncs.exp | 6 +- .../gdb.base/{sigchld.c => catch-signal-fork.c} | 53 +- gdb/testsuite/gdb.base/catch-signal-fork.exp | 43 + gdb/testsuite/gdb.base/commands.exp | 14 +- gdb/testsuite/gdb.base/corefile.exp | 10 +- gdb/testsuite/gdb.base/dbx.exp | 2 +- gdb/testsuite/gdb.base/dump.exp | 9 +- gdb/testsuite/gdb.base/ending-run.exp | 2 +- gdb/testsuite/gdb.base/exprs.exp | 10 +- .../psymtab-parameter.cc => gdb.base/filesym.c} | 17 +- gdb/testsuite/gdb.base/filesym.exp | 51 + gdb/testsuite/gdb.base/fixsection.c | 4 +- gdb/testsuite/gdb.base/float.c | 3 +- gdb/testsuite/gdb.base/funcargs.exp | 96 +- gdb/testsuite/gdb.base/hbreak2.exp | 2 +- gdb/testsuite/gdb.base/huge.exp | 2 +- gdb/testsuite/gdb.base/inferior-died.c | 3 +- .../solib-main.c => gdb.base/info-shared-solib1.c} | 13 +- .../solib-main.c => gdb.base/info-shared-solib2.c} | 13 +- .../using-crash.cc => gdb.base/info-shared.c} | 55 +- gdb/testsuite/gdb.base/info-shared.exp | 146 ++ gdb/testsuite/gdb.base/interp.c | 3 +- gdb/testsuite/gdb.base/jit-main.c | 3 +- gdb/testsuite/gdb.base/jit-solib.c | 3 +- gdb/testsuite/gdb.base/list.exp | 16 +- gdb/testsuite/gdb.base/long_long.c | 3 +- gdb/testsuite/gdb.base/long_long.exp | 2 +- gdb/testsuite/gdb.base/longjmp.c | 3 +- gdb/testsuite/gdb.base/maint.exp | 100 +- gdb/testsuite/gdb.base/memattr.exp | 2 +- gdb/testsuite/gdb.base/nextoverexit.c | 3 +- gdb/testsuite/gdb.base/overlays.exp | 8 +- gdb/testsuite/gdb.base/pr11022.c | 3 +- gdb/testsuite/gdb.base/prelink-lib.c | 3 +- gdb/testsuite/gdb.base/prelink.c | 3 +- gdb/testsuite/gdb.base/printcmds.exp | 34 +- gdb/testsuite/gdb.base/prologue.c | 3 +- gdb/testsuite/gdb.base/range-stepping.c | 104 ++ gdb/testsuite/gdb.base/range-stepping.exp | 245 ++++ gdb/testsuite/gdb.base/recurse.exp | 12 +- gdb/testsuite/gdb.base/remotetimeout.exp | 2 +- gdb/testsuite/gdb.base/reread.exp | 30 +- gdb/testsuite/gdb.base/restore.c | 3 +- gdb/testsuite/gdb.base/savedregs.exp | 2 +- gdb/testsuite/gdb.base/scope.exp | 102 +- gdb/testsuite/gdb.base/sepdebug.exp | 6 +- gdb/testsuite/gdb.base/setshow.exp | 2 +- gdb/testsuite/gdb.base/setvar.exp | 22 +- gdb/testsuite/gdb.base/sigaltstack.exp | 2 +- gdb/testsuite/gdb.base/sigchld.c | 3 +- gdb/testsuite/gdb.base/siginfo-addr.exp | 2 +- gdb/testsuite/gdb.base/siginfo-obj.exp | 4 +- gdb/testsuite/gdb.base/siginfo.exp | 2 +- gdb/testsuite/gdb.base/sigrepeat.exp | 2 +- gdb/testsuite/gdb.base/sigstep.exp | 2 +- gdb/testsuite/gdb.base/solib-corrupted.exp | 27 + gdb/testsuite/gdb.base/solib-disc.exp | 2 +- gdb/testsuite/gdb.base/solib-search-lib1.c | 3 +- gdb/testsuite/gdb.base/solib-search-lib2.c | 3 +- gdb/testsuite/gdb.base/solib-search.c | 3 +- gdb/testsuite/gdb.base/solib-search.h | 3 +- gdb/testsuite/gdb.base/structs.exp | 2 +- gdb/testsuite/gdb.base/testenv.exp | 4 +- gdb/testsuite/gdb.base/twice.exp | 6 +- gdb/testsuite/gdb.base/unload.exp | 2 +- gdb/testsuite/gdb.base/valgrind-db-attach.exp | 2 +- gdb/testsuite/gdb.base/valgrind-infcall.exp | 2 +- gdb/testsuite/gdb.base/varargs.exp | 2 +- gdb/testsuite/gdb.base/watch-read.exp | 2 - gdb/testsuite/gdb.base/watchpoint-solib.exp | 2 +- gdb/testsuite/gdb.base/watchpoint.exp | 6 +- gdb/testsuite/gdb.base/whatis.c | 3 +- gdb/testsuite/gdb.cp/abstract-origin.cc | 3 +- gdb/testsuite/gdb.cp/annota2.exp | 2 +- gdb/testsuite/gdb.cp/anon-struct.cc | 3 +- gdb/testsuite/gdb.cp/anon-struct.exp | 25 +- gdb/testsuite/gdb.cp/baseenum.cc | 3 +- gdb/testsuite/gdb.cp/bs15503.cc | 3 +- gdb/testsuite/gdb.cp/call-c-1.c | 3 +- gdb/testsuite/gdb.cp/call-c.cc | 3 +- gdb/testsuite/gdb.cp/class2.cc | 4 +- gdb/testsuite/gdb.cp/class2.exp | 4 + gdb/testsuite/gdb.cp/classes.cc | 3 +- gdb/testsuite/gdb.cp/cttiadd.cc | 3 +- gdb/testsuite/gdb.cp/cttiadd1.cc | 3 +- gdb/testsuite/gdb.cp/cttiadd2.cc | 3 +- gdb/testsuite/gdb.cp/cttiadd3.cc | 3 +- gdb/testsuite/gdb.cp/derivation.cc | 9 +- gdb/testsuite/gdb.cp/derivation.exp | 34 +- .../gdb.cp/{anon-struct.cc => derivation2.cc} | 60 +- gdb/testsuite/gdb.cp/dispcxx.cc | 3 +- gdb/testsuite/gdb.cp/exception.cc | 5 +- gdb/testsuite/gdb.cp/gdb1355.exp | 2 +- gdb/testsuite/gdb.cp/gdb2384-base.cc | 3 +- gdb/testsuite/gdb.cp/gdb2384-base.h | 3 +- gdb/testsuite/gdb.cp/gdb2384.cc | 3 +- gdb/testsuite/gdb.cp/gdb2495.cc | 3 +- gdb/testsuite/gdb.cp/m-static.exp | 75 +- gdb/testsuite/gdb.cp/mb-inline.h | 3 +- gdb/testsuite/gdb.cp/mb-inline1.cc | 3 +- gdb/testsuite/gdb.cp/mb-inline2.cc | 3 +- gdb/testsuite/gdb.cp/member-name.cc | 3 +- gdb/testsuite/gdb.cp/member-ptr.cc | 5 +- gdb/testsuite/gdb.cp/misc.cc | 3 +- gdb/testsuite/gdb.cp/misc.exp | 10 +- gdb/testsuite/gdb.cp/namespace1.cc | 5 +- gdb/testsuite/gdb.cp/nextoverthrow.cc | 4 +- gdb/testsuite/gdb.cp/pr-574.cc | 3 +- gdb/testsuite/gdb.cp/pr9631.cc | 3 +- gdb/testsuite/gdb.cp/printmethod.cc | 3 +- gdb/testsuite/gdb.cp/psmang1.cc | 3 +- gdb/testsuite/gdb.cp/psmang2.cc | 3 +- gdb/testsuite/gdb.cp/psymtab-parameter.cc | 3 +- gdb/testsuite/gdb.cp/ptype-flags.cc | 3 +- gdb/testsuite/gdb.cp/ref-params.cc | 3 +- gdb/testsuite/gdb.cp/ref-types.cc | 3 +- gdb/testsuite/gdb.cp/smartp.cc | 3 +- gdb/testsuite/gdb.cp/try_catch.cc | 3 +- gdb/testsuite/gdb.cp/userdef.cc | 3 +- gdb/testsuite/gdb.cp/using-crash.cc | 3 +- gdb/testsuite/gdb.cp/virtfunc.cc | 3 +- gdb/testsuite/gdb.cp/virtfunc.exp | 2 +- gdb/testsuite/gdb.cp/virtfunc2.cc | 3 +- gdb/testsuite/gdb.disasm/hppa.exp | 2 +- gdb/testsuite/gdb.disasm/t01_mov.exp | 4 +- gdb/testsuite/gdb.disasm/t02_mova.exp | 4 +- gdb/testsuite/gdb.disasm/t03_add.exp | 4 +- gdb/testsuite/gdb.disasm/t04_sub.exp | 4 +- gdb/testsuite/gdb.disasm/t05_cmp.exp | 4 +- gdb/testsuite/gdb.disasm/t06_ari2.exp | 4 +- gdb/testsuite/gdb.disasm/t07_ari3.exp | 4 +- gdb/testsuite/gdb.disasm/t08_or.exp | 4 +- gdb/testsuite/gdb.disasm/t09_xor.exp | 4 +- gdb/testsuite/gdb.disasm/t10_and.exp | 4 +- gdb/testsuite/gdb.disasm/t11_logs.exp | 4 +- gdb/testsuite/gdb.disasm/t12_bit.exp | 4 +- gdb/testsuite/gdb.disasm/t13_otr.exp | 4 +- gdb/testsuite/gdb.dwarf2/callframecfa.S | 3 +- gdb/testsuite/gdb.dwarf2/dw2-dir-file-name.exp | 33 +- gdb/testsuite/gdb.dwarf2/dw2-ranges.c | 3 +- gdb/testsuite/gdb.dwarf2/dw2-ranges2.c | 3 +- gdb/testsuite/gdb.dwarf2/dw2-ranges3.c | 3 +- gdb/testsuite/gdb.dwarf2/dw2-restore.S | 3 +- gdb/testsuite/gdb.dwarf2/implptrconst.exp | 2 +- gdb/testsuite/gdb.dwarf2/implptrpiece.exp | 2 +- gdb/testsuite/gdb.dwarf2/method-ptr.exp | 2 +- gdb/testsuite/gdb.dwarf2/missing-sig-type.exp | 4 +- gdb/testsuite/gdb.dwarf2/nostaticblock.exp | 2 +- gdb/testsuite/gdb.dwarf2/pieces.S | 3 +- gdb/testsuite/gdb.dwarf2/subrange.exp | 2 +- gdb/testsuite/gdb.dwarf2/valop.S | 3 +- gdb/testsuite/gdb.gdb/complaints.exp | 5 - gdb/testsuite/gdb.gdb/observer.exp | 5 - .../python-selftest.exp} | 29 +- gdb/testsuite/gdb.gdb/selftest.exp | 6 +- gdb/testsuite/gdb.gdb/xfullpath.exp | 5 - gdb/testsuite/gdb.hp/gdb.base-hp/callfwmall.exp | 8 +- gdb/testsuite/gdb.java/jnpe.java | 3 +- gdb/testsuite/gdb.mi/Makefile.in | 2 +- gdb/testsuite/gdb.mi/mi-cmd-param-changed.exp | 2 + gdb/testsuite/gdb.mi/mi-dprintf.c | 59 + gdb/testsuite/gdb.mi/mi-dprintf.exp | 163 +++ gdb/testsuite/gdb.mi/mi-reverse.exp | 2 +- gdb/testsuite/gdb.mi/mi-stepn.c | 3 +- gdb/testsuite/gdb.mi/mi-var-cp.cc | 3 +- gdb/testsuite/gdb.mi/mi-var-rtti.cc | 3 +- gdb/testsuite/gdb.mi/ns-stale-regcache.c | 3 +- gdb/testsuite/gdb.mi/pr11022.c | 3 +- gdb/testsuite/gdb.mi/solib-lib.c | 3 +- gdb/testsuite/gdb.mi/solib-main.c | 3 +- gdb/testsuite/gdb.pascal/floats.exp | 4 +- gdb/testsuite/gdb.python/py-arch.c | 3 +- gdb/testsuite/gdb.python/py-block.c | 5 +- gdb/testsuite/gdb.python/py-breakpoint.c | 4 +- gdb/testsuite/gdb.python/py-events.c | 3 +- gdb/testsuite/gdb.python/py-evthreads.c | 3 +- gdb/testsuite/gdb.python/py-explore.c | 3 +- gdb/testsuite/gdb.python/py-explore.cc | 3 +- gdb/testsuite/gdb.python/py-finish-breakpoint.c | 3 +- gdb/testsuite/gdb.python/py-finish-breakpoint2.cc | 4 +- gdb/testsuite/gdb.python/py-inferior.exp | 2 +- gdb/testsuite/gdb.python/py-symbol.c | 3 +- gdb/testsuite/gdb.threads/attach-into-signal.exp | 6 +- .../dlopen-libpthread-lib.c} | 28 +- .../dlopen-libpthread.c} | 30 +- gdb/testsuite/gdb.threads/dlopen-libpthread.exp | 74 + gdb/testsuite/gdb.threads/execl.c | 3 +- gdb/testsuite/gdb.threads/execl1.c | 3 +- gdb/testsuite/gdb.threads/pthreads.exp | 2 +- gdb/testsuite/gdb.threads/thread_events.exp | 6 +- gdb/testsuite/gdb.threads/watchthreads.exp | 2 +- gdb/testsuite/gdb.threads/wp-replication.c | 8 +- gdb/testsuite/gdb.trace/actions-changed.exp | 2 +- gdb/testsuite/gdb.trace/actions.exp | 14 +- gdb/testsuite/gdb.trace/ax.exp | 2 +- gdb/testsuite/gdb.trace/backtrace.exp | 8 +- gdb/testsuite/gdb.trace/change-loc.exp | 2 +- gdb/testsuite/gdb.trace/deltrace.exp | 22 +- gdb/testsuite/gdb.trace/disconnected-tracing.exp | 2 +- gdb/testsuite/gdb.trace/ftrace.exp | 2 +- gdb/testsuite/gdb.trace/infotrace.exp | 8 +- gdb/testsuite/gdb.trace/mi-trace-unavailable.exp | 134 ++ gdb/testsuite/gdb.trace/passc-dyn.exp | 8 +- gdb/testsuite/gdb.trace/passcount.exp | 14 +- gdb/testsuite/gdb.trace/pending.exp | 2 +- gdb/testsuite/gdb.trace/qtro.exp | 2 +- gdb/testsuite/gdb.trace/range-stepping.c | 56 + gdb/testsuite/gdb.trace/range-stepping.exp | 85 ++ gdb/testsuite/gdb.trace/report.exp | 8 +- gdb/testsuite/gdb.trace/save-trace.exp | 38 +- gdb/testsuite/gdb.trace/status-stop.exp | 4 +- gdb/testsuite/gdb.trace/strace.exp | 2 +- gdb/testsuite/gdb.trace/tfile.exp | 5 +- gdb/testsuite/gdb.trace/tfind.exp | 58 +- gdb/testsuite/gdb.trace/trace-break.exp | 2 +- gdb/testsuite/gdb.trace/trace-mt.exp | 2 +- .../trace-unavailable.c} | 32 +- gdb/testsuite/gdb.trace/tracecmd.exp | 8 +- gdb/testsuite/gdb.trace/tspeed.exp | 4 +- gdb/testsuite/gdb.trace/tsv.exp | 6 +- gdb/testsuite/gdb.trace/while-stepping.exp | 6 +- gdb/testsuite/lib/dwarf.exp | 147 ++- gdb/testsuite/lib/gdb.exp | 301 ++-- gdb/testsuite/lib/gdbserver-support.exp | 2 +- gdb/testsuite/lib/java.exp | 24 +- gdb/testsuite/lib/mi-support.exp | 112 +- gdb/testsuite/lib/pascal.exp | 4 +- gdb/testsuite/lib/prelink-support.exp | 26 +- gdb/testsuite/lib/prompt.exp | 10 +- gdb/testsuite/lib/range-stepping-support.exp | 54 + gdb/testsuite/lib/selftest-support.exp | 5 + gdb/testsuite/lib/trace-support.exp | 92 +- gdb/thread.c | 7 + gdb/top.c | 1 + gdb/tracepoint.c | 139 +- gdb/tracepoint.h | 3 +- gdb/ui-file.c | 2 +- gdb/ui-file.h | 2 +- gdb/ui-out.c | 44 +- gdb/utils.c | 9 +- gdb/utils.h | 2 +- gdb/value.h | 2 +- gdb/varobj.c | 186 ++-- gdb/version.in | 2 +- gdb/windows-nat.c | 30 +- gdb/xml-support.c | 43 +- gdb/xml-support.h | 7 - include/ChangeLog | 15 + include/elf/ChangeLog | 27 + include/elf/aarch64.h | 7 +- include/elf/common.h | 5 + include/elf/mips.h | 6 +- include/opcode/ChangeLog | 35 + include/opcode/avr.h | 13 +- include/opcode/mips.h | 103 +- include/opcode/nios2.h | 2 +- libiberty/ChangeLog | 12 + libiberty/Makefile.in | 24 +- libiberty/configure | 56 +- libiberty/configure.ac | 46 +- opcodes/ChangeLog | 103 ++ opcodes/Makefile.am | 36 +- opcodes/Makefile.in | 21 +- opcodes/i386-gen.c | 2 +- opcodes/i386-init.h | 2 +- opcodes/ia64-asmtab.c | 10 +- opcodes/ia64-raw.tbl | 8 +- opcodes/ia64-waw.tbl | 2 +- opcodes/micromips-opc.c | 427 ++++--- opcodes/mips-dis.c | 108 +- opcodes/mips-opc.c | 1514 ++++++++++---------- opcodes/nios2-opc.c | 2 +- opcodes/ppc-dis.c | 5 +- opcodes/ppc-opc.c | 177 +++- opcodes/rx-decode.c | 170 ++-- opcodes/rx-decode.opc | 8 + opcodes/s390-opc.c | 4 +- opcodes/s390-opc.txt | 2 +- readline/ChangeLog.gdb | 6 + readline/configure | 3 +- readline/configure.in | 3 +- sim/arm/ChangeLog | 9 + sim/arm/aclocal.m4 | 40 + sim/arm/armemu.c | 12 +- sim/arm/configure | 41 +- sim/avr/ChangeLog | 4 + sim/avr/aclocal.m4 | 40 + sim/avr/configure | 41 +- sim/bfin/ChangeLog | 13 + sim/bfin/Makefile.in | 2 +- sim/bfin/TODO | 4 + sim/bfin/aclocal.m4 | 40 + sim/bfin/configure | 41 +- sim/common/ChangeLog | 5 + sim/common/acinclude.m4 | 13 +- sim/common/aclocal.m4 | 40 + sim/common/configure | 41 +- sim/cr16/ChangeLog | 4 + sim/cr16/aclocal.m4 | 40 + sim/cr16/configure | 41 +- sim/cris/ChangeLog | 4 + sim/cris/aclocal.m4 | 40 + sim/cris/configure | 41 +- sim/d10v/ChangeLog | 4 + sim/d10v/aclocal.m4 | 40 + sim/d10v/configure | 41 +- sim/erc32/ChangeLog | 4 + sim/erc32/aclocal.m4 | 40 + sim/erc32/configure | 41 +- sim/frv/ChangeLog | 4 + sim/frv/aclocal.m4 | 40 + sim/frv/configure | 41 +- sim/h8300/ChangeLog | 4 + sim/h8300/aclocal.m4 | 40 + sim/h8300/configure | 41 +- sim/iq2000/ChangeLog | 4 + sim/iq2000/aclocal.m4 | 40 + sim/iq2000/configure | 41 +- sim/lm32/ChangeLog | 4 + sim/lm32/aclocal.m4 | 40 + sim/lm32/configure | 41 +- sim/m32c/ChangeLog | 4 + sim/m32c/aclocal.m4 | 40 + sim/m32c/configure | 41 +- sim/m32r/ChangeLog | 4 + sim/m32r/aclocal.m4 | 40 + sim/m32r/configure | 41 +- sim/m68hc11/ChangeLog | 4 + sim/m68hc11/aclocal.m4 | 40 + sim/m68hc11/configure | 41 +- sim/mcore/ChangeLog | 4 + sim/mcore/aclocal.m4 | 40 + sim/mcore/configure | 41 +- sim/microblaze/ChangeLog | 4 + sim/microblaze/aclocal.m4 | 40 + sim/microblaze/configure | 41 +- sim/mips/ChangeLog | 4 + sim/mips/aclocal.m4 | 40 + sim/mips/configure | 41 +- sim/mn10300/ChangeLog | 4 + sim/mn10300/aclocal.m4 | 40 + sim/mn10300/configure | 41 +- sim/moxie/ChangeLog | 4 + sim/moxie/aclocal.m4 | 40 + sim/moxie/configure | 41 +- sim/rl78/ChangeLog | 4 + sim/rl78/aclocal.m4 | 40 + sim/rl78/configure | 41 +- sim/rx/ChangeLog | 4 + sim/rx/aclocal.m4 | 40 + sim/rx/configure | 41 +- sim/sh/ChangeLog | 4 + sim/sh/aclocal.m4 | 40 + sim/sh/configure | 41 +- sim/sh64/ChangeLog | 4 + sim/sh64/aclocal.m4 | 40 + sim/sh64/configure | 41 +- sim/testsuite/sim/arm/ChangeLog | 5 + sim/testsuite/sim/arm/movw-movt.ms | 53 + sim/testsuite/sim/bfin/ChangeLog | 12 + sim/testsuite/sim/bfin/run-tests.sh | 36 +- sim/testsuite/sim/bfin/se_allopcodes.h | 22 +- sim/v850/ChangeLog | 4 + sim/v850/aclocal.m4 | 40 + sim/v850/configure | 41 +- 620 files changed, 17725 insertions(+), 5725 deletions(-) create mode 100644 gdb/contrib/cleanup_check.py delete mode 100644 gdb/features/aarch64-without-fpu.c delete mode 100644 gdb/features/aarch64-without-fpu.xml create mode 100644 gdb/gdbserver/tdesc.c create mode 100644 gdb/gdbserver/tdesc.h delete mode 100644 gdb/regformats/aarch64-without-fpu.dat copy gdb/{gcore.h => rs6000-aix-tdep.h} (67%) create mode 100644 gdb/system-gdbinit/elinos.py copy gdb/{testsuite/gdb.cp/anon-struct.exp => system-gdbinit/wrs-linux.py} (52%) create mode 100644 gdb/testsuite/boards/fission-dwp.exp create mode 100644 gdb/testsuite/boards/remote-stdio-gdbserver.exp create mode 100644 gdb/testsuite/gdb.ada/float_param.exp create mode 100644 gdb/testsuite/gdb.ada/float_param/foo.adb create mode 100644 gdb/testsuite/gdb.ada/float_param/pck.adb create mode 100644 gdb/testsuite/gdb.ada/float_param/pck.ads copy gdb/testsuite/{gdb.mi/solib-lib.c => gdb.base/break-probes-solib.c} (83%) copy gdb/testsuite/{gdb.cp/using-crash.cc => gdb.base/break-probes.c} (76%) create mode 100644 gdb/testsuite/gdb.base/break-probes.exp copy gdb/testsuite/gdb.base/{sigchld.c => catch-signal-fork.c} (59%) create mode 100644 gdb/testsuite/gdb.base/catch-signal-fork.exp copy gdb/testsuite/{gdb.cp/psymtab-parameter.cc => gdb.base/filesym.c} (83%) create mode 100644 gdb/testsuite/gdb.base/filesym.exp copy gdb/testsuite/{gdb.mi/solib-main.c => gdb.base/info-shared-solib1.c} (83%) copy gdb/testsuite/{gdb.mi/solib-main.c => gdb.base/info-shared-solib2.c} (83%) copy gdb/testsuite/{gdb.cp/using-crash.cc => gdb.base/info-shared.c} (59%) create mode 100644 gdb/testsuite/gdb.base/info-shared.exp create mode 100644 gdb/testsuite/gdb.base/range-stepping.c create mode 100644 gdb/testsuite/gdb.base/range-stepping.exp copy gdb/testsuite/gdb.cp/{anon-struct.cc => derivation2.cc} (64%) copy gdb/testsuite/{gdb.cp/anon-struct.exp => gdb.gdb/python-selftest.exp} (52%) create mode 100644 gdb/testsuite/gdb.mi/mi-dprintf.c create mode 100644 gdb/testsuite/gdb.mi/mi-dprintf.exp copy gdb/testsuite/{gdb.base/break-on-linker-gcd-function.cc => gdb.threads/dlopen-libpthread-lib.c} (71%) copy gdb/testsuite/{gdb.base/break-on-linker-gcd-function.cc => gdb.threads/dlopen-libpthread.c} (66%) create mode 100644 gdb/testsuite/gdb.threads/dlopen-libpthread.exp create mode 100644 gdb/testsuite/gdb.trace/mi-trace-unavailable.exp create mode 100644 gdb/testsuite/gdb.trace/range-stepping.c create mode 100644 gdb/testsuite/gdb.trace/range-stepping.exp copy gdb/testsuite/{gdb.cp/abstract-origin.cc => gdb.trace/trace-unavailable.c} (75%) create mode 100644 gdb/testsuite/lib/range-stepping-support.exp create mode 100644 sim/testsuite/sim/arm/movw-movt.ms First 500 lines of diff: diff --git a/ChangeLog b/ChangeLog index 2d6d310..ed3bc27 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-06-01 George Thomas + + * include/opcode/avr.h: Rename AVR_ISA_XCH to AVR_ISA_RMW. Remove + from AVR_ISA_XMEGA and add new AVR_ISA_XMEGAU + 2013-05-06 Sandra Loosemore * COPYING.NEWLIB: Add Altera Corporation copyright. diff --git a/bfd/ChangeLog b/bfd/ChangeLog index eb254b7..8377b35 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,203 @@ +2013-06-14 Yufeng Zhang + + * elf64-aarch64.c (elf64_aarch64_final_link_relocate): Call + aarch64_resolve_relocation and bfd_elf_aarch64_put_addend to + handle the relocations of R_AARCH64_JUMP26, R_AARCH64_CALL26, + R_AARCH64_LD64_GOT_LO12_NC, R_AARCH64_ADR_GOT_PAGE and + R_AARCH64_GOT_LD_PREL19. + +2013-06-13 Terry Guo + + PR ld/15302 + * elf32-arm.c (allocate_dynrelocs_for_symbol): Transform + ST_BRANCH_TO_ARM into ST_BRANCH_TO_THUMB if the target only + supports thumb instructions. + +2013-06-11 DJ Delorie + + * elf32-rl78.c (rl78_elf_relocate_section): Fix OPsub math. + +2013-06-11 Will Newton + + * elf64-aarch64.c (elf_aarch64_get_local_sym_hash): Use + ELF64_R_SYM instead of ELF32_R_SYM. + +2013-06-11 Nick Clifton + + * elf32-rl78.c (rl78_elf_finish_dynamic_sections): Onlly run + checks if the dynamic sections have been created and relaxation + has not been performed. + +2013-06-07 Will Newton + + * configure: Regenerate. + * configure.in: Build elf-ifunc.o for AArch64. + * elf64-aarch64.c: Include objalloc.h. + (elf64_aarch64_howto_dynrelocs): Add R_AARCH64_IRELATIVE howto. + (struct elf64_aarch64_link_hash_table): Add members for handling + R_AARCH64_IRELATIVE relocations. + (elf_aarch64_local_htab_hash): New function. + (elf_aarch64_local_htab_eq): New function. + (elf_aarch64_get_local_sym_hash): New function. + (elf64_aarch64_link_hash_table_create): Initialize local STT_GNU_IFUNC + symbol hash. + (elf64_aarch64_hash_table_free): Free local STT_GNU_IFUNC symbol hash. + (elf64_aarch64_final_link_relocate): Add sym argument. Add support + for handling STT_GNU_IFUNC symbols. + (elf64_aarch64_gc_sweep_hook): Add support for garbage collecting + references to STT_GNU_IFUNC symbols. + (elf64_aarch64_adjust_dynamic_symbol): Add support for handling + STT_GNU_IFUNC symbols. + (elf64_aarch64_check_relocs): Add support for handling STT_GNU_IFUNC + symbols. Ensure we don't increase plt.refcount from -1 to 0. + (elf64_aarch64_post_process_headers): Call _bfd_elf_set_osabi. + (elf64_aarch64_is_function_type): Remove function. + (elf64_aarch64_allocate_dynrelocs): Call + _bfd_elf_allocate_ifunc_dyn_relocs for STT_GNU_IFUNC symbols. + (elf_aarch64_allocate_local_dynrelocs): New function. + (elf64_aarch64_size_dynamic_sections): Call + elf_aarch64_allocate_local_dynrelocs. Initialize next_irelative_index. + (elf64_aarch64_create_small_pltn_entry): Add info argument. + Add support for creating .iplt entries for STT_GNU_IFUNC symbols. + (elf64_aarch64_finish_dynamic_symbol): Add support for handling + STT_GNU_IFUNC symbols and .iplt. + (elf_aarch64_finish_local_dynamic_symbol): New function. + (elf64_aarch64_finish_dynamic_sections): Call + elf_aarch64_finish_local_dynamic_symbol. + (elf64_aarch64_add_symbol_hook): New function. + +2013-06-03 Alan Modra + + * syms.c (_bfd_stab_section_find_nearest_line): Add last_str + var. Use it with last_stab. + +2013-05-30 Paul Brook + + * bfd-in2.h: Regenerate. + * elf32-mips.c (elf_mips_eh_howto): New. + (bfd_elf32_bfd_reloc_type_lookup ): Support BFD_RELOC_MIPS_EH. + (bfd_elf32_bfd_reloc_name_lookup): Likewise. + (mips_elf32_rtype_to_howto): Support R_MIPS_EH. + * elf64-mips.c (elf_mips_eh_howto): New. + (bfd_elf64_bfd_reloc_type_lookup): Support BFD_RELOC_MIPS_EH. + (bfd_elf64_bfd_reloc_name_lookup): Likewise. + (mips_elf64_rtype_to_howto): Support R_MIPS_EH. + * libbfd.h: Regenerate. + * reloc.c (BFD_RELOC_MIPS_EH): New. + +2013-05-29 Nick Clifton + + * dwarf2.c (struct dwarf2_debug): Add fields for handling + alternate debug info source. + (dwarf_debug_sections): Add entries for alternate .debug_str and + .debug_info sections. + (dwarf_debug_section_enum): Likewise. + (read_alt_indirect_string): New function. Handles a + DW_FORM_GNU_strp_alt attribute. + (read_alt_indirect_ref): New function. Handles a + DW_FORM_GNU_ref_alt attribute. + (read_attribute_value): Process DW_FORM_GNU_ref_alt and + DW_FORM_GNU_strp_alt. + (find_abstract_instance_name): Handle DW_FORM_GNU_ref_alt + attributes. + (_bfd_dwarf2_cleanup_debug_info): Free alternate debug info + sources. + * opncls.c (GNU_DEBUGALTLINK): Define. + (bfd_get_alt_debug_link_info): New function. + (separate_alt_debug_file_exists): New function. + (find_separate_debug_file): Add parameters for fetch and check + functions. + (bfd_follow_gnu_debugaltlink): New function. + * bfd-in2.h: Regenerate. + +2013-05-28 Yufeng Zhang + + * reloc.c (BFD_RELOC_AARCH64_TLSDESC_ADR_PAGE): Rename to ... + (BFD_RELOC_AARCH64_TLSDESC_ADR_PAGE21): ... this. + (BFD_RELOC_AARCH64_TLSDESC_LD64_PREL19): Rename to ... + (BFD_RELOC_AARCH64_TLSDESC_LD_PREL19): ... this. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + * elf64-aarch64.c (IS_AARCH64_TLSDESC_RELOC): Update to use + the correct names. + (elf64_aarch64_tlsdesc_howto_table): Likewise. + (elf64_aarch64_reloc_map): Likewise. + (aarch64_resolve_relocation): Likewise. + (bfd_elf_aarch64_put_addend): Likewise. + (aarch64_tls_transition_without_check): Likewise. + (aarch64_reloc_got_type): Likewise. + (elf64_aarch64_final_link_relocate): Likewise. + (elf64_aarch64_tls_relax): Likewise. + (elf64_aarch64_relocate_section): Likewise. + (elf64_aarch64_gc_sweep_hook): Likewise. + (elf64_aarch64_check_relocs): Likewise. + +2013-05-26 Mark Wielaard + + * cache.c (BFD_CACHE_MAX_OPEN): Remove define. + (max_open_files): New static int initialized to zero. + (bfd_cache_max_open): New static function to set and return + max_open_files. + (bfd_cache_init): Use bfd_cache_max_open. + (bfd_open_file): Likewise. + * configure.in (AC_CHECK_HEADERS): Add sys/resource.h. + (AC_CHECK_FUNCS): Add getrlimit. + * configure: Regenerated. + * config.in: Likewise. + * sysdep.h: Check and include sys/resource.h for getrlimit. + +2013-05-23 Alan Modra + + * format.c (bfd_check_format_matches): Don't match a target in + targ_selvecs if some other target is a better match. If + targets implement match priority, fall back to the first of + the best matches. + +2013-05-22 Eric Herman + + PR binutils/15462 + * elfxx-mips.c (_bfd_mips_elf_relocate_section): Warning fix. + +2013-05-22 Ralf Dreesen + + PR binutils/15474 + * srec.c (srec_set_section_contents): Properly convert size + and offset to address when octets_per_byte is not unity. + +2013-05-20 Maciej W. Rozycki + + * elf32-vax.c (elf_vax_instantiate_got_entries): Only set the + refcount member of the gotplt_union when resetting the reference + count. Adjust comment. + +2013-05-20 Will Newton + + * elf64-aarch64.c (elf64_aarch64_link_hash_entry): Remove + relocs_copied member. + (elf64_aarch64_link_hash_newfunc): Remove initialization of + relocs_copied member. + (elf64_aarch64_copy_indirect_symbol): Remove code to copy + relocs_copied member. + +2013-05-19 Maciej W. Rozycki + + * elf32-vax.c (elf_vax_adjust_dynamic_symbol): Convert K&R + function definition. + +2013-05-16 Cary Coutant + + * ecoff.c (ecoff_link_check_archive_element): Add initializers for + external_ext_size and esize. + +2013-05-16 Tristan Gingold + + * coff-rs6000.c (_bfd_xcoff_reloc_type_lookup): Handle BFD_RELOC_16. + * coff64-rs6000.c (xcoff64_reloc_type_lookup): Likewise. + +2013-05-15 Andreas Schwab + + * elf64-aarch64.c (elf_backend_default_execstack): Define to 0. + 2013-05-10 Joel Brobecker * coffcode.h (styp_to_sec_flags) [RS6000COFF_C]: Add handling diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index 0050f46..f5b98c5 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -1051,8 +1051,12 @@ unsigned long bfd_calc_gnu_debuglink_crc32 char *bfd_get_debug_link_info (bfd *abfd, unsigned long *crc32_out); +char *bfd_get_alt_debug_link_info (bfd *abfd, unsigned long *crc32_out); + char *bfd_follow_gnu_debuglink (bfd *abfd, const char *dir); +char *bfd_follow_gnu_debugaltlink (bfd *abfd, const char *dir); + struct bfd_section *bfd_create_gnu_debuglink_section (bfd *abfd, const char *filename); @@ -2933,6 +2937,7 @@ to compensate for the borrow when the low bits are added. */ BFD_RELOC_MICROMIPS_TLS_TPREL_HI16, BFD_RELOC_MIPS_TLS_TPREL_LO16, BFD_RELOC_MICROMIPS_TLS_TPREL_LO16, + BFD_RELOC_MIPS_EH, /* MIPS ELF relocations (VxWorks and PLT extensions). */ @@ -5350,7 +5355,7 @@ of a signed or unsigned address/value. */ BFD_RELOC_AARCH64_TLSDESC_ADD_LO12_NC, /* AArch64 TLS DESC relocation. */ - BFD_RELOC_AARCH64_TLSDESC_ADR_PAGE, + BFD_RELOC_AARCH64_TLSDESC_ADR_PAGE21, /* AArch64 TLS DESC relocation. */ BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21, @@ -5362,7 +5367,7 @@ of a signed or unsigned address/value. */ BFD_RELOC_AARCH64_TLSDESC_LD64_LO12_NC, /* AArch64 TLS DESC relocation. */ - BFD_RELOC_AARCH64_TLSDESC_LD64_PREL19, + BFD_RELOC_AARCH64_TLSDESC_LD_PREL19, /* AArch64 TLS DESC relocation. */ BFD_RELOC_AARCH64_TLSDESC_LDR, diff --git a/bfd/cache.c b/bfd/cache.c index 5226816..4d46936 100644 --- a/bfd/cache.c +++ b/bfd/cache.c @@ -31,7 +31,7 @@ SECTION regard to the underlying operating system's file descriptor limit (often as low as 20 open files). The module in <> maintains a least recently used list of - <> files, and exports the name + <> files, and exports the name <>, which runs around and makes sure that the required BFD is open. If not, then it chooses a file to close, closes it and opens the one wanted, returning its file @@ -67,9 +67,35 @@ enum cache_flag { }; /* The maximum number of files which the cache will keep open at - one time. */ + one time. When needed call bfd_cache_max_open to initialize. */ -#define BFD_CACHE_MAX_OPEN 10 +static int max_open_files = 0; + +/* Set max_open_files, if not already set, to 12.5% of the allowed open + file descriptors, but at least 10, and return the value. */ +static int +bfd_cache_max_open (void) +{ + if (max_open_files == 0) + { + int max; +#ifdef HAVE_GETRLIMIT + struct rlimit rlim; + if (getrlimit (RLIMIT_NOFILE, &rlim) == 0 + && rlim.rlim_cur != RLIM_INFINITY) + max = rlim.rlim_cur / 8; + else +#endif /* HAVE_GETRLIMIT */ +#ifdef _SC_OPEN_MAX + max = sysconf (_SC_OPEN_MAX) / 8; +#else + max = 10; +#endif /* _SC_OPEN_MAX */ + max_open_files = max < 10 ? 10 : max; + } + + return max_open_files; +} /* The number of BFD files we have open. */ @@ -187,7 +213,7 @@ close_one (void) /* Called when the macro <> fails to find a quick answer. Find a file descriptor for @var{abfd}. If necessary, it open it. If there are already more than - <> files open, it tries to close one first, to + <> files open, it tries to close one first, to avoid running out of file descriptors. It will return NULL if it is unable to (re)open the @var{abfd}. */ @@ -466,7 +492,7 @@ bfd_boolean bfd_cache_init (bfd *abfd) { BFD_ASSERT (abfd->iostream != NULL); - if (open_files >= BFD_CACHE_MAX_OPEN) + if (open_files >= bfd_cache_max_open ()) { if (! close_one ()) return FALSE; @@ -553,7 +579,7 @@ bfd_open_file (bfd *abfd) { abfd->cacheable = TRUE; /* Allow it to be closed later. */ - if (open_files >= BFD_CACHE_MAX_OPEN) + if (open_files >= bfd_cache_max_open ()) { if (! close_one ()) return NULL; diff --git a/bfd/coff-rs6000.c b/bfd/coff-rs6000.c index 0945aca..aa61afb 100644 --- a/bfd/coff-rs6000.c +++ b/bfd/coff-rs6000.c @@ -1098,7 +1098,6 @@ reloc_howto_type xcoff_howto_table[] = 0xffff, /* src_mask */ 0xffff, /* dst_mask */ FALSE), /* pcrel_offset */ - }; void @@ -1146,6 +1145,9 @@ _bfd_xcoff_reloc_type_lookup (bfd *abfd ATTRIBUTE_UNUSED, return &xcoff_howto_table[8]; case BFD_RELOC_PPC_TOC16: return &xcoff_howto_table[3]; + case BFD_RELOC_16: + /* Note that this relocation is only internally used by gas. */ + return &xcoff_howto_table[0xc]; case BFD_RELOC_32: case BFD_RELOC_CTOR: return &xcoff_howto_table[0]; diff --git a/bfd/coff64-rs6000.c b/bfd/coff64-rs6000.c index 5f4a502..56a0d25 100644 --- a/bfd/coff64-rs6000.c +++ b/bfd/coff64-rs6000.c @@ -1826,6 +1826,9 @@ xcoff64_reloc_type_lookup (bfd *abfd ATTRIBUTE_UNUSED, return &xcoff64_howto_table[8]; case BFD_RELOC_PPC_TOC16: return &xcoff64_howto_table[3]; + case BFD_RELOC_16: + /* Note that this relocation is only internally used by gas. */ + return &xcoff64_howto_table[0xc]; case BFD_RELOC_32: case BFD_RELOC_CTOR: return &xcoff64_howto_table[0x1c]; diff --git a/bfd/config.in b/bfd/config.in index 2fc4897..65fb044 100644 --- a/bfd/config.in +++ b/bfd/config.in @@ -112,6 +112,9 @@ /* Define to 1 if you have the `getpagesize' function. */ #undef HAVE_GETPAGESIZE +/* Define to 1 if you have the `getrlimit' function. */ +#undef HAVE_GETRLIMIT + /* Define to 1 if you have the `getuid' function. */ #undef HAVE_GETUID @@ -234,6 +237,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_SYS_PROCFS_H +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_RESOURCE_H + /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H diff --git a/bfd/configure b/bfd/configure index 5fc08e4..3c6a1f6 100755 --- a/bfd/configure +++ b/bfd/configure @@ -12908,7 +12908,7 @@ fi done -for ac_header in fcntl.h sys/file.h sys/time.h sys/stat.h +for ac_header in fcntl.h sys/file.h sys/time.h sys/stat.h sys/resource.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" @@ -13583,12 +13583,14 @@ _ACEOF fi done -for ac_func in strtoull +for ac_func in strtoull getrlimit do : - ac_fn_c_check_func "$LINENO" "strtoull" "ac_cv_func_strtoull" -if test "x$ac_cv_func_strtoull" = x""yes; then : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +eval as_val=\$$as_ac_var + if test "x$as_val" = x""yes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_STRTOULL 1 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi @@ -15362,7 +15364,7 @@ do bfd_elf32_xtensa_be_vec) tb="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;; bfd_elf64_alpha_freebsd_vec) tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;; bfd_elf64_alpha_vec) tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;; - bfd_elf64_bigaarch64_vec) tb="$tb elf64-aarch64.lo elf64.lo $elf"; target_size=64 ;; + bfd_elf64_bigaarch64_vec) tb="$tb elf64-aarch64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;; bfd_elf64_big_generic_vec) tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;; bfd_elf64_bigmips_vec) tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;; bfd_elf64_hppa_linux_vec) tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;; @@ -15371,7 +15373,7 @@ do bfd_elf64_ia64_hpux_big_vec) tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;; bfd_elf64_ia64_little_vec) tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;; bfd_elf64_ia64_vms_vec) tb="$tb elf64-ia64-vms.lo elf64-ia64.lo elfxx-ia64.lo elf64.lo vms-lib.lo vms-misc.lo $elf"; target_size=64 ;; - bfd_elf64_littleaarch64_vec)tb="$tb elf64-aarch64.lo elf64.lo $elf"; target_size=64 ;; + bfd_elf64_littleaarch64_vec)tb="$tb elf64-aarch64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;; bfd_elf64_little_generic_vec) tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;; bfd_elf64_littlemips_vec) tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;; bfd_elf64_mmix_vec) tb="$tb elf64-mmix.lo elf64.lo $elf" target_size=64 ;; diff --git a/bfd/configure.in b/bfd/configure.in index befcf27..89f68fd 100644 --- a/bfd/configure.in +++ b/bfd/configure.in @@ -211,7 +211,7 @@ AC_SUBST(BFD_HOSTPTR_T) BFD_CC_FOR_BUILD AC_CHECK_HEADERS(alloca.h stddef.h string.h strings.h stdlib.h time.h unistd.h) -AC_CHECK_HEADERS(fcntl.h sys/file.h sys/time.h sys/stat.h) +AC_CHECK_HEADERS(fcntl.h sys/file.h sys/time.h sys/stat.h sys/resource.h) GCC_HEADER_STDINT(bfd_stdint.h) AC_HEADER_TIME AC_HEADER_DIRENT @@ -220,7 +220,7 @@ AC_CHECK_HEADERS(windows.h dlfcn.h) ACX_HEADER_STRING AC_CHECK_FUNCS(fcntl getpagesize setitimer sysconf fdopen getuid getgid fileno) -AC_CHECK_FUNCS(strtoull) +AC_CHECK_FUNCS(strtoull getrlimit) AC_CHECK_DECLS(basename) AC_CHECK_DECLS(ftello) @@ -859,7 +859,7 @@ do bfd_elf32_xtensa_be_vec) tb="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;; bfd_elf64_alpha_freebsd_vec) tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;; bfd_elf64_alpha_vec) tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;; - bfd_elf64_bigaarch64_vec) tb="$tb elf64-aarch64.lo elf64.lo $elf"; target_size=64 ;; + bfd_elf64_bigaarch64_vec) tb="$tb elf64-aarch64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;; bfd_elf64_big_generic_vec) tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;; bfd_elf64_bigmips_vec) tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;; bfd_elf64_hppa_linux_vec) tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;; @@ -868,7 +868,7 @@ do bfd_elf64_ia64_hpux_big_vec) tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;; bfd_elf64_ia64_little_vec) tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;; bfd_elf64_ia64_vms_vec) tb="$tb elf64-ia64-vms.lo elf64-ia64.lo elfxx-ia64.lo elf64.lo vms-lib.lo vms-misc.lo $elf"; target_size=64 ;; - bfd_elf64_littleaarch64_vec)tb="$tb elf64-aarch64.lo elf64.lo $elf"; target_size=64 ;; + bfd_elf64_littleaarch64_vec)tb="$tb elf64-aarch64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;; bfd_elf64_little_generic_vec) tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;; bfd_elf64_littlemips_vec) tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;; bfd_elf64_mmix_vec) tb="$tb elf64-mmix.lo elf64.lo $elf" target_size=64 ;; diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c index 7a1a4ae..c9349da 100644 --- a/bfd/dwarf2.c +++ b/bfd/dwarf2.c @@ -1,6 +1,5 @@ /* DWARF 2 support. - Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, - 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. hooks/post-receive -- Repository for Project Archer.