public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  archer-jankratochvil-bpstat_what: Merge remote branch 'origin/master' into archer-jankratochvil-bpstat_what
@ 2010-05-17  1:43 jkratoch
  0 siblings, 0 replies; 7+ messages in thread
From: jkratoch @ 2010-05-17  1:43 UTC (permalink / raw)
  To: archer-commits

The branch, archer-jankratochvil-bpstat_what has been updated
       via  89782ea8cd8231ed45e1c316a23c8330e8194a83 (commit)
       via  76eb8aca2be42ab83a3f61f1089b304c184fc171 (commit)
       via  eed0e7eb3a8adc67fbb8f8b4fe1d25c8abbffb6e (commit)
       via  d3127cbfffc1e22603ab33e2b170b443982d3c0d (commit)
       via  45d63159a5eb58a3f886a12967f631e15a6a8033 (commit)
       via  763b1b0909971ec7194f40b46463bc9e445f21e1 (commit)
       via  c4e099c7fc2b3dcbfcc5d8495d5adc29dd72fefa (commit)
       via  c0e7e8585870a69f35f76e2964a9a9cb48fb6c7c (commit)
       via  7f448919c601711422297d7503ae0068a569b4f3 (commit)
       via  73cb3c0c0abf8e99e179711c213bb299b1db8664 (commit)
       via  a1aa4b1a308f13116e3086f1a119b6142315facb (commit)
       via  786b538a1fffb59984f486bf9c3a51e7c2260f6d (commit)
       via  224ecb7432296c5bcb0569059146722a6c27d183 (commit)
       via  1d73c6430d12db4a3ef5a0067b7f680ce474dbeb (commit)
       via  d57ea1b42c28e18372586f4822cc9c52e6930f67 (commit)
       via  849e4de3f5a7651baf776d13e7c93cfe7f96cd56 (commit)
       via  f14dc0aa828b0af6b18341cc6b3c031244eac8d3 (commit)
       via  e9dff68d27e2246bd292098c52f25e92baecc6a5 (commit)
       via  69a22d769f04d66c955eed3e20004fedd39353ff (commit)
       via  dacd66a53b559be9c26d2c523f168f1ef0261f4d (commit)
       via  0bd6c4c5348c22cd439a4ccfea82f2b9396689f1 (commit)
       via  37fa870f3822cb3ad1f3a62a0b57d007aead9f4a (commit)
       via  7554f42cfecd702fa69ec6ce67c8a4b434855c39 (commit)
       via  3e50a76881b3ddada2a06b8cf0314e1b9f5599bd (commit)
       via  cb5bd54a983a3b13537128a2f288ff13a4b36118 (commit)
       via  17eee2f45635b901fb9696e16eb2b848034a0c57 (commit)
       via  339f742d467e5c31621a1c1934da379ed026aec3 (commit)
       via  65d22948e1ee7d60c1bc24175e7378f933e8d72c (commit)
       via  4c4cb03d0f9e6ff0c36847a01967538b21764770 (commit)
       via  02a908c3f47272b3ed63dcbbc9c735bff426ef33 (commit)
       via  075880f2752690cf338eef2ebd94ad81ad00c9ba (commit)
       via  193ac4644cab0eda4e542d01ab54675ea4b0438e (commit)
       via  5c147e5cd9d0617d340fb64b68e4288be18d0678 (commit)
       via  d4a4ad49c97c6dea21edcc7742f831b4a0b1f4e9 (commit)
       via  cc7a462c5ddc233d5d949cf02c508b9e2f2aaa9a (commit)
       via  e1274d6c42755b31939e76b3b5ebbfe5de2766bc (commit)
       via  483bf5dccb14b95941909ecef08259d20ad83e77 (commit)
       via  0391c6359c9f4701d1ed7d29649420746be7aba5 (commit)
       via  bfda3b332453feeb231207a3a40cbb51946b7667 (commit)
       via  0f0d6ce5d8b9fe12c84a32bbf8945b01ae2a2584 (commit)
       via  9e1d61d8ebab220d0898011376454d87b2ee15bd (commit)
       via  1bf3f9f807b58801bfc90d0cc8f3a138c740261f (commit)
       via  dee40292a0a33a2f1321cf4e06803ee834355d76 (commit)
       via  968ef37339e0580ceb94f005f2c6bef9baeb0fe4 (commit)
       via  7fc033979c34afd11b1d701b8181967614d6f7f6 (commit)
       via  2b3e9632f18ae356fe2f8bbb55d6fe3c1bb72dbf (commit)
       via  86bc417e1e37d1a2aaf8a04c5e16a18a2b93b613 (commit)
       via  a8d47413e803a3ae6f569ae9e2c3628bc97abd36 (commit)
       via  18e4b987d91ec2f6bb3ccb108e99249553633792 (commit)
       via  1b858d7d284e01c0a805bb0c6efe30b3dcb3b6be (commit)
       via  a594502bc186dd7abd3f1ef97368162cf153967b (commit)
       via  6a5e91e5fad1b8e575f3127597fda514d2c1bc6b (commit)
       via  f2bb916797ee80d8a9a4b1bd6b0a656a16071727 (commit)
       via  7c38f6982f9a314648c3d92392cbdc1e048ea281 (commit)
       via  94b8bb28528c7fcacbf81796f14cb92d7a365a8e (commit)
       via  bebff4d1bd404ea231f3fa7bd6d0c0cc15601c17 (commit)
       via  3ca45c17356a44ada813dbeb17f8764bd639b1d5 (commit)
       via  06574ec28693138f172cd2da5734566a354f9080 (commit)
       via  1a724b6823c659e940c03a3c74b99f888c495b15 (commit)
       via  752ac54348e8d558c86d30f0c78e36e70dd6bc12 (commit)
       via  dbf32a2538aa4c0c7cbd9efd1aee53e5d5235a23 (commit)
       via  5eb195a478e3a37bce4a6a242d566526871057db (commit)
       via  dd4775c57cfbcb3f872d6bf94c790846ca9b9ae4 (commit)
       via  59945fbf800c53cb35b36a4bb43f7ec4b3cf61b7 (commit)
       via  8fd6f4602754501e4aaf3978e76b2c4e54737736 (commit)
       via  8e11c9b67655fbc9433c3c0b7f1261b369d94049 (commit)
       via  6428e82e16170e5f2fca5bd4615e40a9bd904700 (commit)
       via  dbcbaeb953d9e2e318c481c5f636be20aaf86f9d (commit)
       via  79d1092f5e4d31c1549cbba945413f715376fe33 (commit)
       via  6931e7a4897c2867c0f5fa37bc1b80a8a371dcc3 (commit)
       via  60506c02e869273fee749838617c8d83f0265dfa (commit)
       via  3c30632200b0021f6fd6673553c3d124de629f68 (commit)
       via  87bebabc94a5e45723313af0c2427ed3711715b1 (commit)
       via  79300b039a67f952d989d325e7087c70f7c6c528 (commit)
       via  72bb6ca37b3c744bc586c36a7c1268e88728bdcf (commit)
       via  870bde991dd86c083effe5dae235f0ebfa311507 (commit)
       via  51c37135a4525240a40d8ca92192eab5dc74366a (commit)
       via  c5b2e4985cf65e0c9ab8b82e1a3199c71998602e (commit)
       via  827188fab4f3a1c70f4e8fed2fc15416dd086cde (commit)
       via  b59d2d704c224c515321407cebd7bb34403062ac (commit)
       via  36740389202db9855a768e8853b2bc9b1a0451ba (commit)
       via  5af51f644658366f8caf2cf559554a9ac6476c3d (commit)
       via  4b6837f627adb8df2d3c654910e3e30ebed93db5 (commit)
       via  42ee4b09354fae200746f964c2cecee4563ad562 (commit)
       via  2b9c19119f3b947b6dec016b24cf8c67c08f2b91 (commit)
       via  4eb7508d100c40a945c7d89cc14e13c208e85496 (commit)
       via  522f079721f697a2bf9b8c215e254f27a8850c03 (commit)
       via  b91ef3af3eb228da33ae2b1bd32ba858db4e77f3 (commit)
       via  f4ea9d058c84fb949e9c061ee444eb20de0ffce2 (commit)
       via  2a57de41aa57946e997b20f907b766f0bdfdb0a7 (commit)
       via  096667dd0d10dfe49d82a08ea40b11eb06f5b4af (commit)
       via  7fea93046a38fb0dddb7678a8bffffb2408f7bb6 (commit)
       via  b0ea2882e8daedfe09999e3996c69f376a90975b (commit)
       via  f172614d0109d9e8c547a7e29c5fea2a15ad6faf (commit)
       via  0d6bd07575025628880e2b8b351db82199b1e764 (commit)
       via  6407299f65a5833ff704ea46a6c0bc57484527d8 (commit)
       via  e980daf21d09c5caa010d9045f77f5341850c2b1 (commit)
       via  b00ce5ab0fdb3a648f4b8925c83b17615b2dba52 (commit)
       via  4927abba2122a98402fef9f6b7b830704eca787b (commit)
       via  165b53e016058e4e6ed08e8f6e3f1d62d45a9f85 (commit)
       via  9bcdd48c0f8c1311d3652a8ace91a6199e592617 (commit)
       via  f673b19a4aa1ea540dcb507b859ccf36e0a321cd (commit)
       via  27abc8aec8c2601727c2523875c31140639bab64 (commit)
       via  f49db5bb31e8bfa37e6fce7293a18cd2f3c15bd5 (commit)
       via  2e90774983d832188e584cebb893cd0a4b2e174f (commit)
       via  7fb2b5d0c5f88931639c3658acbdd5dcec074920 (commit)
       via  b62b00d7968d1c3138b64cc554f658b98c0e89f1 (commit)
       via  80c4dcc293619a166e83465d500a215dac35325b (commit)
       via  3332b0c53d0a9abd8f281cf410babc244031b84c (commit)
       via  7220daf1e988ce3ff27a59ac35bbc4647c5bec20 (commit)
       via  20c33ce07245626302975edb9bd5db01ce97215d (commit)
       via  ac07f25c6860019e54b8168415ded626a843b295 (commit)
       via  4055898be0e0d9f67c783c7308fa22bfb57873b3 (commit)
       via  cffe0344bc58c0fb2fda626815fdff923395e5c5 (commit)
       via  33237db59ff746be3cf0c00d3ed145c5929e0caf (commit)
       via  5fb8b97e79b66120e75c079963dd72cc22cec8d3 (commit)
       via  58bd3cde7086a435b8bb7193ad7f8c8510be28c0 (commit)
       via  00eb3f8924b440d32d1f1d70645b93ba9c0f87b1 (commit)
       via  5804fd4679f024d93d232b2989ac0d561765f9b9 (commit)
       via  daa90eec460bdce8090d98ac64ca5aa5ea185a83 (commit)
       via  6d5d0eaf2fe5e9dbfcbe1db2c3aaedeaad091dd5 (commit)
       via  7dcd7a8714c7718ac2131d7a5ef612212f2b5667 (commit)
       via  182bca0ee80a3a070892e96158ca89424854e0b6 (commit)
       via  3010eedaa279723761794508b4ca0ccac44aa0a5 (commit)
       via  909cd34ecc36bc3c5134657f055f58a113d97c59 (commit)
       via  6b1c425da60b73c7750a970b230182cbf369aa56 (commit)
       via  1a22a6c3542b50b14d9a643ad02e4ddf70a90197 (commit)
       via  e6a6f67279ed4843912e864c540ee6601ac5f5ec (commit)
       via  54952cba3d95276f558ac80a992d96e01cbf4dc1 (commit)
       via  c913f394e94562e6fd963416bb17952246734faf (commit)
       via  1bbadf4550f95c8bc2afc4ac66f42f7922f6d220 (commit)
       via  60d15ff6d78921d080aee681e60372abe6627570 (commit)
       via  384b96f4e6097e1d6492e9e3681017fe04d56749 (commit)
       via  3c0433dfe2835ab40ad098baec7e87cfcca0c0e2 (commit)
       via  503dfd9d572fc2ddfad9a6815f53eec7b5a5e42c (commit)
       via  a3c404365402daef3839e40a2f3345455dfa2876 (commit)
       via  ca1f9e2a7ee7afc8d329da94300a908836716511 (commit)
       via  dff477d9782f50e0d163363de1fac6f2a8d9a226 (commit)
       via  872b7c6f612a861b17cd42732356223d0503016f (commit)
       via  f016e160c1bc915d5826cd251db03bc43924e31f (commit)
       via  eeb30181669a21f349574a169469936a9516c88a (commit)
       via  5b6d7b27faf540240234d9e0893bd06e61a9a44e (commit)
       via  ed0ee89233b61555c0a7f5a0c25c33fc82b86e0c (commit)
      from  c55fa979ee34ea71339afafd9888958890fffb6a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 89782ea8cd8231ed45e1c316a23c8330e8194a83
Merge: c55fa979ee34ea71339afafd9888958890fffb6a 76eb8aca2be42ab83a3f61f1089b304c184fc171
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon May 17 03:27:06 2010 +0200

    Merge remote branch 'origin/master' into archer-jankratochvil-bpstat_what
    
    Conflicts:
    	gdb/breakpoint.c

-----------------------------------------------------------------------

Summary of changes:
 bfd/ChangeLog                                      |   68 ++
 bfd/Makefile.am                                    |    4 +-
 bfd/Makefile.in                                    |   14 +-
 bfd/aclocal.m4                                     |    6 +-
 bfd/coffcode.h                                     |    6 +-
 bfd/configure                                      |   11 +-
 bfd/configure.in                                   |    6 +-
 bfd/doc/ChangeLog                                  |    4 +
 bfd/doc/Makefile.in                                |    2 +-
 bfd/elf32-arm.c                                    |   69 ++-
 bfd/elfxx-ia64.c                                   |   45 ++
 bfd/libbfd-in.h                                    |    1 +
 bfd/libbfd.h                                       |    1 +
 bfd/po/es.po                                       |  722 +++++++++---------
 bfd/version.h                                      |    2 +-
 bfd/vms-alpha.c                                    |   37 +-
 bfd/vms-lib.c                                      |   12 +-
 gdb/ChangeLog                                      |  825 ++++++++++++++++++++
 gdb/ada-exp.y                                      |    2 -
 gdb/ada-lang.c                                     |   15 +-
 gdb/ada-tasks.c                                    |    1 -
 gdb/ada-valprint.c                                 |    1 -
 gdb/amd64-tdep.c                                   |   56 +--
 gdb/arch-utils.c                                   |    5 +-
 gdb/arm-linux-tdep.c                               |    4 +-
 gdb/arm-tdep.c                                     |   30 +-
 gdb/auxv.c                                         |    1 -
 gdb/ax-gdb.c                                       |    1 -
 gdb/bcache.c                                       |   25 +-
 gdb/blockframe.c                                   |    2 +-
 gdb/breakpoint.c                                   |   91 ++-
 gdb/buildsym.c                                     |    4 +-
 gdb/c-exp.y                                        |   35 +-
 gdb/c-lang.c                                       |   11 +-
 gdb/c-typeprint.c                                  |   11 +-
 gdb/c-valprint.c                                   |   10 +-
 gdb/charset.c                                      |    9 +-
 gdb/cli-out.c                                      |   24 +-
 gdb/cli/cli-cmds.c                                 |    3 +-
 gdb/cli/cli-decode.c                               |    2 -
 gdb/cli/cli-dump.c                                 |    2 -
 gdb/cli/cli-script.c                               |    6 +-
 gdb/coff-pe-read.c                                 |    2 -
 gdb/coffread.c                                     |   15 +-
 gdb/complaints.c                                   |    2 +
 gdb/completer.c                                    |    9 +-
 gdb/corefile.c                                     |   18 +-
 gdb/corelow.c                                      |    8 +-
 gdb/cp-abi.c                                       |    3 +-
 gdb/cp-name-parser.y                               |    2 +-
 gdb/cp-namespace.c                                 |   17 +-
 gdb/cp-support.c                                   |  106 ++-
 gdb/cp-support.h                                   |   55 +-
 gdb/cp-valprint.c                                  |    9 +-
 gdb/d-valprint.c                                   |    1 -
 gdb/dbxread.c                                      |   30 +-
 gdb/dcache.c                                       |    6 +-
 gdb/demangle.c                                     |    1 -
 gdb/dictionary.c                                   |   45 +-
 gdb/disasm.c                                       |   78 ++-
 gdb/disasm.h                                       |   12 +
 gdb/doublest.c                                     |   14 +
 gdb/dsrec.c                                        |    1 +
 gdb/dummy-frame.c                                  |    5 +
 gdb/dwarf2-frame.c                                 |    7 +-
 gdb/dwarf2expr.c                                   |    7 +-
 gdb/dwarf2loc.c                                    |   75 ++-
 gdb/dwarf2read.c                                   |  124 ++--
 gdb/elfread.c                                      |   11 +-
 gdb/environ.c                                      |    1 +
 gdb/eval.c                                         |  124 +++-
 gdb/event-loop.c                                   |    7 +-
 gdb/event-top.c                                    |    3 +-
 gdb/exceptions.c                                   |    9 +
 gdb/exec.c                                         |   10 +-
 gdb/expprint.c                                     |   12 +
 gdb/expression.h                                   |    4 +
 gdb/f-lang.c                                       |    1 -
 gdb/f-typeprint.c                                  |    4 +-
 gdb/f-valprint.c                                   |   18 +-
 gdb/fbsd-nat.c                                     |    3 +-
 gdb/features/i386/i386-mmx.c                       |    2 +-
 gdb/findcmd.c                                      |    4 +
 gdb/findvar.c                                      |   14 +-
 gdb/fork-child.c                                   |    1 +
 gdb/frame-base.c                                   |    4 +
 gdb/frame-unwind.c                                 |    4 +-
 gdb/frame.c                                        |   30 +-
 gdb/gcore.c                                        |    6 +-
 gdb/gdb.c                                          |    1 +
 gdb/gdbarch.c                                      |   35 +-
 gdb/gdbarch.h                                      |   11 +-
 gdb/gdbarch.sh                                     |   15 +-
 gdb/gdbserver/ChangeLog                            |   39 +
 gdb/gdbserver/event-loop.c                         |  115 +++
 gdb/gdbserver/linux-low.h                          |    1 +
 gdb/gdbserver/proc-service.c                       |    2 +-
 gdb/gdbserver/remote-utils.c                       |  110 ++-
 gdb/gdbserver/server.h                             |   11 +-
 gdb/gdbserver/thread-db.c                          |  100 ++-
 gdb/gdbtypes.c                                     |   70 ++-
 gdb/gdbtypes.h                                     |   10 -
 gdb/gnu-nat.c                                      |   56 ++-
 gdb/gnu-v2-abi.c                                   |   13 +-
 gdb/gnu-v3-abi.c                                   |    3 +
 gdb/hppaobsd-tdep.c                                |   54 +-
 gdb/i386-tdep.c                                    |    2 -
 gdb/i387-tdep.c                                    |    1 -
 gdb/inf-child.c                                    |    1 +
 gdb/inf-loop.c                                     |    1 +
 gdb/inf-ttrace.c                                   |   10 +
 gdb/infcall.c                                      |   10 +-
 gdb/infcmd.c                                       |   23 +-
 gdb/inferior.c                                     |    7 +-
 gdb/inflow.c                                       |    1 +
 gdb/infrun.c                                       |   43 +-
 gdb/inline-frame.c                                 |    2 +
 gdb/interps.c                                      |    2 +
 gdb/jit.c                                          |    1 -
 gdb/jv-exp.y                                       |    2 -
 gdb/jv-lang.c                                      |   25 +-
 gdb/jv-typeprint.c                                 |    3 +-
 gdb/jv-valprint.c                                  |    6 +
 gdb/language.c                                     |    9 +-
 gdb/language.h                                     |    6 +-
 gdb/libunwind-frame.c                              |    2 +
 gdb/linespec.c                                     |   15 +-
 gdb/linux-fork.c                                   |   85 ++-
 gdb/linux-nat.c                                    |  144 ++--
 gdb/linux-record.c                                 |   45 +-
 gdb/linux-thread-db.c                              |   21 +-
 gdb/m2-exp.y                                       |   16 -
 gdb/m2-lang.c                                      |   12 +-
 gdb/m2-typeprint.c                                 |    3 -
 gdb/m2-valprint.c                                  |   10 +-
 gdb/macrocmd.c                                     |    5 +-
 gdb/macroexp.c                                     |   10 +-
 gdb/macroscope.c                                   |    1 +
 gdb/macrotab.c                                     |    6 +
 gdb/main.c                                         |    2 +
 gdb/maint.c                                        |    7 +-
 gdb/mdebugread.c                                   |   29 +-
 gdb/mem-break.c                                    |    1 -
 gdb/memattr.c                                      |   22 +-
 gdb/mi/mi-cmd-break.c                              |    3 -
 gdb/mi/mi-cmd-file.c                               |    3 -
 gdb/mi/mi-cmd-stack.c                              |    3 -
 gdb/mi/mi-cmd-target.c                             |    2 +-
 gdb/mi/mi-cmd-var.c                                |    3 -
 gdb/mi/mi-interp.c                                 |    3 -
 gdb/mi/mi-main.c                                   |   20 +-
 gdb/mi/mi-out.c                                    |    1 -
 gdb/minsyms.c                                      |    8 +
 gdb/monitor.c                                      |   23 +-
 gdb/objc-lang.c                                    |  218 +++---
 gdb/objfiles.c                                     |  152 ++--
 gdb/observer.c                                     |    1 +
 gdb/osabi.c                                        |    3 +-
 gdb/osdata.c                                       |    9 +
 gdb/p-exp.y                                        |    4 +-
 gdb/p-lang.c                                       |    5 +-
 gdb/p-typeprint.c                                  |    7 +-
 gdb/p-valprint.c                                   |   33 +-
 gdb/parse.c                                        |   35 +-
 gdb/posix-hdep.c                                   |    1 +
 gdb/printcmd.c                                     |   23 +-
 gdb/procfs.c                                       |   52 ++-
 gdb/progspace.c                                    |    6 +-
 gdb/prologue-value.c                               |    3 +
 gdb/psymtab.c                                      |   14 +-
 gdb/python/py-block.c                              |    1 -
 gdb/python/py-breakpoint.c                         |    2 -
 gdb/python/py-cmd.c                                |    2 -
 gdb/python/py-frame.c                              |    1 -
 gdb/python/py-function.c                           |    1 -
 gdb/python/py-objfile.c                            |    2 -
 gdb/python/py-param.c                              |    1 -
 gdb/python/py-prettyprint.c                        |    3 +-
 gdb/python/py-progspace.c                          |    2 -
 gdb/python/py-symtab.c                             |    1 -
 gdb/python/py-type.c                               |    2 +-
 gdb/python/py-value.c                              |   13 +-
 gdb/python/python.c                                |    3 +-
 gdb/record.c                                       |  167 ++--
 gdb/regcache.c                                     |   37 +-
 gdb/reggroups.c                                    |    5 +
 gdb/remote-fileio.c                                |    2 +
 gdb/remote-m32r-sdi.c                              |    8 +
 gdb/remote-mips.c                                  |   10 +-
 gdb/remote-sim.c                                   |   10 +-
 gdb/remote.c                                       |  156 +++--
 gdb/reverse.c                                      |    2 +-
 gdb/scm-exp.c                                      |    6 +
 gdb/scm-lang.c                                     |    4 +
 gdb/scm-valprint.c                                 |    6 +
 gdb/sentinel-frame.c                               |    2 +
 gdb/ser-base.c                                     |    2 +
 gdb/ser-go32.c                                     |    1 +
 gdb/ser-mingw.c                                    |    2 +
 gdb/ser-pipe.c                                     |    5 +-
 gdb/ser-tcp.c                                      |    3 +
 gdb/ser-unix.c                                     |    2 +
 gdb/serial.c                                       |    2 +-
 gdb/sol-thread.c                                   |   35 +
 gdb/solib-darwin.c                                 |    2 +
 gdb/solib-frv.c                                    |    1 +
 gdb/solib-irix.c                                   |    2 +-
 gdb/solib-osf.c                                    |    1 +
 gdb/solib-pa64.c                                   |    3 +-
 gdb/solib-som.c                                    |    2 +-
 gdb/solib-spu.c                                    |    4 +
 gdb/solib-svr4.c                                   |    8 +-
 gdb/solib-target.c                                 |    4 +
 gdb/solib.c                                        |   14 +-
 gdb/source.c                                       |    8 +-
 gdb/sparc-tdep.c                                   |    7 +-
 gdb/sparc64-tdep.c                                 |    7 +-
 gdb/stabsread.c                                    |   81 ++-
 gdb/stack.c                                        |   39 +-
 gdb/std-regs.c                                     |    6 +
 gdb/symfile.c                                      |   42 +-
 gdb/symfile.h                                      |    8 +-
 gdb/symmisc.c                                      |    8 +-
 gdb/symtab.c                                       |   88 ++-
 gdb/target-descriptions.c                          |    4 +-
 gdb/target.c                                       |    1 -
 gdb/testsuite/ChangeLog                            |   32 +
 gdb/testsuite/gdb.arch/alpha-step.exp              |    2 -
 gdb/testsuite/gdb.arch/altivec-regs.exp            |    2 -
 gdb/testsuite/gdb.arch/amd64-byte.exp              |    2 -
 gdb/testsuite/gdb.arch/amd64-disp-step.exp         |    2 -
 gdb/testsuite/gdb.arch/amd64-dword.exp             |    2 -
 gdb/testsuite/gdb.arch/amd64-word.exp              |    2 -
 gdb/testsuite/gdb.arch/e500-abi.exp                |    2 -
 gdb/testsuite/gdb.arch/e500-prologue.exp           |    2 -
 gdb/testsuite/gdb.arch/e500-regs.exp               |    2 -
 gdb/testsuite/gdb.arch/gdb1291.exp                 |    2 -
 gdb/testsuite/gdb.arch/gdb1431.exp                 |    2 -
 gdb/testsuite/gdb.arch/gdb1558.exp                 |    2 -
 gdb/testsuite/gdb.arch/i386-avx.exp                |    2 -
 gdb/testsuite/gdb.arch/i386-byte.exp               |    2 -
 gdb/testsuite/gdb.arch/i386-disp-step.exp          |    2 -
 gdb/testsuite/gdb.arch/i386-gnu-cfi.exp            |    2 -
 gdb/testsuite/gdb.arch/i386-prologue.exp           |    2 -
 gdb/testsuite/gdb.arch/i386-sse.exp                |    2 -
 gdb/testsuite/gdb.arch/i386-unwind.exp             |    2 -
 gdb/testsuite/gdb.arch/i386-word.exp               |    2 -
 gdb/testsuite/gdb.arch/pa-nullify.exp              |    2 -
 gdb/testsuite/gdb.arch/powerpc-aix-prologue.exp    |    2 -
 gdb/testsuite/gdb.arch/ppc64-atomic-inst.exp       |    2 -
 gdb/testsuite/gdb.arch/spu-info.exp                |    2 -
 gdb/testsuite/gdb.arch/system-gcore.exp            |    2 -
 gdb/testsuite/gdb.arch/vsx-regs.exp                |    2 -
 gdb/testsuite/gdb.asm/asm-source.exp               |    2 -
 gdb/testsuite/gdb.base/a2-run.exp                  |    2 -
 gdb/testsuite/gdb.base/all-bin.exp                 |    2 -
 gdb/testsuite/gdb.base/annota1.exp                 |    2 -
 gdb/testsuite/gdb.base/annota3.exp                 |    2 -
 gdb/testsuite/gdb.base/arithmet.exp                |    2 -
 gdb/testsuite/gdb.base/assign.exp                  |    2 -
 gdb/testsuite/gdb.base/async.exp                   |    2 -
 gdb/testsuite/gdb.base/attach.exp                  |    2 -
 gdb/testsuite/gdb.base/auxv.exp                    |    2 -
 gdb/testsuite/gdb.base/bigcore.exp                 |    2 -
 gdb/testsuite/gdb.base/bitfields.exp               |    2 -
 gdb/testsuite/gdb.base/bitfields2.exp              |    2 -
 gdb/testsuite/gdb.base/bitops.exp                  |    2 -
 gdb/testsuite/gdb.base/call-ar-st.exp              |    2 -
 gdb/testsuite/gdb.base/call-rt-st.exp              |    2 -
 gdb/testsuite/gdb.base/call-sc.exp                 |    2 -
 gdb/testsuite/gdb.base/call-signal-resume.exp      |    2 -
 gdb/testsuite/gdb.base/call-strs.exp               |    2 -
 gdb/testsuite/gdb.base/callexit.exp                |    2 -
 gdb/testsuite/gdb.base/callfuncs.exp               |    2 -
 gdb/testsuite/gdb.base/catch-syscall.exp           |    2 -
 gdb/testsuite/gdb.base/charset.exp                 |    2 -
 gdb/testsuite/gdb.base/checkpoint.exp              |    2 -
 gdb/testsuite/gdb.base/chng-syms.exp               |    2 -
 gdb/testsuite/gdb.base/code-expr.exp               |    2 -
 gdb/testsuite/gdb.base/commands.exp                |    2 -
 gdb/testsuite/gdb.base/completion.exp              |    2 -
 gdb/testsuite/gdb.base/complex.exp                 |    1 -
 gdb/testsuite/gdb.base/condbreak.exp               |    2 -
 gdb/testsuite/gdb.base/consecutive.exp             |    2 -
 gdb/testsuite/gdb.base/constvars.exp               |    2 -
 gdb/testsuite/gdb.base/corefile.exp                |    2 -
 gdb/testsuite/gdb.base/cursal.exp                  |    2 -
 gdb/testsuite/gdb.base/cvexpr.exp                  |    2 -
 gdb/testsuite/gdb.base/define.exp                  |    2 -
 gdb/testsuite/gdb.base/del.exp                     |    2 -
 gdb/testsuite/gdb.base/detach.exp                  |    2 -
 gdb/testsuite/gdb.base/dump.exp                    |    2 -
 gdb/testsuite/gdb.base/echo.exp                    |   11 -
 gdb/testsuite/gdb.base/ena-dis-br.exp              |    2 -
 gdb/testsuite/gdb.base/environ.exp                 |    2 -
 gdb/testsuite/gdb.base/exprs.exp                   |    2 -
 gdb/testsuite/gdb.base/fileio.exp                  |    2 -
 gdb/testsuite/gdb.base/finish.exp                  |    2 -
 gdb/testsuite/gdb.base/fixsection.exp              |    2 -
 gdb/testsuite/gdb.base/float.exp                   |    2 -
 gdb/testsuite/gdb.base/foll-exec.exp               |    2 -
 gdb/testsuite/gdb.base/foll-fork.exp               |    2 -
 gdb/testsuite/gdb.base/foll-vfork.exp              |    2 -
 gdb/testsuite/gdb.base/freebpcmd.exp               |    2 -
 gdb/testsuite/gdb.base/funcargs.exp                |    2 -
 gdb/testsuite/gdb.base/gcore-buffer-overflow.exp   |    2 -
 gdb/testsuite/gdb.base/gcore.exp                   |    2 -
 gdb/testsuite/gdb.base/gdb1056.exp                 |    2 -
 gdb/testsuite/gdb.base/gdb1090.exp                 |    2 -
 gdb/{gdb.c => testsuite/gdb.base/gdb11530.c}       |   33 +-
 .../{gdb.cp/nsdecl.exp => gdb.base/gdb11530.exp}   |   45 +-
 gdb/testsuite/gdb.base/gdb11531.exp                |    2 -
 gdb/testsuite/gdb.base/gdb1250.exp                 |    2 -
 gdb/testsuite/gdb.base/gdbvars.exp                 |    2 -
 gdb/testsuite/gdb.base/hashline1.exp               |    6 +-
 gdb/testsuite/gdb.base/hashline2.exp               |    5 +-
 gdb/testsuite/gdb.base/hashline3.exp               |    6 +-
 gdb/testsuite/gdb.base/help.exp                    |    2 -
 gdb/testsuite/gdb.base/huge.exp                    |    2 -
 gdb/testsuite/gdb.base/info-proc.exp               |    2 -
 gdb/testsuite/gdb.base/info-target.exp             |    2 -
 gdb/testsuite/gdb.base/interrupt.exp               |    2 -
 gdb/testsuite/gdb.base/jump.exp                    |    2 -
 gdb/testsuite/gdb.base/langs.exp                   |    2 -
 gdb/testsuite/gdb.base/lineinc.exp                 |    2 -
 gdb/testsuite/gdb.base/list.exp                    |    2 -
 gdb/testsuite/gdb.base/logical.exp                 |    2 -
 gdb/testsuite/gdb.base/longjmp.exp                 |    2 -
 gdb/testsuite/gdb.base/macscp.exp                  |    2 -
 gdb/testsuite/gdb.base/maint.exp                   |    2 -
 gdb/testsuite/gdb.base/mips_pro.exp                |    2 -
 gdb/testsuite/gdb.base/miscexprs.exp               |    2 -
 gdb/testsuite/gdb.base/multi-forks.exp             |    2 -
 gdb/testsuite/gdb.base/nodebug.exp                 |    2 -
 gdb/testsuite/gdb.base/opaque.exp                  |    2 -
 gdb/testsuite/gdb.base/overlays.exp                |    2 -
 gdb/testsuite/gdb.base/pc-fp.exp                   |    2 -
 gdb/testsuite/gdb.base/pending.exp                 |    2 -
 gdb/testsuite/gdb.base/pointers.exp                |    2 -
 gdb/testsuite/gdb.base/prelink.exp                 |    2 -
 gdb/testsuite/gdb.base/printcmds.exp               |    2 -
 gdb/testsuite/gdb.base/psymtab.exp                 |    2 -
 gdb/testsuite/gdb.base/ptype.exp                   |    2 -
 gdb/testsuite/gdb.base/radix.exp                   |    2 -
 gdb/testsuite/gdb.base/recurse.exp                 |    2 -
 gdb/testsuite/gdb.base/relational.exp              |    2 -
 gdb/testsuite/gdb.base/remote.exp                  |    2 -
 gdb/testsuite/gdb.base/reread.exp                  |    8 -
 gdb/testsuite/gdb.base/restore.exp                 |    2 -
 gdb/testsuite/gdb.base/return2.exp                 |    2 -
 gdb/testsuite/gdb.base/savedregs.exp               |    2 -
 gdb/testsuite/gdb.base/scope.exp                   |    2 -
 gdb/testsuite/gdb.base/sect-cmd.exp                |    2 -
 gdb/testsuite/gdb.base/sepdebug.exp                |    2 -
 gdb/testsuite/gdb.base/set-lang-auto.exp           |    2 -
 gdb/testsuite/gdb.base/setshow.exp                 |    2 -
 gdb/testsuite/gdb.base/setvar.exp                  |    2 -
 gdb/testsuite/gdb.base/shlib-call.exp              |    2 -
 gdb/testsuite/gdb.base/shreloc.exp                 |    2 -
 gdb/testsuite/gdb.base/sigall.exp                  |    2 -
 gdb/testsuite/gdb.base/sigaltstack.exp             |    2 -
 gdb/testsuite/gdb.base/sigbpt.exp                  |    2 -
 gdb/testsuite/gdb.base/siginfo-addr.exp            |    2 -
 gdb/testsuite/gdb.base/siginfo-obj.exp             |    2 -
 gdb/testsuite/gdb.base/siginfo.exp                 |    2 -
 gdb/testsuite/gdb.base/signals.exp                 |    2 -
 gdb/testsuite/gdb.base/signull.exp                 |    2 -
 gdb/testsuite/gdb.base/sigrepeat.exp               |    2 -
 gdb/testsuite/gdb.base/sigstep.exp                 |    2 -
 gdb/testsuite/gdb.base/sizeof.exp                  |    2 -
 gdb/testsuite/gdb.base/so-impl-ld.exp              |    2 -
 gdb/testsuite/gdb.base/so-indr-cl.exp              |    2 -
 gdb/testsuite/gdb.base/solib.exp                   |    2 -
 gdb/testsuite/gdb.base/source.exp                  |    2 -
 gdb/testsuite/gdb.base/stack-checking.exp          |    2 -
 gdb/testsuite/gdb.base/start.exp                   |    2 -
 gdb/testsuite/gdb.base/step-bt.exp                 |    2 -
 gdb/testsuite/gdb.base/store.exp                   |    2 -
 gdb/testsuite/gdb.base/structs.exp                 |    2 -
 gdb/testsuite/gdb.base/structs2.exp                |    6 -
 gdb/testsuite/gdb.base/term.exp                    |    2 -
 gdb/testsuite/gdb.base/twice.exp                   |    2 -
 gdb/testsuite/gdb.base/unload.exp                  |    2 -
 gdb/testsuite/gdb.base/unwindonsignal.exp          |    2 -
 gdb/testsuite/gdb.base/varargs.exp                 |    2 -
 gdb/testsuite/gdb.base/volatile.exp                |    2 -
 gdb/testsuite/gdb.base/watchpoint-solib.exp        |    2 -
 gdb/testsuite/gdb.base/watchpoint.exp              |    2 -
 gdb/testsuite/gdb.base/watchpoints.exp             |    2 -
 gdb/testsuite/gdb.base/whatis-exp.exp              |    2 -
 gdb/testsuite/gdb.base/whatis.exp                  |    2 -
 gdb/testsuite/gdb.cp/ambiguous.exp                 |    2 -
 gdb/testsuite/gdb.cp/annota2.exp                   |    2 -
 gdb/testsuite/gdb.cp/annota3.exp                   |    2 -
 gdb/testsuite/gdb.cp/anon-union.exp                |    2 -
 gdb/testsuite/gdb.cp/arg-reference.exp             |    2 -
 gdb/testsuite/gdb.cp/bool.exp                      |    2 -
 gdb/testsuite/gdb.cp/breakpoint.exp                |    2 -
 gdb/testsuite/gdb.cp/call-c.exp                    |    2 -
 gdb/testsuite/gdb.cp/casts.exp                     |    2 -
 gdb/testsuite/gdb.cp/class2.exp                    |    2 -
 gdb/testsuite/gdb.cp/classes.exp                   |    4 -
 gdb/testsuite/gdb.cp/cpexprs.exp                   |    2 -
 gdb/testsuite/gdb.cp/cplusfuncs.exp                |    4 -
 gdb/testsuite/gdb.cp/demangle.exp                  |    4 -
 gdb/testsuite/gdb.cp/derivation.exp                |    2 -
 gdb/testsuite/gdb.cp/exception.exp                 |    2 -
 gdb/testsuite/gdb.cp/formatted-ref.exp             |    2 -
 gdb/testsuite/gdb.cp/gdb1355.exp                   |    2 -
 gdb/testsuite/gdb.cp/gdb2384.exp                   |    5 +-
 gdb/testsuite/gdb.cp/gdb2495.exp                   |    5 +-
 gdb/testsuite/gdb.cp/hang.exp                      |    2 -
 gdb/testsuite/gdb.cp/inherit.exp                   |    4 -
 gdb/testsuite/gdb.cp/koenig.cc                     |  245 ++++++
 gdb/testsuite/gdb.cp/koenig.exp                    |  109 +++
 gdb/testsuite/gdb.cp/local.exp                     |    2 -
 gdb/testsuite/gdb.cp/m-data.exp                    |    2 -
 gdb/testsuite/gdb.cp/m-static.exp                  |    2 -
 gdb/testsuite/gdb.cp/mb-ctor.exp                   |    2 -
 gdb/testsuite/gdb.cp/mb-inline.exp                 |    2 -
 gdb/testsuite/gdb.cp/mb-templates.exp              |    2 -
 gdb/testsuite/gdb.cp/member-ptr.exp                |    2 -
 gdb/testsuite/gdb.cp/method.exp                    |    2 -
 gdb/testsuite/gdb.cp/misc.exp                      |    4 -
 gdb/testsuite/gdb.cp/namespace-nested-import.exp   |    2 -
 gdb/testsuite/gdb.cp/namespace.exp                 |    2 -
 gdb/testsuite/gdb.cp/nsdecl.exp                    |    2 -
 gdb/testsuite/gdb.cp/nsimport.exp                  |    2 -
 gdb/testsuite/gdb.cp/nsrecurs.exp                  |    2 -
 gdb/testsuite/gdb.cp/nsstress.exp                  |    2 -
 gdb/testsuite/gdb.cp/nsusing.exp                   |    2 -
 gdb/testsuite/gdb.cp/overload.exp                  |    2 -
 gdb/testsuite/gdb.cp/ovldbreak.exp                 |    2 -
 gdb/testsuite/gdb.cp/pr-1023.exp                   |    2 -
 gdb/testsuite/gdb.cp/pr-1210.exp                   |    2 -
 gdb/testsuite/gdb.cp/pr-574.exp                    |    2 -
 gdb/testsuite/gdb.cp/printmethod.exp               |    2 -
 gdb/testsuite/gdb.cp/psmang.exp                    |    2 -
 gdb/testsuite/gdb.cp/ref-params.exp                |    2 -
 gdb/testsuite/gdb.cp/ref-types.exp                 |    7 +-
 gdb/testsuite/gdb.cp/rtti.exp                      |    2 -
 gdb/testsuite/gdb.cp/shadow.exp                    |    2 -
 gdb/testsuite/gdb.cp/templates.exp                 |    4 -
 gdb/testsuite/gdb.cp/try_catch.exp                 |    2 -
 gdb/testsuite/gdb.cp/virtfunc.exp                  |    4 -
 gdb/testsuite/gdb.disasm/am33.exp                  |    2 -
 gdb/testsuite/gdb.disasm/h8300s.exp                |    2 -
 gdb/testsuite/gdb.disasm/hppa.exp                  |    2 -
 gdb/testsuite/gdb.disasm/mn10300.exp               |    2 -
 gdb/testsuite/gdb.disasm/sh3.exp                   |    2 -
 gdb/testsuite/gdb.disasm/t01_mov.exp               |    2 -
 gdb/testsuite/gdb.disasm/t02_mova.exp              |    2 -
 gdb/testsuite/gdb.disasm/t03_add.exp               |    2 -
 gdb/testsuite/gdb.disasm/t04_sub.exp               |    2 -
 gdb/testsuite/gdb.disasm/t05_cmp.exp               |    2 -
 gdb/testsuite/gdb.disasm/t06_ari2.exp              |    2 -
 gdb/testsuite/gdb.disasm/t07_ari3.exp              |    2 -
 gdb/testsuite/gdb.disasm/t08_or.exp                |    2 -
 gdb/testsuite/gdb.disasm/t09_xor.exp               |    2 -
 gdb/testsuite/gdb.disasm/t10_and.exp               |    2 -
 gdb/testsuite/gdb.disasm/t11_logs.exp              |    2 -
 gdb/testsuite/gdb.disasm/t12_bit.exp               |    2 -
 gdb/testsuite/gdb.disasm/t13_otr.exp               |    2 -
 gdb/testsuite/gdb.dwarf2/dw2-modula2-self-type.S   |  123 +++
 gdb/testsuite/gdb.dwarf2/dw2-modula2-self-type.exp |   48 ++
 gdb/testsuite/gdb.fortran/exprs.exp                |    2 -
 gdb/testsuite/gdb.fortran/types.exp                |    2 -
 gdb/testsuite/gdb.gdb/complaints.exp               |    2 -
 gdb/testsuite/gdb.gdb/observer.exp                 |    2 -
 gdb/testsuite/gdb.gdb/selftest.exp                 |    2 -
 gdb/testsuite/gdb.gdb/xfullpath.exp                |    2 -
 gdb/testsuite/gdb.hp/gdb.aCC/watch-cmd.exp         |    2 -
 gdb/testsuite/gdb.hp/gdb.base-hp/callfwmall.exp    |    2 -
 gdb/testsuite/gdb.hp/gdb.base-hp/dollar.exp        |    2 -
 gdb/testsuite/gdb.hp/gdb.base-hp/hwwatchbus.exp    |    2 -
 gdb/testsuite/gdb.hp/gdb.base-hp/pxdb.exp          |    2 -
 gdb/testsuite/gdb.hp/gdb.base-hp/sized-enum.exp    |    2 -
 gdb/testsuite/gdb.hp/gdb.base-hp/so-thresh.exp     |    2 -
 gdb/testsuite/gdb.hp/gdb.compat/xdb1.exp           |    2 -
 gdb/testsuite/gdb.hp/gdb.compat/xdb2.exp           |    2 -
 gdb/testsuite/gdb.hp/gdb.defects/bs14602.exp       |    2 -
 gdb/testsuite/gdb.hp/gdb.defects/solib-d.exp       |    2 -
 gdb/testsuite/gdb.java/jmain.exp                   |    2 -
 gdb/testsuite/gdb.java/jmisc.exp                   |    2 -
 gdb/testsuite/gdb.java/jprint.exp                  |    2 -
 gdb/testsuite/gdb.java/jv-exp.exp                  |    2 -
 gdb/testsuite/gdb.java/jv-print.exp                |    2 -
 gdb/testsuite/gdb.mi/mi-pending.exp                |    2 -
 gdb/testsuite/gdb.objc/basicclass.exp              |    4 -
 gdb/testsuite/gdb.objc/nondebug.exp                |    4 -
 gdb/testsuite/gdb.objc/objcdecode.exp              |    4 -
 gdb/testsuite/gdb.pascal/types.exp                 |    2 -
 gdb/testsuite/gdb.python/py-value.exp              |   18 +
 gdb/testsuite/gdb.reverse/i386-precsave.exp        |    2 -
 gdb/testsuite/gdb.reverse/i386-reverse.exp         |    2 -
 gdb/testsuite/gdb.reverse/i386-sse-reverse.exp     |    2 -
 gdb/testsuite/gdb.reverse/i387-env-reverse.exp     |    2 -
 gdb/testsuite/gdb.reverse/i387-stack-reverse.exp   |    2 -
 gdb/testsuite/gdb.reverse/sigall-precsave.exp      |    2 -
 gdb/testsuite/gdb.reverse/sigall-reverse.exp       |    2 -
 gdb/testsuite/gdb.stabs/exclfwd.exp                |    2 -
 gdb/testsuite/gdb.stabs/gdb11479.exp               |    2 -
 gdb/testsuite/gdb.stabs/weird.exp                  |    2 -
 gdb/testsuite/gdb.threads/gcore-thread.exp         |    2 -
 gdb/testsuite/gdb.threads/killed.exp               |    2 -
 gdb/testsuite/gdb.threads/linux-dp.exp             |    2 -
 gdb/testsuite/gdb.threads/manythreads.exp          |    2 -
 gdb/testsuite/gdb.threads/print-threads.exp        |    2 -
 gdb/testsuite/gdb.threads/pthreads.exp             |    2 -
 gdb/testsuite/gdb.threads/schedlock.exp            |    2 -
 gdb/testsuite/gdb.threads/staticthreads.exp        |    2 -
 gdb/testsuite/gdb.threads/step.exp                 |    4 -
 gdb/testsuite/gdb.threads/step2.exp                |    2 -
 gdb/testsuite/gdb.threads/thread-specific.exp      |    2 -
 gdb/testsuite/gdb.threads/thread_check.exp         |    2 -
 gdb/testsuite/gdb.threads/thread_events.exp        |    2 -
 gdb/testsuite/gdb.threads/threadapply.exp          |    2 -
 gdb/testsuite/gdb.threads/watchthreads.exp         |    2 -
 gdb/testsuite/gdb.threads/watchthreads2.exp        |    2 -
 gdb/testsuite/gdb.trace/actions.exp                |    2 -
 gdb/testsuite/gdb.trace/ax.exp                     |    2 -
 gdb/testsuite/gdb.trace/backtrace.exp              |    2 -
 gdb/testsuite/gdb.trace/circ.exp                   |    2 -
 gdb/testsuite/gdb.trace/collection.exp             |    2 -
 gdb/testsuite/gdb.trace/deltrace.exp               |    2 -
 gdb/testsuite/gdb.trace/infotrace.exp              |    2 -
 gdb/testsuite/gdb.trace/limits.exp                 |    2 -
 gdb/testsuite/gdb.trace/packetlen.exp              |    2 -
 gdb/testsuite/gdb.trace/passc-dyn.exp              |    2 -
 gdb/testsuite/gdb.trace/passcount.exp              |    2 -
 gdb/testsuite/gdb.trace/report.exp                 |    2 -
 gdb/testsuite/gdb.trace/save-trace.exp             |    2 -
 gdb/testsuite/gdb.trace/tfile.exp                  |    2 -
 gdb/testsuite/gdb.trace/tfind.exp                  |    2 -
 gdb/testsuite/gdb.trace/tracecmd.exp               |    2 -
 gdb/testsuite/gdb.trace/tsv.exp                    |    2 -
 gdb/testsuite/gdb.trace/while-dyn.exp              |    2 -
 gdb/testsuite/gdb.trace/while-stepping.exp         |    2 -
 gdb/top.c                                          |    3 -
 gdb/tracepoint.c                                   |   34 +-
 gdb/trad-frame.c                                   |    1 -
 gdb/tramp-frame.c                                  |    1 -
 gdb/tui/tui-interp.c                               |    1 -
 gdb/tui/tui-regs.c                                 |    5 +-
 gdb/tui/tui-win.c                                  |    1 -
 gdb/tui/tui-windata.c                              |    3 -
 gdb/ui-out.c                                       |    2 -
 gdb/utils.c                                        |   56 ++-
 gdb/valarith.c                                     |    2 -
 gdb/valops.c                                       |  108 ++-
 gdb/valprint.c                                     |    2 -
 gdb/value.c                                        |    2 -
 gdb/value.h                                        |    2 +-
 gdb/varobj.c                                       |   17 +-
 gdb/version.in                                     |    2 +-
 gdb/xml-support.c                                  |    2 -
 gdb/xml-syscall.c                                  |   15 +-
 gdb/xml-tdesc.c                                    |    1 -
 libiberty/ChangeLog                                |    7 +
 libiberty/cp-demangle.c                            |    8 +
 libiberty/cp-demangle.h                            |    2 +-
 libiberty/testsuite/demangle-expected              |    3 +
 opcodes/ChangeLog                                  |   19 +
 opcodes/Makefile.in                                |    6 +-
 opcodes/aclocal.m4                                 |    6 +-
 opcodes/arm-dis.c                                  |   11 +-
 opcodes/po/es.po                                   |   42 +-
 opcodes/ppc-opc.c                                  |    8 +-
 sim/erc32/ChangeLog                                |   11 +
 sim/erc32/erc32.c                                  |    6 +-
 sim/erc32/func.c                                   |   22 +-
 sim/erc32/interf.c                                 |    8 +-
 sim/erc32/sis.c                                    |    2 +-
 sim/erc32/sis.h                                    |   47 +-
 574 files changed, 4978 insertions(+), 2636 deletions(-)
 copy gdb/{gdb.c => testsuite/gdb.base/gdb11530.c} (58%)
 copy gdb/testsuite/{gdb.cp/nsdecl.exp => gdb.base/gdb11530.exp} (52%)
 create mode 100644 gdb/testsuite/gdb.cp/koenig.cc
 create mode 100644 gdb/testsuite/gdb.cp/koenig.exp
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-modula2-self-type.S
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-modula2-self-type.exp

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 6ebbe7f..02f9c05 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,70 @@
+2010-05-14  Tristan Gingold  <gingold@adacore.com>
+
+	* vms-alpha.c (alpha_vms_object_p): Accept header size of 0.
+	(_bfd_vms_get_object_record): Handle align byte only in the
+	foreign case.
+
+2010-05-14  Tristan Gingold  <gingold@adacore.com>
+
+	* vms-lib.c (_bfd_vms_lib_ia64_archive_p): New function.
+	* libbfd-in.h (_bfd_vms_lib_ia64_archive_p): Add prototype.
+	* libbfd.h: Regenerate.
+	* configure.in (havevecs): Define HAVE_all_vecs when
+	--enable-targets=all is set.  Use AC_SUBST on it.
+	(tdefaults): Do not add havevecs.
+	(bfd_elf64_ia64_vms_vec): Add vms-lib.lo and vms-misc.lo
+	* configure: Regenerate.
+	* Makefile.am (HAVEVECS): New variable.
+	(INCLUDES): Add HAVEVECS.
+	* Makefile.in: Regenerate.
+	* elfxx-ia64.c (INCLUDE_IA64_VMS): New macro, defined if vms
+	target is selected.  Add #ifdef/#endif around vms specific code.
+	(bfd_elfNN_archive_p, bfd_elfNN_archive_slurp_armap,
+	bfd_elfNN_archive_slurp_extended_name_table,
+	bfd_elfNN_archive_construct_extended_name_table,
+	bfd_elfNN_archive_truncate_arname,
+	bfd_elfNN_archive_write_armap,
+	bfd_elfNN_archive_read_ar_hdr,
+	bfd_elfNN_archive_write_ar_hdr,
+	bfd_elfNN_archive_openr_next_archived_file,
+	bfd_elfNN_archive_get_elt_at_index,
+	bfd_elfNN_archive_generic_stat_arch_elt,
+	bfd_elfNN_archive_update_armap_timestamp): Define to use vms archives.
+
+2010-05-11  Jie Zhang  <jie@codesourcery.com>
+
+	* elf32-arm.c (elf32_arm_merge_eabi_attributes): Merge
+	Tag_ABI_HardFP_use correctly.
+
+2010-05-11  Alan Modra  <amodra@gmail.com>
+
+	* coffcode.h (coff_write_object_contents): Enclose all occurrences
+	of hasdebug and is_reloc_section in #ifdef COFF_IMAGE_WITH_PE.
+
+2010-05-07  Daniel Jacobowitz  <dan@codesourcery.com>
+
+	* elf32-arm.c (struct a8_erratum_reloc): Add hash member.  Move
+	sym_name to improve packing.
+	(cortex_a8_erratum_scan): Check for PLT entries.
+	(elf32_arm_size_stubs): Save the target symbol for a8 relocs.
+
+2010-05-07  Tristan Gingold  <gingold@adacore.com>
+
+	* Makefile.in: Regenerate with automake 1.11.1.
+	* aclocal.m4: Ditto.
+
+2010-05-05  Nick Clifton  <nickc@redhat.com>
+
+	* po/es.po: Updated Spanish translation.
+
+2010-05-03  Tristan Gingold  <gingold@adacore.com>
+
+	* vms-lib.c (vms_lib_bopen): Fix the size threshold to read
+	selective_search flag.
+	Add comments.
+	* vms-alpha.c (alpha_vms_bfd_final_link): Create the DMT section
+	before output_has_begun is set.
+
 2010-05-03  Tristan Gingold  <gingold@adacore.com>
 
 	* vms-alpha.c: Add comments.
@@ -11,6 +78,7 @@
 	Write the dmt section.
 	(evax_bfd_print_image): Also print the dst size in hexa.  Fix typo.
 	(alpha_vms_read_sections_content): Do not set image_autoextend.
+	(alpha_vms_bfd_final_link): Generate the dst.
 
 2010-05-03  Tristan Gingold  <gingold@adacore.com>
 
diff --git a/bfd/Makefile.am b/bfd/Makefile.am
index ef545f5..e625930 100644
--- a/bfd/Makefile.am
+++ b/bfd/Makefile.am
@@ -682,8 +682,10 @@ ALL_BACKENDS = @all_backends@
 BFD_BACKENDS = @bfd_backends@
 BFD_MACHINES = @bfd_machines@
 TDEFAULTS = @tdefaults@
+HAVEVECS = @havevecs@
 
-INCLUDES = @HDEFINES@ @COREFLAG@ @TDEFINES@ $(CSEARCH) $(CSWITCHES) @INCINTL@
+INCLUDES = @HDEFINES@ @COREFLAG@ @TDEFINES@ $(CSEARCH) $(CSWITCHES) \
+	$(HAVEVECS) @INCINTL@
 
 # C source files that correspond to .o's.
 SOURCE_CFILES = \
diff --git a/bfd/Makefile.in b/bfd/Makefile.in
index 7134a70..e21c1cd 100644
--- a/bfd/Makefile.in
+++ b/bfd/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.11 from Makefile.am.
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
 # @configure_input@
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -277,6 +277,7 @@ datarootdir = @datarootdir@
 docdir = @docdir@
 dvidir = @dvidir@
 exec_prefix = @exec_prefix@
+havevecs = @havevecs@
 host = @host@
 host_alias = @host_alias@
 host_cpu = @host_cpu@
@@ -688,9 +689,9 @@ BFD32_BACKENDS = \
 	vaxbsd.lo \
 	vaxnetbsd.lo \
 	versados.lo \
-	vms-misc.lo \
 	vms-alpha.lo \
 	vms-lib.lo \
+	vms-misc.lo \
 	xcofflink.lo \
 	xsym.lo \
 	xtensa-isa.lo \
@@ -982,7 +983,10 @@ ALL_BACKENDS = @all_backends@
 BFD_BACKENDS = @bfd_backends@
 BFD_MACHINES = @bfd_machines@
 TDEFAULTS = @tdefaults@
-INCLUDES = @HDEFINES@ @COREFLAG@ @TDEFINES@ $(CSEARCH) $(CSWITCHES) @INCINTL@
+HAVEVECS = @havevecs@
+INCLUDES = @HDEFINES@ @COREFLAG@ @TDEFINES@ $(CSEARCH) $(CSWITCHES) \
+	$(HAVEVECS) @INCINTL@
+
 
 # C source files that correspond to .o's.
 SOURCE_CFILES = \
@@ -1547,7 +1551,7 @@ uninstall-bfdincludeHEADERS:
 #     (which will cause the Makefiles to be regenerated when you run `make');
 # (2) otherwise, pass the desired values on the `make' command line.
 $(RECURSIVE_TARGETS):
-	@failcom='exit 1'; \
+	@fail= failcom='exit 1'; \
 	for f in x $$MAKEFLAGS; do \
 	  case $$f in \
 	    *=* | --[!k]*);; \
@@ -1572,7 +1576,7 @@ $(RECURSIVE_TARGETS):
 	fi; test -z "$$fail"
 
 $(RECURSIVE_CLEAN_TARGETS):
-	@failcom='exit 1'; \
+	@fail= failcom='exit 1'; \
 	for f in x $$MAKEFLAGS; do \
 	  case $$f in \
 	    *=* | --[!k]*);; \
diff --git a/bfd/aclocal.m4 b/bfd/aclocal.m4
index aedde7a..d9e743e 100644
--- a/bfd/aclocal.m4
+++ b/bfd/aclocal.m4
@@ -1,4 +1,4 @@
-# generated automatically by aclocal 1.11 -*- Autoconf -*-
+# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
 
 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
 # 2005, 2006, 2007, 2008, 2009  Free Software Foundation, Inc.
@@ -34,7 +34,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION],
 [am__api_version='1.11'
 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
 dnl require some minimum version.  Point them to the right macro.
-m4_if([$1], [1.11], [],
+m4_if([$1], [1.11.1], [],
       [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
 ])
 
@@ -50,7 +50,7 @@ m4_define([_AM_AUTOCONF_VERSION], [])
 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-[AM_AUTOMAKE_VERSION([1.11])dnl
+[AM_AUTOMAKE_VERSION([1.11.1])dnl
 m4_ifndef([AC_AUTOCONF_VERSION],
   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index 364daaa..1cf2b4e 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -3533,7 +3533,9 @@ coff_write_object_contents (bfd * abfd)
   asection *current;
   bfd_boolean hasrelocs = FALSE;
   bfd_boolean haslinno = FALSE;
+#ifdef COFF_IMAGE_WITH_PE
   bfd_boolean hasdebug = FALSE;
+#endif
   file_ptr scn_base;
   file_ptr reloc_base;
   file_ptr lineno_base;
@@ -3636,9 +3638,9 @@ coff_write_object_contents (bfd * abfd)
        current = current->next)
     {
       struct internal_scnhdr section;
+#ifdef COFF_IMAGE_WITH_PE
       bfd_boolean is_reloc_section = FALSE;
 
-#ifdef COFF_IMAGE_WITH_PE
       if (strcmp (current->name, DOT_RELOC) == 0)
 	{
 	  is_reloc_section = TRUE;
@@ -3737,9 +3739,11 @@ coff_write_object_contents (bfd * abfd)
 #endif
       if (current->lineno_count != 0)
 	haslinno = TRUE;
+#ifdef COFF_IMAGE_WITH_PE
       if ((current->flags & SEC_DEBUGGING) != 0
 	  && ! is_reloc_section)
 	hasdebug = TRUE;
+#endif
 
 #ifdef RS6000COFF_C
 #ifndef XCOFF64
diff --git a/bfd/configure b/bfd/configure
index 6ace16c..a8b15a3 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -602,6 +602,7 @@ ac_subst_vars='am__EXEEXT_FALSE
 am__EXEEXT_TRUE
 LTLIBOBJS
 LIBOBJS
+havevecs
 tdefaults
 bfd_ufile_ptr
 bfd_file_ptr
@@ -11405,7 +11406,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11408 "configure"
+#line 11409 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -11511,7 +11512,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11514 "configure"
+#line 11515 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -15163,7 +15164,7 @@ do
     bfd_elf64_ia64_big_vec)	tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
     bfd_elf64_ia64_hpux_big_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
     bfd_elf64_ia64_little_vec)	tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_ia64_vms_vec)	tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
+    bfd_elf64_ia64_vms_vec)	tb="$tb elf64-ia64.lo elf64.lo vms-lib.lo vms-misc.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 ;;
@@ -15354,7 +15355,7 @@ if test x${all_targets} = xtrue ; then
   bfd_backends="${bfd_backends}"' $(ALL_BACKENDS)'
   bfd_machines="${bfd_machines}"' $(ALL_MACHINES)'
   selvecs=
-  havevecs=
+  havevecs=-DHAVE_all_vecs
   selarchs=
   test -n "$assocvecs" &&
     assocvecs=`echo $assocvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
@@ -15500,7 +15501,7 @@ test -n "${defvec}" && tdefaults="${tdefaults} -DDEFAULT_VECTOR=${defvec}"
 test -n "${selvecs}" && tdefaults="${tdefaults} -DSELECT_VECS='${selvecs}'"
 test -n "${assocvecs}" && tdefaults="${tdefaults} -DASSOCIATED_VECS='${assocvecs}'"
 test -n "${selarchs}" && tdefaults="${tdefaults} -DSELECT_ARCHITECTURES='${selarchs}'"
-test -n "${havevecs}" && tdefaults="${tdefaults} ${havevecs}"
+
 
 
 for ac_header in stdlib.h unistd.h
diff --git a/bfd/configure.in b/bfd/configure.in
index 6f05505..dbbadc0 100644
--- a/bfd/configure.in
+++ b/bfd/configure.in
@@ -801,7 +801,7 @@ do
     bfd_elf64_ia64_big_vec)	tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
     bfd_elf64_ia64_hpux_big_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
     bfd_elf64_ia64_little_vec)	tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_ia64_vms_vec)	tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
+    bfd_elf64_ia64_vms_vec)	tb="$tb elf64-ia64.lo elf64.lo vms-lib.lo vms-misc.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 ;;
@@ -992,7 +992,7 @@ if test x${all_targets} = xtrue ; then
   bfd_backends="${bfd_backends}"' $(ALL_BACKENDS)'
   bfd_machines="${bfd_machines}"' $(ALL_MACHINES)'
   selvecs=
-  havevecs=
+  havevecs=-DHAVE_all_vecs
   selarchs=
   test -n "$assocvecs" &&
     assocvecs=`echo $assocvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
@@ -1077,8 +1077,8 @@ test -n "${defvec}" && tdefaults="${tdefaults} -DDEFAULT_VECTOR=${defvec}"
 test -n "${selvecs}" && tdefaults="${tdefaults} -DSELECT_VECS='${selvecs}'"
 test -n "${assocvecs}" && tdefaults="${tdefaults} -DASSOCIATED_VECS='${assocvecs}'"
 test -n "${selarchs}" && tdefaults="${tdefaults} -DSELECT_ARCHITECTURES='${selarchs}'"
-test -n "${havevecs}" && tdefaults="${tdefaults} ${havevecs}"
 AC_SUBST(tdefaults)
+AC_SUBST(havevecs)
 
 dnl AC_CHECK_HEADERS(sys/mman.h)
 AC_FUNC_MMAP
diff --git a/bfd/doc/ChangeLog b/bfd/doc/ChangeLog
index 44e4b9b..93835c7 100644
--- a/bfd/doc/ChangeLog
+++ b/bfd/doc/ChangeLog
@@ -1,3 +1,7 @@
+2010-05-07  Tristan Gingold  <gingold@adacore.com>
+
+	* Makefile.in: Regenerate with automake 1.11.1.
+
 2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	* Makefile.in: Regenerate.
diff --git a/bfd/doc/Makefile.in b/bfd/doc/Makefile.in
index 9a59e3f..aac7ace 100644
--- a/bfd/doc/Makefile.in
+++ b/bfd/doc/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.11 from Makefile.am.
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
 # @configure_input@
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
index 2c24bdd..df25977 100644
--- a/bfd/elf32-arm.c
+++ b/bfd/elf32-arm.c
@@ -2409,9 +2409,10 @@ struct a8_erratum_fix {
 struct a8_erratum_reloc {
   bfd_vma from;
   bfd_vma destination;
+  struct elf32_arm_link_hash_entry *hash;
+  const char *sym_name;
   unsigned int r_type;
   unsigned char st_type;
-  const char *sym_name;
   bfd_boolean non_a8_stub;
 };
 
@@ -4101,6 +4102,7 @@ cortex_a8_erratum_scan (bfd *input_bfd,
 		    {
 		      char *error_message = NULL;
 		      struct elf_link_hash_entry *entry;
+		      bfd_boolean use_plt = FALSE;
 
 		      /* We don't care about the error returned from this
 		         function, only if there is glue or not.  */
@@ -4110,12 +4112,18 @@ cortex_a8_erratum_scan (bfd *input_bfd,
 		      if (entry)
 			found->non_a8_stub = TRUE;
 
-		      if (found->r_type == R_ARM_THM_CALL
-			  && found->st_type != STT_ARM_TFUNC)
-			force_target_arm = TRUE;
-		      else if (found->r_type == R_ARM_THM_CALL
-			       && found->st_type == STT_ARM_TFUNC)
-			force_target_thumb = TRUE;
+		      /* Keep a simpler condition, for the sake of clarity.  */
+		      if (htab->splt != NULL && found->hash != NULL
+			  && found->hash->root.plt.offset != (bfd_vma) -1)
+			use_plt = TRUE;
+
+		      if (found->r_type == R_ARM_THM_CALL)
+			{
+			  if (found->st_type != STT_ARM_TFUNC || use_plt)
+			    force_target_arm = TRUE;
+			  else
+			    force_target_thumb = TRUE;
+			}
 		    }
 
                   /* Check if we have an offending branch instruction.  */
@@ -4682,6 +4690,7 @@ elf32_arm_size_stubs (bfd *output_bfd,
                           a8_relocs[num_a8_relocs].st_type = st_type;
                           a8_relocs[num_a8_relocs].sym_name = sym_name;
                           a8_relocs[num_a8_relocs].non_a8_stub = created_stub;
+                          a8_relocs[num_a8_relocs].hash = hash;
 
                           num_a8_relocs++;
                         }
@@ -10097,6 +10106,11 @@ elf32_arm_merge_eabi_attributes (bfd *ibfd, bfd *obfd)
 	  break;
 	case Tag_FP_arch:
 	    {
+	      /* Tag_ABI_HardFP_use is handled along with Tag_FP_arch since
+		 the meaning of Tag_ABI_HardFP_use depends on Tag_FP_arch
+		 when it's 0.  It might mean absence of FP hardware if
+		 Tag_FP_arch is zero, otherwise it is effectively SP + DP.  */
+
 	      static const struct
 	      {
 		  int ver;
@@ -10115,6 +10129,40 @@ elf32_arm_merge_eabi_attributes (bfd *ibfd, bfd *obfd)
 	      int regs;
 	      int newval;
 
+	      /* If the output has no requirement about FP hardware,
+		 follow the requirement of the input.  */
+	      if (out_attr[i].i == 0)
+		{
+		  BFD_ASSERT (out_attr[Tag_ABI_HardFP_use].i == 0);
+		  out_attr[i].i = in_attr[i].i;
+		  out_attr[Tag_ABI_HardFP_use].i
+		    = in_attr[Tag_ABI_HardFP_use].i;
+		  break;
+		}
+	      /* If the input has no requirement about FP hardware, do
+		 nothing.  */
+	      else if (in_attr[i].i == 0)
+		{
+		  BFD_ASSERT (in_attr[Tag_ABI_HardFP_use].i == 0);
+		  break;
+		}
+
+	      /* Both the input and the output have nonzero Tag_FP_arch.
+		 So Tag_ABI_HardFP_use is (SP & DP) when it's zero.  */
+
+	      /* If both the input and the output have zero Tag_ABI_HardFP_use,
+		 do nothing.  */
+	      if (in_attr[Tag_ABI_HardFP_use].i == 0
+		  && out_attr[Tag_ABI_HardFP_use].i == 0)
+		;
+	      /* If the input and the output have different Tag_ABI_HardFP_use,
+		 the combination of them is 3 (SP & DP).  */
+	      else if (in_attr[Tag_ABI_HardFP_use].i
+		       != out_attr[Tag_ABI_HardFP_use].i)
+		out_attr[Tag_ABI_HardFP_use].i = 3;
+
+	      /* Now we can handle Tag_FP_arch.  */
+
 	      /* Values greater than 6 aren't defined, so just pick the
 	         biggest */
 	      if (in_attr[i].i > 6 && in_attr[i].i > out_attr[i].i)
@@ -10235,12 +10283,7 @@ elf32_arm_merge_eabi_attributes (bfd *ibfd, bfd *obfd)
 	  /* Merged in target-independent code.  */
 	  break;
 	case Tag_ABI_HardFP_use:
-	  /* 1 (SP) and 2 (DP) conflict, so combine to 3 (SP & DP).  */
-	  if ((in_attr[i].i == 1 && out_attr[i].i == 2)
-	      || (in_attr[i].i == 2 && out_attr[i].i == 1))
-	    out_attr[i].i = 3;
-	  else if (in_attr[i].i > out_attr[i].i)
-	    out_attr[i].i = in_attr[i].i;
+	  /* This is handled along with Tag_FP_arch.  */
 	  break;
 	case Tag_ABI_FP_16bit_format:
 	  if (in_attr[i].i != 0 && out_attr[i].i != 0)
diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c
index 7fde3d5..93baaf1 100644
--- a/bfd/elfxx-ia64.c
+++ b/bfd/elfxx-ia64.c
@@ -67,6 +67,15 @@
   MIN_PLT	Created by PLTOFF entries against dynamic symbols.  This
  		does not require dynamic relocations.  */
 
+/* Only add code for vms when the vms target is enabled.  This is required
+   because it depends on vms-lib.c for its archive format and we don't want
+   to compile that code if it is not used.  */
+#if ARCH_SIZE == 64 && \
+  (defined (HAVE_bfd_elf64_ia64_vms_vec) || defined (HAVE_all_vecs))
+#define INCLUDE_IA64_VMS
+#endif
+
+
 #define NELEMS(a)	((int) (sizeof (a) / sizeof ((a)[0])))
 
 typedef struct bfd_hash_entry *(*new_hash_entry_func)
@@ -5723,6 +5732,8 @@ elfNN_hpux_backend_symbol_processing (bfd *abfd ATTRIBUTE_UNUSED,
     }
 }
 
+#ifdef INCLUDE_IA64_VMS
+
 static bfd_boolean
 elfNN_vms_section_from_shdr (bfd *abfd,
 			     Elf_Internal_Shdr *hdr,
@@ -5984,6 +5995,7 @@ elfNN_vms_close_and_cleanup (bfd *abfd)
 
   return _bfd_generic_close_and_cleanup (abfd);
 }
+#endif /* INCLUDE_IA64_VMS */
 \f
 #define TARGET_LITTLE_SYM		bfd_elfNN_ia64_little_vec
 #define TARGET_LITTLE_NAME		"elfNN-ia64-little"
@@ -6117,6 +6129,7 @@ elfNN_vms_close_and_cleanup (bfd *abfd)
 #include "elfNN-target.h"
 
 /* VMS-specific vectors.  */
+#ifdef INCLUDE_IA64_VMS


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [SCM]  archer-jankratochvil-bpstat_what: Merge remote branch 'origin/master' into archer-jankratochvil-bpstat_what
@ 2010-05-17 18:23 jkratoch
  0 siblings, 0 replies; 7+ messages in thread
From: jkratoch @ 2010-05-17 18:23 UTC (permalink / raw)
  To: archer-commits

The branch, archer-jankratochvil-bpstat_what has been updated
       via  a2983924d612285a63628ec8ad26d41243caca67 (commit)
       via  6e71dce52b9c702afd2debee7e51846bfd703ffc (commit)
       via  67aefdaec02f5bc9fd7a5afae3cd62041d43238e (commit)
       via  27aa9bb32130e41e22d7d23ef795e72d38fde531 (commit)
       via  c178186f4d71542eeb15671b4157a646f67c4f85 (commit)
       via  2e00234afc2f96d6a5d6d6f783a0ddab7dbfdf87 (commit)
       via  2555021299e4aabfc635f6eec61bd093d57b9d72 (commit)
       via  ba17b7cc6eafadbb6f94ca307ee5e955c7cda506 (commit)
       via  b88d0e222ed52293cb18d231982b84ac7ab2c213 (commit)
       via  e945d4e6b56b6f83d414771e31495e61db962d25 (commit)
       via  345c80e947084d2a7de8b5a292bd1a98d6367fa7 (commit)
       via  4dc188b8602f64960a7b75929de5c56e4c8326e0 (commit)
       via  532aff98000bcb1c4f71ca3c842ce7932094b76b (commit)
       via  f95799b831ea18bdec8a7b8c60d73f0989ab0977 (commit)
       via  84da500745732374f20dcbb4649009f18d1289a3 (commit)
       via  b856551b8975602991c53ebb30ea8beca7a7d6c5 (commit)
       via  0f04a3f794db9695c131ea6d830dcb506f2adb07 (commit)
      from  965e856e95db902e3a17116bd1bb4e235165e6cb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit a2983924d612285a63628ec8ad26d41243caca67
Merge: 965e856e95db902e3a17116bd1bb4e235165e6cb 6e71dce52b9c702afd2debee7e51846bfd703ffc
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon May 17 20:22:58 2010 +0200

    Merge remote branch 'origin/master' into archer-jankratochvil-bpstat_what

-----------------------------------------------------------------------

Summary of changes:
 bfd/ChangeLog                             |    8 +
 bfd/vms-alpha.c                           |  113 ++-
 gdb/ChangeLog                             |   59 +
 gdb/ada-lang.c                            |   83 +-
 gdb/ada-lang.h                            |    2 +
 gdb/ada-typeprint.c                       |   29 +-
 gdb/c-lang.c                              |   26 +-
 gdb/dwarf2read.c                          |    3 +
 gdb/infrun.c                              |   12 -
 gdb/jv-lang.c                             |   44 -
 gdb/p-valprint.c                          |    8 +
 gdb/parse.c                               |   35 +-
 gdb/procfs.c                              | 1938 +++++++++++------------------
 gdb/target-descriptions.c                 |    5 +-
 gdb/target-memory.c                       |    6 +-
 gdb/target.c                              |   61 +-
 gdb/testsuite/ChangeLog                   |   16 +
 gdb/testsuite/gdb.ada/cond_lang.exp       |   58 +
 gdb/testsuite/gdb.ada/cond_lang/a.adb     |   21 +
 gdb/testsuite/gdb.ada/cond_lang/foo.c     |   25 +
 gdb/testsuite/gdb.ada/cond_lang/mixed.adb |   49 +
 gdb/testsuite/gdb.ada/cond_lang/mixed.ads |   20 +
 gdb/testsuite/gdb.ada/cond_lang/pck.adb   |   21 +
 gdb/testsuite/gdb.ada/cond_lang/pck.ads   |   20 +
 gdb/testsuite/gdb.base/gdb11530.exp       |    3 -
 gdb/testsuite/gdb.cp/koenig.exp           |    3 -
 gdb/testsuite/lib/gdb.exp                 |   20 +
 gdb/thread.c                              |    5 +
 gdb/top.c                                 |    4 +
 gdb/tracepoint.c                          |    3 +-
 gdb/trad-frame.c                          |    1 +
 gdb/tramp-frame.c                         |    6 +
 gdb/ui-file.c                             |   26 +
 gdb/ui-out.c                              |   12 +-
 gdb/user-regs.c                           |   11 +-
 gdb/utils.c                               |   18 +-
 include/vms/ChangeLog                     |    5 +
 include/vms/eidc.h                        |   49 +
 include/vms/esgps.h                       |   72 ++
 39 files changed, 1525 insertions(+), 1375 deletions(-)
 create mode 100644 gdb/testsuite/gdb.ada/cond_lang.exp
 create mode 100644 gdb/testsuite/gdb.ada/cond_lang/a.adb
 create mode 100644 gdb/testsuite/gdb.ada/cond_lang/foo.c
 create mode 100644 gdb/testsuite/gdb.ada/cond_lang/mixed.adb
 create mode 100644 gdb/testsuite/gdb.ada/cond_lang/mixed.ads
 create mode 100644 gdb/testsuite/gdb.ada/cond_lang/pck.adb
 create mode 100644 gdb/testsuite/gdb.ada/cond_lang/pck.ads
 create mode 100644 include/vms/eidc.h
 create mode 100644 include/vms/esgps.h

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 02f9c05..f5dc25e 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,11 @@
+2010-05-17  Tristan Gingold  <gingold@adacore.com>
+
+	* vms-alpha.c: Include esgps.h and eidc.h.
+	(_bfd_vms_slurp_egsd): Ignore SPSC and IDC sub-records.
+	(evax_bfd_print_egsd_flags): New function, extracted from ...
+	(evax_bfd_print_egsd): ..., calls evax_bfd_print_egsd_flags.  Handles
+	EGSD__C_SPSC and EGSD__C_IDC.
+
 2010-05-14  Tristan Gingold  <gingold@adacore.com>
 
 	* vms-alpha.c (alpha_vms_object_p): Accept header size of 0.
diff --git a/bfd/vms-alpha.c b/bfd/vms-alpha.c
index c4e4c9c..cf4cc06 100644
--- a/bfd/vms-alpha.c
+++ b/bfd/vms-alpha.c
@@ -51,6 +51,7 @@
 #include "vms/eobjrec.h"
 #include "vms/egsd.h"
 #include "vms/egps.h"
+#include "vms/esgps.h"
 #include "vms/eeom.h"
 #include "vms/emh.h"
 #include "vms/eiaf.h"
@@ -63,6 +64,7 @@
 #include "vms/esdfv.h"
 #include "vms/esrf.h"
 #include "vms/egst.h"
+#include "vms/eidc.h"
 #include "vms/dsc.h"
 #include "vms/prt.h"
 #include "vms/internal.h"
@@ -1240,7 +1242,10 @@ _bfd_vms_slurp_egsd (bfd * abfd)
           }
 	  break;
 
-	case EGSD__C_IDC:
+        case EGSD__C_SPSC:
+        case EGSD__C_IDC:
+          /* Currently ignored.  */
+          break;
 	case EGSD__C_SYMM:
 	case EGSD__C_SYMV:
 	default:
@@ -5629,6 +5634,37 @@ exav_bfd_print_egsy_flags (unsigned int flags, FILE *file)
 }
 
 static void
+evax_bfd_print_egsd_flags (FILE *file, unsigned int flags)
+{
+  if (flags & EGPS__V_PIC)
+    fputs (_(" PIC"), file);
+  if (flags & EGPS__V_LIB)
+    fputs (_(" LIB"), file);
+  if (flags & EGPS__V_OVR)
+    fputs (_(" OVR"), file);
+  if (flags & EGPS__V_REL)
+    fputs (_(" REL"), file);
+  if (flags & EGPS__V_GBL)
+    fputs (_(" GBL"), file);
+  if (flags & EGPS__V_SHR)
+    fputs (_(" SHR"), file);
+  if (flags & EGPS__V_EXE)
+    fputs (_(" EXE"), file);
+  if (flags & EGPS__V_RD)
+    fputs (_(" RD"), file);
+  if (flags & EGPS__V_WRT)
+    fputs (_(" WRT"), file);
+  if (flags & EGPS__V_VEC)
+    fputs (_(" VEC"), file);
+  if (flags & EGPS__V_NOMOD)
+    fputs (_(" NOMOD"), file);
+  if (flags & EGPS__V_COM)
+    fputs (_(" COM"), file);
+  if (flags & EGPS__V_ALLOC_64BIT)
+    fputs (_(" 64B"), file);
+}
+
+static void
 evax_bfd_print_egsd (FILE *file, unsigned char *rec, unsigned int rec_len)
 {
   unsigned int off = sizeof (struct vms_egsd);
@@ -5661,32 +5697,7 @@ evax_bfd_print_egsd (FILE *file, unsigned char *rec, unsigned int rec_len)
             fprintf (file, _("PSC - Program section definition\n"));
             fprintf (file, _("   alignment  : 2**%u\n"), egps->align);
             fprintf (file, _("   flags      : 0x%04x"), flags);
-            if (flags & EGPS__V_PIC)
-              fputs (_(" PIC"), file);
-            if (flags & EGPS__V_LIB)
-              fputs (_(" LIB"), file);
-            if (flags & EGPS__V_OVR)
-              fputs (_(" OVR"), file);
-            if (flags & EGPS__V_REL)
-              fputs (_(" REL"), file);
-            if (flags & EGPS__V_GBL)
-              fputs (_(" GBL"), file);
-            if (flags & EGPS__V_SHR)
-              fputs (_(" SHR"), file);
-            if (flags & EGPS__V_EXE)
-              fputs (_(" EXE"), file);
-            if (flags & EGPS__V_RD)
-              fputs (_(" RD"), file);
-            if (flags & EGPS__V_WRT)
-              fputs (_(" WRT"), file);
-            if (flags & EGPS__V_VEC)
-              fputs (_(" VEC"), file);
-            if (flags & EGPS__V_NOMOD)
-              fputs (_(" NOMOD"), file);
-            if (flags & EGPS__V_COM)
-              fputs (_(" COM"), file);
-            if (flags & EGPS__V_ALLOC_64BIT)
-              fputs (_(" 64B"), file);
+            evax_bfd_print_egsd_flags (file, flags);
             fputc ('\n', file);
             l = bfd_getl32 (egps->alloc);
             fprintf (file, _("   alloc (len): %u (0x%08x)\n"), l, l);
@@ -5694,6 +5705,27 @@ evax_bfd_print_egsd (FILE *file, unsigned char *rec, unsigned int rec_len)
                      egps->namlng, egps->name);
           }
           break;
+        case EGSD__C_SPSC:
+          {
+            struct vms_esgps *esgps = (struct vms_esgps *)e;
+            unsigned int flags = bfd_getl16 (esgps->flags);
+            unsigned int l;
+
+            fprintf (file, _("SPSC - Shared Image Program section def\n"));
+            fprintf (file, _("   alignment  : 2**%u\n"), esgps->align);
+            fprintf (file, _("   flags      : 0x%04x"), flags);
+            evax_bfd_print_egsd_flags (file, flags);
+            fputc ('\n', file);
+            l = bfd_getl32 (esgps->alloc);
+            fprintf (file, _("   alloc (len)   : %u (0x%08x)\n"), l, l);
+            fprintf (file, _("   image offset  : 0x%08x\n"),
+                     (unsigned int)bfd_getl32 (esgps->base));
+            fprintf (file, _("   symvec offset : 0x%08x\n"),
+                     (unsigned int)bfd_getl32 (esgps->value));
+            fprintf (file, _("   name          : %.*s\n"),
+                     esgps->namlng, esgps->name);
+          }
+          break;
         case EGSD__C_SYM:
           {
             struct vms_egsy *egsy = (struct vms_egsy *)e;
@@ -5731,6 +5763,33 @@ evax_bfd_print_egsd (FILE *file, unsigned char *rec, unsigned int rec_len)
               }
           }
           break;
+        case EGSD__C_IDC:
+          {
+            struct vms_eidc *eidc = (struct vms_eidc *)e;
+            unsigned int flags = bfd_getl32 (eidc->flags);
+            unsigned char *p;
+
+            fprintf (file, _("IDC - Ident Consistency check\n"));
+            fprintf (file, _("   flags         : 0x%08x"), flags);
+            if (flags & EIDC__V_BINIDENT)
+              fputs (" BINDENT", file);
+            fputc ('\n', file);
+            fprintf (file, _("   id match      : %x\n"),
+                     (flags >> EIDC__V_IDMATCH_SH) & EIDC__V_IDMATCH_MASK);
+            fprintf (file, _("   error severity: %x\n"),
+                     (flags >> EIDC__V_ERRSEV_SH) & EIDC__V_ERRSEV_MASK);
+            p = eidc->name;
+            fprintf (file, _("   entity name   : %.*s\n"), p[0], p + 1);
+            p += 1 + p[0];
+            fprintf (file, _("   object name   : %.*s\n"), p[0], p + 1);
+            p += 1 + p[0];
+            if (flags & EIDC__V_BINIDENT)
+              fprintf (file, _("   binary ident  : 0x%08x\n"),
+                       (unsigned)bfd_getl32 (p + 1));
+            else
+              fprintf (file, _("   ascii ident   : %.*s\n"), p[0], p + 1);
+          }
+          break;
         case EGSD__C_SYMG:
           {
             struct vms_egst *egst = (struct vms_egst *)e;
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index d508fe5..de8f3bd 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,64 @@
+2010-05-17  Andreas Schwab  <schwab@redhat.com>
+
+	PR gdb/11092
+	* c-lang.c (c_printstr): Compute real length of NUL terminated
+	string at first.
+
+2010-05-17  Joel Brobecker  <brobecker@adacore.com>
+
+	* parse.c (parse_exp_in_context): When block is not NULL, use
+	its associated language to parse the expression instead of
+	the current_language.
+
+2010-05-17  Joel Brobecker  <brobecker@adacore.com>
+
+	* jv-lang.c (java_lookup_class): Remove commented out code.
+	(type_from_class): Likewise.
+	(java_op_print_tab): Remove commented-out elements.
+
+2010-05-17  Joel Brobecker  <brobecker@adacore.com>
+
+	* ada-lang.c (to_fixed_range_type): The the raw index type as
+	argument instead of the raw type name.  Remove orig_type parameter.
+	Update calls throughout.
+	(ada_fixup_array_indexes_type): New function.
+	(ada_array_bound_from_type): Add call to ada_fixup_array_indexes_type.
+	* ada-lang.h (ada_fixup_array_indexes_type): Add declaration.
+	* ada-typeprint.c (print_range_type): Renames print_range_type_named.
+	Remove name parameter.
+	(print_array_type): Add call to ada_fixup_array_indexes_type.
+	Update calls to print_range_type.
+	(ada_print_type): Update calls to print_range_type.
+
+2010-05-17  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+	* dwarf2read.c (read_set_type): Set type length if
+	DW_AT_byte_size attribute is present.
+
+2010-05-17  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+	* p-valprint.c (pascal_val_print): Handle set type if range limits
+	are undefined but size is known.
+
+2010-05-17  Pedro Alves  <pedro@codesourcery.com>
+
+	* procfs.c: Reformat.
+
 2010-05-16  Michael Snyder  <msnyder@vmware.com>
 
+	* target.c: White space.
+	* target-descriptions.c: White space.
+	* target-memory.c: White space.
+	* thread.c: White space.
+	* top.c: White space.
+	* tracepoint.c: White space.
+	* trad-frame.c: White space.
+	* tramp-frame.c: White space.
+	* ui-file.c: White space.
+	* ui-out.c: White space.
+	* user-regs.c: White space.
+	* utils.c: White space.
+
 	* scm-exp.c: White space.
 	* scm-lang.c: White space.
 	* scm-valprint.c: White space.
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index 3b3894c..83f7cf3 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -165,8 +165,7 @@ static struct type *to_fixed_variant_branch_type (struct type *,
 
 static struct type *to_fixed_array_type (struct type *, struct value *, int);
 
-static struct type *to_fixed_range_type (char *, struct value *,
-                                         struct type *);
+static struct type *to_fixed_range_type (struct type *, struct value *);
 
 static struct type *to_static_fixed_type (struct type *);
 static struct type *static_unwrap_type (struct type *type);
@@ -1204,6 +1203,61 @@ ada_match_name (const char *sym_name, const char *name, int wild)
 
                                 /* Arrays */
 
+/* Assuming that INDEX_DESC_TYPE is an ___XA structure, a structure
+   generated by the GNAT compiler to describe the index type used
+   for each dimension of an array, check whether it follows the latest
+   known encoding.  If not, fix it up to conform to the latest encoding.
+   Otherwise, do nothing.  This function also does nothing if
+   INDEX_DESC_TYPE is NULL.
+
+   The GNAT encoding used to describle the array index type evolved a bit.
+   Initially, the information would be provided through the name of each
+   field of the structure type only, while the type of these fields was
+   described as unspecified and irrelevant.  The debugger was then expected
+   to perform a global type lookup using the name of that field in order
+   to get access to the full index type description.  Because these global
+   lookups can be very expensive, the encoding was later enhanced to make
+   the global lookup unnecessary by defining the field type as being
+   the full index type description.
+
+   The purpose of this routine is to allow us to support older versions
+   of the compiler by detecting the use of the older encoding, and by
+   fixing up the INDEX_DESC_TYPE to follow the new one (at this point,
+   we essentially replace each field's meaningless type by the associated
+   index subtype).  */
+
+void
+ada_fixup_array_indexes_type (struct type *index_desc_type)
+{
+  int i;
+
+  if (index_desc_type == NULL)
+    return;
+  gdb_assert (TYPE_NFIELDS (index_desc_type) > 0);
+
+  /* Check if INDEX_DESC_TYPE follows the older encoding (it is sufficient
+     to check one field only, no need to check them all).  If not, return
+     now.
+
+     If our INDEX_DESC_TYPE was generated using the older encoding,
+     the field type should be a meaningless integer type whose name
+     is not equal to the field name.  */
+  if (TYPE_NAME (TYPE_FIELD_TYPE (index_desc_type, 0)) != NULL
+      && strcmp (TYPE_NAME (TYPE_FIELD_TYPE (index_desc_type, 0)),
+                 TYPE_FIELD_NAME (index_desc_type, 0)) == 0)
+    return;
+
+  /* Fixup each field of INDEX_DESC_TYPE.  */
+  for (i = 0; i < TYPE_NFIELDS (index_desc_type); i++)
+   {
+     char *name = TYPE_FIELD_NAME (index_desc_type, i);
+     struct type *raw_type = ada_check_typedef (ada_find_any_type (name));
+
+     if (raw_type)
+       TYPE_FIELD_TYPE (index_desc_type, i) = raw_type;
+   }
+}
+
 /* Names of MAX_ADA_DIMENS bounds in P_BOUNDS fields of array descriptors.  */
 
 static char *bound_name[] = {
@@ -2530,9 +2584,10 @@ ada_array_bound_from_type (struct type * arr_type, int n, int which)
     elt_type = TYPE_TARGET_TYPE (type);
 
   index_type_desc = ada_find_parallel_type (type, "___XA");
+  ada_fixup_array_indexes_type (index_type_desc);
   if (index_type_desc != NULL)
-    index_type = to_fixed_range_type (TYPE_FIELD_NAME (index_type_desc, n - 1),
-				      NULL, TYPE_INDEX_TYPE (elt_type));
+    index_type = to_fixed_range_type (TYPE_FIELD_TYPE (index_type_desc, n - 1),
+				      NULL);
   else
     index_type = TYPE_INDEX_TYPE (elt_type);
 
@@ -7150,6 +7205,7 @@ to_fixed_array_type (struct type *type0, struct value *dval,
     type0 = decode_constrained_packed_array_type (type0);
 
   index_type_desc = ada_find_parallel_type (type0, "___XA");
+  ada_fixup_array_indexes_type (index_type_desc);
   if (index_type_desc == NULL)
     {
       struct type *elt_type0 = ada_check_typedef (TYPE_TARGET_TYPE (type0));
@@ -7202,8 +7258,7 @@ to_fixed_array_type (struct type *type0, struct value *dval,
       for (i = TYPE_NFIELDS (index_type_desc) - 1; i >= 0; i -= 1)
         {
           struct type *range_type =
-            to_fixed_range_type (TYPE_FIELD_NAME (index_type_desc, i),
-                                 dval, TYPE_INDEX_TYPE (elt_type0));
+            to_fixed_range_type (TYPE_FIELD_TYPE (index_type_desc, i), dval);
           result = create_array_type (alloc_type_copy (elt_type0),
                                       result, range_type);
 	  elt_type0 = TYPE_TARGET_TYPE (elt_type0);
@@ -9182,7 +9237,7 @@ ada_evaluate_subexp (struct type *expect_type, struct expression *exp,
             char *name = ada_type_name (type_arg);
             range_type = NULL;
             if (name != NULL && TYPE_CODE (type_arg) != TYPE_CODE_ENUM)
-              range_type = to_fixed_range_type (name, NULL, type_arg);
+              range_type = to_fixed_range_type (type_arg, NULL);
             if (range_type == NULL)
               range_type = type_arg;
             switch (op)
@@ -9704,21 +9759,21 @@ get_int_var_value (char *name, int *flag)
    in NAME, the base type given in the named range type.  */
 
 static struct type *
-to_fixed_range_type (char *name, struct value *dval, struct type *orig_type)
+to_fixed_range_type (struct type *raw_type, struct value *dval)
 {
-  struct type *raw_type = ada_find_any_type (name);
+  char *name;
   struct type *base_type;
   char *subtype_info;
 
-  /* Fall back to the original type if symbol lookup failed.  */
-  if (raw_type == NULL)
-    raw_type = orig_type;
+  gdb_assert (raw_type != NULL);
+  gdb_assert (TYPE_NAME (raw_type) != NULL);
 
   if (TYPE_CODE (raw_type) == TYPE_CODE_RANGE)
     base_type = TYPE_TARGET_TYPE (raw_type);
   else
     base_type = raw_type;
 
+  name = TYPE_NAME (raw_type);
   subtype_info = strstr (name, "___XD");
   if (subtype_info == NULL)
     {
@@ -9727,7 +9782,7 @@ to_fixed_range_type (char *name, struct value *dval, struct type *orig_type)
       if (L < INT_MIN || U > INT_MAX)
 	return raw_type;
       else
-	return create_range_type (alloc_type_copy (orig_type), raw_type,
+	return create_range_type (alloc_type_copy (raw_type), raw_type,
 				  ada_discrete_type_low_bound (raw_type),
 				  ada_discrete_type_high_bound (raw_type));
     }
@@ -9790,7 +9845,7 @@ to_fixed_range_type (char *name, struct value *dval, struct type *orig_type)
             }
         }
 
-      type = create_range_type (alloc_type_copy (orig_type), base_type, L, U);
+      type = create_range_type (alloc_type_copy (raw_type), base_type, L, U);
       TYPE_NAME (type) = name;
       return type;
     }
diff --git a/gdb/ada-lang.h b/gdb/ada-lang.h
index 3d60f8f..f6b613f 100644
--- a/gdb/ada-lang.h
+++ b/gdb/ada-lang.h
@@ -187,6 +187,8 @@ struct value *ada_convert_actual (struct value *actual,
 extern struct value *ada_value_subscript (struct value *, int,
                                           struct value **);
 
+extern void ada_fixup_array_indexes_type (struct type *index_desc_type);
+
 extern struct type *ada_array_element_type (struct type *, int);
 
 extern int ada_array_arity (struct type *);
diff --git a/gdb/ada-typeprint.c b/gdb/ada-typeprint.c
index 17d3594..b69deab 100644
--- a/gdb/ada-typeprint.c
+++ b/gdb/ada-typeprint.c
@@ -55,7 +55,7 @@ static void
 print_dynamic_range_bound (struct type *, const char *, int,
 			   const char *, struct ui_file *);
 
-static void print_range_type_named (char *, struct type *, struct ui_file *);
+static void print_range_type (struct type *, struct ui_file *);
 \f
 
 
@@ -212,19 +212,19 @@ print_dynamic_range_bound (struct type *type, const char *name, int name_len,
     fprintf_filtered (stream, "?");
 }
 
-/* Print the range type named NAME.  If symbol lookup fails, fall back
-   to ORIG_TYPE as base type.  */
+/* Print RAW_TYPE as a range type, using any bound information
+   following the GNAT encoding (if available).  */
 
 static void
-print_range_type_named (char *name, struct type *orig_type,
-			struct ui_file *stream)
+print_range_type (struct type *raw_type, struct ui_file *stream)
 {
-  struct type *raw_type = ada_find_any_type (name);
+  char *name;
   struct type *base_type;
   char *subtype_info;
 
-  if (raw_type == NULL)
-    raw_type = orig_type;
+  gdb_assert (raw_type != NULL);
+  name = TYPE_NAME (raw_type);
+  gdb_assert (name != NULL);
 
   if (TYPE_CODE (raw_type) == TYPE_CODE_RANGE)
     base_type = TYPE_TARGET_TYPE (raw_type);
@@ -341,10 +341,12 @@ print_array_type (struct type *type, struct ui_file *stream, int show,
     {
       if (ada_is_simple_array_type (type))
 	{
-	  struct type *range_desc_type =
-	    ada_find_parallel_type (type, "___XA");
+	  struct type *range_desc_type;
 	  struct type *arr_type;
 
+	  range_desc_type = ada_find_parallel_type (type, "___XA");
+	  ada_fixup_array_indexes_type (range_desc_type);
+
 	  bitsize = 0;
 	  if (range_desc_type == NULL)
 	    {
@@ -368,9 +370,8 @@ print_array_type (struct type *type, struct ui_file *stream, int show,
 		{
 		  if (k > 0)
 		    fprintf_filtered (stream, ", ");
-		  print_range_type_named (TYPE_FIELD_NAME
-					  (range_desc_type, k),
-					  TYPE_INDEX_TYPE (arr_type), stream);
+		  print_range_type (TYPE_FIELD_TYPE (range_desc_type, k),
+				    stream);
 		  if (TYPE_FIELD_BITSIZE (arr_type, 0) > 0)
 		    bitsize = TYPE_FIELD_BITSIZE (arr_type, 0);
 		}
@@ -786,7 +787,7 @@ ada_print_type (struct type *type0, char *varstring, struct ui_file *stream,
 	    else
 	      {
 		fprintf_filtered (stream, "range ");
-		print_range_type_named (name, type, stream);
+		print_range_type (type, stream);
 	      }
 	  }


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [SCM]  archer-jankratochvil-bpstat_what: Merge remote branch 'origin/master' into archer-jankratochvil-bpstat_what
@ 2010-05-03 13:51 jkratoch
  0 siblings, 0 replies; 7+ messages in thread
From: jkratoch @ 2010-05-03 13:51 UTC (permalink / raw)
  To: archer-commits

The branch, archer-jankratochvil-bpstat_what has been updated
       via  b9248354d7c41c3229d94f9f522e6624614b5738 (commit)
       via  16b6a32f73a0866442f1b78182fce9e11c23a909 (commit)
       via  931cc2257cd38eca54002b9ae8f62b9094972d3a (commit)
       via  19574b656657e0e0dbf189e739cc9835962d0a13 (commit)
      from  e96bbdd4d5333f22abf9ab10b13e5983405055a8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit b9248354d7c41c3229d94f9f522e6624614b5738
Merge: e96bbdd4d5333f22abf9ab10b13e5983405055a8 16b6a32f73a0866442f1b78182fce9e11c23a909
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon May 3 15:51:10 2010 +0200

    Merge remote branch 'origin/master' into archer-jankratochvil-bpstat_what

-----------------------------------------------------------------------

Summary of changes:
 bfd/ChangeLog         |   20 ++++++
 bfd/vms-alpha.c       |  176 +++++++++++++++++++++++++++++++++++--------------
 bfd/vms-lib.c         |   28 ++++++--
 include/vms/ChangeLog |    4 +
 include/vms/dmt.h     |    7 ++-
 5 files changed, 177 insertions(+), 58 deletions(-)

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 74dd28b..6ebbe7f 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,23 @@
+2010-05-03  Tristan Gingold  <gingold@adacore.com>
+
+	* vms-alpha.c: Add comments.
+	(struct vms_private_data_struct): Remove image_autoextend field.
+	(dst_check_allocation): Removed.
+	(image_write): Remove call to dst_check_allocation.
+	(vms_slurp_debug): Do not set image_autoextend.  Adjust section
+	size.
+	(_bfd_vms_slurp_object_records): Remove useless new_type variable.
+	(alpha_vms_write_exec): Use dst_section to get the dst section.
+	Write the dmt section.
+	(evax_bfd_print_image): Also print the dst size in hexa.  Fix typo.
+	(alpha_vms_read_sections_content): Do not set image_autoextend.
+
+2010-05-03  Tristan Gingold  <gingold@adacore.com>
+
+	* vms-lib.c (_bfd_vms_lib_archive_p): Adjust for a possible empty
+	next array.
+	(vms_lib_dcx): Adjust for the above change.
+
 2010-04-30  H.J. Lu  <hongjiu.lu@intel.com>
 
 	PR ld/11542
diff --git a/bfd/vms-alpha.c b/bfd/vms-alpha.c
index 294bd90..92d0693 100644
--- a/bfd/vms-alpha.c
+++ b/bfd/vms-alpha.c
@@ -89,6 +89,7 @@
 #define ALPHA_R_BSR		15
 #define ALPHA_R_LDA		16
 #define ALPHA_R_BOH		17
+
 /* These are used with DST_S_C_LINE_NUM.  */
 #define DST_S_C_LINE_NUM_HEADER_SIZE 4
 
@@ -291,7 +292,6 @@ struct vms_private_data_struct
   /* Content reading.  */
   asection *image_section;		/* section for image_ptr  */
   file_ptr image_offset;		/* Offset for image_ptr.  */
-  bfd_boolean image_autoextend;		/* Resize section if necessary.  */
 
   struct module *modules;		/* list of all compilation units */
 
@@ -1383,30 +1383,6 @@ dst_retrieve_location (bfd *abfd, unsigned int loc)
   return PRIV (dst_ptr_offsets)[loc];
 }
 
-/* Check that the DST section is big enough for the specified
-   amount of bytes.  */
-
-static void
-dst_check_allocation (bfd *abfd, unsigned int size)
-{
-  asection *section = PRIV (image_section);
-
-  section->size += size;
-
-  /* Grow the section as necessary */
-  if (section->size <= section->rawsize)
-    return;
-  do
-    {
-      if (section->rawsize == 0)
-        section->rawsize = 1024;
-      else
-        section->rawsize *= 2;
-    }
-  while (section->size > section->rawsize);
-  section->contents = bfd_realloc (section->contents, section->rawsize);
-}
-
 /* Write multiple bytes to section image.  */
 
 static bfd_boolean
@@ -1418,9 +1394,6 @@ image_write (bfd *abfd, unsigned char *ptr, int size)
   _bfd_hexdump (9, ptr, size, 0);
 #endif
 
-  if (PRIV (image_autoextend))
-    dst_check_allocation (abfd, size);
-
   if (PRIV (image_section)->contents != NULL)
     {
       asection *sec = PRIV (image_section);
@@ -1667,6 +1640,10 @@ alpha_vms_fix_sec_rel (bfd *abfd, struct bfd_link_info *info,
     return vma + sec->vma;
 }
 
+/* Read an ETIR record from ABFD.  If INFO is not null, put the content into
+   the output section (used during linking).
+   Return FALSE in case of error.  */
+
 static bfd_boolean
 _bfd_vms_slurp_etir (bfd *abfd, struct bfd_link_info *info)
 {
@@ -2263,11 +2240,11 @@ vms_slurp_debug (bfd *abfd)
 
   PRIV (image_section) = section;
   PRIV (image_offset) = section->size;
-  PRIV (image_autoextend) = FALSE;
 
   if (!_bfd_vms_slurp_etir (abfd, NULL))
     return FALSE;
 
+  section->size = PRIV (image_offset);
   return TRUE;
 }
 
@@ -2279,7 +2256,7 @@ _bfd_vms_slurp_edbg (bfd *abfd)
 {
   vms_debug2 ((2, "EDBG\n"));
 
-  abfd->flags |= (HAS_DEBUG | HAS_LINENO);
+  abfd->flags |= HAS_DEBUG | HAS_LINENO;
 
   return vms_slurp_debug (abfd);
 }
@@ -2334,21 +2311,20 @@ _bfd_vms_slurp_eeom (bfd *abfd)
 static bfd_boolean
 _bfd_vms_slurp_object_records (bfd * abfd)
 {
-  int err, new_type, type = -1;
+  bfd_boolean err;
+  int type;
 
   do
     {
       vms_debug2 ((7, "reading at %08lx\n", (unsigned long)bfd_tell (abfd)));
 
-      new_type = _bfd_vms_get_object_record (abfd);
-      if (new_type < 0)
+      type = _bfd_vms_get_object_record (abfd);
+      if (type < 0)
 	{
 	  vms_debug2 ((2, "next_record failed\n"));
 	  return FALSE;
 	}
 
-      type = new_type;
-
       switch (type)
 	{
         case EOBJ__C_EMH:
@@ -2598,6 +2574,8 @@ alpha_vms_file_position_block (bfd *abfd)
   PRIV (file_pos) -= (PRIV (file_pos) % VMS_BLOCK_SIZE);
 }
 
+/* Convert from internal structure SRC to external structure DST.  */
+
 static void
 alpha_vms_swap_eisd_out (struct vms_internal_eisd_map *src,
                          struct vms_eisd *dst)
@@ -2636,6 +2614,9 @@ alpha_vms_append_extra_eisd (bfd *abfd, struct vms_internal_eisd_map *eisd)
   PRIV (gbl_eisd_tail) = eisd;
 }
 
+/* Create an EISD for shared image SHRIMG.
+   Return FALSE in case of error.  */
+
 static bfd_boolean
 alpha_vms_create_eisd_for_shared (bfd *abfd, bfd *shrimg)
 {
@@ -2677,6 +2658,9 @@ alpha_vms_create_eisd_for_shared (bfd *abfd, bfd *shrimg)
   return TRUE;
 }
 
+/* Create an EISD for section SEC.
+   Return FALSE in case of failure.  */
+
 static bfd_boolean
 alpha_vms_create_eisd_for_section (bfd *abfd, asection *sec)
 {
@@ -2732,6 +2716,9 @@ alpha_vms_create_eisd_for_section (bfd *abfd, asection *sec)
   return TRUE;
 }
 
+/* Layout executable ABFD and write it to the disk.
+   Return FALSE in case of failure.  */
+
 static bfd_boolean
 alpha_vms_write_exec (bfd *abfd)
 {
@@ -2743,7 +2730,9 @@ alpha_vms_write_exec (bfd *abfd)
   struct vms_internal_eisd_map *first_eisd;
   struct vms_internal_eisd_map *eisd;
   asection *dst;
+  asection *dmt;
 
+  /* Build the EIHD.  */
   PRIV (file_pos) = EIHD__C_LENGTH;
 
   memset (&eihd, 0, sizeof (eihd));
@@ -2821,9 +2810,8 @@ alpha_vms_write_exec (bfd *abfd)
   eihi->imgbid[0] = 0;
 
   /* Alloc EIHS.  */
-  dst = bfd_get_section_by_name (abfd, "$DST$");
-  if (dst == NULL || dst->size == 0)
-    dst = bfd_get_section_by_name (abfd, "$TBT$");
+  dst = PRIV (dst_section);
+  dmt = bfd_get_section_by_name (abfd, "$DMT$");
   if (dst != NULL && dst->size != 0)
     {
       eihs = (struct vms_eihs *)((char *) &eihd + PRIV (file_pos));
@@ -2840,7 +2828,7 @@ alpha_vms_write_exec (bfd *abfd)
       bfd_putl32 (0, eihs->dmtsize);
     }
 
-  /* One per section.  */
+  /* One EISD per section.  */
   for (sec = abfd->sections; sec; sec = sec->next)
     {
       if (!alpha_vms_create_eisd_for_section (abfd, sec))
@@ -2920,6 +2908,12 @@ alpha_vms_write_exec (bfd *abfd)
     {
       bfd_putl32 ((dst->filepos / VMS_BLOCK_SIZE) + 1, eihs->dstvbn);
       bfd_putl32 (dst->size, eihs->dstsize);
+
+      if (dmt != NULL)
+        {
+          bfd_putl32 ((dmt->filepos / VMS_BLOCK_SIZE) + 1, eihs->dmtvbn);
+          bfd_putl32 (dmt->size, eihs->dmtsize);
+        }
     }
 
   /* Write EISD in hdr.  */
@@ -7362,8 +7356,8 @@ evax_bfd_print_image (bfd *abfd, FILE *file)
                (unsigned)bfd_getl32 (eihs.minorid));
       dst_vbn = bfd_getl32 (eihs.dstvbn);
       dst_size = bfd_getl32 (eihs.dstsize);
-      fprintf (file, _(" debug symbol table : vbn: %u, size: %u\n"),
-               dst_vbn, dst_size);
+      fprintf (file, _(" debug symbol table : vbn: %u, size: %u (0x%x)\n"),
+               dst_vbn, dst_size, dst_size);
       gst_vbn = bfd_getl32 (eihs.gstvbn);
       gst_size = bfd_getl32 (eihs.gstsize);
       fprintf (file, _(" global symbol table: vbn: %u, records: %u\n"),
@@ -7499,7 +7493,7 @@ evax_bfd_print_image (bfd *abfd, FILE *file)
             }
           count = bfd_getl16 (dmth.psect_count);
           fprintf (file,
-                   _(" module address: 0x%08x, size: 0x%08x, (%u psect)\n"),
+                   _(" module address: 0x%08x, size: 0x%08x, (%u psects)\n"),
                    (unsigned)bfd_getl32 (dmth.modbeg),
                    (unsigned)bfd_getl32 (dmth.size), count);
           dmt_size -= sizeof (dmth);
@@ -7745,7 +7739,7 @@ vms_bfd_print_private_bfd_data (bfd *abfd, void *ptr)
 \f
 /* Linking.  */
 
-/* Slurp an ordered set of VMS object records.  */
+/* Slurp ETIR/EDBG/ETBT VMS object records.  */
 
 static bfd_boolean
 alpha_vms_read_sections_content (bfd *abfd, struct bfd_link_info *info)
@@ -7758,8 +7752,6 @@ alpha_vms_read_sections_content (bfd *abfd, struct bfd_link_info *info)
   if (bfd_seek (abfd, 0, SEEK_SET) != 0)
     return FALSE;
 
-  PRIV (image_autoextend) = FALSE;
-
   cur_section = NULL;
   cur_offset = 0;
 
@@ -7769,6 +7761,7 @@ alpha_vms_read_sections_content (bfd *abfd, struct bfd_link_info *info)
     {
       if (info->strip == strip_all || info->strip == strip_debugger)
         {
+          /* Discard the DST section.  */
           dst_offset = 0;
           dst_section = NULL;
         }
@@ -7805,9 +7798,7 @@ alpha_vms_read_sections_content (bfd *abfd, struct bfd_link_info *info)
             continue;
           PRIV (image_section) = dst_section;
           PRIV (image_offset) = dst_offset;
-          PRIV (image_autoextend) = TRUE;
           res = _bfd_vms_slurp_etir (abfd, info);
-          PRIV (image_autoextend) = FALSE;
           dst_offset = PRIV (image_offset);
           break;
         case EOBJ__C_EEOM:
@@ -8372,6 +8363,7 @@ alpha_vms_bfd_final_link (bfd *abfd, struct bfd_link_info *info)
   asection *fixupsec;
   bfd_vma base_addr;
   bfd_vma last_addr;
+  asection *dst;
 
   bfd_get_outsymbols (abfd) = NULL;
   bfd_get_symcount (abfd) = 0;
@@ -8415,7 +8407,7 @@ alpha_vms_bfd_final_link (bfd *abfd, struct bfd_link_info *info)
     }
 #endif
 
-  /* Find entry point.  */
+  /* Find the entry point.  */
   if (bfd_get_start_address (abfd) == 0)
     {
       bfd *startbfd = NULL;
@@ -8454,7 +8446,7 @@ alpha_vms_bfd_final_link (bfd *abfd, struct bfd_link_info *info)
         }
     }
 
-  /* Allocate content.  */
+  /* Allocate contents.  */
   base_addr = (bfd_vma)-1;
   last_addr = 0;
   for (o = abfd->sections; o != NULL; o = o->next)
@@ -8474,6 +8466,7 @@ alpha_vms_bfd_final_link (bfd *abfd, struct bfd_link_info *info)
         }
     }
 
+  /* Create the fixup section.  */
   fixupsec = bfd_make_section_anyway_with_flags
     (info->output_bfd, "$FIXUP$",
      SEC_ALLOC | SEC_LOAD | SEC_HAS_CONTENTS | SEC_LINKER_CREATED);
@@ -8524,6 +8517,91 @@ alpha_vms_bfd_final_link (bfd *abfd, struct bfd_link_info *info)
   if (!alpha_vms_build_fixups (info))
     return FALSE;
 
+  /* Compute the DMT.  */
+  dst = PRIV (dst_section);
+  if (dst != NULL && dst->size == 0)
+    dst = NULL;
+  if (dst != NULL)
+    {
+      asection *dmt;
+      int pass;
+      unsigned char *contents = NULL;
+
+      dmt = bfd_make_section_anyway_with_flags
+        (info->output_bfd, "$DMT$",
+         SEC_DEBUGGING | SEC_HAS_CONTENTS | SEC_LINKER_CREATED);
+      if (dmt == NULL)
+        return FALSE;
+
+      /* In pass 1, compute the size.  In pass 2, write the DMT contents.  */
+      for (pass = 0; pass < 2; pass++)
+        {
+          unsigned int off = 0;
+
+          /* For each object file (ie for each module).  */
+          for (sub = info->input_bfds; sub != NULL; sub = sub->link_next)
+            {
+              asection *sub_dst;
+              struct vms_dmt_header *dmth = NULL;
+              unsigned int psect_count;
+
+              /* Skip this module if it has no DST.  */
+              sub_dst = PRIV2 (sub, dst_section);
+              if (sub_dst == NULL || sub_dst->size == 0)
+                continue;
+
+              if (pass == 1)
+                {
+                  /* Write the header.  */
+                  dmth = (struct vms_dmt_header *)(contents + off);
+                  bfd_putl32 (sub_dst->output_offset, dmth->modbeg);
+                  bfd_putl32 (sub_dst->size, dmth->size);
+                }
+
+              off += sizeof (struct vms_dmt_header);
+              psect_count = 0;
+
+              /* For each section (ie for each psect).  */
+              for (o = sub->sections; o != NULL; o = o->next)
+                {
+                  /* Only consider interesting sections.  */
+                  if (!(o->flags & SEC_ALLOC))
+                    continue;
+                  if (o->flags & SEC_LINKER_CREATED)
+                    continue;
+
+                  if (pass == 1)
+                    {
+                      /* Write an entry.  */
+                      struct vms_dmt_psect *dmtp;
+
+                      dmtp = (struct vms_dmt_psect *)(contents + off);
+                      bfd_putl32 (o->output_offset + o->output_section->vma,
+                                  dmtp->start);
+                      bfd_putl32 (o->size, dmtp->length);
+                      psect_count++;
+                    }
+                  off += sizeof (struct vms_dmt_psect);
+                }
+              if (pass == 1)
+                bfd_putl32 (psect_count, dmth->psect_count);
+            }
+
+          if (pass == 0)
+            {
+              contents = bfd_zalloc (info->output_bfd, off);
+              if (contents == NULL)
+                return FALSE;
+              dmt->contents = contents;
+              dmt->size = off;
+            }
+          else
+            {
+              BFD_ASSERT (off == dmt->size);
+            }
+        }
+    }
+
   return TRUE;
 }
 
diff --git a/bfd/vms-lib.c b/bfd/vms-lib.c
index bd5ecb7..bbef19c 100644
--- a/bfd/vms-lib.c
+++ b/bfd/vms-lib.c
@@ -552,6 +552,7 @@ _bfd_vms_lib_archive_p (bfd *abfd, enum vms_lib_kind kind)
           struct dcxsbm_desc *sbmdesc = &tdata->dcxsbm[i];
           unsigned int sbm_len;
           unsigned int sbm_sz;
+          unsigned int off;
           unsigned char *data = (unsigned char *)sbm;
           unsigned char *buf1;
           unsigned int l, j;
@@ -565,16 +566,28 @@ _bfd_vms_lib_archive_p (bfd *abfd, enum vms_lib_kind kind)
           sbmdesc->max_char = sbm->max_char;
           sbm_len = sbmdesc->max_char - sbmdesc->min_char + 1;
           l = (2 * sbm_len + 7) / 8;
-          BFD_ASSERT (sbm_sz >= sizeof (struct vms_dcxsbm) + l + 3 * sbm_len);
+          BFD_ASSERT
+            (sbm_sz >= sizeof (struct vms_dcxsbm) + l + 3 * sbm_len
+             || (tdata->nbr_dcxsbm == 1
+                 && sbm_sz >= sizeof (struct vms_dcxsbm) + l + sbm_len));
           sbmdesc->flags = (unsigned char *)bfd_alloc (abfd, l);
           memcpy (sbmdesc->flags, data + bfd_getl16 (sbm->flags), l);
           sbmdesc->nodes = (unsigned char *)bfd_alloc (abfd, 2 * sbm_len);
           memcpy (sbmdesc->nodes, data + bfd_getl16 (sbm->nodes), 2 * sbm_len);
-          sbmdesc->next = (unsigned short *)bfd_alloc
-            (abfd, sbm_len * sizeof (unsigned short));
-          buf1 = data + bfd_getl16 (sbm->next);
-          for (j = 0; j < sbm_len; j++)
-            sbmdesc->next[j] = bfd_getl16 (buf1 + j * 2);
+          off = bfd_getl16 (sbm->next);
+          if (off != 0)
+            {
+              sbmdesc->next = (unsigned short *)bfd_alloc
+                (abfd, sbm_len * sizeof (unsigned short));
+              buf1 = data + off;
+              for (j = 0; j < sbm_len; j++)
+                sbmdesc->next[j] = bfd_getl16 (buf1 + j * 2);
+            }
+          else
+            {
+              BFD_ASSERT (tdata->nbr_dcxsbm == 1);
+              sbmdesc->next = NULL;
+            }
         }
       free (buf);
     }
@@ -850,7 +863,8 @@ vms_lib_dcx (struct vms_lib_iovec *vec, unsigned char *buf, file_ptr nbytes)
             {
               unsigned char v = sbm->nodes[offset];
 
-              sbm = vec->dcxsbms + sbm->next[v];
+              if (sbm->next != NULL)
+                sbm = vec->dcxsbms + sbm->next[v];
               offset = 0;
               res++;
 
diff --git a/include/vms/ChangeLog b/include/vms/ChangeLog
index 823520f..edd78fe 100644
--- a/include/vms/ChangeLog
+++ b/include/vms/ChangeLog
@@ -1,3 +1,7 @@
+2010-05-03  Tristan Gingold  <gingold@adacore.com>
+
+	* dmt.h: Improve comments.
+
 2010-04-30  Tristan Gingold  <gingold@adacore.com>
 
 	* lbr.h (struct vms_kbn): New structure.
diff --git a/include/vms/dmt.h b/include/vms/dmt.h
index f2f4e0d..f2aad6e 100644
--- a/include/vms/dmt.h
+++ b/include/vms/dmt.h
@@ -25,10 +25,10 @@
 
 struct vms_dmt_header
 {
-  /* Address of the module.  */
+  /* Offset in the DST of the module.  */
   unsigned char modbeg[4];
 
-  /* Size of the module.  */
+  /* Size of the DST chunk for this module.  */
   unsigned char size[4];
 
   /* Number of psect for this module.  */
@@ -39,7 +39,10 @@ struct vms_dmt_header


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [SCM]  archer-jankratochvil-bpstat_what: Merge remote branch 'origin/master' into archer-jankratochvil-bpstat_what
@ 2010-05-03  8:50 jkratoch
  0 siblings, 0 replies; 7+ messages in thread
From: jkratoch @ 2010-05-03  8:50 UTC (permalink / raw)
  To: archer-commits

The branch, archer-jankratochvil-bpstat_what has been updated
       via  778598337e079e46bb80e2886d8ce0c3013d2f60 (commit)
       via  f00bb58eca8bc3df62014754b5a783c030af8ce1 (commit)
       via  c0436201cacbf949b420c440b4d5cff073ce1ada (commit)
       via  d1e2132c55ad4c003b9f7bd2c4754fe18584f6bc (commit)
       via  cd432ca38f940cab7bc7f1f856d19e3dabba8aea (commit)
       via  e5c93868400b5d300f82cd2162d3a5d10d0b19c8 (commit)
       via  08ad517303adce444a573f310b2e38aac709531d (commit)
       via  e82d38eb3f6f7810e366ef2a98adcd8dc9b354af (commit)
      from  0ba5392826b892954549bad0bf256104e65af308 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 778598337e079e46bb80e2886d8ce0c3013d2f60
Merge: 0ba5392826b892954549bad0bf256104e65af308 f00bb58eca8bc3df62014754b5a783c030af8ce1
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon May 3 10:49:19 2010 +0200

    Merge remote branch 'origin/master' into archer-jankratochvil-bpstat_what

-----------------------------------------------------------------------

Summary of changes:
 bfd/version.h              |    2 +-
 gdb/ChangeLog              |   36 ++++++
 gdb/cli/cli-cmds.h         |    5 -
 gdb/command.h              |    5 +-
 gdb/defs.h                 |   60 +++-------
 gdb/doc/ChangeLog          |   11 ++-
 gdb/doc/gdbint.texinfo     |   13 --
 gdb/exceptions.c           |   12 +-
 gdb/exceptions.h           |   17 ++--
 gdb/gdbserver/ChangeLog    |   51 ++++++++
 gdb/gdbserver/linux-low.c  |  300 ++++++++++++++++++++++++++++++--------------
 gdb/gdbserver/server.c     |    2 +-
 gdb/gdbserver/target.h     |   42 +++++--
 gdb/gdbserver/tracepoint.c |   19 +++
 gdb/gdbserver/win32-low.c  |    3 +-
 gdb/linespec.c             |    7 +-
 gdb/remote-mips.c          |    2 +-
 gdb/remote-sim.c           |    3 +-
 gdb/remote.c               |   14 ++
 gdb/target.c               |    2 +-
 gdb/target.h               |    2 +-
 gdb/utils.c                |   18 ++--
 gdb/version.in             |    2 +-
 gdb/xml-support.h          |    2 +-
 24 files changed, 427 insertions(+), 203 deletions(-)

First 500 lines of diff:
diff --git a/bfd/version.h b/bfd/version.h
index e8522de..80a43b6 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20100502
+#define BFD_VERSION_DATE 20100503
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 96a88e5..9c3591c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,39 @@
+2010-05-03  Pedro Alves  <pedro@codesourcery.com>
+
+	* remote.c (remote_notice_signals): New.
+	(remote_start_remote): In non-stop mode, update the remote end on
+	which signals it can silently pass.
+	(init_remote_ops): Install remote_notice_signals.
+
+2010-05-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* cli/cli-cmds.h (error_no_arg): Remove.  Move the comment ...
+	* command.h (error_no_arg): ... here.  Remove NORETURN, change
+	ATTR_NORETURN to ATTRIBUTE_NORETURN.
+	* defs.h (NORETURN, ATTR_NORETURN): Remove.
+	(perror_with_name, verror, error, error_stream, vfatal, fatal)
+	(internal_verror, internal_error, nomem): Remove NORETURN, change
+	ATTR_NORETURN to ATTRIBUTE_NORETURN.
+	* exceptions.c (throw_exception, deprecated_throw_reason, throw_verror)
+	(throw_vfatal, throw_error): Remove NORETURN.
+	(throw_it): Remove NORETURN, change ATTR_NORETURN to ATTRIBUTE_NORETURN.
+	* exceptions.h (throw_exception, throw_verror, throw_vfatal)
+	(throw_error, deprecated_throw_reason): Remove NORETURN, change
+	ATTR_NORETURN to ATTRIBUTE_NORETURN.
+	* linespec.c (cplusplus_error): Remove NORETURN, change ATTR_NORETURN
+	to ATTRIBUTE_NORETURN for prototype, for the definition only remove
+	NORETURN.
+	* remote-mips.c (mips_error): Change NORETURN to ATTRIBUTE_NORETURN.
+	* remote-sim.c (gdb_os_error): Change ATTR_NORETURN to
+	ATTRIBUTE_NORETURN.
+	* target.c (tcomplain): Likewise.
+	* target.h (noprocess): Remove NORETURN, change ATTR_NORETURN to
+	ATTRIBUTE_NORETURN.
+	* utils.c (verror, error, vfatal, fatal, error_stream, internal_verror)
+	(internal_error, perror_with_name, nomem): Remove NORETURN.
+	* xml-support.h (gdb_xml_error): Change ATTR_NORETURN to
+	ATTRIBUTE_NORETURN.
+
 2010-05-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
 	* ada-lang.c (lim_warning): Change ATTR_FORMAT to ATTRIBUTE_PRINTF.
diff --git a/gdb/cli/cli-cmds.h b/gdb/cli/cli-cmds.h
index 9446f93..596870e 100644
--- a/gdb/cli/cli-cmds.h
+++ b/gdb/cli/cli-cmds.h
@@ -128,11 +128,6 @@ extern void source_script (char *, int);
 extern int find_and_open_script (const char *file, int search_path,
 				 FILE **streamp, char **full_path);
 
-/* Used everywhere whenever at least one parameter is required and
-  none is specified. */
-
-extern NORETURN void error_no_arg (char *) ATTR_NORETURN;
-
 /* Command tracing state.  */
 
 extern int source_verbose;
diff --git a/gdb/command.h b/gdb/command.h
index a746c82..f53dc3e 100644
--- a/gdb/command.h
+++ b/gdb/command.h
@@ -341,7 +341,10 @@ extern void add_setshow_zuinteger_cmd (char *name,
 
 extern void cmd_show_list (struct cmd_list_element *, int, char *);
 
-extern NORETURN void error_no_arg (char *) ATTR_NORETURN;
+/* Used everywhere whenever at least one parameter is required and
+   none is specified. */
+
+extern void error_no_arg (char *) ATTRIBUTE_NORETURN;
 
 extern void dont_repeat (void);
 
diff --git a/gdb/defs.h b/gdb/defs.h
index c58f698..b18e03f 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -267,36 +267,6 @@ struct cleanup
     void *arg;
   };
 
-
-/* The ability to declare that a function never returns is useful, but
-   not really required to compile GDB successfully, so the NORETURN and
-   ATTR_NORETURN macros normally expand into nothing.  */
-
-/* If compiling with older versions of GCC, a function may be declared
-   "volatile" to indicate that it does not return.  */
-
-#ifndef NORETURN
-#if defined(__GNUC__) \
-     && (__GNUC__ == 1 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7))
-#define NORETURN volatile
-#else
-#define NORETURN		/* nothing */
-#endif
-#endif
-
-/* GCC 2.5 and later versions define a function attribute "noreturn",
-   which is the preferred way to declare that a function never returns.
-   However GCC 2.7 appears to be the first version in which this fully
-   works everywhere we use it. */
-
-#ifndef ATTR_NORETURN
-#if defined(__GNUC__) && (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7))
-#define ATTR_NORETURN __attribute__ ((noreturn))
-#else
-#define ATTR_NORETURN		/* nothing */
-#endif
-#endif
-
 /* Be conservative and use enum bitfields only with GCC.
    This is copied from gcc 3.3.1, system.h.  */
 
@@ -552,7 +522,7 @@ extern char *hex_string_custom (LONGEST, int);
 extern void fprintf_symbol_filtered (struct ui_file *, char *,
 				     enum language, int);
 
-extern NORETURN void perror_with_name (const char *) ATTR_NORETURN;
+extern void perror_with_name (const char *) ATTRIBUTE_NORETURN;
 
 extern void print_sys_errmsg (const char *, int);
 
@@ -921,24 +891,26 @@ extern char *quit_pre_print;
 
 extern char *warning_pre_print;
 
-extern NORETURN void verror (const char *fmt, va_list ap)
-     ATTR_NORETURN ATTRIBUTE_PRINTF (1, 0);
+extern void verror (const char *fmt, va_list ap)
+     ATTRIBUTE_NORETURN ATTRIBUTE_PRINTF (1, 0);
 
-extern NORETURN void error (const char *fmt, ...) ATTR_NORETURN ATTRIBUTE_PRINTF (1, 2);
+extern void error (const char *fmt, ...)
+     ATTRIBUTE_NORETURN ATTRIBUTE_PRINTF (1, 2);
 
-extern NORETURN void error_stream (struct ui_file *) ATTR_NORETURN;
+extern void error_stream (struct ui_file *) ATTRIBUTE_NORETURN;
 
-extern NORETURN void vfatal (const char *fmt, va_list ap)
-     ATTR_NORETURN ATTRIBUTE_PRINTF (1, 0);
+extern void vfatal (const char *fmt, va_list ap)
+     ATTRIBUTE_NORETURN ATTRIBUTE_PRINTF (1, 0);
 
-extern NORETURN void fatal (const char *fmt, ...) ATTR_NORETURN ATTRIBUTE_PRINTF (1, 2);
+extern void fatal (const char *fmt, ...)
+     ATTRIBUTE_NORETURN ATTRIBUTE_PRINTF (1, 2);
 
-extern NORETURN void internal_verror (const char *file, int line,
-				      const char *, va_list ap)
-     ATTR_NORETURN ATTRIBUTE_PRINTF (3, 0);
+extern void internal_verror (const char *file, int line, const char *,
+			     va_list ap)
+     ATTRIBUTE_NORETURN ATTRIBUTE_PRINTF (3, 0);
 
-extern NORETURN void internal_error (const char *file, int line,
-				     const char *, ...) ATTR_NORETURN ATTRIBUTE_PRINTF (3, 4);
+extern void internal_error (const char *file, int line, const char *, ...)
+     ATTRIBUTE_NORETURN ATTRIBUTE_PRINTF (3, 4);
 
 extern void internal_vwarning (const char *file, int line,
 			       const char *, va_list ap)
@@ -947,7 +919,7 @@ extern void internal_vwarning (const char *file, int line,
 extern void internal_warning (const char *file, int line,
 			      const char *, ...) ATTRIBUTE_PRINTF (3, 4);
 
-extern NORETURN void nomem (long) ATTR_NORETURN;
+extern void nomem (long) ATTRIBUTE_NORETURN;
 
 extern void warning (const char *, ...) ATTRIBUTE_PRINTF (1, 2);
 
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index b390c9c..eb46098 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,8 +1,13 @@
+2010-05-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* gdbint.texinfo (Host Definition): Remove items NORETURN and
+	ATTR_NORETURN.
+
 2010-04-29  Phil Muldoon  <pmuldoon@redhat.com>
-            Tom Tromey  <tromey@redhat.com>
-            Thiago Jung Bauermann  <bauerman@br.ibm.com>
+	    Tom Tromey  <tromey@redhat.com>
+	    Thiago Jung Bauermann  <bauerman@br.ibm.com>
 
-       * gdb.texinfo (Parameters In Python): New Node.
+	* gdb.texinfo (Parameters In Python): New Node.
 
 2010-04-29  Mihail Zenkov  <mihail.zenkov@gmail.com>
 
diff --git a/gdb/doc/gdbint.texinfo b/gdb/doc/gdbint.texinfo
index d9a4a95..26719e6 100644
--- a/gdb/doc/gdbint.texinfo
+++ b/gdb/doc/gdbint.texinfo
@@ -2784,19 +2784,6 @@ Define this if @code{lseek (n)} does not necessarily move to byte number
 @code{n} in the file.  This is only used when reading source files.  It
 is normally faster to define @code{CRLF_SOURCE_FILES} when possible.
 
-@item NORETURN
-If defined, this should be one or more tokens, such as @code{volatile},
-that can be used in both the declaration and definition of functions to
-indicate that they never return.  The default is already set correctly
-if compiling with GCC.  This will almost never need to be defined.
-
-@item ATTR_NORETURN
-If defined, this should be one or more tokens, such as
-@code{__attribute__ ((noreturn))}, that can be used in the declarations
-of functions to indicate that they never return.  The default is already
-set correctly if compiling with GCC.  This will almost never need to be
-defined.
-
 @item lint
 Define this to help placate @code{lint} in some situations.
 
diff --git a/gdb/exceptions.c b/gdb/exceptions.c
index 5f67224..444db50 100644
--- a/gdb/exceptions.c
+++ b/gdb/exceptions.c
@@ -210,7 +210,7 @@ exceptions_state_mc_action_iter_1 (void)
 
 /* Return EXCEPTION to the nearest containing catch_errors().  */
 
-NORETURN void
+void
 throw_exception (struct gdb_exception exception)
 {
   struct thread_info *tp = NULL;
@@ -239,7 +239,7 @@ throw_exception (struct gdb_exception exception)
 
 static char *last_message;
 
-NORETURN void
+void
 deprecated_throw_reason (enum return_reason reason)
 {
   struct gdb_exception exception;
@@ -374,7 +374,7 @@ print_any_exception (struct ui_file *file, const char *prefix,
     }
 }
 
-NORETURN static void ATTR_NORETURN ATTRIBUTE_PRINTF (3, 0)
+static void ATTRIBUTE_NORETURN ATTRIBUTE_PRINTF (3, 0)
 throw_it (enum return_reason reason, enum errors error, const char *fmt,
 	  va_list ap)
 {
@@ -396,19 +396,19 @@ throw_it (enum return_reason reason, enum errors error, const char *fmt,
   throw_exception (e);
 }
 
-NORETURN void
+void
 throw_verror (enum errors error, const char *fmt, va_list ap)
 {
   throw_it (RETURN_ERROR, error, fmt, ap);
 }
 
-NORETURN void
+void
 throw_vfatal (const char *fmt, va_list ap)
 {
   throw_it (RETURN_QUIT, GDB_NO_ERROR, fmt, ap);
 }
 
-NORETURN void
+void
 throw_error (enum errors error, const char *fmt, ...)
 {
   va_list args;
diff --git a/gdb/exceptions.h b/gdb/exceptions.h
index e5b8ade..7d68a36 100644
--- a/gdb/exceptions.h
+++ b/gdb/exceptions.h
@@ -166,17 +166,18 @@ extern void exception_fprintf (struct ui_file *file, struct gdb_exception e,
    be a good thing or a dangerous thing.'' -- the Existential
    Wombat.  */
 
-extern NORETURN void throw_exception (struct gdb_exception exception) ATTR_NORETURN;
-extern NORETURN void throw_verror (enum errors, const char *fmt, va_list ap)
-     ATTR_NORETURN ATTRIBUTE_PRINTF (2, 0);
-extern NORETURN void throw_vfatal (const char *fmt, va_list ap)
-     ATTR_NORETURN ATTRIBUTE_PRINTF (1, 0);
-extern NORETURN void throw_error (enum errors error, const char *fmt,
-				  ...) ATTR_NORETURN ATTRIBUTE_PRINTF (2, 3);
+extern void throw_exception (struct gdb_exception exception) ATTRIBUTE_NORETURN;
+extern void throw_verror (enum errors, const char *fmt, va_list ap)
+     ATTRIBUTE_NORETURN ATTRIBUTE_PRINTF (2, 0);
+extern void throw_vfatal (const char *fmt, va_list ap)
+     ATTRIBUTE_NORETURN ATTRIBUTE_PRINTF (1, 0);
+extern void throw_error (enum errors error, const char *fmt, ...)
+     ATTRIBUTE_NORETURN ATTRIBUTE_PRINTF (2, 3);
 
 /* Instead of deprecated_throw_reason, code should use catch_exception
    and throw_exception.  */
-extern NORETURN void deprecated_throw_reason (enum return_reason reason) ATTR_NORETURN;
+extern void deprecated_throw_reason (enum return_reason reason)
+     ATTRIBUTE_NORETURN;
 
 /* Call FUNC(UIOUT, FUNC_ARGS) but wrapped within an exception
    handler.  If an exception (enum return_reason) is thrown using
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 3f0b0fb..2cb1ac0 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,54 @@
+2010-05-03  Pedro Alves  <pedro@codesourcery.com>
+
+	* linux-low.c (linux_kill, linux_detach): Adjust.
+	(status_pending_p_callback): Remove redundant statement.  Check
+	for !TARGET_WAITIKIND_IGNORE, instead of
+	TARGET_WAITKIND_STOPPED.
+	(handle_tracepoints): Make sure LWP is locked.  Adjust.
+	(linux_wait_for_event_1): Adjust.
+	(linux_cancel_breakpoints): New.
+	(unsuspend_one_lwp): New.
+	(unsuspend_all_lwps): New.
+	(linux_wait_1): If finishing a step-over, unsuspend all lwps.
+	(send_sigstop_callback): Change return type to int, add new
+	`except' parameter and handle it.
+	(suspend_and_send_sigstop_callback): New.
+	(stop_all_lwps): Add new `suspend' and `expect' parameters, and
+	pass them down.  If SUSPEND, also increment the lwp's suspend
+	count.
+	(linux_resume_one_lwp): Add notice about resuming a suspended LWP.
+	(need_step_over_p): Don't consider suspended LWPs.
+	(start_step_over): Adjust.
+	(proceed_one_lwp): Change return type to int, add new `except'
+	parameter and handle it.
+	(unsuspend_and_proceed_one_lwp): New.
+	(proceed_all_lwps): Use find_inferior instead of
+	for_each_inferior.
+	(unstop_all_lwps): Add `unsuspend' parameter.  If UNSUSPEND, them
+	also decrement the suspend count of LWPs.  Pass `except' down,
+	instead of hacking its suspend count.
+	(linux_pause_all): Add `freeze' parameter.  Adjust.
+	(linux_unpause_all): New.
+	(linux_target_ops): Install linux_unpause_all.
+	* server.c (handle_status): Adjust.
+	* target.h (struct target_ops): New fields `unpause_all' and
+	`cancel_breakpoints'.  Add new parameter to `pause_all'.
+	(pause_all): Add new `freeze' parameter.
+	(unpause_all): New.
+	(cancel_breakpoints): New.
+	* tracepoint.c (clear_installed_tracepoints): Pause threads, and
+	cancel breakpoints.
+	(cmd_qtstart): Pause threads.
+	(stop_tracing): Pause threads, and cancel breakpoints.
+	* win32-low.c (win32_target_ops): Adjust.
+
+2010-05-03  Pedro Alves  <pedro@codesourcery.com>
+
+	* linux-low.c (linux_wait_for_event_1): Move passing the signal to
+	the inferior right away from here...
+	(linux_wait_1): ... to here, and adjust to check the thread's
+	last_resume_kind instead of the lwp's step or stop_expected flags.
+
 2010-05-02  Pedro Alves  <pedro@codesourcery.com>
 
 	* README: Use consistent `GDB' and `GDBserver' spellings.
diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c
index 65a87f6..4a19db7 100644
--- a/gdb/gdbserver/linux-low.c
+++ b/gdb/gdbserver/linux-low.c
@@ -139,14 +139,14 @@ static int new_inferior;
 static void linux_resume_one_lwp (struct lwp_info *lwp,
 				  int step, int signal, siginfo_t *info);
 static void linux_resume (struct thread_resume *resume_info, size_t n);
-static void stop_all_lwps (void);
+static void stop_all_lwps (int suspend, struct lwp_info *except);
+static void unstop_all_lwps (int unsuspend, struct lwp_info *except);
 static int linux_wait_for_event (ptid_t ptid, int *wstat, int options);
 static void *add_lwp (ptid_t ptid);
 static int linux_stopped_by_watchpoint (void);
 static void mark_lwp_dead (struct lwp_info *lwp, int wstat);
 static int linux_core_of_thread (ptid_t ptid);
 static void proceed_all_lwps (void);
-static void unstop_all_lwps (struct lwp_info *except);
 static int finish_step_over (struct lwp_info *lwp);
 static CORE_ADDR get_stop_pc (struct lwp_info *lwp);
 static int kill_lwp (unsigned long lwpid, int signo);
@@ -765,7 +765,7 @@ linux_kill (int pid)
 
   /* If we're killing a running inferior, make sure it is stopped
      first, as PTRACE_KILL will not work otherwise.  */
-  stop_all_lwps ();
+  stop_all_lwps (0, NULL);
 
   find_inferior (&all_threads, linux_kill_one_lwp, &pid);
 
@@ -790,7 +790,7 @@ linux_kill (int pid)
 
   /* Since we presently can only stop all lwps of all processes, we
      need to unstop lwps of other processes.  */
-  unstop_all_lwps (NULL);
+  unstop_all_lwps (0, NULL);
   return 0;
 }
 
@@ -840,7 +840,7 @@ linux_detach (int pid)
      the thread is stopped to sucessfully detach.  Second, thread_db
      may need to uninstall thread event breakpoints from memory, which
      only works with a stopped process anyway.  */
-  stop_all_lwps ();
+  stop_all_lwps (0, NULL);
 
 #ifdef USE_THREAD_DB
   thread_db_detach (process);
@@ -852,7 +852,7 @@ linux_detach (int pid)
 
   /* Since we presently can only stop all lwps of all processes, we
      need to unstop lwps of other processes.  */
-  unstop_all_lwps (NULL);
+  unstop_all_lwps (0, NULL);
   return 0;
 }
 
@@ -928,7 +928,7 @@ status_pending_p_callback (struct inferior_list_entry *entry, void *arg)
 {
   struct lwp_info *lwp = (struct lwp_info *) entry;
   ptid_t ptid = * (ptid_t *) arg;
-  struct thread_info *thread = get_lwp_thread (lwp);
+  struct thread_info *thread;
 
   /* Check if we're only interested in events from a specific process
      or its lwps.  */
@@ -941,7 +941,7 @@ status_pending_p_callback (struct inferior_list_entry *entry, void *arg)
   /* If we got a `vCont;t', but we haven't reported a stop yet, do
      report any status pending the LWP may have.  */
   if (thread->last_resume_kind == resume_stop
-      && thread->last_status.kind == TARGET_WAITKIND_STOPPED)
+      && thread->last_status.kind != TARGET_WAITKIND_IGNORE)
     return 0;
 
   return lwp->status_pending_p;
@@ -1113,6 +1113,12 @@ handle_tracepoints (struct lwp_info *lwp)
   struct thread_info *tinfo = get_lwp_thread (lwp);
   int tpoint_related_event = 0;
 
+  /* If this tracepoint hit causes a tracing stop, we'll immediately
+     uninsert tracepoints.  To do this, we temporarily pause all
+     threads, unpatch away, and then unpause threads.  We need to make
+     sure the unpausing doesn't resume LWP too.  */
+  lwp->suspended++;
+
   /* And we need to be sure that any all-threads-stopping doesn't try
      to move threads out of the jump pads, as it could deadlock the
      inferior (LWP could be in the jump pad, maybe even holding the
@@ -1125,6 +1131,10 @@ handle_tracepoints (struct lwp_info *lwp)
      actions.  */
   tpoint_related_event |= tracepoint_was_hit (tinfo, lwp->stop_pc);
 
+  lwp->suspended--;
+
+  gdb_assert (lwp->suspended == 0);
+
   if (tpoint_related_event)
     {
       if (debug_threads)
@@ -1290,7 +1300,7 @@ linux_wait_for_event_1 (ptid_t ptid, int *wstat, int options)
 	      /* Cancel the step-over operation --- the thread that
 		 started it is gone.  */
 	      if (finish_step_over (event_child))
-		unstop_all_lwps (event_child);
+		unstop_all_lwps (1, event_child);
 	      delete_lwp (event_child);
 	      return lwpid;
 	    }
@@ -1314,43 +1324,6 @@ linux_wait_for_event_1 (ptid_t ptid, int *wstat, int options)
 	  continue;
 	}
 
-      /* If GDB is not interested in this signal, don't stop other
-	 threads, and don't report it to GDB.  Just resume the
-	 inferior right away.  We do this for threading-related
-	 signals as well as any that GDB specifically requested we
-	 ignore.  But never ignore SIGSTOP if we sent it ourselves,
-	 and do not ignore signals when stepping - they may require
-	 special handling to skip the signal handler.  */
-      /* FIXME drow/2002-06-09: Get signal numbers from the inferior's
-	 thread library?  */
-      if (WIFSTOPPED (*wstat)
-	  && !event_child->stepping
-	  && (
-#if defined (USE_THREAD_DB) && defined (__SIGRTMIN)
-	      (current_process ()->private->thread_db != NULL
-	       && (WSTOPSIG (*wstat) == __SIGRTMIN


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [SCM]  archer-jankratochvil-bpstat_what: Merge remote branch 'origin/master' into archer-jankratochvil-bpstat_what
@ 2010-05-02 23:22 jkratoch
  0 siblings, 0 replies; 7+ messages in thread
From: jkratoch @ 2010-05-02 23:22 UTC (permalink / raw)
  To: archer-commits

The branch, archer-jankratochvil-bpstat_what has been updated
       via  0ba5392826b892954549bad0bf256104e65af308 (commit)
       via  66faed36593d9577859e9942388c4edcd1928e35 (commit)
       via  5263f9075a7eb49c3d8c9e1d82d5fc10dd6a1952 (commit)
       via  076247968f69995cce9ecc1138f98482fa678f14 (commit)
       via  7961b0b56f7c749af03d200b5647083f4f5fff26 (commit)
      from  03e2d926e70ea4edf3195328204e8809616954f5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 0ba5392826b892954549bad0bf256104e65af308
Merge: 03e2d926e70ea4edf3195328204e8809616954f5 66faed36593d9577859e9942388c4edcd1928e35
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon May 3 01:21:42 2010 +0200

    Merge remote branch 'origin/master' into archer-jankratochvil-bpstat_what

-----------------------------------------------------------------------

Summary of changes:
 gdb/ChangeLog           |   51 +++++++++++++++++++
 gdb/README              |   18 +++---
 gdb/ada-lang.c          |    2 +-
 gdb/amd64-tdep.c        |    2 +-
 gdb/cli-out.c           |  128 +++++++++++++++++------------------------------
 gdb/complaints.c        |    4 +-
 gdb/complaints.h        |    4 +-
 gdb/defs.h              |   67 +++++++++++--------------
 gdb/disasm.c            |    2 +-
 gdb/exceptions.c        |    2 +-
 gdb/exceptions.h        |    8 ++--
 gdb/gdbserver/ChangeLog |    4 ++
 gdb/gdbserver/README    |   62 +++++++++++-----------
 gdb/language.h          |    4 +-
 gdb/linespec.c          |    2 +-
 gdb/mi/mi-interp.c      |    2 +-
 gdb/mi/mi-out.c         |    4 +-
 gdb/monitor.c           |    2 +-
 gdb/parser-defs.h       |    2 +-
 gdb/serial.h            |    2 +-
 gdb/tui/tui-hooks.c     |    2 +-
 gdb/ui-out.c            |    8 ++--
 gdb/ui-out.h            |    4 +-
 gdb/utils.c             |    6 +-
 gdb/xml-support.h       |    4 +-
 25 files changed, 204 insertions(+), 192 deletions(-)

First 500 lines of diff:
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 82ee1d6..96a88e5 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,56 @@
 2010-05-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
+	* ada-lang.c (lim_warning): Change ATTR_FORMAT to ATTRIBUTE_PRINTF.
+	* amd64-tdep.c (amd64_insn_length_fprintf): Likewise.
+	* cli-out.c (cli_field_fmt): New ATTRIBUTE_PRINTF.
+	(cli_message, out_field_fmt): Change ATTR_FORMAT to ATTRIBUTE_PRINTF.
+	* complaints.c (find_complaint): New ATTRIBUTE_PRINTF.
+	(vcomplaint): Change ATTR_FORMAT to ATTRIBUTE_PRINTF.
+	* complaints.h (complaint, internal_complaint): Likewise.
+	* defs.h: Change ATTR_FORMAT to ATTRIBUTE_PRINTF in the top comment.
+	(ATTR_FORMAT): Remove.
+	(query, nquery, yquery, vprintf_filtered, vfprintf_filtered)
+	(fprintf_filtered, fprintfi_filtered, printf_filtered, printfi_filtered)
+	(vprintf_unfiltered, vfprintf_unfiltered, fprintf_unfiltered)
+	(printf_unfiltered, xasprintf, xvasprintf, xstrprintf, xstrvprintf)
+	(xsnprintf, verror, error, vfatal, fatal, internal_verror)
+	(internal_error, internal_vwarning, internal_warning, warning)
+	(vwarning): Change ATTR_FORMAT to ATTRIBUTE_PRINTF.
+	* disasm.c (fprintf_disasm): Likewise.
+	* exceptions.c (throw_it): Likewise.
+	* exceptions.h (exception_fprintf, throw_verror, throw_vfatal)
+	(throw_error): Likewise.
+	* language.h (type_error, range_error): Likewise.
+	* linespec.c (cplusplus_error): Likewise.
+	* mi/mi-interp.c (mi_interp_query_hook): Likewise.
+	* mi/mi-out.c (mi_field_fmt, mi_message): Likewise.
+	* monitor.c (monitor_debug): Likewise.
+	* parser-defs.h (parser_fprintf): Likewise.
+	* serial.h (serial_printf): Likewise.
+	* tui/tui-hooks.c (tui_query_hook): Likewise.
+	* ui-out.c (default_field_fmt, default_message, uo_field_fmt)
+	(uo_message): Likewise.
+	* ui-out.h (ui_out_field_fmt, ui_out_message): Likewise.
+	* utils.c (vfprintf_maybe_filtered, internal_vproblem, defaulted_query):
+	Likewise.
+	* xml-support.h (gdb_xml_debug, gdb_xml_error): Likewise.
+
+2010-05-02  Pedro Alves  <pedro@codesourcery.com>
+
+	* cli-out.c (cli_table_begin, cli_table_body, cli_table_end)
+	(cli_table_header, cli_begin, cli_end, cli_field_int)
+	(cli_field_skip, cli_field_string, cli_field_fmt, cli_spaces)
+	(cli_text, cli_message, cli_wrap_hint, cli_flush, cli_redirect):
+	Delete forward declarations.
+	(cli_ui_out_impl): Move below the callbacks.
+	(_initialize_cli_out): Delete.
+
+2010-05-02  Pedro Alves  <pedro@codesourcery.com>
+
+	* README: Use consistent `GDB' and `GDBserver' spellings.
+
+2010-05-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
 	* cli/cli-dump.h (parse_and_eval_with_error): Remove the declaration.
 
 2010-05-01  Pedro Alves  <pedro@codesourcery.com>
diff --git a/gdb/README b/gdb/README
index 57f600a..e3c39bb 100644
--- a/gdb/README
+++ b/gdb/README
@@ -22,8 +22,8 @@ files, the BFD ("binary file description") library, the readline
 library, and other libraries all have directories of their own
 underneath the gdb-6.3 directory.  The idea is that a variety of GNU
 tools can share a common copy of these things.  Be aware of variation
-over time--for example don't try to build gdb with a copy of bfd from
-a release other than the gdb release (such as a binutils release),
+over time--for example don't try to build GDB with a copy of bfd from
+a release other than the GDB release (such as a binutils release),
 especially if the releases are more than a few weeks apart.
 Configuration scripts and makefiles exist to cruise up and down this
 directory tree and automatically build all the pieces in the right
@@ -73,10 +73,10 @@ argument, e.g., `./configure sun4' or `./configure decstation'.
       /berman/migchain/source/gdb-6.3/configure      # RIGHT
       /berman/migchain/source/gdb-6.3/gdb/configure  # WRONG
 
-   The gdb package contains several subdirectories, such as 'gdb',
+   The GDB package contains several subdirectories, such as 'gdb',
 'bfd', and 'readline'.  If your 'configure' line ends in
 'gdb-6.3/gdb/configure', then you are configuring only the gdb
-subdirectory, not the whole gdb package.  This leads to build errors
+subdirectory, not the whole GDB package.  This leads to build errors
 such as:
 
       make: *** No rule to make target `../bfd/bfd.h', needed by `gdb.o'.  Stop.
@@ -88,7 +88,7 @@ Bugs' section below; there are a few known problems.
 C compiler for your system, you may be able to download and install
 the GNU CC compiler.  It is available via anonymous FTP from the
 directory `ftp://ftp.gnu.org/pub/gnu/gcc'.  GDB also requires an ISO
-C standard library.  The GDB remote server, gdbserver, builds with some
+C standard library.  The GDB remote server, GDBserver, builds with some
 non-ISO standard libraries - e.g. for Windows CE.
 
    GDB uses Expat, an XML parsing library, to implement some target-specific
@@ -545,12 +545,12 @@ standalone on an m68k, i386, or SPARC cpu and communicate properly
 with the remote.c stub over a serial line.
 
    The directory gdb/gdbserver/ contains `gdbserver', a program that
-allows remote debugging for Unix applications.  gdbserver is only
+allows remote debugging for Unix applications.  GDBserver is only
 supported for some native configurations, including Sun 3, Sun 4, and
 Linux.
-The file gdb/gdbserver/README includes further notes on gdbserver; in
-particular, it explains how to build gdbserver for cross-debugging
-(where gdbserver runs on the target machine, which is of a different
+The file gdb/gdbserver/README includes further notes on GDBserver; in
+particular, it explains how to build GDBserver for cross-debugging
+(where GDBserver runs on the target machine, which is of a different
 architecture than the host machine running GDB).
 
    There are a number of remote interfaces for talking to existing ROM
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index 9da0609..7238a44 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -501,7 +501,7 @@ cond_offset_target (CORE_ADDR address, long offset)
 
 /* FIXME: cagney/2004-10-10: This function is mimicking the behavior
    provided by "complaint".  */
-static void lim_warning (const char *format, ...) ATTR_FORMAT (printf, 1, 2);
+static void lim_warning (const char *format, ...) ATTRIBUTE_PRINTF (1, 2);
 
 static void
 lim_warning (const char *format, ...)
diff --git a/gdb/amd64-tdep.c b/gdb/amd64-tdep.c
index b0926ad..21d66c5 100644
--- a/gdb/amd64-tdep.c
+++ b/gdb/amd64-tdep.c
@@ -1026,7 +1026,7 @@ amd64_skip_prefixes (gdb_byte *insn)
    This function is a nop, we don't want to print anything, we just want to
    compute the length of the insn.  */
 
-static int ATTR_FORMAT (printf, 2, 3)
+static int ATTRIBUTE_PRINTF (2, 3)
 amd64_insn_length_fprintf (void *stream, const char *format, ...)
 {
   return 0;
diff --git a/gdb/cli-out.c b/gdb/cli-out.c
index e99edb0..b284a4b 100644
--- a/gdb/cli-out.c
+++ b/gdb/cli-out.c
@@ -29,77 +29,22 @@
 
 typedef struct cli_ui_out_data cli_out_data;
 
-/* These are the CLI output functions */
-
-static void cli_table_begin (struct ui_out *uiout, int nbrofcols,
-			     int nr_rows, const char *tblid);
-static void cli_table_body (struct ui_out *uiout);
-static void cli_table_end (struct ui_out *uiout);
-static void cli_table_header (struct ui_out *uiout, int width,
-			      enum ui_align alig, const char *col_name,
-			      const char *colhdr);
-static void cli_begin (struct ui_out *uiout, enum ui_out_type type,
-		       int level, const char *lstid);
-static void cli_end (struct ui_out *uiout, enum ui_out_type type, int level);
-static void cli_field_int (struct ui_out *uiout, int fldno, int width,
-			   enum ui_align alig, const char *fldname, int value);
-static void cli_field_skip (struct ui_out *uiout, int fldno, int width,
-			    enum ui_align alig, const char *fldname);
-static void cli_field_string (struct ui_out *uiout, int fldno, int width,
-			      enum ui_align alig, const char *fldname,
-			      const char *string);
-static void cli_field_fmt (struct ui_out *uiout, int fldno,
-			   int width, enum ui_align align,
-			   const char *fldname, const char *format,
-			   va_list args) ATTR_FORMAT (printf, 6, 0);
-static void cli_spaces (struct ui_out *uiout, int numspaces);
-static void cli_text (struct ui_out *uiout, const char *string);
-static void cli_message (struct ui_out *uiout, int verbosity,
-			 const char *format, va_list args)
-     ATTR_FORMAT (printf, 3, 0);
-static void cli_wrap_hint (struct ui_out *uiout, char *identstring);
-static void cli_flush (struct ui_out *uiout);
-static int cli_redirect (struct ui_out *uiout, struct ui_file *outstream);
-
-/* This is the CLI ui-out implementation functions vector */
-
-/* FIXME: This can be initialized dynamically after default is set to
-   handle initial output in main.c */
-
-struct ui_out_impl cli_ui_out_impl =
-{
-  cli_table_begin,
-  cli_table_body,
-  cli_table_end,
-  cli_table_header,
-  cli_begin,
-  cli_end,
-  cli_field_int,
-  cli_field_skip,
-  cli_field_string,
-  cli_field_fmt,
-  cli_spaces,
-  cli_text,
-  cli_message,
-  cli_wrap_hint,
-  cli_flush,
-  cli_redirect,
-  0, /* Does not need MI hacks (i.e. needs CLI hacks).  */
-};
 
 /* Prototypes for local functions */
 
-extern void _initialize_cli_out (void);
+static void cli_text (struct ui_out *uiout, const char *string);
 
 static void field_separator (void);
 
 static void out_field_fmt (struct ui_out *uiout, int fldno,
 			   const char *fldname,
-			   const char *format,...) ATTR_FORMAT (printf, 4, 5);
+			   const char *format,...) ATTRIBUTE_PRINTF (4, 5);
+
+/* These are the CLI output functions */
 
 /* Mark beginning of a table */
 
-void
+static void
 cli_table_begin (struct ui_out *uiout, int nbrofcols,
 		 int nr_rows,
 		 const char *tblid)
@@ -115,7 +60,7 @@ cli_table_begin (struct ui_out *uiout, int nbrofcols,
 
 /* Mark beginning of a table body */
 
-void
+static void
 cli_table_body (struct ui_out *uiout)
 {
   cli_out_data *data = ui_out_data (uiout);
@@ -127,7 +72,7 @@ cli_table_body (struct ui_out *uiout)
 
 /* Mark end of a table */
 
-void
+static void
 cli_table_end (struct ui_out *uiout)
 {
   cli_out_data *data = ui_out_data (uiout);
@@ -136,7 +81,7 @@ cli_table_end (struct ui_out *uiout)
 
 /* Specify table header */
 
-void
+static void
 cli_table_header (struct ui_out *uiout, int width, enum ui_align alignment,
 		  const char *col_name,
 		  const char *colhdr)
@@ -152,7 +97,7 @@ cli_table_header (struct ui_out *uiout, int width, enum ui_align alignment,
 
 /* Mark beginning of a list */
 
-void
+static void
 cli_begin (struct ui_out *uiout,
 	   enum ui_out_type type,
 	   int level,
@@ -165,7 +110,7 @@ cli_begin (struct ui_out *uiout,
 
 /* Mark end of a list */
 
-void
+static void
 cli_end (struct ui_out *uiout,
 	 enum ui_out_type type,
 	 int level)
@@ -177,7 +122,7 @@ cli_end (struct ui_out *uiout,
 
 /* output an int field */
 
-void
+static void
 cli_field_int (struct ui_out *uiout, int fldno, int width,
 	       enum ui_align alignment,
 	       const char *fldname, int value)
@@ -196,7 +141,7 @@ cli_field_int (struct ui_out *uiout, int fldno, int width,
 
 /* used to ommit a field */
 
-void
+static void
 cli_field_skip (struct ui_out *uiout, int fldno, int width,
 		enum ui_align alignment,
 		const char *fldname)
@@ -213,7 +158,7 @@ cli_field_skip (struct ui_out *uiout, int fldno, int width,
 /* other specific cli_field_* end up here so alignment and field
    separators are both handled by cli_field_string */
 
-void
+static void
 cli_field_string (struct ui_out *uiout,
 		  int fldno,
 		  int width,
@@ -264,7 +209,7 @@ cli_field_string (struct ui_out *uiout,
 
 /* This is the only field function that does not align.  */
 
-void
+static void ATTRIBUTE_PRINTF (6, 0)
 cli_field_fmt (struct ui_out *uiout, int fldno,
 	       int width, enum ui_align align,
 	       const char *fldname,
@@ -281,7 +226,7 @@ cli_field_fmt (struct ui_out *uiout, int fldno,
     field_separator ();
 }
 
-void
+static void
 cli_spaces (struct ui_out *uiout, int numspaces)
 {
   cli_out_data *data = ui_out_data (uiout);
@@ -290,7 +235,7 @@ cli_spaces (struct ui_out *uiout, int numspaces)
   print_spaces_filtered (numspaces, data->stream);
 }
 
-void
+static void
 cli_text (struct ui_out *uiout, const char *string)
 {
   cli_out_data *data = ui_out_data (uiout);
@@ -299,7 +244,7 @@ cli_text (struct ui_out *uiout, const char *string)
   fputs_filtered (string, data->stream);
 }
 
-void
+static void ATTRIBUTE_PRINTF (3, 0)
 cli_message (struct ui_out *uiout, int verbosity,
 	     const char *format, va_list args)
 {
@@ -310,7 +255,7 @@ cli_message (struct ui_out *uiout, int verbosity,
     vfprintf_unfiltered (data->stream, format, args);
 }
 
-void
+static void
 cli_wrap_hint (struct ui_out *uiout, char *identstring)
 {
   cli_out_data *data = ui_out_data (uiout);
@@ -319,14 +264,14 @@ cli_wrap_hint (struct ui_out *uiout, char *identstring)
   wrap_here (identstring);
 }
 
-void
+static void
 cli_flush (struct ui_out *uiout)
 {
   cli_out_data *data = ui_out_data (uiout);
   gdb_flush (data->stream);
 }
 
-int
+static int
 cli_redirect (struct ui_out *uiout, struct ui_file *outstream)
 {
   cli_out_data *data = ui_out_data (uiout);
@@ -373,6 +318,32 @@ field_separator (void)
   fputc_filtered (' ', data->stream);
 }
 
+/* This is the CLI ui-out implementation functions vector */
+
+/* FIXME: This can be initialized dynamically after default is set to
+   handle initial output in main.c */
+
+struct ui_out_impl cli_ui_out_impl =
+{
+  cli_table_begin,
+  cli_table_body,
+  cli_table_end,
+  cli_table_header,
+  cli_begin,
+  cli_end,
+  cli_field_int,
+  cli_field_skip,
+  cli_field_string,
+  cli_field_fmt,
+  cli_spaces,
+  cli_text,
+  cli_message,
+  cli_wrap_hint,
+  cli_flush,
+  cli_redirect,
+  0, /* Does not need MI hacks (i.e. needs CLI hacks).  */
+};
+
 /* Constructor for a `cli_out_data' object.  */
 
 void
@@ -403,10 +374,3 @@ cli_out_set_stream (struct ui_out *uiout, struct ui_file *stream)
   data->stream = stream;
   return old;
 }
-
-/* Standard gdb initialization hook.  */
-void
-_initialize_cli_out (void)
-{
-  /* nothing needs to be done */
-}
diff --git a/gdb/complaints.c b/gdb/complaints.c
index 16495f2..fa63418 100644
--- a/gdb/complaints.c
+++ b/gdb/complaints.c
@@ -120,7 +120,7 @@ get_complaints (struct complaints **c)
   return (*c);
 }
 
-static struct complain *
+static struct complain * ATTRIBUTE_PRINTF (4, 0)
 find_complaint (struct complaints *complaints, const char *file,
 		int line, const char *fmt)
 {
@@ -164,7 +164,7 @@ static int stop_whining = 0;
 /* Print a complaint, and link the complaint block into a chain for
    later handling.  */
 
-static void ATTR_FORMAT (printf, 4, 0)
+static void ATTRIBUTE_PRINTF (4, 0)
 vcomplaint (struct complaints **c, const char *file, int line, const char *fmt,
 	    va_list args)
 {
diff --git a/gdb/complaints.h b/gdb/complaints.h
index 54222ca..4ff8d9b 100644
--- a/gdb/complaints.h
+++ b/gdb/complaints.h
@@ -31,10 +31,10 @@ extern struct complaints *symfile_complaints;
 
 /* Register a complaint.  */
 extern void complaint (struct complaints **complaints, const char *fmt,
-		       ...) ATTR_FORMAT (printf, 2, 3);
+		       ...) ATTRIBUTE_PRINTF (2, 3);
 extern void internal_complaint (struct complaints **complaints,
 				const char *file, int line, const char *fmt,
-				...) ATTR_FORMAT (printf, 4, 5);
+				...) ATTRIBUTE_PRINTF (4, 5);
 
 /* Clear out / initialize all complaint counters that have ever been
    incremented.  If LESS_VERBOSE is 1, be less verbose about
diff --git a/gdb/defs.h b/gdb/defs.h
index 71e8b3a..c58f698 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -1,4 +1,5 @@
-/* *INDENT-OFF* */ /* ATTR_FORMAT confuses indent, avoid running it for now */
+/* *INDENT-OFF* */ /* ATTRIBUTE_PRINTF confuses indent, avoid running it
+		      for now.  */
 /* Basic, host-specific, and target-specific definitions for GDB.
    Copyright (C) 1986, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996,
    1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2009,
@@ -296,14 +297,6 @@ struct cleanup
 #endif
 #endif
 
-#ifndef ATTR_FORMAT
-#if defined(__GNUC__) && (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 4))
-#define ATTR_FORMAT(type, x, y) __attribute__ ((format(type, x, y)))
-#else
-#define ATTR_FORMAT(type, x, y)	/* nothing */
-#endif
-#endif
-
 /* Be conservative and use enum bitfields only with GCC.
    This is copied from gcc 3.3.1, system.h.  */
 
@@ -404,9 +397,9 @@ extern void null_cleanup (void *);
 
 extern int myread (int, char *, int);
 
-extern int query (const char *, ...) ATTR_FORMAT (printf, 1, 2);
-extern int nquery (const char *, ...) ATTR_FORMAT (printf, 1, 2);
-extern int yquery (const char *, ...) ATTR_FORMAT (printf, 1, 2);
+extern int query (const char *, ...) ATTRIBUTE_PRINTF (1, 2);
+extern int nquery (const char *, ...) ATTRIBUTE_PRINTF (1, 2);
+extern int yquery (const char *, ...) ATTRIBUTE_PRINTF (1, 2);
 
 extern void init_page_info (void);
 
@@ -492,25 +485,25 @@ extern void puts_filtered_tabular (char *string, int width, int right);
 
 extern void puts_debug (char *prefix, char *string, char *suffix);
 
-extern void vprintf_filtered (const char *, va_list) ATTR_FORMAT (printf, 1, 0);
+extern void vprintf_filtered (const char *, va_list) ATTRIBUTE_PRINTF (1, 0);
 
-extern void vfprintf_filtered (struct ui_file *, const char *, va_list) ATTR_FORMAT (printf, 2, 0);
+extern void vfprintf_filtered (struct ui_file *, const char *, va_list) ATTRIBUTE_PRINTF (2, 0);
 
-extern void fprintf_filtered (struct ui_file *, const char *, ...) ATTR_FORMAT (printf, 2, 3);
+extern void fprintf_filtered (struct ui_file *, const char *, ...) ATTRIBUTE_PRINTF (2, 3);
 
-extern void fprintfi_filtered (int, struct ui_file *, const char *, ...) ATTR_FORMAT (printf, 3, 4);
+extern void fprintfi_filtered (int, struct ui_file *, const char *, ...) ATTRIBUTE_PRINTF (3, 4);
 


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [SCM]  archer-jankratochvil-bpstat_what: Merge remote branch 'origin/master' into archer-jankratochvil-bpstat_what
@ 2010-05-02 20:49 jkratoch
  0 siblings, 0 replies; 7+ messages in thread
From: jkratoch @ 2010-05-02 20:49 UTC (permalink / raw)
  To: archer-commits

The branch, archer-jankratochvil-bpstat_what has been updated
       via  03e2d926e70ea4edf3195328204e8809616954f5 (commit)
       via  f435677142e149f7298f24769d5047a9cec54977 (commit)
       via  79a428f4a05c32fb55d88492ea042c748f31f40c (commit)
       via  0e4debf4f732f631368b794e95b47d8322c413bb (commit)
       via  fa4a9b9107fc5a47692649270cdb07c8eeef3d47 (commit)
       via  8f0cde7c65bdccbb1471eaa65437c7803fbefb4d (commit)
       via  ff7a32364a3fab68b62298c514dba750141ad68e (commit)
       via  41913fd3a887565e2abc63e867b4357122820015 (commit)
       via  02acd6f7d5788125c9b26b1532bb3441ed9bfe5e (commit)
       via  faa0af7963038e3a5f0d9366837e02fb956f81f8 (commit)
       via  b0ac534d8cfc7f24f31b6c02b4177b55e75507c4 (commit)
       via  8f7056958860649bc9200db2e40f10df172a2c6e (commit)
       via  429e6ea3034841abe6d7937179cff50d898875aa (commit)
       via  16541465c3aebfffc007dc977b4b5bd59de646c0 (commit)
       via  4a525c8f93a1f3344947db9b89d78ec523090c23 (commit)
       via  b319a9de41dbab17e8c4c6cb87ad56b7b6e5c582 (commit)
       via  7b57f4a47be72d3d85cb208a98f5ac386fd7cbfb (commit)
       via  93d636881f46c4fdd4688adf1f4862debb5970f7 (commit)
       via  f5984db56b3b95ba0ba90570e7e6dff288c56278 (commit)
       via  6f316690aaae8e0cbc09fe722a50c71292a9b8c0 (commit)
       via  c42e51ce369144aaaf29104e654fbbcfe3fa92f7 (commit)
       via  2d1337f31d467ebc25bfbf2fd59e46bdd524a43d (commit)
       via  5744f22e63868e7707d2dce7f00a9e9366678869 (commit)
       via  7354233be0f3586016796f38eea1584bd233bf14 (commit)
       via  b76f139f9ffc5b1c3d2d869ac4ef852168a5ec8a (commit)
       via  4ae9202a91e7f35b84a64d47608010fd5acf1db5 (commit)
       via  41c5017cc1af5e54bd7795f9a9178dcb4bd9a97b (commit)
       via  5217026f38d2a7072e99c8c18293d1ec88c8a699 (commit)
       via  89ccbf6f9c89282574704a0ffa5a86fc2cd128cf (commit)
       via  870850ddab624f9d0111a4a0733cf7f5edf9bf91 (commit)
       via  5f38666e4d2282a3407a0266a889a5be14ad5c74 (commit)
       via  9e3eb77c5a286397c355549af7c6b670250d5d01 (commit)
       via  f85e2073beea96706b330b571c47949bfcacbb86 (commit)
       via  b15c259e5ecec1ed6acc8dfdb4c640ef505bb0a9 (commit)
       via  238a6aa7d00a14c390c4953618e325ed8f1a8be6 (commit)
       via  02f3dd84f56edd4e09a2f78f562ff07ee8b374bb (commit)
       via  59d4f7ab1b43073d5792114374e82acfbb875a2b (commit)
       via  4d21c92506187332d5762e44267578e0a5fdcd23 (commit)
       via  0c2848b81f8a6db7692d8c1d6f18bc4fa6c48e6e (commit)
       via  965626b1f3ffdd6ab16f9738a8f7f116653878ce (commit)
       via  2c15637f6ebfb0907975549962722d003518a8d4 (commit)
       via  3b26d0def772e7fd9f54a7fb7d26af595a179fd7 (commit)
       via  d571d21182783dfc9721e570184e13bdbe4bf274 (commit)
       via  d601e14697d99008a3639039f51620d58c8393c5 (commit)
       via  2527afdfc6d83e02b9d40582bdf1b44cffda1569 (commit)
       via  612bfe85c338537cc79bb24c18dba677cdda5fd8 (commit)
       via  e39192112abd6b2fac3a67800133dea1e2bee182 (commit)
       via  5a5e750c5587e2bea0b2d93d27e2003c9c10c886 (commit)
       via  9354934af65e5ab3d72937068474dd38e6d2fd7c (commit)
       via  db3cbc5f4ec4eb415fe9c07a3daa9a587ed6af26 (commit)
       via  134faa02b46075ccfba68e1aa5e2b4638584b3c2 (commit)
       via  f6b587fb8a8680d676bc232dfc06e6dc2ff645d7 (commit)
       via  c90f38fb38fe3b9885f0f4f2c89664d05206e719 (commit)
       via  7838b8bc5291f8c2afc173ca9e2bdc90597d5c2f (commit)
       via  83ba7011376cd65ee26be623a77f3d8b31215f20 (commit)
       via  3e58d62f497ba42a584b87adc25536417cef6aa0 (commit)
       via  d0a62ea33ff4e63aa3b5a8a2f9cc4f8378ac369c (commit)
       via  19500c6a51dd472fd73aa72c462551aa506a7149 (commit)
       via  e50ee5c89ec4e1dba5e9d0264a99b6bd66327400 (commit)
       via  6b54a42f76a1039995c6ba280d02f49a042b1b29 (commit)
       via  fee317afa0ddffd95d36ae8fdecf9ddeaa07f269 (commit)
       via  24580012e3638f1085f6486fe0ad43143a25e7eb (commit)
       via  e780d207b3804edddafb9bc6c2c07c5b2224a47a (commit)
       via  f31c5582d0211f2f2272b0acce3feb2b9fe5a899 (commit)
       via  b1caf90bc3d7962cf69dc58731da5b23794e48e0 (commit)
       via  e4e1de5ce3bac7857fc3e71fa541a0e288c2f08b (commit)
       via  efaf6e46b64bd5c512daefba594116887606c3bd (commit)
       via  478e77bf4eed560b37673e0110d40fd9170e4316 (commit)
       via  7c61cb73c20093a8b99aadd2b3c52cd31f26c16a (commit)
       via  fe0ad9da4e785acbd42bf63f456e32b5886254cb (commit)
       via  26f89d50a5ced7c9539d7b63c56222069a227d86 (commit)
       via  865612dd610aa840c0770e281227dcb0c59a2abf (commit)
       via  d78a3edfc0a132d3717dd8b8e5c49af43ba5a615 (commit)
       via  962ef09016ec455e5ef6cc64a679b1b952e69cf8 (commit)
       via  f8569191b8297ea4ebcc6f4c57fa7a805ed2cdc0 (commit)
       via  6bbc19c7d525e49ce12c21ad5a5f85d4d720a573 (commit)
       via  2ea3662be0ca74cf18a79cf8792af955a3f866ed (commit)
       via  47d11be572aaf42cc67e6d925271d44bdecd104d (commit)
       via  dce2c723fe34f8cec95e4b62f24458bdf6919ef9 (commit)
       via  8a504f76797a1662228fe89cb1a2aff2bf74fe58 (commit)
       via  1f0392f10c894a86f0fd3470c8ecc58e287f6d3b (commit)
       via  a004661c072fb793b0656315c64a5debffd0d8b8 (commit)
       via  c71ba49b25a4932ee4c558e5764b0ad484db9482 (commit)
       via  62f173d91ab526d69da1ed15d4645771b36ba3c5 (commit)
       via  8b5ee5302e727c72d5a6c393f99268415f4f74a1 (commit)
       via  af126ee8ee92c7b4c5202b0b51aa93a0af92146b (commit)
       via  fffc2febb5c821664224d784a2a1b020fc770bbf (commit)
       via  b09728c90cffb170d1ce52a74a863ca6111b2147 (commit)
       via  f1fa309f01bb0675e0191085e3034aec07d51e9f (commit)
       via  407cb192dcac2602aebaa7e262419adb580ecca6 (commit)
       via  f9abf6276285fe34e8b5901a6e4c5458bd8d533e (commit)
       via  ecd5b3a6117e092115ed892a18032e5e25197081 (commit)
       via  c9a0b491ca6f6870ec6ab8f8de6b54c355b5d1b6 (commit)
       via  c9905fc6132dd9e3de05a0b8a4f4e6619c8ed18b (commit)
       via  3cc8e6cdbfc94925fbff2e5dceaaa12df6566112 (commit)
       via  d0a355edc7cd47fed0d23b33c30bd08c1523f139 (commit)
       via  89ef71a977367bf0a56d5dd0b95d3772498c7999 (commit)
       via  77eac30f449e7c36b0b553ef4ae8a33cd47aa6e9 (commit)
       via  e35eecf454ab64b65f9694238f87dc79599307bc (commit)
       via  da8c841ca0eb1d618d84659e6b7b6f4683ba78fd (commit)
       via  51ee16fe6c51c80d06c0bf59acb4d49eaf254730 (commit)
       via  39d64664a19cc9c4faeeb291e9443b7ac9aeedc7 (commit)
       via  6961c1c42a291aa5c17dbc851b50a9483040f1db (commit)
       via  8f8167cdaaf041444a4a3dfc1b59e6ad429c4ed1 (commit)
       via  e93ab80cfb8f4dcd50a257515f7d5ce0cab38677 (commit)
       via  16a83ec93981a0c8d49b53e86976ff71aaa7a87c (commit)
       via  5aecd954863c6cea3c18919ce348ba0d39a38c92 (commit)
       via  e9ae978c7b5ee6d7d0b0b9bb7271ea0edb73dd6a (commit)
       via  cdf9848477a6561a40be7c57c46f2abc49d0ca05 (commit)
       via  c2b2e301e54bb219b900d8499cd59fa4f4b7f0da (commit)
       via  1ef00b9be705584d5817a359e4ccebeb8e461acf (commit)
       via  9663d5addd595ff276e3bd8a6d0055f51441fb52 (commit)
       via  601b03265c0ab7aadd8446abef13683d294c78c5 (commit)
       via  93720bdabf1e7e6d402f9959a131df333c13f396 (commit)
       via  151bf6fbf3eecce5ffeb1af216ff581b80fd3200 (commit)
       via  492e9eaccb02b1322b102f52059d952cb452354a (commit)
       via  2e9157d5ff407b896faf67e01efcd7f943c5032a (commit)
       via  369d8b6a68317b868746581b3f03340a18bd49d8 (commit)
       via  93e702af0fc5693d8c8f811068f490e7ff9e75bd (commit)
       via  d54f5671e190a5c0ca8fd1ff070372bf20eb42a8 (commit)
       via  1e85eb412378e25d0f65e49ddcfc54b774e7c63f (commit)
       via  e4baba782ed583a21b8c4498a1a32bef653ac824 (commit)
       via  c2ca0c40da5e38e72592a07d3db8e3304ca24128 (commit)
       via  135d95fa2aeb55f8100bd7f98f086b06b1b85b12 (commit)
       via  ca91f46b20ba544ccef7d50f8d3a63078e90e8b1 (commit)
       via  9ab3392d43a277c68581db1d80b8abc32e560cd6 (commit)
       via  a67f6c69b74ab0823b5a954e3648f7758b0e0ec7 (commit)
       via  a119e44e706d94dd0fa555d3dc838abc0ef0d8b0 (commit)
       via  7c9af59093f29ff2608d9fbbed4036d2d88152b4 (commit)
       via  b5778c6067ff8b88f0ecdddafb7e0656038dabc2 (commit)
       via  0189a027029f5791fe4067bbde52db33ac4340f1 (commit)
       via  0df8296ccbe06c092d21cf9e808d4f634ca1a6c2 (commit)
       via  949ed6ecaacec61013e66818f1f1d0c17369b185 (commit)
       via  95194f81a233801fcb414f861da13a39c0cc3825 (commit)
       via  0a784d2742791209e8042a9c7c35f58f3cdcb36d (commit)
       via  f91cf5763ac25e9926943c26e64caff6d2c976b0 (commit)
       via  36ccd968aa12f631c23256b314822943f1e4ac22 (commit)
       via  c0fe155d4ef80977ebeab93976d0f1f25516e783 (commit)
       via  669907bd6d54ae8e85b1278f0f16f8641ce6802d (commit)
       via  78c144e8c3ae7bb36d632f6bfaaaad9c97199ce6 (commit)
       via  a5100fac1feb40667d8417391a427ae61487b4ee (commit)
       via  a96a30ba457510a1daf70a2d671b99c55b13a970 (commit)
       via  be1f57c90bdf86477b9bc69cc982171d6ad5df56 (commit)
       via  8ee302683860723cc53c405bf12cebfe2d70fae1 (commit)
       via  d7fff800bc0d0b41183b0d7171394ba23cfac48e (commit)
       via  01bb9f51ab954354722aac3e7d41c04016494457 (commit)
       via  0845b5bcaed448f890af5f05c043d3014ccbc20b (commit)
       via  07ed1d58ab86b51ff98fc9b4f9f6104ea6a2edea (commit)
       via  e38d9943877fcd65c83701b901fc9c4ddfa4bf77 (commit)
       via  3dcbf5579175d84836dea85fae0d346af3540269 (commit)
       via  74a4aafb0e70c5f50588fae4d8ceddcc71639cb8 (commit)
       via  7779ca9c5b2e8d7a337a942879a2853efb61a083 (commit)
       via  926c78553c0c2a5164b6b23e08ea8b4a220afb2d (commit)
       via  369c4d97d5539446d56e92e010e69536b122ed1a (commit)
       via  840611126e1efd3cc57bdcb9a38498682121a8dd (commit)
       via  18446285228b830f3e0b7dbc86df580dfa1725b9 (commit)
       via  0f8aa2a477151133bb58079af6da7212644e1453 (commit)
       via  237c2dc7c52137e20f901b7f99d9c7510a529e24 (commit)
       via  59c88a4654dc522a78e35349afc22b01ee6b9c58 (commit)
       via  69a911070b9cc4409ca96062b8be09dd758d7e19 (commit)
       via  07ed560d9cc91d0e341657907900e2cd12815ed9 (commit)
       via  2cc27dee809ad8183b317e9705cde12358d52b8d (commit)
       via  c8eb11c3a5c192caae27d7d3238932703776c127 (commit)
       via  b5f20afcbdea985a35dbab687dbe3ea7c2adccfd (commit)
       via  036094daebe2a94efe7873677edcb9c31843c1ce (commit)
       via  2786d01bf75bf58995083baee229f8a9cdf3aba6 (commit)
       via  abeaf4a297056e0092051a7a9be14d89f1344174 (commit)
       via  37f62e955c561cffa75973aaa49cd24eb7246194 (commit)
       via  9cf7bd5857f0fe4d75c732b6fcf7178588bc6404 (commit)
       via  928300f07f84b4c3b68f4caa961b8e01da9a210d (commit)
       via  cb561e51f18b20d5e8b1a015b93b751459bb0330 (commit)
       via  d8ddf47ca6ebf4f501050e28d83a88871cdb572f (commit)
       via  8997115c02953f3ea7b851ab4c564264f442c1d7 (commit)
       via  1e5ccfab8b5a3019552434a16a4c925b00fa56db (commit)
       via  6d680648882f9cf3c88ec6a448d2882d19952fd9 (commit)
       via  f4fddb98b8116a394a64b22c8ad51365b0d2b2b1 (commit)
       via  cea95405664b51402b236702187ef911a5dff0c6 (commit)
       via  a15e31f5095167b585a71233176e3c7ae6d60a2c (commit)
       via  d53f7b278bcc93ee99f809775889afd38c6d2cfc (commit)
       via  1bb6976a02799aef34e892d2401e6cf77c4336ba (commit)
       via  37596b94cb368ef8600e45ff203218ca340e0e13 (commit)
       via  79db1f76c0b566c4557f492c0d050285fca26304 (commit)
       via  5713f086abf837ab8ec3c1d788d0e1e04f698b59 (commit)
       via  3785734c373ca825a1a040fe5c5a2e35c2fcfae6 (commit)
       via  649c9171090a2d3d4f015535eff2637d0919e9fd (commit)
       via  315b4dc5797d8d68cd915c0b262834eadd1dc41e (commit)
       via  e20375c65f85c024d89f654a4ee86d455fcda984 (commit)
       via  52ef2062ce3bd741b845da02e774031f4af6f332 (commit)
       via  6f64c2e1fbefbe0d3f0a04384bcbb6fd31aa2574 (commit)
       via  06da7f140e0561b82135ae12a8a6394102e72401 (commit)
       via  b2492cd13f871898c026b45f1424e4e06b526ff6 (commit)
       via  b9f1271123edb907e4e8cf4a0cf969117d699fb2 (commit)
       via  8747b8f0dda734b806bca8812b315977c4fc58f1 (commit)
       via  4366e0e6bed6fed39ba5665da4bbbd5f8e86c2f8 (commit)
       via  29596e34e7c1f23aa51f289d36802e1ef0f89129 (commit)
       via  eb6db2b9ca2e0a9ebb25fad233734e1b5e0ea295 (commit)
       via  e9d705a60bf1225789ae97759e148e5cc799dc6f (commit)
       via  66d9e8ff6e25790500e408a591c9a62b7c00b74b (commit)
       via  184084de04b19fb72af34fb967d504d027961139 (commit)
       via  b4078918df2212ecd820a0dcc271cab5f4fe9029 (commit)
       via  14ca3db824a85073e5d359d6b5fb7c2f6eb47b39 (commit)
       via  af9323291f3347482d3ef6db41f2a35144cce9fc (commit)
       via  c67a70d037a365e133e85976351c33b9ac8818b8 (commit)
       via  829a902da291e72ad17e8c44fa8d9ead3db41b1f (commit)
       via  5aa7992bf144ce9cdfd4e3c72290cbd66c0cc920 (commit)
       via  91d9eeefda9104c815db741b502c366a2e8e92ad (commit)
       via  746027ffb0c72c3f5cd93d373ed534ec5c3eac2c (commit)
       via  baeb5c93610f1d8d11432e872156eb6fcab3d5a7 (commit)
       via  325409e50f6be845b0f3d9719d62f9dc78dbe048 (commit)
       via  e12b767fb287127671d514eef227486777f0a972 (commit)
       via  e92d216e7f362371836c6bad86dd5d065c62260a (commit)
       via  e5ea8d026015c2a0c7774788b425914857de1ffb (commit)
       via  a9a471371a0bfbe3df0c96fb818fb923119bdb5b (commit)
       via  20e2cc4290d787cca8f2b0444c2852d5e43ca0ea (commit)
       via  0d32580f43a7359eba5251655977aaa1ef990e6d (commit)
       via  a3960ae0be37da1d6e57a748129c0d9effa77400 (commit)
       via  f80965c8b03b9ca637edcc810d70011ac5dfc3d9 (commit)
       via  79ebeac8f7f059b7407e5027c5bb94c95063cf5a (commit)
       via  bf763a271e28a4ffd6a7bb20050c7af3b22669cd (commit)
       via  60fc8896b1299b023e3900afbe39d36f26231764 (commit)
       via  ed70aeaec4fa89ae8cba95fcae434c90754e24df (commit)
       via  567bc1952033cdcfbad781cd391b530a0fd5e896 (commit)
       via  84684895ff9d6710b681dc3c0914c669e648a792 (commit)
       via  eed093668ca1e5ba56374feaf14ae1c8e99f5673 (commit)
       via  9b35db8589d6c93837adb1e0b2ada219330f3f0b (commit)
       via  52a13319b890f4624e3e6e8df27f12ff702ec437 (commit)
       via  02202ae492b14960c45e9c5934ee7317a9806e18 (commit)
       via  31ad63b78fed65237a81c9767a9c66600e9cf62b (commit)
       via  edada3266c0f23e81e9baf98a0a213ad7f6d6b5e (commit)
       via  d46fcd242a5f859f64c163d6a32cdfeb4217718c (commit)
       via  fc61c2c20bd61d403463e6437a294ffcdf198f3f (commit)
       via  58fbf93a07e88c6f0103aa2ef3432d2ef4946243 (commit)
       via  b85579f12a452fb5dd104e9a198667a91e0c06c6 (commit)
       via  d691350337a747dc827c09a265859df1ac86e79b (commit)
       via  7bbdc114c3787e8be817374c9ca3fff4e6944413 (commit)
       via  f5bf6a8c39808e17bbacf43fa89a04e0bf3d0875 (commit)
       via  a382f5de08276818170fa82880064af2426a0f46 (commit)
       via  b819a8a84d172277e832f56c471acc8b0f4234f4 (commit)
       via  2aff82e00a7f93afe1884bffa8199691e18dac0b (commit)
       via  66e4d3883383c9d42113c7e8c614dff8646deb35 (commit)
       via  63222cac28a232f0e4610a6c17ea72ab4d3d6372 (commit)
       via  a9b58442902b891555f27beb7ea65626def562fa (commit)
       via  aac14cecc4807e485bd0e7c3d41575d50cf89cd3 (commit)
       via  1c5326e5cce6ef8ea11c942374e9214c5e8db53c (commit)
       via  ed8a7fd9b04e7b81ecc763ca9892a566aba90ada (commit)
       via  46989a29cc78aaed3e7c34175ad443c6f21f2584 (commit)
       via  055148f7383dbef6dfef69ebf09a5d2aaaadeb89 (commit)
       via  2830e8f6791aa574cff47c03ffe8108fbfd0e729 (commit)
       via  6295c80119e0b738616d665bb066fad1bca54e76 (commit)
       via  79243e9e95af00b8d410bff66ced0fd286d5c80d (commit)
       via  d56b8df4755faaa982e8d7943c84a092c7d01f9c (commit)
       via  819aac763059a73c81114fb4aefacb0891ed8483 (commit)
       via  cf24e72f4f92deeda903dda540c789cbc83b6ccb (commit)
       via  c8b2d4f95fb122595bf264c7c573adbfa27b718d (commit)
       via  9e9dec16e23f809c5d8ac6246f2c0f1580f5fa10 (commit)
       via  27992c79e2bf8361dcc227a2c425b74ca99a000d (commit)
       via  17b932068d27d862c0ad42dbd3875b191d323c85 (commit)
       via  8f50b8b9357758896d79fca447f8ed23bdcb2391 (commit)
       via  b617b34276afa69dc2b9e70a188a27c049857ab4 (commit)
       via  ad999f438dae72b316d2fe2868027af848a634d4 (commit)
      from  49dfc5fbe55dc638512c7b160c83460644909731 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 03e2d926e70ea4edf3195328204e8809616954f5
Merge: 49dfc5fbe55dc638512c7b160c83460644909731 f435677142e149f7298f24769d5047a9cec54977
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun May 2 22:48:16 2010 +0200

    Merge remote branch 'origin/master' into archer-jankratochvil-bpstat_what
    
    Conflicts:
    	gdb/breakpoint.c

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                          |   15 +
 Makefile.def                                       |    1 +
 Makefile.in                                        |    1 +
 bfd/ChangeLog                                      |  256 +
 bfd/Makefile.am                                    |   10 +-
 bfd/Makefile.in                                    |   17 +-
 bfd/archive64.c                                    |    6 +-
 bfd/bfd-in.h                                       |    2 +-
 bfd/bfd-in2.h                                      |    2 +-
 bfd/coffcode.h                                     |    4 +-
 bfd/coffgen.c                                      |   10 +-
 bfd/config.bfd                                     |    7 +-
 bfd/config.in                                      |    6 +
 bfd/configure                                      |   32 +-
 bfd/configure.in                                   |   19 +-
 bfd/dwarf2.c                                       |    8 +-
 bfd/elf-bfd.h                                      |   43 +
 bfd/elf.c                                          |   86 +-
 bfd/elf32-arm.c                                    |   42 +-
 bfd/elf32-i386.c                                   |   11 +-
 bfd/elf32-spu.c                                    |    3 +-
 bfd/elf32-tic6x.c                                  |  712 ++-
 gdb/windows-tdep.h => bfd/elf32-tic6x.h            |   22 +-
 bfd/elf64-ppc.c                                    |    2 +-
 bfd/elf64-x86-64.c                                 |   34 +-
 bfd/elflink.c                                      |   11 +-
 bfd/hosts/x86-64linux.h                            |  195 +
 bfd/pe-x86_64.c                                    |    4 +
 bfd/pei-x86_64.c                                   |    4 +
 bfd/po/bfd.pot                                     |  712 +-
 bfd/po/fr.po                                       | 4484 ++++++----
 bfd/po/vi.po                                       |  716 +-
 bfd/targets.c                                      |    2 -
 bfd/version.h                                      |    2 +-
 bfd/vms-alpha.c                                    | 8962 ++++++++++++++++++++
 bfd/vms-gsd.c                                      | 1082 ---
 bfd/vms-hdr.c                                      | 1382 ---
 bfd/vms-lib.c                                      |  527 +-
 bfd/vms-misc.c                                     |  959 +--
 bfd/vms-tir.c                                      | 2808 ------
 bfd/vms.c                                          | 1518 ----
 bfd/vms.h                                          |  878 +--
 configure                                          |   68 +-
 configure.ac                                       |   68 +-
 gdb/ChangeLog                                      | 1048 +++-
 gdb/MAINTAINERS                                    |    1 +
 gdb/Makefile.in                                    |   33 +-
 gdb/NEWS                                           |   68 +-
 gdb/ada-lang.c                                     |  118 +-
 gdb/ada-lang.h                                     |    5 +
 gdb/ada-typeprint.c                                |   11 +
 gdb/ada-valprint.c                                 |    9 +-
 gdb/alpha-mdebug-tdep.c                            |   36 +-
 gdb/alpha-tdep.c                                   |  134 +
 gdb/amd64-linux-nat.c                              |   31 +-
 gdb/amd64-linux-tdep.c                             |   30 +-
 gdb/amd64-tdep.c                                   |    2 -
 gdb/amd64-tdep.h                                   |    3 +
 gdb/arm-linux-nat.c                                |  168 +-
 gdb/arm-linux-tdep.c                               |   32 +-
 gdb/arm-symbian-tdep.c                             |    4 +
 gdb/arm-tdep.h                                     |    1 +
 gdb/arm-wince-tdep.c                               |    4 +
 gdb/ax-gdb.c                                       |   33 +-
 gdb/ax-general.c                                   |  112 +-
 gdb/ax.h                                           |  148 +-
 gdb/breakpoint.c                                   |  351 +-
 gdb/breakpoint.h                                   |    3 +
 gdb/bsd-uthread.c                                  |    2 +-
 gdb/c-lang.c                                       |    8 +-
 gdb/c-lang.h                                       |    5 +
 gdb/cli-out.c                                      |   47 +-
 gdb/cli-out.h                                      |   18 +-
 gdb/cli/cli-cmds.c                                 |  180 +-
 gdb/cli/cli-cmds.h                                 |    5 +
 gdb/cli/cli-decode.c                               |   80 +-
 gdb/cli/cli-dump.h                                 |    2 -
 gdb/config/djgpp/fnchange.lst                      |    2 +-
 gdb/config/i386/i386sol2.mh                        |    1 -
 gdb/config/i386/nm-i386sol2.h                      |   32 -
 gdb/config/i386/sol2-64.mh                         |    1 -
 gdb/configure                                      |    7 +-
 gdb/configure.ac                                   |    7 +-
 gdb/configure.tgt                                  |    2 +-
 gdb/corelow.c                                      |    5 +-
 gdb/cp-namespace.c                                 |    4 +-
 gdb/cp-valprint.c                                  |   89 +-
 gdb/d-lang.c                                       |  278 +
 gdb/{cli-out.h => d-lang.h}                        |   23 +-
 gdb/d-valprint.c                                   |   91 +
 gdb/dec-thread.c                                   |   29 +-
 gdb/defs.h                                         |    7 +-
 gdb/doc/ChangeLog                                  |   94 +
 gdb/doc/gdb.texinfo                                |  783 ++-
 gdb/doc/gdbint.texinfo                             |    5 -
 gdb/doc/refcard.tex                                |    3 +-
 gdb/dwarf2-frame.c                                 |   19 +-
 gdb/dwarf2loc.c                                    |  553 +-
 gdb/dwarf2read.c                                   |  106 +-
 gdb/elfread.c                                      |    4 +-
 gdb/exec.c                                         |    8 +-
 gdb/f-exp.y                                        |    4 +
 gdb/f-lang.c                                       |    7 +
 gdb/f-lang.h                                       |    1 +
 gdb/filesystem.c                                   |  103 +
 gdb/filesystem.h                                   |   58 +
 gdb/frame.c                                        |   17 +-
 gdb/gdbarch.c                                      |   23 +
 gdb/gdbarch.h                                      |    7 +
 gdb/gdbarch.sh                                     |    5 +
 gdb/gdbserver/ChangeLog                            |  262 +
 gdb/gdbserver/Makefile.in                          |    5 +
 gdb/gdbserver/configure                            |   10 +-
 gdb/gdbserver/configure.ac                         |    2 +-
 gdb/gdbserver/configure.srv                        |    8 +-
 gdb/gdbserver/event-loop.c                         |   23 +-
 gdb/gdbserver/gdbreplay.c                          |    2 +-
 gdb/gdbserver/inferiors.c                          |    1 +
 gdb/gdbserver/linux-low.c                          |  296 +-
 gdb/gdbserver/linux-low.h                          |    6 +-
 gdb/gdbserver/linux-x86-low.c                      |   10 +-
 gdb/gdbserver/mem-break.c                          |   14 +-
 gdb/gdbserver/mem-break.h                          |    4 +
 gdb/gdbserver/nto-low.c                            |    7 +
 gdb/gdbserver/nto-x86-low.c                        |    2 +-
 gdb/gdbserver/regcache.c                           |    9 +
 gdb/gdbserver/remote-utils.c                       |  179 +-
 gdb/gdbserver/server.c                             |  283 +-
 gdb/gdbserver/server.h                             |   24 +-
 gdb/gdbserver/spu-low.c                            |    9 +-
 gdb/gdbserver/target.c                             |   42 +
 gdb/gdbserver/target.h                             |   37 +-
 gdb/gdbserver/thread-db.c                          |  104 +-
 gdb/gdbserver/tracepoint.c                         |   48 +-
 gdb/gdbserver/win32-i386-low.c                     |   92 +-
 gdb/gdbserver/win32-low.c                          |   87 +-
 gdb/gdbserver/win32-low.h                          |    3 +
 gdb/gdbtypes.c                                     |    7 +
 gdb/gdbtypes.h                                     |    6 +
 gdb/i386-cygwin-tdep.c                             |    4 +
 gdb/i386-linux-nat.c                               |   44 +-
 gdb/i386-linux-tdep.c                              |   55 +-
 gdb/i386-linux-tdep.h                              |    2 +
 gdb/i386-tdep.c                                    |    2 +
 gdb/infrun.c                                       |   30 +-
 gdb/jv-lang.c                                      |    1 +
 gdb/language.c                                     |    6 +
 gdb/m2-lang.c                                      |    1 +
 gdb/m32c-tdep.c                                    |   53 +-
 gdb/main.c                                         |   15 +
 gdb/objc-lang.c                                    |   19 +-
 gdb/objfiles.c                                     |   27 +-
 gdb/objfiles.h                                     |    1 +
 gdb/p-lang.c                                       |    4 +-
 gdb/p-valprint.c                                   |   13 +-
 gdb/parse.c                                        |  145 +
 gdb/parser-defs.h                                  |   20 +
 gdb/ppc-linux-nat.c                                |  644 ++-
 gdb/ppc-linux-tdep.c                               |    2 +-
 gdb/printcmd.c                                     |  123 +-
 gdb/procfs.c                                       |  171 +-
 gdb/python/py-auto-load.c                          |  493 ++
 gdb/python/py-block.c                              |    4 +-
 gdb/python/py-cmd.c                                |   26 +-
 gdb/python/py-frame.c                              |   14 +-
 gdb/python/py-lazy-string.c                        |    4 +-
 gdb/python/py-objfile.c                            |    4 +-
 gdb/python/py-param.c                              |  618 ++
 gdb/python/py-prettyprint.c                        |  230 +-
 gdb/python/{py-objfile.c => py-progspace.c}        |  118 +-
 gdb/python/py-type.c                               |    5 +-
 gdb/python/py-value.c                              |   22 +-
 gdb/python/python-internal.h                       |   25 +-
 gdb/python/python.c                                |  183 +-
 gdb/python/python.h                                |    6 +-
 gdb/regcache.c                                     |   29 +-
 gdb/regcache.h                                     |    1 +
 gdb/remote-m32r-sdi.c                              |    2 +-
 gdb/remote-sim.c                                   |    2 +-
 gdb/remote.c                                       |  108 +-
 gdb/rs6000-aix-tdep.c                              |   20 +-
 gdb/scm-lang.c                                     |    1 +
 gdb/ser-base.c                                     |    9 +-
 gdb/ser-base.h                                     |    1 -
 gdb/ser-pipe.c                                     |   15 +-
 gdb/serial.c                                       |   12 +
 gdb/solib-frv.c                                    |   33 +-
 gdb/solib-spu.c                                    |    2 +-
 gdb/solib-svr4.c                                   |   42 +-
 gdb/solib.c                                        |  449 +-
 gdb/solist.h                                       |    8 +-
 gdb/source.c                                       |    4 +
 gdb/sparc-tdep.c                                   |    1 +
 gdb/stabsread.c                                    |   38 +
 gdb/symfile.c                                      |   20 +-
 gdb/symtab.c                                       |   55 +-
 gdb/symtab.h                                       |    9 +-
 gdb/target.c                                       |    7 +-
 gdb/target.h                                       |    7 +
 gdb/testsuite/ChangeLog                            |  172 +
 gdb/testsuite/Makefile.in                          |    6 +-
 gdb/testsuite/gdb.ada/dyn_loc.exp                  |   53 +
 gdb/testsuite/gdb.ada/dyn_loc/p.adb                |   21 +
 gdb/testsuite/gdb.ada/dyn_loc/pack.adb             |   29 +
 gdb/testsuite/gdb.ada/dyn_loc/pack.ads             |   20 +
 .../gdb.ada/info_types.c}                          |   31 +-
 gdb/testsuite/gdb.ada/info_types.exp               |   31 +
 gdb/testsuite/gdb.arch/gcore.c                     |   70 +
 gdb/testsuite/gdb.arch/system-gcore.exp            |  238 +
 gdb/testsuite/gdb.base/Makefile.in                 |    3 +-
 gdb/testsuite/gdb.base/break-interp.exp            |    4 -
 gdb/testsuite/gdb.base/charset.c                   |    3 +
 gdb/testsuite/gdb.base/charset.exp                 |   17 +
 gdb/testsuite/gdb.base/completion.exp              |    6 +
 gdb/testsuite/gdb.base/default.exp                 |    2 +-
 .../gdb.base/gdb11531.c}                           |   36 +-
 gdb/testsuite/gdb.base/gdb11531.exp                |   64 +
 gdb/testsuite/gdb.base/help.exp                    |    4 +-
 gdb/testsuite/gdb.base/pr10179-a.c                 |   17 +
 gdb/testsuite/gdb.base/pr10179-b.c                 |    6 +
 gdb/testsuite/gdb.base/pr10179.exp                 |   38 +
 gdb/testsuite/gdb.base/sepdebug.exp                |   17 +-
 gdb/testsuite/gdb.base/solib-corrupted.exp         |   46 +
 gdb/testsuite/gdb.base/solib-display.exp           |  158 +-
 gdb/testsuite/gdb.base/source.exp                  |   13 +
 gdb/testsuite/gdb.cp/Makefile.in                   |    2 +-
 gdb/testsuite/gdb.cp/pr10687.cc                    |   24 +
 gdb/testsuite/gdb.cp/pr10687.exp                   |   31 +
 gdb/testsuite/gdb.cp/pr9167.cc                     |   36 +
 gdb/testsuite/gdb.cp/pr9167.exp                    |   31 +
 gdb/testsuite/gdb.fortran/logical.exp              |   38 +
 gdb/testsuite/gdb.fortran/logical.f90              |   31 +
 gdb/testsuite/gdb.mi/mi-ns-stale-regcache.exp      |   88 +
 .../gdb.mi/ns-stale-regcache.c}                    |   26 +-
 gdb/testsuite/gdb.pascal/gdb11492.exp              |   60 +
 gdb/testsuite/gdb.pascal/gdb11492.pas              |   40 +
 gdb/testsuite/gdb.python/py-breakpoint.c           |    2 +-
 gdb/testsuite/gdb.python/py-frame.exp              |    2 +-
 gdb/testsuite/gdb.python/py-mi.exp                 |   35 +
 gdb/testsuite/gdb.python/py-param.exp              |  140 +
 gdb/testsuite/gdb.python/py-prettyprint.c          |   17 +-
 gdb/testsuite/gdb.python/py-prettyprint.exp        |    1 +
 gdb/testsuite/gdb.python/py-prettyprint.py         |   29 +
 .../gdb.python/py-progspace.c}                     |   20 +-
 gdb/testsuite/gdb.python/py-progspace.exp          |   47 +
 .../{py-breakpoint.c => py-section-script.c}       |   48 +-
 gdb/testsuite/gdb.python/py-section-script.exp     |   65 +
 gdb/testsuite/gdb.python/py-section-script.py      |   63 +
 .../py-breakpoint.c => gdb.stabs/gdb11479.c}       |   58 +-
 gdb/testsuite/gdb.stabs/gdb11479.exp               |   56 +
 gdb/testsuite/gdb.threads/watchthreads.exp         |    4 +-
 gdb/testsuite/gdb.trace/save-trace.exp             |    4 +-
 gdb/testsuite/lib/gdb.exp                          |   39 +-
 gdb/tracepoint.c                                   |   92 +-
 gdb/tui/tui-out.c                                  |  351 +-
 gdb/tui/tui-regs.c                                 |   14 +-
 gdb/tui/tui-stack.c                                |    9 +-
 gdb/ui-file.c                                      |    3 +-
 gdb/ui-out.c                                       |   10 +-
 gdb/ui-out.h                                       |    8 +-
 gdb/valprint.c                                     |    8 +
 gdb/version.in                                     |    2 +-
 gdb/windows-nat.c                                  |   51 +-
 gdb/windows-tdep.c                                 |  412 +
 gdb/windows-tdep.h                                 |    4 +
 include/ChangeLog                                  |   78 +-
 include/aout/ChangeLog                             |   16 +
 include/aout/adobe.h                               |   13 +-
 include/aout/aout64.h                              |    7 +-
 include/aout/ar.h                                  |    7 +-
 include/aout/dynix3.h                              |   11 +-
 include/aout/encap.h                               |   27 +-
 include/aout/host.h                                |    7 +-
 include/aout/hp.h                                  |   27 +-
 include/aout/hp300hpux.h                           |   20 +-
 include/aout/ranlib.h                              |   25 +-
 include/aout/reloc.h                               |   25 +-
 include/aout/stab.def                              |    7 +-
 include/aout/stab_gnu.h                            |    7 +-
 include/aout/sun4.h                                |    7 +-
 include/bout.h                                     |   13 +-
 include/coff/ChangeLog                             |   45 +-
 include/coff/alpha.h                               |    7 +-
 include/coff/apollo.h                              |    7 +-
 include/coff/arm.h                                 |    4 +-
 include/coff/aux-coff.h                            |    7 +-
 include/coff/ecoff.h                               |    7 +-
 include/coff/external.h                            |    7 +-
 include/coff/go32exe.h                             |    7 +-
 include/coff/h8300.h                               |    7 +-
 include/coff/h8500.h                               |    7 +-
 include/coff/i386.h                                |    7 +-
 include/coff/i860.h                                |    7 +-
 include/coff/i960.h                                |    7 +-
 include/coff/ia64.h                                |    7 +-
 include/coff/internal.h                            |    9 +-
 include/coff/m68k.h                                |    7 +-
 include/coff/m88k.h                                |    7 +-
 include/coff/maxq.h                                |    4 +-
 include/coff/mcore.h                               |   27 +-
 include/coff/mips.h                                |    7 +-
 include/coff/mipspe.h                              |    7 +-
 include/coff/or32.h                                |    7 +-
 include/coff/pe.h                                  |    4 +-
 include/coff/powerpc.h                             |    7 +-
 include/coff/rs6000.h                              |   19 +-
 include/coff/rs6k64.h                              |    7 +-
 include/coff/sh.h                                  |    7 +-
 include/coff/sparc.h                               |    7 +-
 include/coff/ti.h                                  |    8 +-
 include/coff/tic30.h                               |    7 +-
 include/coff/tic4x.h                               |    7 +-
 include/coff/tic54x.h                              |    7 +-
 include/coff/tic80.h                               |    7 +-
 include/coff/w65.h                                 |    7 +-
 include/coff/we32k.h                               |    8 +-
 include/coff/x86_64.h                              |    7 +-
 include/coff/xcoff.h                               |    7 +-
 include/coff/z80.h                                 |    4 +-
 include/coff/z8k.h                                 |    7 +-
 include/dis-asm.h                                  |    2 +-
 include/elf/ChangeLog                              |   78 +
 include/elf/alpha.h                                |   27 +-
 include/elf/arc.h                                  |   27 +-
 include/elf/arm.h                                  |   20 +-
 include/elf/avr.h                                  |    6 +-
 include/elf/bfin.h                                 |   26 +-
 include/elf/common.h                               |    6 +-
 include/elf/cr16.h                                 |    4 +-
 include/elf/cr16c.h                                |    4 +-
 include/elf/cris.h                                 |   26 +-
 include/elf/crx.h                                  |    4 +-
 include/elf/d10v.h                                 |    4 +-
 include/elf/d30v.h                                 |    4 +-
 include/elf/dlx.h                                  |    4 +-
 include/elf/dwarf.h                                |   31 +-
 include/elf/external.h                             |   30 +-
 include/elf/fr30.h                                 |   26 +-
 include/elf/frv.h                                  |   26 +-
 include/elf/h8.h                                   |    4 +-
 include/elf/hppa.h                                 |    7 +-
 include/elf/i370.h                                 |   27 +-
 include/elf/i386.h                                 |    4 +-
 include/elf/i860.h                                 |    4 +-
 include/elf/i960.h                                 |    4 +-
 include/elf/ia64.h                                 |    7 +-
 include/elf/internal.h                             |   81 +-
 include/elf/ip2k.h                                 |    8 +-
 include/elf/iq2000.h                               |   26 +-
 include/elf/lm32.h                                 |    6 +-
 include/elf/m32c.h                                 |   26 +-
 include/elf/m32r.h                                 |    8 +-
 include/elf/m68hc11.h                              |    4 +-
 include/elf/m68k.h                                 |    4 +-
 include/elf/mcore.h                                |   29 +-
 include/elf/mep.h                                  |    9 +-
 include/elf/microblaze.h                           |    6 +-
 include/elf/mips.h                                 |   27 +-
 include/elf/mmix.h                                 |   30 +-
 include/elf/mn10200.h                              |   29 +-
 include/elf/moxie.h                                |    4 +-
 include/elf/msp430.h                               |    8 +-
 include/elf/mt.h                                   |   26 +-
 include/elf/openrisc.h                             |   26 +-
 include/elf/or32.h                                 |    7 +-
 include/elf/pj.h                                   |    4 +-
 include/elf/ppc.h                                  |   34 +-
 include/elf/ppc64.h                                |   27 +-
 include/elf/reloc-macros.h                         |    4 +-
 include/elf/rx.h                                   |    6 +-
 include/elf/s390.h                                 |    4 +-
 include/elf/sh.h                                   |    5 +-
 include/elf/sparc.h                                |   27 +-
 include/elf/spu.h                                  |    4 +-
 include/elf/v850.h                                 |    7 +-
 include/elf/vax.h                                  |    4 +-
 include/elf/vxworks.h                              |   28 +-
 include/elf/x86-64.h                               |    4 +-
 include/elf/xc16x.h                                |    9 +-
 include/elf/xstormy16.h                            |   26 +-
 include/elf/xtensa.h                               |    4 +-
 include/filenames.h                                |   48 +-
 include/gdb/ChangeLog                              |    9 +
 include/gdb/callback.h                             |   98 +-
 include/gdb/remote-sim.h                           |   26 +-
 include/hp-symtab.h                                |    5 +-
 include/libiberty.h                                |   11 +
 include/nlm/ChangeLog                              |   12 +-
 include/nlm/alpha-ext.h                            |   27 +-
 include/nlm/common.h                               |   32 +-
 include/nlm/external.h                             |   36 +-
 include/nlm/i386-ext.h                             |   27 +-
 include/nlm/internal.h                             |   32 +-
 include/nlm/ppc-ext.h                              |   27 +-
 include/nlm/sparc32-ext.h                          |   27 +-
 include/oasys.h                                    |    8 +-
 include/opcode/ChangeLog                           |   65 +-
 include/opcode/alpha.h                             |   27 +-
 include/opcode/arc.h                               |    7 +-
 include/opcode/arm.h                               |   10 +-
 include/opcode/avr.h                               |    7 +-
 include/opcode/bfin.h                              |   27 +-
 include/opcode/cgen.h                              |   28 +-
 include/opcode/convex.h                            |   27 +-
 include/opcode/cr16.h                              |    4 +-
 include/opcode/cris.h                              |   27 +-
 include/opcode/crx.h                               |    7 +-
 include/opcode/d10v.h                              |   27 +-
 include/opcode/d30v.h                              |   28 +-
 include/opcode/dlx.h                               |    7 +-
 include/opcode/h8300.h                             |    4 +-
 include/opcode/hppa.h                              |   27 +-
 include/opcode/i370.h                              |   28 +-
 include/opcode/i386.h                              |    7 +-
 include/opcode/i860.h                              |   30 +-
 include/opcode/i960.h                              |   32 +-
 include/opcode/ia64.h                              |   20 +-
 include/opcode/m68hc11.h                           |   27 +-
 include/opcode/m68k.h                              |    8 +-
 include/opcode/m88k.h                              |   27 +-
 include/opcode/maxq.h                              |    6 +-
 include/opcode/mips.h                              |   25 +-
 include/opcode/mmix.h                              |   27 +-
 include/opcode/mn10200.h                           |   27 +-
 include/opcode/mn10300.h                           |   27 +-
 include/opcode/msp430.h                            |    7 +-
 include/opcode/np1.h                               |   35 +-
 include/opcode/ns32k.h                             |   28 +-
 include/opcode/or32.h                              |    7 +-
 include/opcode/pdp11.h                             |   31 +-
 include/opcode/pj.h                                |   26 +-
 include/opcode/pn.h                                |   27 +-
 include/opcode/ppc.h                               |   31 +-
 include/opcode/pyr.h                               |    4 +-
 include/opcode/rx.h                                |    4 +-
 include/opcode/s390.h                              |    4 +-
 include/opcode/score-datadep.h                     |    4 +-
 include/opcode/score-inst.h                        |    4 +-
 include/opcode/sparc.h                             |    6 +-
 include/opcode/spu-insns.h                         |    4 +-
 include/opcode/spu.h                               |    5 +-
 include/opcode/tic30.h                             |   28 +-
 include/opcode/tic4x.h                             |    8 +-
 include/opcode/tic54x.h                            |   28 +-
 include/opcode/tic6x-insn-formats.h                |    2 +-
 include/opcode/tic80.h                             |   27 +-
 include/opcode/v850.h                              |   27 +-
 include/opcode/vax.h                               |   27 +-
 include/progress.h                                 |   31 +-
 include/sha1.h                                     |    4 +-
 include/vms/ChangeLog                              |   21 +
 include/vms/lbr.h                                  |   92 +-
 include/xtensa-isa-internal.h                      |    4 +-
 include/xtensa-isa.h                               |    4 +-
 libiberty/ChangeLog                                |    8 +
 libiberty/Makefile.in                              |    2 +-
 libiberty/lbasename.c                              |   28 +-
 opcodes/ChangeLog                                  |   10 +
 opcodes/i386-dis.c                                 |   21 +-
 opcodes/po/opcodes.pot                             |   32 +-
 opcodes/po/vi.po                                   |   36 +-
 sim/ChangeLog                                      |   10 +
 sim/README-HACKING                                 |  245 +
 sim/arm/ChangeLog                                  |    4 +
 sim/arm/wrapper.c                                  |    2 +-
 sim/avr/ChangeLog                                  |    3 +
 sim/avr/interp.c                                   |    2 +-
 sim/common/ChangeLog                               |   87 +
 sim/common/cgen-scache.c                           |    2 +-
 sim/common/dv-core.c                               |    2 +-
 sim/common/dv-glue.c                               |    6 +-
 sim/common/dv-pal.c                                |    4 +-
 sim/common/dv-sockser.c                            |    7 +-
 sim/common/dv-sockser.h                            |    5 +-
 sim/common/hw-ports.c                              |    2 +-
 sim/common/sim-fpu.c                               |   12 +-
 sim/common/sim-fpu.h                               |    2 +-
 sim/common/sim-hrw.c                               |    2 +-
 sim/common/sim-hw.c                                |   16 +-
 sim/common/sim-model.c                             |   33 +-
 sim/common/sim-options.c                           |   16 +-
 sim/common/sim-profile.c                           |  275 +-
 sim/common/sim-profile.h                           |   18 +-
 sim/common/sim-trace.c                             |   40 +-
 sim/common/sim-utils.h                             |    2 +-
 sim/common/sim-watch.c                             |    6 +-
 sim/configure                                      |  323 +-
 sim/configure.ac                                   |  116 +-
 sim/configure.tgt                                  |  113 +
 sim/cr16/ChangeLog                                 |    4 +
 sim/cr16/interp.c                                  |    2 +-
 sim/d10v/ChangeLog                                 |    4 +
 sim/d10v/interp.c                                  |    2 +-
 sim/erc32/ChangeLog                                |    4 +
 sim/erc32/interf.c                                 |    2 +-
 sim/frv/ChangeLog                                  |    4 +
 sim/frv/profile.c                                  |    2 +-
 sim/h8300/ChangeLog                                |    4 +
 sim/h8300/compile.c                                |    2 +-
 sim/m32c/ChangeLog                                 |    6 +
 sim/m32c/gdb-if.c                                  |    2 +-
 sim/m32c/mem.c                                     |    4 +-
 sim/m32c/mem.h                                     |    2 +-
 sim/mcore/ChangeLog                                |    4 +
 sim/mcore/interp.c                                 |    2 +-
 sim/microblaze/ChangeLog                           |    3 +
 sim/microblaze/interp.c                            |    2 +-
 sim/mips/ChangeLog                                 |    4 +
 sim/mips/interp.c                                  |    2 +-
 sim/mn10300/ChangeLog                              |    7 +
 sim/mn10300/dv-mn103ser.c                          |   33 +-
 sim/moxie/ChangeLog                                |    4 +
 sim/moxie/interp.c                                 |    2 +-
 sim/ppc/ChangeLog                                  |    4 +
 sim/ppc/sim_calls.c                                |    2 +-
 sim/rx/ChangeLog                                   |    4 +
 sim/rx/gdb-if.c                                    |    2 +-
 sim/sh/ChangeLog                                   |    4 +
 sim/sh/interp.c                                    |    4 +-
 sim/testsuite/ChangeLog                            |    7 +
 sim/testsuite/Makefile.in                          |    2 +-
 sim/testsuite/configure                            |  116 +-
 sim/testsuite/configure.ac                         |    8 +-
 sim/testsuite/lib/sim-defs.exp                     |    9 +
 sim/testsuite/sim/mips/ChangeLog                   |    4 +
 sim/testsuite/sim/mips/basic.exp                   |    5 +-
 526 files changed, 29039 insertions(+), 15451 deletions(-)
 copy gdb/windows-tdep.h => bfd/elf32-tic6x.h (57%)
 create mode 100644 bfd/hosts/x86-64linux.h
 create mode 100644 bfd/vms-alpha.c
 delete mode 100644 bfd/vms-gsd.c
 delete mode 100644 bfd/vms-hdr.c
 delete mode 100644 bfd/vms-tir.c
 delete mode 100644 bfd/vms.c
 delete mode 100644 gdb/config/i386/nm-i386sol2.h
 create mode 100644 gdb/d-lang.c
 copy gdb/{cli-out.h => d-lang.h} (58%)
 create mode 100644 gdb/d-valprint.c
 create mode 100644 gdb/filesystem.c
 create mode 100644 gdb/filesystem.h
 create mode 100644 gdb/python/py-auto-load.c
 create mode 100644 gdb/python/py-param.c
 copy gdb/python/{py-objfile.c => py-progspace.c} (54%)
 create mode 100644 gdb/testsuite/gdb.ada/dyn_loc.exp
 create mode 100644 gdb/testsuite/gdb.ada/dyn_loc/p.adb
 create mode 100644 gdb/testsuite/gdb.ada/dyn_loc/pack.adb
 create mode 100644 gdb/testsuite/gdb.ada/dyn_loc/pack.ads
 copy gdb/{windows-tdep.h => testsuite/gdb.ada/info_types.c} (65%)
 create mode 100644 gdb/testsuite/gdb.ada/info_types.exp
 create mode 100644 gdb/testsuite/gdb.arch/gcore.c
 create mode 100644 gdb/testsuite/gdb.arch/system-gcore.exp
 copy gdb/{windows-tdep.h => testsuite/gdb.base/gdb11531.c} (63%)
 create mode 100644 gdb/testsuite/gdb.base/gdb11531.exp
 create mode 100644 gdb/testsuite/gdb.base/pr10179-a.c
 create mode 100644 gdb/testsuite/gdb.base/pr10179-b.c
 create mode 100644 gdb/testsuite/gdb.base/pr10179.exp
 create mode 100644 gdb/testsuite/gdb.base/solib-corrupted.exp
 create mode 100644 gdb/testsuite/gdb.cp/pr10687.cc
 create mode 100644 gdb/testsuite/gdb.cp/pr10687.exp
 create mode 100644 gdb/testsuite/gdb.cp/pr9167.cc
 create mode 100644 gdb/testsuite/gdb.cp/pr9167.exp
 create mode 100644 gdb/testsuite/gdb.fortran/logical.exp
 create mode 100644 gdb/testsuite/gdb.fortran/logical.f90
 create mode 100644 gdb/testsuite/gdb.mi/mi-ns-stale-regcache.exp
 copy gdb/{windows-tdep.h => testsuite/gdb.mi/ns-stale-regcache.c} (64%)
 create mode 100644 gdb/testsuite/gdb.pascal/gdb11492.exp
 create mode 100644 gdb/testsuite/gdb.pascal/gdb11492.pas
 create mode 100644 gdb/testsuite/gdb.python/py-param.exp
 copy gdb/{windows-tdep.h => testsuite/gdb.python/py-progspace.c} (66%)
 create mode 100644 gdb/testsuite/gdb.python/py-progspace.exp
 copy gdb/testsuite/gdb.python/{py-breakpoint.c => py-section-script.c} (53%)
 create mode 100644 gdb/testsuite/gdb.python/py-section-script.exp
 create mode 100644 gdb/testsuite/gdb.python/py-section-script.py
 copy gdb/testsuite/{gdb.python/py-breakpoint.c => gdb.stabs/gdb11479.c} (52%)
 create mode 100644 gdb/testsuite/gdb.stabs/gdb11479.exp
 create mode 100644 sim/avr/ChangeLog
 create mode 100644 sim/configure.tgt
 create mode 100644 sim/microblaze/ChangeLog

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index cf51807..4deac01 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+2010-04-27  Roland McGrath  <roland@redhat.com>
+	    H.J. Lu  <hongjiu.lu@intel.com>
+
+	* configure.ac (--enable-gold): Support both, both/gold and
+	both/bfd to add gold to configdirs without removing ld.
+	* configure: Regenerated.
+
+	* Makefile.def: Add install-gold dependency to install-ld.
+	* Makefile.in: Regenerated.
+
+2010-04-14  Tristan Gingold  <gingold@adacore.com>
+
+	* configure.ac (alpha*-*-*vms*): Remove ld from noconfigdirs.
+	* configure: Regenerate.
+
 2010-04-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Merge from gcc:
diff --git a/Makefile.def b/Makefile.def
index 7dce699..325d845 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -425,6 +425,7 @@ dependencies = { module=all-ld; on=all-build-bison; };
 dependencies = { module=all-ld; on=all-build-byacc; };
 dependencies = { module=all-ld; on=all-build-flex; };
 dependencies = { module=all-ld; on=all-intl; };
+dependencies = { module=install-ld; on=install-gold; };
 dependencies = { module=configure-gold; on=configure-intl; };
 dependencies = { module=all-gold; on=all-libiberty; };
 dependencies = { module=all-gold; on=all-intl; };
diff --git a/Makefile.in b/Makefile.in
index 93f66b6..d1d8b32 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -58231,6 +58231,7 @@ all-stage3-ld: maybe-all-stage3-intl
 all-stage4-ld: maybe-all-stage4-intl
 all-stageprofile-ld: maybe-all-stageprofile-intl
 all-stagefeedback-ld: maybe-all-stagefeedback-intl
+install-ld: maybe-install-gold
 configure-gold: maybe-configure-intl
 
 configure-stage1-gold: maybe-configure-stage1-intl
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 55aeba2..74dd28b 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,259 @@
+2010-04-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR ld/11542
+	* elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): New.
+
+	* elf32-i386.c (elf_i386_relocate_section): Use it.
+	* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
+
+2010-04-30  Tristan Gingold  <gingold@adacore.com>
+
+	* vms-lib.c (vms_read_block): New function.
+	(vms_traverse_index): Use vms_read_block.  Handle long key names.
+
+2010-04-30  Tristan Gingold  <gingold@adacore.com>
+
+	* vms-lib.c (struct lib_tdata): Field artdata added, fields nbr_syms
+	and syms removed.
+	(struct carsym_mem): New structure.
+	(vms_add_index): New function.
+	(vms_add_indexes_from_list): New function.
+	(vms_traverse_index): Parameter carsym changed to carsym_mem.
+	Code adjusted to handle elfidx.
+	(vms_lib_read_index): Adjusted for vms_traverse_index changes.
+	Parameter NBREL is now a pointer.
+	(_bfd_vms_lib_archive_p): Adjust for above change.  Handle ia64
+	archives.
+	(_bfd_vms_lib_mkarchive): Adjusted for changes in struct lib_tdata.
+	(_bfd_vms_lib_find_symbol): Ditto.
+	(vms_lib_bopen): Fix two typos: return FALSE in case of error,
+	check MHD id.
+	(_bfd_vms_lib_get_module): New function.
+	(_bfd_vms_lib_get_elt_at_index): Rewritten using the above
+	function.
+	(_bfd_vms_lib_openr_next_archived_file): Use _bfd_vms_lib_get_module.
+	(_bfd_vms_lib_generic_stat_arch_elt): Handle ia64 archives.
+	(vms_write_index): Adjust for structure renamed.
+	* vms-alpha.c (alpha_vms_link_add_archive_symbols): Adjust for
+	changes of _bfd_vms_lib_find_symbol.
+
+2010-04-28  Kai Tietz  <kai.tietz@onevision.com>
+
+	* config.bfd: Correct accidential reverted patch
+	about vax*-*-*vms*.
+
+2010-04-27  Kai Tietz  <kai.tietz@onevision.com>
+
+	* pe-x86_64.c (TARGET_UNDERSCORE): Set value dependent
+	to USE_MINGW64_LEADING_UNDERSCORES.
+        * pei-x86_64.c (TARGET_UNDERSCORE): Likewise.
+	* config.bfd: Change underscoring default for x64 mingw
+	to false.
+	* coffcode.h (coff_write_relocs): Add check that dereferenced
+	sym_ptr_ptr isn't NULL.
+	* config.in (USE_MINGW64_LEADING_UNDERSCORES): New.
+	* configure: Regenerated.
+	* configure.in: Add option '--enable-leading-mingw64-underscores'
+	and define config.in variable USE_MINGW64_LEADING_UNDERSCORES.
+
+2010-04-27  Nick Clifton  <nickc@redhat.com>
+
+	PR binutils/11512
+	* coffgen.c (coff_find_nearest_line): Incldue the section address
+	of function name symbols in address comparisons.
+
+2010-04-27  Nick Clifton  <nickc@redhat.com>
+
+	* po/fr.po: Updated French translation.
+
+2010-04-23  Alan Modra  <amodra@gmail.com>
+
+	* elf.c: Replace use of ELF_IS_SECTION_IN_SEGMENT and
+	ELF_IS_SECTION_IN_SEGMENT_FILE with ELF_SECTION_IN_SEGMENT
+	throughout file.
+	(assign_file_positions_for_load_sections): Modify section in
+	segment warning to ignore overlay vmas.
+	* elf32-spu.c (spu_elf_object_p): Replace use of
+	ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT.
+
+2010-04-22  Nick Clifton  <nickc@redhat.com>
+
+	* po/bfd.pot: Updated by the Translation project.
+	* po/vi.po: Updated Vietnamese translation.
+
+2010-04-22  Alan Modra  <amodra@gmail.com>
+
+	* elf.c (assign_file_positions_for_load_sections): Revert 2008-05-29
+	change.  Tidy.  Don't error on sections not allocated in segment.
+
+2010-04-15  Andrew Haley  <aph@redhat.com>
+
+	* bfd-in.h (elf32_arm_fix_exidx_coverage): Add new flag:
+	merge_exidx_entries.
+	* bfd-in2.h: Likewise.
+	* elf32-arm.c (elf32_arm_fix_exidx_coverage): Likewise.  Use it to
+	control merging of exidx entries.
+
+2010-04-20  Joseph Myers  <joseph@codesourcery.com>
+
+	* elf32-tic6x.h: New.
+	* elf-bfd.h (enum elf_target_id): Define TIC6X_ELF_DATA.
+	* elf32-tic6x.c (struct elf32_tic6x_obj_tdata, elf32_tic6x_tdata,
+	elf32_tic6x_howto_table_rel, elf32_tic6x_info_to_howto_rel,
+	elf32_tic6x_set_use_rela_p, elf32_tic6x_mkobject,
+	elf32_tic6x_new_section_hook, elf32_tic6x_rel_relocation_p,
+	bfd_elf32_mkobject, bfd_elf32_new_section_hook): New.
+	(elf32_tic6x_reloc_type_lookup, elf32_tic6x_reloc_name_lookup,
+	elf32_tic6x_relocate_section): Handle REL relocations.
+	(elf_info_to_howto_rel): Define to elf32_tic6x_info_to_howto_rel.
+
+2010-04-20  Jakub Jelinek  <jakub@redhat.com>
+
+	* dwarf2.c (find_abstract_instance_name, scan_unit_for_symbols): Treat
+	DW_AT_linkage_name the same as DW_AT_MIPS_linkage_name.
+
+2010-04-19  Nick Clifton  <nickc@redhat.com>
+
+	* archive64.c (bfd_elf64_archive_slurp_armap): Remove unused
+	arhdrpos variable.
+	* elf64-x86-64.c (elf64_x86_64_relocate_section): Add unused
+	attribute to warned variable.  Remove unused val, type and type2
+	variables.
+
+2010-04-16  Andreas Schwab  <schwab@redhat.com>
+
+	* vms-alpha.c (alpha_vms_link_add_object_symbols): Avoid breaking
+	strict-aliasing rules.
+
+2010-04-16  Tristan Gingold  <gingold@adacore.com>
+
+	* vms-alpha.c (_bfd_vms_slurp_eihd): Fix typo.
+	(_bfd_vms_get_object_record): Always assume there is a pad byte
+	for alignment.
+
+	* vms-lib.c: Add a few comments.
+
+2010-04-15  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
+
+	* elf32-arm.c (elf32_arm_merge_eabi_attributes): Support additions to
+	attributes in v2.08 of the ABI.
+
+2010-04-15  Alan Modra  <amodra@gmail.com>
+
+	* config.bfd (vax*-*-*vms*): Delete.
+
+2010-04-14  Tristan Gingold  <gingold@adacore.com>
+
+	* Makefile.am (BFD32_BACKENDS): Remove vms-gsd.lo, vms-hdr.lo,
+	vms-tir.lo, vms.lo and add vms-alpha.lo
+	(BFD32_BACKENDS_CFILES): Remove vms-gsd.c, vms-hdr.c,
+	vms-tir.c, vms.c and add vms-alpha.c
+	* Makefile.in: Regenerate.
+	* configure.in (TDEFINES): Adjust file list for vms_alpha_vec.
+	Remove vms_vax_vec.
+	* configure: Regenerate.
+	* targets.c (vms_vax_vec): Remove the declaration.
+	(_bfd_target_vector): Remove vms_vax_vec.
+	* vms-alpha.c: New file.
+	* vms-gsd.c: Removed, rewritten in vms-alpha.c
+	* vms-hdr.c: Ditto.
+	* vms-tir.c: Ditto.
+	* vms.c: Ditto.
+	* vms-misc.c: Fix indentation and comments.  Replace most of
+	#if VMS_DEBUG/vms_debug with vms_debug2.
+	(_bfd_vms_hash_newfunc): Moved to vms-alpha.c
+	(hash_string): Ditto.
+	(_bfd_vms_length_hash_symbol): Ditto.
+	(maybe_adjust_record_pointer_for_object): Ditto.
+	(_bfd_vms_get_object_record): Ditto.
+	(vms_get_remaining_object_record): Ditto.
+	(_bfd_vms_push): Ditto.
+	(_bfd_vms_pop): Ditto.
+	(_bfd_vms_get_header_values): Removed.
+	(_bfd_vms_get_first_record): Removed.
+	(vms_get_remaining_image_record): Removed.
+	(new_symbol): Removed.
+	(_bfd_vms_enter_symbol): Removed.
+	(_bfd_vms_save_sized_string): Use memcpy instead of strncpy.
+	(_bfd_vms_output_begin): Remove rechead parameter.  Replace bfd
+	parameter with struct vms_rec_wr.
+	(_bfd_vms_output_push): Removed and replaced by ...
+	(_bfd_vms_output_begin_subrec): ... new function.
+	(_bfd_vms_output_alignment): Replace bfd parameter with
+	struct vms_rec_wr, and adjust.
+	(_bfd_vms_output_check): Ditto
+	(_bfd_vms_output_byte): Ditto.
+	(_bfd_vms_output_short): Ditto.
+	(_bfd_vms_output_long): Ditto.
+	(_bfd_vms_output_quad): Ditto.
+	(_bfd_vms_output_counted): Ditto.
+	(_bfd_vms_output_dump): Ditto.
+	(_bfd_vms_output_fill): Ditto.
+	(_bfd_vms_output_pop): Removed and replaced by ...
+	(_bfd_vms_output_end_subrec): ... new function.
+	(_bfd_vms_output_flush): Removed.
+	(_bfd_vms_output_align): New function.
+	(_bfd_vms_output_end): Add recwr parameter.  Adjust for this new
+	parameter.
+	(vms_convert_to_var): New function imported from vms.c
+	(vms_convert_to_var_1): Ditto.
+	(vms_convert_to_var_unix_filename): Ditto.
+	(vms_get_module_name): Ditto.
+	(get_vms_time_string): Ditto.
+	(vms_time_to_time_t): Ditto.
+	(vms_rawtime_to_time_t): Ditto.
+	* vms.h: All macros for the VMS file format are now in include/vms.
+	Prototypes for vms.c, vms-gsd.c, vms-misc.c, vms-hdr.c, vms-tir.c
+	have been removed.
+	(struct vms_symbol_struct, struct stack_struct): Moved to vms-alpha.c
+	(struct fileinfo, struct srecinfo, struct lineinfo): Ditto.
+	(struct funcinfo, struct vms_private_data_struct): Ditto.
+	(struct vms_section_data_struct): Ditto.
+	(struct vms_rec_rd, stryct vms_rec_wr): New declarations.
+	(vms_get_module_name, get_vms_time_string): New declarations.
+	(vms_time_to_time_t, vms_rawtime_to_time_t): Ditto.
+	(_bfd_vms_output_begin_subrec, _bfd_vms_output_end_subrec): Ditto.
+	(_bfd_vms_save_sized_string, _bfd_vms_save_counted_string): Adjusted.
+	(_bfd_vms_output_begin, _bfd_vms_output_alignment): Ditto.
+	(_bfd_vms_output_end,_bfd_vms_output_check): Ditto.
+	(_bfd_vms_output_byte, _bfd_vms_output_short): Ditto.
+	(_bfd_vms_output_long, _bfd_vms_output_quad): Ditto.
+	(_bfd_vms_output_counted, _bfd_vms_output_dump): Ditto.
+	(_bfd_vms_output_fill): Ditto.
+	(bfd_vms_set_section_flags): Ditto.
+
+2010-04-14  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
+
+	* elflink.c (_bfd_elf_merge_symbol): Tighten up the test for early
+	exit due to merging the same weak symbol to test that the symbols are
+	actually weak.
+
+2010-04-13  Alan Modra  <amodra@gmail.com>
+
+	* elf64-ppc.c (ppc64_elf_relocate_section): Correct NOP location
+	when optimizing high got_tlsgd/ld insns.
+
+2010-04-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* hosts/x86-64linux.h (HAVE_PRPSINFO32_T): Undefine before
+	define.
+	(HAVE_PRSTATUS32_T): Likewise.
+
+2010-04-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR corefiles/11467
+	* configure.in (CORE_HEADER): New. Set to hosts/x86-64linux.h
+	for x86_64-*-linux*.
+	* config.in: Regenerated.
+	* configure: Likewise.
+
+	* elf.c: Include CORE_HEADER if it is defined.
+
+2010-04-10  H.J. Lu  <hongjiu.lu@intel.com>
+	    Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* hosts/x86-64linux.h: New.
+
 2010-04-09  Nick Clifton  <nickc@redhat.com>
 
 	* aoutx.h (aout_link_input_bfd): Remove unused variable sym_count.
diff --git a/bfd/Makefile.am b/bfd/Makefile.am
index ac38177..ef545f5 100644
--- a/bfd/Makefile.am
+++ b/bfd/Makefile.am
@@ -391,12 +391,9 @@ BFD32_BACKENDS = \
 	vaxbsd.lo \
 	vaxnetbsd.lo \
 	versados.lo \
-	vms-gsd.lo \
-	vms-hdr.lo \
+	vms-alpha.lo \
 	vms-lib.lo \
 	vms-misc.lo \
-	vms-tir.lo \
-	vms.lo \
 	xcofflink.lo \
 	xsym.lo \
 	xtensa-isa.lo \
@@ -576,12 +573,9 @@ BFD32_BACKENDS_CFILES = \
 	vaxbsd.c \
 	vaxnetbsd.c \
 	versados.c \
-	vms-gsd.c \
-	vms-hdr.c \
+	vms-alpha.c \
 	vms-lib.c \
 	vms-misc.c \
-	vms-tir.c \
-	vms.c \
 	xcofflink.c \
 	xsym.c \
 	xtensa-isa.c \
diff --git a/bfd/Makefile.in b/bfd/Makefile.in
index ed626c9..7134a70 100644
--- a/bfd/Makefile.in
+++ b/bfd/Makefile.in
@@ -688,12 +688,9 @@ BFD32_BACKENDS = \
 	vaxbsd.lo \
 	vaxnetbsd.lo \
 	versados.lo \
-	vms-gsd.lo \
-	vms-hdr.lo \
-	vms-lib.lo \
 	vms-misc.lo \
-	vms-tir.lo \
-	vms.lo \
+	vms-alpha.lo \
+	vms-lib.lo \
 	xcofflink.lo \
 	xsym.lo \
 	xtensa-isa.lo \
@@ -873,12 +870,9 @@ BFD32_BACKENDS_CFILES = \
 	vaxbsd.c \
 	vaxnetbsd.c \
 	versados.c \
-	vms-gsd.c \
-	vms-hdr.c \
+	vms-alpha.c \
 	vms-lib.c \
 	vms-misc.c \
-	vms-tir.c \
-	vms.c \
 	xcofflink.c \
 	xsym.c \
 	xtensa-isa.c \
@@ -1488,12 +1482,9 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vaxnetbsd.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/verilog.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/versados.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vms-gsd.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vms-hdr.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vms-alpha.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vms-lib.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vms-misc.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vms-tir.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vms.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xcofflink.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsym.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xtensa-isa.Plo@am__quote@
diff --git a/bfd/archive64.c b/bfd/archive64.c
index 0a1f6ed..067fbb9 100644
--- a/bfd/archive64.c
+++ b/bfd/archive64.c
@@ -1,6 +1,6 @@
 /* MIPS-specific support for 64-bit ELF
-   Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006, 2007
-   Free Software Foundation, Inc.
+   Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006, 2007,
+   2010  Free Software Foundation, Inc.
    Ian Lance Taylor, Cygnus Support
    Linker support added by Mark Mitchell, CodeSourcery, LLC.
    <mark@codesourcery.com>
@@ -43,7 +43,6 @@ bfd_elf64_archive_slurp_armap (bfd *abfd)
 {
   struct artdata *ardata = bfd_ardata (abfd);
   char nextname[17];
-  file_ptr arhdrpos;
   bfd_size_type i, parsed_size, nsymz, stringsize, carsym_size, ptrsize;
   struct areltdata *mapdata;
   bfd_byte int_buf[8];
@@ -55,7 +54,6 @@ bfd_elf64_archive_slurp_armap (bfd *abfd)
   ardata->symdefs = NULL;
 
   /* Get the name of the first element.  */
-  arhdrpos = bfd_tell (abfd);
   i = bfd_bread (nextname, 16, abfd);
   if (i == 0)
     return TRUE;
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h
index 07f2fae..cfa5225 100644
--- a/bfd/bfd-in.h
+++ b/bfd/bfd-in.h
@@ -906,7 +906,7 @@ extern bfd_boolean elf32_arm_build_stubs
 
 /* ARM unwind section editing support.  */
 extern bfd_boolean elf32_arm_fix_exidx_coverage
-  (struct bfd_section **, unsigned int, struct bfd_link_info *);
+(struct bfd_section **, unsigned int, struct bfd_link_info *, bfd_boolean);
 
 /* PowerPC @tls opcode transform/validate.  */
 extern unsigned int _bfd_elf_ppc_at_tls_transform
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 9cf4f64..a3f8ccc 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -913,7 +913,7 @@ extern bfd_boolean elf32_arm_build_stubs
 
 /* ARM unwind section editing support.  */
 extern bfd_boolean elf32_arm_fix_exidx_coverage
-  (struct bfd_section **, unsigned int, struct bfd_link_info *);
+  (struct bfd_section **, unsigned int, struct bfd_link_info *, bfd_boolean);
 
 /* PowerPC @tls opcode transform/validate.  */
 extern unsigned int _bfd_elf_ppc_at_tls_transform
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index 159df27..364daaa 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -2648,7 +2648,7 @@ coff_write_relocs (bfd * abfd, int first_undef)
 	     entries know which symbol index they point to.  So we
 	     have to look up the output symbol here.  */
 
-	  if (q->sym_ptr_ptr[0]->the_bfd != abfd)
+	  if (q->sym_ptr_ptr[0] != NULL && q->sym_ptr_ptr[0]->the_bfd != abfd)
 	    {
 	      int j;
 	      const char *sname = q->sym_ptr_ptr[0]->name;
@@ -2677,7 +2677,7 @@ coff_write_relocs (bfd * abfd, int first_undef)
 	    n.r_symndx = q->addend;
 	  else
 #endif
-	    if (q->sym_ptr_ptr)
+	    if (q->sym_ptr_ptr && q->sym_ptr_ptr[0] != NULL)
 	      {
 #ifdef SECTION_RELATIVE_ABSOLUTE_SYMBOL_P
 		if (SECTION_RELATIVE_ABSOLUTE_SYMBOL_P (q, s))
diff --git a/bfd/coffgen.c b/bfd/coffgen.c
index 63053a1..fc82d57 100644
--- a/bfd/coffgen.c
+++ b/bfd/coffgen.c
@@ -2152,6 +2152,7 @@ coff_find_nearest_line (bfd *abfd,
       maxdiff = (bfd_vma) 0 - (bfd_vma) 1;
       while (1)
 	{
+	  bfd_vma file_addr;
 	  combined_entry_type *p2;
 
 	  for (p2 = p + 1 + p->u.syment.n_numaux;
@@ -2170,11 +2171,16 @@ coff_find_nearest_line (bfd *abfd,
 		}
 	    }
 
+	  file_addr = (bfd_vma) p2->u.syment.n_value;
+	  /* PR 11512: Include the section address of the function name symbol.  */
+	  if (p2->u.syment.n_scnum > 0)
+	    file_addr += coff_section_from_bfd_index (abfd,
+						      p2->u.syment.n_scnum)->vma;
 	  /* We use <= MAXDIFF here so that if we get a zero length
              file, we actually use the next file entry.  */
 	  if (p2 < pend
-	      && offset + sec_vma >= (bfd_vma) p2->u.syment.n_value
-	      && offset + sec_vma - (bfd_vma) p2->u.syment.n_value <= maxdiff)
+	      && offset + sec_vma >= file_addr
+	      && offset + sec_vma - file_addr <= maxdiff)
 	    {
 	      *filename_ptr = (char *) p->u.syment._n._n_n._n_offset;
 	      maxdiff = offset + sec_vma - p2->u.syment.n_value;
diff --git a/bfd/config.bfd b/bfd/config.bfd
index 1c1c988..d39ef18 100644


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [SCM]  archer-jankratochvil-bpstat_what: Merge remote branch 'origin/master' into archer-jankratochvil-bpstat_what
@ 2010-04-09 20:41 jkratoch
  0 siblings, 0 replies; 7+ messages in thread
From: jkratoch @ 2010-04-09 20:41 UTC (permalink / raw)
  To: archer-commits

The branch, archer-jankratochvil-bpstat_what has been updated
       via  b3ffba82c0e7108ff9d26997d795f22e7892f001 (commit)
       via  11d4e9ae12b8f0af69795094b06f94a73d416570 (commit)
       via  9db9366d60fc9ab89ad1c0fa87a179865a3959fc (commit)
       via  ce78ee2489391a63f426567525dd95cc810f9d6a (commit)
       via  0a86927d5ab21634f7a3045e211106294681c3a4 (commit)
       via  cc167cb51970e9bb1047c4649aadcaa7db753c19 (commit)
       via  3b86122f90a64bb6df4e82881f8f2ff84dcc8362 (commit)
       via  4c0797587506811121d376a9a1bae75989be9652 (commit)
       via  b2c4e58d0aa2fd0ca42c3342183723b5c1f3f14c (commit)
       via  8c08b82f83aa91f476c7a28f28aa1c6c28ced6b9 (commit)
       via  6732966215286477029fe239966883e140dbef8a (commit)
       via  c86d68befad2b8e65a1ed79297d4ab3e7b70df9e (commit)
       via  7c56ce7fac5a1fc63fbb8e870eb23ab3c347cb8e (commit)
       via  50ba11bfbd98c77382666f0dced10fd6847b02f5 (commit)
       via  d78b864ebaf997c804a6085f4721d6095efe1cb4 (commit)
       via  18e127d2a47b63d3cd583c2b9d0760243ab8d3b0 (commit)
       via  980d51455ce50ddb70f2d041d34983a04cd789af (commit)
       via  ffd6d540460595f58238379b15eb29dadcdde176 (commit)
       via  21fe208137529a8b48e9e1590d80aff8aaf882f8 (commit)
       via  279e10d66f1cb952c52b84c6b439ecf9da0808f2 (commit)
       via  1132471a8b57619dbb9f0183f3fc0705809c3234 (commit)
       via  77ab259477c5c036a4cf63c4c3538eb80864e4c5 (commit)
       via  084fa560a689c7ad6a426848e4b0b2d73f25f6cb (commit)
       via  a32a3824a1368fca82d31ee6e9e5ad4db466ca88 (commit)
       via  603816a6140e4214520378150a1ee190725ba98f (commit)
       via  a61bc0d5dd1a4ae7ab30cafbbc885e96419dcdb5 (commit)
       via  e684154fe996ce95eedbdb45cd344a32ba8d33de (commit)
       via  d130f0d0d3d7c678d9d0d90fd2611451042752e2 (commit)
       via  d659712a8cd07b21f90089c1ac78874d67c94058 (commit)
       via  d17bf2e38a28ffacb76cd8e880f163a4bb8a1183 (commit)
       via  55c3cfa08993adf8472f222391e1e145d137f872 (commit)
       via  d0aa472c6770baccb29dc37d0e64a81afda99911 (commit)
       via  93383e6f24261a4140bfd760972e98668cd2244d (commit)
       via  7a9fe1bacea2b45f885f4750ae9b49a4c7758085 (commit)
       via  f3162a56e7ede302bbc31dc588cce91fb0f76bc7 (commit)
       via  27ad93b9b3ddf3b88df23a9f228905587a887df4 (commit)
       via  8b810c0220bcaa267d857d26b81e1398caeb2d5b (commit)
       via  764856f0e74e6e13648ddd2242819e59d209344b (commit)
       via  86df4f48719d87e67489e8507ecfc043caf41089 (commit)
       via  efe95bc91df29b92dbebc317fe52308f9fb87fd3 (commit)
       via  8f8911f2cb35b2b794bbdf0902d75e6e9bbe6874 (commit)
       via  d19fe7a1b7935fee4e8c784a8246c4dd69237112 (commit)
       via  1126b8c32474dec859e4e9e93d4103c235a10265 (commit)
       via  8ee8053cd1289310eedfdb50714154101b95c8fd (commit)
       via  84f21d145adc2bcaf44b1a50068c7a75b0f55853 (commit)
       via  4ae9d3a11ef7c9f4897f5968cc532c27307c0e44 (commit)
       via  04aa25c7a725dca6cddba9a952781fc0f67c0284 (commit)
       via  862505f46570b891ffc7218ffe8c803f1a084ef2 (commit)
       via  1e90d47c183954857d6fe59d5da05d4a3dea1dbc (commit)
       via  031a72d190fd37f62a284593449bfd420ca5d7a1 (commit)
       via  a39036c41bc624929dc9fd96d43f65a847a79885 (commit)
       via  312a8f136440200a63ea4a7099a2c8ad2b405daf (commit)
       via  920a13856b00ab06567369726c67d95003f41a95 (commit)
       via  0354d1d51a785386faa60e41de4633cc307d23c6 (commit)
       via  3e2fefbed7993e6be4534db127be625845c08fa0 (commit)
       via  ea005d16b33904f41fd1d50d5cf7a5a766802261 (commit)
       via  bd1bd2abbca397bb54f6588e12d7e4b8b0da4b37 (commit)
       via  a568c9181a1f54fa3d8fec88fe72202c852ae23c (commit)
       via  7bebc910a083e8ec400f894fe5df4f37c29ce2b2 (commit)
       via  bbd95525d7b932f80023fc44e7920f49b3f5a1b3 (commit)
       via  e6e38b866099c1269b40307341365189dd93b60d (commit)
       via  cc8ec105c32e167eacf2def61fa1542a98d71860 (commit)
       via  706c5ec0898490bf3d4ccc0d9fd9d47e160a6370 (commit)
       via  ed49fa9539ca97896096ed0060ebbb1665db65a0 (commit)
       via  946e3883bc26ffa347b1505950667d1916e40d13 (commit)
       via  18be4d41bb4d1879f0aed9cbbd10d20a20016539 (commit)
      from  a717c51eff89fa4a5bcd50cde10360f0db1621a5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit b3ffba82c0e7108ff9d26997d795f22e7892f001
Merge: a717c51eff89fa4a5bcd50cde10360f0db1621a5 11d4e9ae12b8f0af69795094b06f94a73d416570
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Apr 9 22:40:21 2010 +0200

    Merge remote branch 'origin/master' into archer-jankratochvil-bpstat_what

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                          |   12 +
 bfd/ChangeLog                                      |   42 +
 bfd/aoutx.h                                        |    6 +-
 bfd/configure                                      |   16 +-
 bfd/dwarf2.c                                       |   89 +-
 bfd/elf-bfd.h                                      |    5 +-
 bfd/elf-eh-frame.c                                 |   20 +-
 bfd/elf.c                                          |    7 +-
 bfd/elf32-i386.c                                   |    2 +-
 bfd/peXXigen.c                                     |    4 +-
 bfd/verilog.c                                      |    5 +-
 bfd/version.h                                      |    2 +-
 bfd/vms-lib.c                                      |    7 +-
 bfd/warning.m4                                     |    5 +-
 configure                                          |   11 +-
 configure.ac                                       |   11 +-
 gdb/ChangeLog                                      |  402 +++
 gdb/Makefile.in                                    |    6 +
 gdb/NEWS                                           |    9 +-
 gdb/ada-lang.c                                     |    1 -
 gdb/amd64-linux-nat.c                              |  114 +-
 gdb/amd64-linux-tdep.c                             |   26 +-
 gdb/amd64-linux-tdep.h                             |    3 +-
 gdb/amd64-tdep.c                                   |  127 +-
 gdb/amd64-tdep.h                                   |   20 +-
 gdb/breakpoint.c                                   |  149 +-
 gdb/breakpoint.h                                   |    4 +
 gdb/charset.c                                      |    1 -
 gdb/cli/cli-cmds.c                                 |    6 +-
 gdb/cli/cli-script.c                               |    4 +-
 gdb/cli/cli-script.h                               |    2 +-
 gdb/common/i386-xstate.h                           |   42 +
 gdb/config/djgpp/fnchange.lst                      |   16 +-
 gdb/defs.h                                         |    4 +
 gdb/doc/ChangeLog                                  |   37 +
 gdb/doc/gdb.texinfo                                |  219 ++-
 gdb/features/Makefile                              |   17 +
 gdb/features/i386/32bit-avx.xml                    |   18 +
 gdb/features/i386/64bit-avx.xml                    |   26 +
 gdb/features/i386/amd64-avx-linux.c                |  171 +
 gdb/features/i386/amd64-avx-linux.xml              |   18 +
 gdb/features/i386/amd64-avx.c                      |  166 +
 gdb/features/i386/amd64-avx.xml                    |   16 +
 gdb/features/i386/i386-avx-linux.c                 |  147 +
 gdb/features/i386/i386-avx-linux.xml               |   18 +
 gdb/features/i386/i386-avx.c                       |  142 +
 gdb/features/i386/i386-avx.xml                     |   16 +
 gdb/features/i386/i386-mmx-linux.c                 |   76 +
 gdb/features/i386/i386-mmx-linux.xml               |   16 +
 gdb/features/i386/i386-mmx.c                       |   71 +
 gdb/features/i386/i386-mmx.xml                     |   14 +
 gdb/gdbserver/ChangeLog                            |  154 +
 gdb/gdbserver/Makefile.in                          |   24 +-
 gdb/gdbserver/configure.srv                        |   20 +-
 gdb/gdbserver/i387-fp.c                            |  267 ++
 gdb/gdbserver/i387-fp.h                            |    5 +
 gdb/gdbserver/linux-arm-low.c                      |    8 +-
 gdb/gdbserver/linux-crisv32-low.c                  |    4 +-
 gdb/gdbserver/linux-low.c                          |  156 +-
 gdb/gdbserver/linux-low.h                          |    9 +
 gdb/gdbserver/linux-m68k-low.c                     |    6 +-
 gdb/gdbserver/linux-mips-low.c                     |    6 +-
 gdb/gdbserver/linux-ppc-low.c                      |   10 +-
 gdb/gdbserver/linux-s390-low.c                     |    4 +-
 gdb/gdbserver/linux-sh-low.c                       |    4 +-
 gdb/gdbserver/linux-sparc-low.c                    |    6 +-
 gdb/gdbserver/linux-x86-low.c                      |  225 ++-
 gdb/gdbserver/linux-xtensa-low.c                   |    6 +-
 gdb/gdbserver/mem-break.c                          |    2 +-
 gdb/gdbserver/mem-break.h                          |    4 +
 gdb/gdbserver/regcache.c                           |   82 +-
 gdb/gdbserver/regcache.h                           |   14 +
 gdb/gdbserver/server.c                             |  103 +-
 gdb/gdbserver/server.h                             |   53 +
 gdb/gdbserver/target.h                             |   21 +
 gdb/gdbserver/tracepoint.c                         | 3399 ++++++++++++++++++++
 gdb/gdbserver/utils.c                              |  125 +
 gdb/go32-nat.c                                     |    4 +-
 gdb/i386-linux-nat.c                               |  141 +-
 gdb/i386-linux-tdep.c                              |   61 +-
 gdb/i386-linux-tdep.h                              |   29 +-
 gdb/i386-tdep.c                                    |  384 ++-
 gdb/i386-tdep.h                                    |   34 +-
 gdb/i387-tdep.c                                    |  472 +++
 gdb/i387-tdep.h                                    |   14 +
 gdb/infcmd.c                                       |    2 +-
 gdb/linux-nat.c                                    |    4 +-
 gdb/m32c-tdep.c                                    |    9 +-
 gdb/main.c                                         |    2 +-
 gdb/nto-procfs.c                                   |    4 +-
 gdb/python/py-breakpoint.c                         |  862 +++++
 gdb/python/py-lazy-string.c                        |   12 +-
 gdb/python/python-internal.h                       |   15 +
 gdb/python/python.c                                |   10 +-
 gdb/regformats/i386/amd64-avx-linux.dat            |   78 +
 gdb/regformats/i386/amd64-avx.dat                  |   77 +
 gdb/regformats/i386/i386-avx-linux.dat             |   54 +
 gdb/regformats/i386/i386-avx.dat                   |   53 +
 gdb/regformats/i386/i386-mmx-linux.dat             |   46 +
 gdb/regformats/i386/i386-mmx.dat                   |   36 +
 gdb/regformats/regdat.sh                           |    2 +-
 gdb/remote.c                                       |   15 +-
 gdb/rs6000-nat.c                                   |    4 +-
 gdb/sh64-tdep.c                                    |   24 +-
 gdb/solib-pa64.c                                   |   22 +-
 gdb/solib-spu.c                                    |    3 +-
 gdb/source.c                                       |   10 +
 gdb/stabsread.c                                    |   69 +
 gdb/symtab.c                                       |   12 +
 gdb/testsuite/ChangeLog                            |   49 +
 gdb/testsuite/gdb.arch/i386-avx.c                  |  128 +
 gdb/testsuite/gdb.arch/i386-avx.exp                |  110 +
 gdb/testsuite/gdb.arch/i386-cpuid.h                |  231 +-
 .../gdb.base/{source.exp => source-test.gdb}       |   24 +-
 gdb/testsuite/gdb.base/source.exp                  |   18 +-
 gdb/testsuite/gdb.cp/inherit.exp                   |    2 +-
 gdb/testsuite/gdb.python/Makefile.in               |    2 +-
 gdb/testsuite/gdb.python/py-breakpoint.c           |   46 +
 gdb/testsuite/gdb.python/py-breakpoint.exp         |  142 +
 gdb/testsuite/gdb.python/py-value.c                |    2 +-
 gdb/testsuite/gdb.python/py-value.exp              |    6 +
 gdb/testsuite/gdb.stabs/aout.sed                   |    2 +-
 gdb/testsuite/gdb.stabs/hppa.sed                   |    2 +-
 gdb/testsuite/gdb.stabs/weird.def                  |   14 +
 gdb/testsuite/gdb.stabs/weird.exp                  |   13 +-
 gdb/testsuite/gdb.stabs/xcoff.sed                  |    2 +-
 gdb/testsuite/gdb.trace/actions.exp                |    4 +
 gdb/testsuite/gdb.trace/save-trace.exp             |    2 +
 gdb/testsuite/gdb.trace/tfile.c                    |   38 +-
 gdb/testsuite/gdb.trace/tfile.exp                  |    7 +
 gdb/top.c                                          |    2 +-
 gdb/top.h                                          |    4 +-
 gdb/tracepoint.c                                   |  211 +-
 gdb/tracepoint.h                                   |   30 +-
 gdb/version.in                                     |    2 +-
 gdb/xml-syscall.c                                  |   22 +-
 include/ChangeLog                                  |    5 +
 include/dwarf2.h                                   |    4 +-
 include/elf/ChangeLog                              |    5 +
 include/elf/internal.h                             |    5 +-
 intl/ChangeLog                                     |    4 +
 intl/aclocal.m4                                    |    2 +-
 libdecnumber/ChangeLog                             |    4 +
 libdecnumber/aclocal.m4                            |    2 +-
 libiberty/ChangeLog                                |    5 +
 libiberty/regex.c                                  |    6 +-
 opcodes/ChangeLog                                  |   19 +
 opcodes/configure                                  |   16 +-
 opcodes/cr16-opc.c                                 |    4 +-
 opcodes/i386-dis.c                                 |    8 -
 opcodes/ppc-opc.c                                  |   13 +-
 151 files changed, 10294 insertions(+), 572 deletions(-)
 create mode 100644 gdb/common/i386-xstate.h
 create mode 100644 gdb/features/i386/32bit-avx.xml
 create mode 100644 gdb/features/i386/64bit-avx.xml
 create mode 100644 gdb/features/i386/amd64-avx-linux.c
 create mode 100644 gdb/features/i386/amd64-avx-linux.xml
 create mode 100644 gdb/features/i386/amd64-avx.c
 create mode 100644 gdb/features/i386/amd64-avx.xml
 create mode 100644 gdb/features/i386/i386-avx-linux.c
 create mode 100644 gdb/features/i386/i386-avx-linux.xml
 create mode 100644 gdb/features/i386/i386-avx.c
 create mode 100644 gdb/features/i386/i386-avx.xml
 create mode 100644 gdb/features/i386/i386-mmx-linux.c
 create mode 100644 gdb/features/i386/i386-mmx-linux.xml
 create mode 100644 gdb/features/i386/i386-mmx.c
 create mode 100644 gdb/features/i386/i386-mmx.xml
 create mode 100644 gdb/gdbserver/tracepoint.c
 create mode 100644 gdb/python/py-breakpoint.c
 create mode 100644 gdb/regformats/i386/amd64-avx-linux.dat
 create mode 100644 gdb/regformats/i386/amd64-avx.dat
 create mode 100644 gdb/regformats/i386/i386-avx-linux.dat
 create mode 100644 gdb/regformats/i386/i386-avx.dat
 create mode 100644 gdb/regformats/i386/i386-mmx-linux.dat
 create mode 100644 gdb/regformats/i386/i386-mmx.dat
 create mode 100644 gdb/testsuite/gdb.arch/i386-avx.c
 create mode 100644 gdb/testsuite/gdb.arch/i386-avx.exp
 copy gdb/testsuite/gdb.base/{source.exp => source-test.gdb} (57%)
 create mode 100644 gdb/testsuite/gdb.python/py-breakpoint.c
 create mode 100644 gdb/testsuite/gdb.python/py-breakpoint.exp

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index 027f923..cf51807 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2010-04-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Merge from gcc:
+	PR bootstrap/43615
+	PR bootstrap/43328
+	Revert:
+	2010-03-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+	* configure.ac: Do not pass --enable-multilib nor
+	--disable-multilib in baseargs.  Accept explicitly passed
+	--enable_multilib.
+	* configure: Regenerate.
+
 2010-03-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	PR bootstrap/43328
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index aa32144..55aeba2 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,45 @@
+2010-04-09  Nick Clifton  <nickc@redhat.com>
+
+	* aoutx.h (aout_link_input_bfd): Remove unused variable sym_count.
+	* elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Remove unused
+	variables htab and hdr_info and mark info parameter as unused.
+	* elf.c (prep_headers): Remove unused variable i_phdrp.
+	(_bfd_elf_write_object_contents): Remove unused variable i_ehdrp.
+	* elf32-i386.c (elf_i386_relocate_section): Mark variabled warned
+	as unused.
+	* peXXigen.c (pe_print_reloc): Remove unused variable datasize.
+	* verilog.c (verilog_write_section): Remove unused variable
+	address.
+
+2010-04-07  Alan Modra  <amodra@gmail.com>
+
+	* warning.m4 (GCC_WARN_CFLAGS): Only add -Wshadow for gcc-4 and above.
+	* configure: Regenerate.
+
+2010-04-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR ld/11434
+	* elf-bfd.h (SYMBOLIC_BIND): Don't bind unique symbol locally.
+
+2010-04-06  Tristan Gingold  <gingold@adacore.com>
+
+	* vms-lib.c (_bfd_vms_lib_write_archive_contents): Fix idd flags.
+
+2010-04-05  Jakub Jelinek  <jakub@redhat.com>
+
+	* elf-eh-frame.c (_bfd_elf_parse_eh_frame): Handle CIE version 4
+	provided that it has the expected address size and zero segment
+	length.
+
+	* dwarf2.c (struct line_head): Add maximum_ops_per_insn field.
+	(struct line_info): Add op_index field, change end_sequence type to
+	unsigned char.
+	(new_line_sorts_after): For the same address compare op_index.
+	(add_line_info): Add op_index argument, store it into the structure.
+	(decode_line_info): Complain about unknown versions of .debug_line.
+	Initialize maximum_ops_per_insn.  Add op_index state register and
+	track it.
+
 2010-04-01  Nathan Sidwell  <nathan@codesourcery.com>
 
 	* elf32-ppc.c (apuinfo_set): New static var.
diff --git a/bfd/aoutx.h b/bfd/aoutx.h
index 7488256..c3366b6 100644
--- a/bfd/aoutx.h
+++ b/bfd/aoutx.h
@@ -1,6 +1,6 @@
 /* BFD semi-generic back-end for a.out binaries.
    Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
+   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
    Free Software Foundation, Inc.
    Written by Cygnus Support.
 
@@ -5233,8 +5233,6 @@ aout_link_write_symbols (struct aout_final_link_info *finfo, bfd *input_bfd)
 static bfd_boolean
 aout_link_input_bfd (struct aout_final_link_info *finfo, bfd *input_bfd)
 {
-  bfd_size_type sym_count;
-
   BFD_ASSERT (bfd_get_format (input_bfd) == bfd_object);
 
   /* If this is a dynamic object, it may need special handling.  */
@@ -5248,8 +5246,6 @@ aout_link_input_bfd (struct aout_final_link_info *finfo, bfd *input_bfd)
   if (! aout_get_external_symbols (input_bfd))
     return FALSE;
 
-  sym_count = obj_aout_external_sym_count (input_bfd);
-
   /* Write out the symbols and get a map of the new indices.  The map
      is placed into finfo->symbol_map.  */
   if (! aout_link_write_symbols (finfo, input_bfd))
diff --git a/bfd/configure b/bfd/configure
index 0f73da3..f4aba27 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -12128,7 +12128,19 @@ fi
 
 
 
-GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow"
+GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+__GNUC__
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+  $EGREP "^[0-3]$" >/dev/null 2>&1; then :
+
+else
+  GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wshadow"
+fi
+rm -f conftest*
+
 
 # Check whether --enable-werror was given.
 if test "${enable_werror+set}" = set; then :
@@ -12140,7 +12152,7 @@ if test "${enable_werror+set}" = set; then :
 fi
 
 
-# Enable -Wno-format by default when using gcc on mingw
+# Disable -Wformat by default when using gcc on mingw
 case "${host}" in
   *-*-mingw32*)
     if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c
index adc8314..11618c0 100644
--- a/bfd/dwarf2.c
+++ b/bfd/dwarf2.c
@@ -45,6 +45,7 @@ struct line_head
   unsigned short version;
   bfd_vma prologue_length;
   unsigned char minimum_instruction_length;
+  unsigned char maximum_ops_per_insn;
   unsigned char default_is_stmt;
   int line_base;
   unsigned char line_range;
@@ -928,7 +929,8 @@ struct line_info
   char *filename;
   unsigned int line;
   unsigned int column;
-  int end_sequence;		/* End of (sequential) code sequence.  */
+  unsigned char op_index;
+  unsigned char end_sequence;		/* End of (sequential) code sequence.  */
 };
 
 struct fileinfo
@@ -1002,7 +1004,9 @@ new_line_sorts_after (struct line_info *new_line, struct line_info *line)
 {
   return (new_line->address > line->address
 	  || (new_line->address == line->address
-	      && new_line->end_sequence < line->end_sequence));
+	      && (new_line->op_index > line->op_index
+		  || (new_line->op_index == line->op_index
+		      && new_line->end_sequence < line->end_sequence))));
 }
 
 
@@ -1014,6 +1018,7 @@ new_line_sorts_after (struct line_info *new_line, struct line_info *line)
 static bfd_boolean
 add_line_info (struct line_info_table *table,
 	       bfd_vma address,
+	       unsigned char op_index,
 	       char *filename,
 	       unsigned int line,
 	       unsigned int column,
@@ -1028,6 +1033,7 @@ add_line_info (struct line_info_table *table,
 
   /* Set member data of 'info'.  */
   info->address = address;
+  info->op_index = op_index;
   info->line = line;
   info->column = column;
   info->end_sequence = end_sequence;
@@ -1059,6 +1065,7 @@ add_line_info (struct line_info_table *table,
 
   if (seq
       && seq->last_line->address == address
+      && seq->last_line->op_index == op_index
       && seq->last_line->end_sequence == end_sequence)
     {
       /* We only keep the last entry with the same address and end
@@ -1254,6 +1261,11 @@ compare_sequences (const void* a, const void* b)
   if (seq1->last_line->address > seq2->last_line->address)
     return -1;
 
+  if (seq1->last_line->op_index < seq2->last_line->op_index)
+    return 1;
+  if (seq1->last_line->op_index > seq2->last_line->op_index)
+    return -1;
+
   return 0;
 }
 
@@ -1384,6 +1396,13 @@ decode_line_info (struct comp_unit *unit, struct dwarf2_debug *stash)
     }
   line_end = line_ptr + lh.total_length;
   lh.version = read_2_bytes (abfd, line_ptr);
+  if (lh.version < 2 || lh.version > 4)
+    {
+      (*_bfd_error_handler)
+	(_("Dwarf Error: Unhandled .debug_line version %d."), lh.version);
+      bfd_set_error (bfd_error_bad_value);
+      return NULL;
+    }
   line_ptr += 2;
   if (offset_size == 4)
     lh.prologue_length = read_4_bytes (abfd, line_ptr);
@@ -1392,6 +1411,20 @@ decode_line_info (struct comp_unit *unit, struct dwarf2_debug *stash)
   line_ptr += offset_size;
   lh.minimum_instruction_length = read_1_byte (abfd, line_ptr);
   line_ptr += 1;
+  if (lh.version >= 4)
+    {
+      lh.maximum_ops_per_insn = read_1_byte (abfd, line_ptr);
+      line_ptr += 1;
+    }
+  else
+    lh.maximum_ops_per_insn = 1;
+  if (lh.maximum_ops_per_insn == 0)
+    {
+      (*_bfd_error_handler)
+	(_("Dwarf Error: Invalid maximum operations per instruction."));
+      bfd_set_error (bfd_error_bad_value);
+      return NULL;
+    }
   lh.default_is_stmt = read_1_byte (abfd, line_ptr);
   line_ptr += 1;
   lh.line_base = read_1_signed_byte (abfd, line_ptr);
@@ -1472,6 +1505,7 @@ decode_line_info (struct comp_unit *unit, struct dwarf2_debug *stash)
     {
       /* State machine registers.  */
       bfd_vma address = 0;
+      unsigned char op_index = 0;
       char * filename = table->num_files ? concat_filename (table, 1) : NULL;
       unsigned int line = 1;
       unsigned int column = 0;
@@ -1495,11 +1529,21 @@ decode_line_info (struct comp_unit *unit, struct dwarf2_debug *stash)
 	    {
 	      /* Special operand.  */
 	      adj_opcode = op_code - lh.opcode_base;
-	      address += (adj_opcode / lh.line_range)
-		* lh.minimum_instruction_length;
+	      if (lh.maximum_ops_per_insn == 1)
+		address += (adj_opcode / lh.line_range)
+			   * lh.minimum_instruction_length;
+	      else
+		{
+		  address += ((op_index + (adj_opcode / lh.line_range))
+			      / lh.maximum_ops_per_insn)
+			     * lh.minimum_instruction_length;
+		  op_index = (op_index + (adj_opcode / lh.line_range))
+			     % lh.maximum_ops_per_insn;
+		}
 	      line += lh.line_base + (adj_opcode % lh.line_range);
 	      /* Append row to matrix using current values.  */
-	      if (!add_line_info (table, address, filename, line, column, 0))
+	      if (!add_line_info (table, address, op_index, filename,
+				  line, column, 0))
 		goto line_fail;
 	      if (address < low_pc)
 		low_pc = address;
@@ -1518,8 +1562,8 @@ decode_line_info (struct comp_unit *unit, struct dwarf2_debug *stash)
 		{
 		case DW_LNE_end_sequence:
 		  end_sequence = 1;
-		  if (!add_line_info (table, address, filename, line, column,
-				      end_sequence))
+		  if (!add_line_info (table, address, op_index, filename,
+				      line, column, end_sequence))
 		    goto line_fail;
 		  if (address < low_pc)
 		    low_pc = address;
@@ -1530,6 +1574,7 @@ decode_line_info (struct comp_unit *unit, struct dwarf2_debug *stash)
 		  break;
 		case DW_LNE_set_address:
 		  address = read_address (unit, line_ptr);
+		  op_index = 0;
 		  line_ptr += unit->addr_size;
 		  break;
 		case DW_LNE_define_file:
@@ -1572,7 +1617,8 @@ decode_line_info (struct comp_unit *unit, struct dwarf2_debug *stash)
 		}
 	      break;
 	    case DW_LNS_copy:
-	      if (!add_line_info (table, address, filename, line, column, 0))
+	      if (!add_line_info (table, address, op_index,
+				  filename, line, column, 0))
 		goto line_fail;
 	      if (address < low_pc)
 		low_pc = address;
@@ -1580,8 +1626,18 @@ decode_line_info (struct comp_unit *unit, struct dwarf2_debug *stash)
 		high_pc = address;
 	      break;
 	    case DW_LNS_advance_pc:
-	      address += lh.minimum_instruction_length
-		* read_unsigned_leb128 (abfd, line_ptr, &bytes_read);
+	      if (lh.maximum_ops_per_insn == 1)
+		address += lh.minimum_instruction_length
+			   * read_unsigned_leb128 (abfd, line_ptr,
+						   &bytes_read);
+	      else
+		{
+		  bfd_vma adjust = read_unsigned_leb128 (abfd, line_ptr,
+							 &bytes_read);
+		  address = ((op_index + adjust) / lh.maximum_ops_per_insn)
+			    * lh.minimum_instruction_length;
+		  op_index = (op_index + adjust) % lh.maximum_ops_per_insn;
+		}
 	      line_ptr += bytes_read;
 	      break;
 	    case DW_LNS_advance_line:
@@ -1611,11 +1667,20 @@ decode_line_info (struct comp_unit *unit, struct dwarf2_debug *stash)
 	    case DW_LNS_set_basic_block:
 	      break;
 	    case DW_LNS_const_add_pc:
-	      address += lh.minimum_instruction_length
-		      * ((255 - lh.opcode_base) / lh.line_range);
+	      if (lh.maximum_ops_per_insn == 1)
+		address += lh.minimum_instruction_length
+			   * ((255 - lh.opcode_base) / lh.line_range);
+	      else
+		{
+		  bfd_vma adjust = ((255 - lh.opcode_base) / lh.line_range);
+		  address += lh.minimum_instruction_length
+			     * ((op_index + adjust) / lh.maximum_ops_per_insn);
+		  op_index = (op_index + adjust) % lh.maximum_ops_per_insn;
+		}
 	      break;
 	    case DW_LNS_fixed_advance_pc:
 	      address += read_2_bytes (abfd, line_ptr);
+	      op_index = 0;
 	      line_ptr += 2;
 	      break;
 	    default:
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index 74348d3..05e17c8 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -2328,8 +2328,9 @@ extern asection _bfd_elf_large_com_section;
   while (0)
 
 /* Will a symbol be bound to the the definition within the shared
-   library, if any.  */
+   library, if any.  A unique symbol can never be bound locally.  */
 #define SYMBOLIC_BIND(INFO, H) \
-    ((INFO)->symbolic || ((INFO)->dynamic && !(H)->dynamic))
+    (!(H)->unique_global \
+     && ((INFO)->symbolic || ((INFO)->dynamic && !(H)->dynamic)))
 
 #endif /* _LIBELF_H_ */
diff --git a/bfd/elf-eh-frame.c b/bfd/elf-eh-frame.c
index 37c9255..8380ef8 100644
--- a/bfd/elf-eh-frame.c
+++ b/bfd/elf-eh-frame.c
@@ -1,5 +1,5 @@
 /* .eh_frame section optimization.
-   Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
+   Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
    Free Software Foundation, Inc.
    Written by Jakub Jelinek <jakub@redhat.com>.
 
@@ -636,7 +636,9 @@ _bfd_elf_parse_eh_frame (bfd *abfd, struct bfd_link_info *info,
 	  REQUIRE (read_byte (&buf, end, &cie->version));
 
 	  /* Cannot handle unknown versions.  */
-	  REQUIRE (cie->version == 1 || cie->version == 3);
+	  REQUIRE (cie->version == 1
+		   || cie->version == 3
+		   || cie->version == 4);
 	  REQUIRE (strlen ((char *) buf) < sizeof (cie->augmentation));
 
 	  strcpy (cie->augmentation, (char *) buf);
@@ -651,6 +653,13 @@ _bfd_elf_parse_eh_frame (bfd *abfd, struct bfd_link_info *info,
 	      REQUIRE (skip_bytes (&buf, end, ptr_size));
 	      SKIP_RELOCS (buf);
 	    }
+	  if (cie->version >= 4)
+	    {
+	      REQUIRE (buf + 1 < end);
+	      REQUIRE (buf[0] == ptr_size);
+	      REQUIRE (buf[1] == 0);
+	      buf += 2;
+	    }
 	  REQUIRE (read_uleb128 (&buf, end, &cie->code_align));
 	  REQUIRE (read_sleb128 (&buf, end, &cie->data_align));
 	  if (cie->version == 1)
@@ -1269,13 +1278,11 @@ _bfd_elf_maybe_strip_eh_frame_hdr (struct bfd_link_info *info)
 
 bfd_vma
 _bfd_elf_eh_frame_section_offset (bfd *output_bfd ATTRIBUTE_UNUSED,
-				  struct bfd_link_info *info,
+				  struct bfd_link_info *info ATTRIBUTE_UNUSED,
 				  asection *sec,
 				  bfd_vma offset)
 {
   struct eh_frame_sec_info *sec_info;
-  struct elf_link_hash_table *htab;
-  struct eh_frame_hdr_info *hdr_info;
   unsigned int lo, hi, mid;
 
   if (sec->sec_info_type != ELF_INFO_TYPE_EH_FRAME)
@@ -1285,9 +1292,6 @@ _bfd_elf_eh_frame_section_offset (bfd *output_bfd ATTRIBUTE_UNUSED,
   if (offset >= sec->rawsize)
     return offset - sec->rawsize + sec->size;
 
-  htab = elf_hash_table (info);
-  hdr_info = &htab->eh_info;
-
   lo = 0;
   hi = sec_info->count;
   mid = 0;
diff --git a/bfd/elf.c b/bfd/elf.c
index cee9b7a..8f8bd61 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -1062,7 +1062,6 @@ _bfd_elf_copy_private_bfd_data (bfd *ibfd, bfd *obfd)
 
   /* Copy object attributes.  */
   _bfd_elf_copy_obj_attributes (ibfd, obfd);
-
   return TRUE;
 }
 
@@ -4872,8 +4871,7 @@ assign_file_positions_except_relocs (bfd *abfd,
 static bfd_boolean
 prep_headers (bfd *abfd)
 {
-  Elf_Internal_Ehdr *i_ehdrp;	/* Elf file header, internal form */
-  Elf_Internal_Phdr *i_phdrp = 0; /* Program header table, internal form */
+  Elf_Internal_Ehdr *i_ehdrp;	/* Elf file header, internal form.  */
   struct elf_strtab_hash *shstrtab;
   const struct elf_backend_data *bed = get_elf_backend_data (abfd);
 
@@ -4941,7 +4939,6 @@ prep_headers (bfd *abfd)
   else
     {
       i_ehdrp->e_phentsize = 0;
-      i_phdrp = 0;
       i_ehdrp->e_phoff = 0;
     }
 
@@ -4989,7 +4986,6 @@ bfd_boolean
 _bfd_elf_write_object_contents (bfd *abfd)
 {
   const struct elf_backend_data *bed = get_elf_backend_data (abfd);
-  Elf_Internal_Ehdr *i_ehdrp;
   Elf_Internal_Shdr **i_shdrp;
   bfd_boolean failed;
   unsigned int count, num_sec;
@@ -4999,7 +4995,6 @@ _bfd_elf_write_object_contents (bfd *abfd)
     return FALSE;
 
   i_shdrp = elf_elfsections (abfd);
-  i_ehdrp = elf_elfheader (abfd);
 
   failed = FALSE;
   bfd_map_over_sections (abfd, bed->s->write_relocs, &failed);
diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c
index 6872072..395a6bb 100644
--- a/bfd/elf32-i386.c
+++ b/bfd/elf32-i386.c
@@ -2946,7 +2946,7 @@ elf_i386_relocate_section (bfd *output_bfd,
 	}
       else
 	{
-	  bfd_boolean warned;
+	  bfd_boolean warned ATTRIBUTE_UNUSED;
 
 	  RELOC_FOR_GLOBAL_SYMBOL (info, input_bfd, input_section, rel,
 				   r_symndx, symtab_hdr, sym_hashes,
diff --git a/bfd/peXXigen.c b/bfd/peXXigen.c
index 8f56f21..f977467 100644
--- a/bfd/peXXigen.c
+++ b/bfd/peXXigen.c
@@ -1,6 +1,6 @@
 /* Support for the generic parts of PE/PEI; the common executable parts.
    Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-   2005, 2006, 2007, 2008, 2009  Free Software Foundation, Inc.
+   2005, 2006, 2007, 2008, 2009, 2010  Free Software Foundation, Inc.
    Written by Cygnus Solutions.
 
    This file is part of BFD, the Binary File Descriptor library.
@@ -1922,7 +1922,6 @@ pe_print_reloc (bfd * abfd, void * vfile)
   FILE *file = (FILE *) vfile;
   bfd_byte *data = 0;
   asection *section = bfd_get_section_by_name (abfd, ".reloc");
-  bfd_size_type datasize;
   bfd_size_type i;
   bfd_size_type start, stop;
 


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-05-17 18:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-17  1:43 [SCM] archer-jankratochvil-bpstat_what: Merge remote branch 'origin/master' into archer-jankratochvil-bpstat_what jkratoch
  -- strict thread matches above, loose matches on Subject: below --
2010-05-17 18:23 jkratoch
2010-05-03 13:51 jkratoch
2010-05-03  8:50 jkratoch
2010-05-02 23:22 jkratoch
2010-05-02 20:49 jkratoch
2010-04-09 20:41 jkratoch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).