public inbox for archer-commits@sourceware.org help / color / mirror / Atom feed
From: jkratoch@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] master: Merge remote branch 'gdb/master' Date: Sun, 28 Nov 2010 05:41:00 -0000 [thread overview] Message-ID: <20101128054137.15501.qmail@sourceware.org> (raw) The branch, master has been updated via c1ba9992999df7398c4ecd1b5c5fd2744a94b698 (commit) via 6b6d9dcf6b372f1621d66cfac6db16446db16cc4 (commit) via 093e1a0ee6293f32388b272727b72252d3b61434 (commit) via a620bea1c18806dbb70d4edfc53bf2780bdd3df4 (commit) via 35eab7192e80a85ccaabc3f0e69e818b211668dd (commit) via 991bb59f8b9ac560375ab4c88008f93a623658ef (commit) via 700fddc9194d10d401750892a591a40e931c0aca (commit) via 835fbceccdda29447944bbab66776d21c6d2d0cf (commit) via 2aba9ea677658117faded40e8f1c6fb330917ab9 (commit) via b8e1362dfeb4d6b60a43c94fd4aa8907e213e25b (commit) via accc40197410a941c8204c6df41567c16f0a33dc (commit) via 177ab22bbe9f6d7bb3ae7a9cba41e72ea9ea6c93 (commit) via 71fc13a56b65aea77ee1317df8ac83a5b86f55b8 (commit) via f09e6dcfbbda0f7246fbf3a810e24887d1e568f0 (commit) via 6f8883e65614cae34cc7a9eb29fb9d3528c9cc85 (commit) via a24ff2e26f4da78f60bd5aa5b7f87df2fb11ca82 (commit) via c86ddad3a712a517ccdfbdb6c90cc03809e8b75b (commit) via 7adb23486304cc019107f471d8244af795b051bb (commit) via 89d9534b624f4f720b6220d2f9ab30edae799a82 (commit) via f7695626f4b7194ce9641c157f102c202b69925e (commit) via 39ce3341012e276568acbd9fdf3edd24adbb0908 (commit) via a313658be3a7cd02ace023336e5b3ea8a743aa7d (commit) via f9a30507f9f3627079c1780d91a3e1da89f6a9a7 (commit) via e2c83c617157ec06dc3e76751b39e013584b2dd4 (commit) via 5cf7563464e78052c620347f938ca42545c4cf9d (commit) via 16072ec1dd19fe5e5c617db032ba8753e0b2b386 (commit) via e055e88cae3798e2d6b0f8e701ca2e7146d92cc9 (commit) via 5f23ff1059b86f13a502e8bf7a4c3aab124dd3b0 (commit) via 593e09637f44612fe086029d32d8453ba75040b5 (commit) via b070b0107a8b4b5cb7fbacda9b7e3d089deec1e7 (commit) via e4af494a33d4e5f578c6c0750638a350c79df2a8 (commit) via 8b67714783a8b60c04a24d838cf6c50ddd60cf23 (commit) via c281b56cc2d7ea0605b7923173a78f035d38ffd4 (commit) via 3fc7d264201681748647d014da65d380d05c2dba (commit) via 39727e36ab29517fed8cb16ed0e2aaa79cb6f6f4 (commit) via 3e9577a3f26567026aa5586abf2bc27f0823f244 (commit) via 04e6c5faf49a7064d59f1a0f068aee524dd022bc (commit) via 11ac5e7119e50062f24458ad2797b25dbc4a93f6 (commit) via 972d3868050ac286a42db710a269a4629f554e6f (commit) via 64fc52e7842e462ad8a0366aa8302c2403f3d56b (commit) via cf9266e4aba69774199be4c1772f42ed3f71af28 (commit) via 583382853d3785b95f0f884613a9983d9d5976f0 (commit) via 040e6378851e55009a384a29e3e6fd30d0b21144 (commit) via 8644bcf4e1ea08fa10b8921abbb3e8967d618029 (commit) via e885e909e9fdf7e467f287f26d5937346e7be972 (commit) via b678aa61bbede33bffb21d1488c4865ea331b102 (commit) via 855894ae790aac1e57dfc1fe8518855c2477fb9a (commit) via 3d81451aabc6ef8a122269afdc1440d4661c1732 (commit) via d8d0d782ba2ecf92f27a8998d1e420598d42b22f (commit) via 23f09e1ff96133c8b9816cf74bca30c443b48275 (commit) via de2b84a059ad39ec7e20b946c21b57e4c01a88c7 (commit) via 615974baac8d724eabe2cfedfc3dd62699adee82 (commit) via 6c8a0aee8c8a7ca0d12f45dbd63028bce335f4b1 (commit) via 197ed1878baf51c6fe8d95491ad427676846fc79 (commit) via 8c45ad8c62da1ef803ce581fb9042235f7137c93 (commit) via bb90878e4562bd391465e507479b4fb213bd6af8 (commit) via 4603a5b5dc15bbffcc7812b67e0ad6351b700625 (commit) via 415f09bd7cb0725648e5466e37dd2d69ecdc0d25 (commit) via 2f5f9b1fcdf40195d6a61f1a65821ad4b1edbbc6 (commit) via 57a6cbb76ff935e121f9aa53a8990efaec1e7425 (commit) via 7a11e9bd3b139eb44ee7d42768e787ef8ca78fd3 (commit) via d1fc604b415ca3131317a756b367ea897e0429ba (commit) via 13c4c9e3f9bc987f086d1915f390463cb0cb2694 (commit) via 91744bbf499d9ba21d1b37c4b1f579466025c120 (commit) via 9f2350f5bdd0bb74d9cf5bbca93bb8c629de0563 (commit) via 346b48e584fe2f29eb42a911b7a1f75b78de76b5 (commit) via 3bdfa178f9adcd5c17982beabd2ce29bb95ac406 (commit) via 9fddf5efe24f5845290b57e9f5d7c6fc18cccfc8 (commit) via b8a1b776cab8fae3c84fb81b9612be3551d40528 (commit) via 18d38d40f28cb3f1c8b8c8c06c34686ebcbbfb03 (commit) via 9ab5dfcc43387a69d321dc5bb7164458d70343cf (commit) via 9616aab5db4d77f873cf23e2cbc3202aa70b13a9 (commit) via c4428a8156c05d6d4fba4b320b1d189e3ee2f51b (commit) via 062bf169ea520e1df44d8be481d20980a6434688 (commit) via f1be2183671500f038d5b2f306cb679f8ed40edc (commit) via 9111ab394243391043003312d4ffabcb32d6d9b0 (commit) via 91ae9167fecccf168d504c0d392a12fd20b55e24 (commit) via 4ea975cacd5fc8294f794ffe0efd3a7dcd096a5f (commit) via 10577ce572a9daca27e01b18989adf11fa311d16 (commit) via b34773ff57ea50fb048666b5c5911ceff63ffe2e (commit) via 4a90afa09837546b165e96237eb1aec193d3af1f (commit) via 027ba3cf6c89accc0b4cf2a3e879d2deb2d86d57 (commit) via a9844f83c0d32f1c7cdb4b1b391ce1931f5df31c (commit) via 7850396a466baacc66a0bea032a62e3292d1f45c (commit) via b2055d0efdde2d42d0e225b8b1cf3a83bde37909 (commit) via 92d8796f2aa0ca266ee6f1712ff36114812a68bb (commit) via 3058f5862f1d4cd76f4274e94f0f6167753458ec (commit) via 03fe07839e8255e7d8b167503de6098487fd8209 (commit) via d19aa4cdcb58fcd413e52b13f2ef8d2a10f2ca07 (commit) via 013fb3f4708bfd4abaa7d23ed7d4686e8d2b0951 (commit) via 8cc0c2627794bae027ad150b788e54a589418414 (commit) via a76ad177c4b4612438364ac4f469c2ef956b3ed8 (commit) via 2ed409cb3f9525381b01e66193036f0cebe9b241 (commit) via 6db9963f5b0883efe02478fa1bfec4c1fd2fcadf (commit) via 187ef33d1d9eeb5f5f1ba2c0477251d5ec4c2767 (commit) via 8e903e74ea8b8a39cb8f99dd784a95619bdb0ae6 (commit) via fa5655a7be2021f47987cd41832e24f509cb22f2 (commit) from fe12b092e5f0085281ce09e94c541ea2eeb8e4e4 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit c1ba9992999df7398c4ecd1b5c5fd2744a94b698 Merge: fe12b09 6b6d9dc Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Sun Nov 28 06:39:55 2010 +0100 Merge remote branch 'gdb/master' commit 6b6d9dcf6b372f1621d66cfac6db16446db16cc4 Author: gdbadmin <gdbadmin@sourceware.org> Date: Sun Nov 28 00:00:02 2010 +0000 *** empty log message *** commit 093e1a0ee6293f32388b272727b72252d3b61434 Author: Alan Modra <amodra@bigpond.net.au> Date: Sat Nov 27 23:00:05 2010 +0000 daily update commit a620bea1c18806dbb70d4edfc53bf2780bdd3df4 Author: Eric Botcazou <ebotcazou@libertysurf.fr> Date: Sat Nov 27 15:55:17 2010 +0000 * bootstrap-lto.mk (BOOT_ADAFLAGS): Delete. commit 35eab7192e80a85ccaabc3f0e69e818b211668dd Author: gdbadmin <gdbadmin@sourceware.org> Date: Sat Nov 27 00:00:02 2010 +0000 *** empty log message *** commit 991bb59f8b9ac560375ab4c88008f93a623658ef Author: Alan Modra <amodra@bigpond.net.au> Date: Fri Nov 26 23:00:05 2010 +0000 daily update commit 700fddc9194d10d401750892a591a40e931c0aca Author: Alexandre Oliva <aoliva@redhat.com> Date: Fri Nov 26 04:56:38 2010 +0000 PR other/46020 * configure.ac (CXX_FOR_TARGET): Add -funconfigured-libstdc++-v3. * Makefile.def (CXX_FOR_TARGET): Removed from flags_to_pass. * Makefile.tpl (CXX_FOR_TARGET_FLAG_TO_PASS): New. (BASE_FLAGS_TO_PASS): Use it. * configure: Rebuilt. * Makefile.in: Rebuilt. commit 835fbceccdda29447944bbab66776d21c6d2d0cf Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Fri Nov 26 03:39:09 2010 +0000 gdb/ * infcall.c (struct inferior_thread_state) <siginfo_gdbarch>: Fix up the comment. (save_inferior_thread_state): Reset tp->stop_signal. commit 2aba9ea677658117faded40e8f1c6fb330917ab9 Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Fri Nov 26 00:33:56 2010 +0000 Fix ChangeLog entry. commit b8e1362dfeb4d6b60a43c94fd4aa8907e213e25b Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Fri Nov 26 00:30:31 2010 +0000 gdb/ * infcall.c (caller_state_cleanup): Remove variable caller_state_cleanup. commit accc40197410a941c8204c6df41567c16f0a33dc Author: gdbadmin <gdbadmin@sourceware.org> Date: Fri Nov 26 00:00:03 2010 +0000 *** empty log message *** commit 177ab22bbe9f6d7bb3ae7a9cba41e72ea9ea6c93 Author: Marc Khouzam <marc.khouzam@ericsson.com> Date: Thu Nov 25 23:17:30 2010 +0000 2010-11-25 Marc Khouzam <marc.khouzam@ericsson.com> PR breakpoints/12217 * breakpoint.c (is_marker_spec): Check for NULL. commit 71fc13a56b65aea77ee1317df8ac83a5b86f55b8 Author: Alan Modra <amodra@bigpond.net.au> Date: Thu Nov 25 23:00:05 2010 +0000 daily update commit f09e6dcfbbda0f7246fbf3a810e24887d1e568f0 Author: Pedro Alves <pedro@codesourcery.com> Date: Thu Nov 25 13:10:04 2010 +0000 * breakpoint.h: No longer include python.h or python-internal.h. (struct breakpoint_object): Forward declare. * defs.h (PyObject) [!HAVE_PYTHON]: Don't define. * varobj.c (PyObject) [!HAVE_PYTHON]: Define. * python/py-breakpoint.c (build_bp_list): Cast py_bp_object to PyObject pointer. (gdbpy_breakpoint_created): Remove casts around py_bp_object accesses. commit 6f8883e65614cae34cc7a9eb29fb9d3528c9cc85 Author: Pedro Alves <pedro@codesourcery.com> Date: Thu Nov 25 13:10:04 2010 +0000 * breakpoint.h: No longer include python.h or python-internal.h. (struct breakpoint_object): Forward declare. * defs.h (PyObject) [!HAVE_PYTHON]: Don't define. * varobj.c (PyObject) [!HAVE_PYTHON]: Define. * python/py-breakpoint.c (build_bp_list): Cast py_bp_object to PyObject pointer. (gdbpy_breakpoint_created): Remove casts around py_bp_object accesses. commit a24ff2e26f4da78f60bd5aa5b7f87df2fb11ca82 Author: Andreas Krebbel <Andreas.Krebbel@de.ibm.com> Date: Thu Nov 25 09:33:50 2010 +0000 2010-11-25 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * config/tc-s390.c (current_cpu): Initialize with latest CPU. (init_default_arch): Default to z/Architecture mode if CPU provides it. Remove the check setting the CPU default. 2010-11-25 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * opcode/s390.h (enum s390_opcode_cpu_val): Add S390_OPCODE_MAXCPU. commit c86ddad3a712a517ccdfbdb6c90cc03809e8b75b Author: Andreas Krebbel <Andreas.Krebbel@de.ibm.com> Date: Thu Nov 25 09:33:50 2010 +0000 2010-11-25 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * config/tc-s390.c (current_cpu): Initialize with latest CPU. (init_default_arch): Default to z/Architecture mode if CPU provides it. Remove the check setting the CPU default. 2010-11-25 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * opcode/s390.h (enum s390_opcode_cpu_val): Add S390_OPCODE_MAXCPU. commit 7adb23486304cc019107f471d8244af795b051bb Author: Alan Modra <amodra@bigpond.net.au> Date: Thu Nov 25 06:08:42 2010 +0000 Update translations commit 89d9534b624f4f720b6220d2f9ab30edae799a82 Author: Alan Modra <amodra@bigpond.net.au> Date: Thu Nov 25 06:08:42 2010 +0000 Update translations commit f7695626f4b7194ce9641c157f102c202b69925e Author: Joel Brobecker <brobecker@gnat.com> Date: Thu Nov 25 01:06:29 2010 +0000 Add rs6000-core.c/.o to the list of optional backend files... This makes sure that rs6000-core.c gets recompiled whenever any of its dependencies get changed. bfd/ChangeLog: * Makefile.am (OPTIONAL_BACKENDS): Add rs6000-core.lo. (OPTIONAL_BACKENDS_CFILES): Add rs6000-core.c. * Makefile.in: Regenerate. commit 39ce3341012e276568acbd9fdf3edd24adbb0908 Author: Joel Brobecker <brobecker@gnat.com> Date: Thu Nov 25 00:23:38 2010 +0000 Build failure on ppc-aix (bfd_elf_get_obj_attr_int is undefined) bfd_uses_spe_extensions should only be used when BFD has been built with ELF support. The typical way of checking that in GDB is to use the HAVE_ELF macro. gdb/ChangeLog: * rs6000-tdep.c (bfd_uses_spe_extensions): Use bfd_elf_get_obj_attr_int only if HAVE_ELF is defined. commit a313658be3a7cd02ace023336e5b3ea8a743aa7d Author: gdbadmin <gdbadmin@sourceware.org> Date: Thu Nov 25 00:00:33 2010 +0000 *** empty log message *** commit f9a30507f9f3627079c1780d91a3e1da89f6a9a7 Author: Alan Modra <amodra@bigpond.net.au> Date: Wed Nov 24 23:00:04 2010 +0000 daily update commit e2c83c617157ec06dc3e76751b39e013584b2dd4 Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Wed Nov 24 19:08:30 2010 +0000 gdb/ Code cleanup. * infrun.c (struct inferior_status) <stepping_over_breakpoint> (save_inferior_status) <stepping_over_breakpoint> (restore_inferior_status) <stepping_over_breakpoint>: Rename to trap_expected. (struct inferior_status) <step_resume_break_address>: Remove. commit 5cf7563464e78052c620347f938ca42545c4cf9d Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Wed Nov 24 19:05:45 2010 +0000 gdb/ * infrun.c (struct inferior_status, save_inferior_status) (restore_inferior_status): Group and reorder the fields, comment their groups. commit 16072ec1dd19fe5e5c617db032ba8753e0b2b386 Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Wed Nov 24 19:01:49 2010 +0000 gdb/ Code cleanup. * dictionary.c (struct dict_vector) <iter_match_first, iter_match_next> (iter_match_first_hashed, iter_match_next_hashed) (iter_match_first_linear, iter_match_next_linear) (dict_iter_match_first, dict_iter_match_next, iter_match_first_hashed) (iter_match_next_hashed, iter_match_first_linear) (iter_match_next_linear): Use symbol_compare_ftype. * dictionary.h: Include symfile.h. (dict_iter_match_first, dict_iter_match_next): Use symbol_compare_ftype. * dwarf2read.c (dw2_map_matching_symbols): Likewise. * psymtab.c (match_partial_symbol, match_partial_symbol, map_block) (map_matching_symbols_psymtab): Likewise. * symfile.h (symbol_compare_ftype): New typedef. (struct quick_symbol_functions) <map_matching_symbols): Use symbol_compare_ftype. commit e055e88cae3798e2d6b0f8e701ca2e7146d92cc9 Author: Thiago Jung Bauermann <bauerman@br.ibm.com> Date: Wed Nov 24 18:06:17 2010 +0000 2010-11-24 Edjunior Machado <emachado@br.ibm.com> * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro. commit 5f23ff1059b86f13a502e8bf7a4c3aab124dd3b0 Author: Thiago Jung Bauermann <bauerman@br.ibm.com> Date: Wed Nov 24 17:57:30 2010 +0000 2010-11-24 Edjunior Machado <emachado@br.ibm.com> * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.' on ppc64's symbols; "finish" and "return" commands must accept to show the caller line again as well as the line after. * gdb.asm/powerpc64.inc: New file. commit 593e09637f44612fe086029d32d8453ba75040b5 Author: gdbadmin <gdbadmin@sourceware.org> Date: Wed Nov 24 00:00:33 2010 +0000 *** empty log message *** commit b070b0107a8b4b5cb7fbacda9b7e3d089deec1e7 Author: Alan Modra <amodra@bigpond.net.au> Date: Tue Nov 23 23:30:03 2010 +0000 PR ld/12253 * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Correct DW_EH_PE_datarel handling. Truncate .eh_frame_hdr address to ptr_size. commit e4af494a33d4e5f578c6c0750638a350c79df2a8 Author: Alan Modra <amodra@bigpond.net.au> Date: Tue Nov 23 23:00:04 2010 +0000 daily update commit 8b67714783a8b60c04a24d838cf6c50ddd60cf23 Author: Doug Evans <dje@google.com> Date: Tue Nov 23 22:25:36 2010 +0000 * lib/gdb.exp (gdb_test_sequence): New function. (gdb_expect_list): Add verbose -log call for each pattern. * gdb.base/signals.exp (test_handle_all_print): Call it. Reduce timeout increment from 6 minutes to 1 minute. * gdb.server/ext-run.exp: Call it. commit c281b56cc2d7ea0605b7923173a78f035d38ffd4 Author: Richard Sandiford <rsandifo@nildram.co.uk> Date: Tue Nov 23 20:24:32 2010 +0000 include/opcode/ * mips.h: Fix previous commit. commit 3fc7d264201681748647d014da65d380d05c2dba Author: H.J. Lu <hjl.tools@gmail.com> Date: Tue Nov 23 18:10:12 2010 +0000 Properly check default linker. 2010-11-23 H.J. Lu <hongjiu.lu@intel.com> PR binutils/12258 * configure.ac: Correct comments for --enable-gold/--enable-ld. Properly check default linker. * configure: Regnerated. commit 39727e36ab29517fed8cb16ed0e2aaa79cb6f6f4 Author: Nick Clifton <nickc@redhat.com> Date: Tue Nov 23 17:04:11 2010 +0000 * mips.h (INSN_CHIP_MASK): Update according to INSN_LOONGSON_3A. (INSN_LOONGSON_3A): Clear bit 31. * elfxx-mips.c (mips_set_isa_flags): Move bfd_mach_loongson_3a after bfd_mach_mips_sb1. * config/tc-mips.c (mips_cpu_info_table): Move loongson3a after sb1. commit 3e9577a3f26567026aa5586abf2bc27f0823f244 Author: Tom Tromey <tromey@redhat.com> Date: Tue Nov 23 14:39:14 2010 +0000 gdb * configure: Rebuild. * configure.ac (READLINE_TEXI_INCFLAG): New subst. gdb/doc * gdb.texinfo (Top): Check SYSTEM_READLINE. (Editing): Likewise. (Command History): Likewise. (TUI Keys): Likewise. (Bug Reporting): Conditionally include rluser.texi and inc-history.texinfo. * Makefile.in (READLINE_TEXI_INCFLAG): New variable. (GDB_DOC_SOURCE_INCLUDES): Add comment. (GDBvn.texi): Set SYSTEM_READLINE when appropriate. (gdb.dvi): Use READLINE_TEXI_INCFLAG. (gdb.pdf): Likewise. (gdb.info): Likewise. (gdb/index.html): Likewise. commit 04e6c5faf49a7064d59f1a0f068aee524dd022bc Author: Tom Tromey <tromey@redhat.com> Date: Tue Nov 23 14:37:15 2010 +0000 gdb * Makefile.in (SUBDIRS): Add doc. * configure: Rebuild. * configure.ac: Don't configure in doc. Create doc/Makefile. gdb/doc * Makefile.in (Makefile): Run ../config.status. (distclean): Update. * configure: Remove. * configure.ac: Remove. commit 11ac5e7119e50062f24458ad2797b25dbc4a93f6 Author: Nick Clifton <nickc@redhat.com> Date: Tue Nov 23 13:39:56 2010 +0000 * configure.ac: For --enable-gold, handle value `default' instead of `both*'. New configure option --{en,dis}able-ld. ld, gold/ * configure.ac: For --enable-gold, handle value `default' instead of `both*'. Always install ld as ld.gold, install as ld if gold is the default. commit 972d3868050ac286a42db710a269a4629f554e6f Author: pmuldoon <pmuldoon> Date: Tue Nov 23 13:33:21 2010 +0000 2010-11-23 Phil Muldoon <pmuldoon@redhat.com> PR python/12212 * python/py-inferior.c (find_thread_object): Check if PIDGET returns 0. 2010-11-23 Phil Muldoon <pmuldoon@redhat.com> PR python/12212 * gdb.python/python.exp: Check that selected_thread raises an error when no inferior is loaded. commit 64fc52e7842e462ad8a0366aa8302c2403f3d56b Author: Mike Frysinger <vapier@gentoo.org> Date: Tue Nov 23 02:48:54 2010 +0000 sim: profile: fix building with --disable-sim-profile When the sim is configured with profile support disabled, the build fails: ./../common/sim-profile.c: In function 'profile_option_handler': ./../common/sim-profile.c:337:6: warning: implicit declaration of function 'PROFILE_PC_FREQ' ./../common/sim-profile.c:337:6: error: lvalue required as left operand of assignment ./../common/sim-profile.c:351:6: warning: implicit declaration of function 'PROFILE_PC_NR_BUCKETS' ./../common/sim-profile.c:351:6: error: lvalue required as left operand of assignment ./../common/sim-profile.c:381:6: warning: implicit declaration of function 'PROFILE_PC_SHIFT' ./../common/sim-profile.c:381:6: error: lvalue required as left operand of assignment ./../common/sim-profile.c:405:8: warning: implicit declaration of function 'PROFILE_PC_START' ./../common/sim-profile.c:405:8: error: lvalue required as left operand of assignment ./../common/sim-profile.c:406:8: warning: implicit declaration of function 'PROFILE_PC_END' ./../common/sim-profile.c:406:8: error: lvalue required as left operand of assignment ./../common/sim-profile.c: In function 'profile_uninstall': ./../common/sim-profile.c:1299:7: warning: implicit declaration of function 'PROFILE_INSN_COUNT' ./../common/sim-profile.c:1299:37: warning: comparison between pointer and integer ./../common/sim-profile.c:1300:2: warning: passing argument 1 of 'zfree' makes pointer from integer without a cast ../common/sim-utils.h:30:6: note: expected 'void *' but argument is of type 'int' make[2]: *** [sim-profile.o] Error 1 So add some stubs similar to how some of the other subsystems are stubbed out so things build correctly. Signed-off-by: Mike Frysinger <vapier@gentoo.org> commit cf9266e4aba69774199be4c1772f42ed3f71af28 Author: Mike Frysinger <vapier@gentoo.org> Date: Tue Nov 23 02:45:28 2010 +0000 sim: cast away hw/device differences When building with device and hw support, the sim-core code generates a lot of build time warnings such as: ./../common/sim-core.c: In function 'sim_core_map_attach': ./../common/sim-core.c:198:7: warning: passing argument 1 of 'device_error' from incompatible pointer type ../common/sim-core.h:347:6: note: expected 'struct device *' but argument is of type 'struct hw *' ./../common/sim-core.c:235:7: warning: passing argument 1 of 'device_error' from incompatible pointer type ../common/sim-core.h:347:6: note: expected 'struct device *' but argument is of type 'struct hw *' In reality, these two structures get cast back and forth in the core code already and so are "compatible". So tweak the three functions that generate all of these warnings to include the casts automatically. I know this isn't exactly clean, but the current device/hw ifdef approach is full of landmines itself and I'm not entirely sure how to unscrew it. Signed-off-by: Mike Frysinger <vapier@gentoo.org> commit 583382853d3785b95f0f884613a9983d9d5976f0 Author: Joel Brobecker <brobecker@gnat.com> Date: Tue Nov 23 01:12:05 2010 +0000 Delete redundant variable in ada_template_to_fixed_record_type_1. gdb/ChangeLog: * ada-lang.c (ada_template_to_fixed_record_type_1): Delete bit_incr. commit 040e6378851e55009a384a29e3e6fd30d0b21144 Author: Joel Brobecker <brobecker@gnat.com> Date: Tue Nov 23 01:10:54 2010 +0000 [Ada] array pointers encoded as typedef to fat pointer A recent change in check_typedef caused the following regression, considering: type String_Access is access String; S1 : String_Access := null; Trying to print S1, we get: (gdb) print s1 $1 = (string) (null) The type name is wrong. We were expecting: (gdb) print s1 $1 = (string_bug.string_access) (null) The extensive comment in this patch explains how pointers to arrays are encoded when the array is a "fat pointer". What happened is that the change in check_typedef broke a type-equality test that we were performing. The test really was on the fringe, but it turns out that, for what we're doing, we're really only interested in the main-type portion of the type. The patch adjust the check accordingly. gdb/ChangeLog: * ada-lang.c (ada_to_fixed_type): Expand function documentation. Return the original type if the main type portions match rather than when the type themselves match. commit 8644bcf4e1ea08fa10b8921abbb3e8967d618029 Author: Joel Brobecker <brobecker@gnat.com> Date: Tue Nov 23 01:07:22 2010 +0000 GDB SEGV while trying to print uninitialize variant record We have a variant record whose value is defined as follow: type Discriminant_Record (Num1, Num2, Num3, Num4 : Natural) is record Field1 : My_Record_Array (1 .. Num2); Field2 : My_Record_Array (Num1 .. 10); Field3 : My_Record_Array (Num1 .. Num2); Field4 : My_Record_Array (Num3 .. Num2); Field5 : My_Record_Array (Num4 .. Num2); end record; Dire : Discriminant_Record (1, 7, 3, 0); However, we're trying to print "Dire" before it is elaborated. This is common if one breaks on a function and then starts doing "info locals" for instance. What happens is that GDB reads bogus values for fields Num1 to Num4, and deduces a bogus (ginormouos) size for component "Field1". The length is so large that it then later causes an overflow in the overall record length computation. Things go downhill from there, because length(field1) > length(record). So, when after we've fetched the value of the record based on the computed size, we crash trying to access unallocated memory when accessing field1... The first fix we can do is to check the size of the field against the maximum object size. If it exceeds that size, then we know the record will also exceed that size... gdb/ChangeLog: * ada-lang.c (ada_template_to_fixed_record_type_1): For dynamic fields, check the field size against the maximum object size. commit e885e909e9fdf7e467f287f26d5937346e7be972 Author: Joel Brobecker <brobecker@gnat.com> Date: Tue Nov 23 01:06:08 2010 +0000 support for mips-irix on-stack trampolines On mips-irix, the debugger has trouble stepping over the following line of code: S: Shape'Class := R; <<<<---- STOP here Here is what happens: (gdb) n warning: GDB can't find the start of the function at 0x7fff2bd8. GDB is unable to find the start of the function at 0x7fff2bd8 and thus can't determine the size of that function's stack frame. This means that GDB may be unable to access that stack frame, or the frames below it. This problem is most likely caused by an invalid program counter or stack pointer. However, if you think GDB should simply search farther back from 0x7fff2bd8 for code which looks like the beginning of a function, you can increase the range of the search using the `set heuristic-fence-post' command. 0x7fff2bd8 in ?? () The program does in fact jump to this code location, which is a trampoline located on the stack (there is an implicit call to a routine internally generated by the Ada expander). As it is on the stack, GDB is naturally unable to find the bounds of the current function, or any debugging information, and is thus unable to continue. This patch adds support for this sort of trampoline. gdb/ChangeLog: * mips-irix-tdep.c (mips_irix_n32_stack_tramp_frame_init): New function. (mips_irix_n32_stack_tramp_frame): New static global. (mips_irix_init_abi): Add mips_irix_n32_stack_tramp_frame to list of unwinder. commit b678aa61bbede33bffb21d1488c4865ea331b102 Author: Joel Brobecker <brobecker@gnat.com> Date: Tue Nov 23 01:04:53 2010 +0000 [Ada/tasks] Optimize ATCB lookups Type symbols that are used to decode the Ada task control block may be duplicated in any unit that uses a tasking feature; an Ada lookup of these symbols would collect all the duplicated instances and could provoke the load of a huge amount of debug symbols in the process. However, when decoding the task information, we are only interested in one instance; and we have the full name of the symbol anyway. So use a C lookup instead of an Ada lookup. 2010-11-05 Jerome Guitton <guitton@adacore.com> * ada-tasks.c (get_tcb_types_info): Use C lookups to get ATCB symbols. commit 855894ae790aac1e57dfc1fe8518855c2477fb9a Author: Joel Brobecker <brobecker@gnat.com> Date: Tue Nov 23 01:03:54 2010 +0000 infinite recursion with ada_check_typedef When trying to resolve an incomplete type, if there is no complete version of that type available, GDB can go in an infinite loop. This is because ada_check_typedef makes a recursive call to itself, in an attempt to make sure that the returned type is never a typedef. However, when no complete type is found, the current logic causes us to keep going indefinitely through the same path... This patch fixes the problem by performing the recursive call to ada_check_typedef only when a TYPE_CODE_TYPDEF layer needs to be stripped. gdb/ChangeLog: * ada-lang.c (ada_check_typedef): Call ada_check_typedef only if type1 is a typedef. commit 3d81451aabc6ef8a122269afdc1440d4661c1732 Author: Joel Brobecker <brobecker@gnat.com> Date: Tue Nov 23 01:01:22 2010 +0000 Add `_finalizer' to the list of known GNAT auxilary routines. This is a new routine that is being generated by the expander in the context of controlled types. This patch adds it to the list of such routines so that the debugger does not show it when selecting the first "user" frame (when switching tasks for instance). gdb/ChangeLog: * ada-lang.h (ADA_KNOWN_AUXILIARY_FUNCTION_NAME_PATTERNS): Add "_finalizer" to the list. commit d8d0d782ba2ecf92f27a8998d1e420598d42b22f Author: Joel Brobecker <brobecker@gnat.com> Date: Tue Nov 23 00:59:58 2010 +0000 Remove commented-out code in symfile.c This patch removes some code that has been `#if 0'-ed since at least 1999 or 2000... gdb/ChangeLog: * symfile.c: Remove all "#if 0"/"#endif" blocks. commit 23f09e1ff96133c8b9816cf74bca30c443b48275 Author: Joel Brobecker <brobecker@gnat.com> Date: Tue Nov 23 00:58:54 2010 +0000 symfile.c: Add missing second space after period. gdb/ChangeLog: * symfile.c: Add missing second space after period in various comments. commit de2b84a059ad39ec7e20b946c21b57e4c01a88c7 Author: Joel Brobecker <brobecker@gnat.com> Date: Tue Nov 23 00:58:03 2010 +0000 Minor comment reformatting in ada-typeprint.c gdb/ChangeLog: * ada-typeprint.c (print_array_type): Fix formatting in comment. (print_selected_record_field_types): Fix formatting in function documentation. commit 615974baac8d724eabe2cfedfc3dd62699adee82 Author: Joel Brobecker <brobecker@gnat.com> Date: Tue Nov 23 00:56:52 2010 +0000 copy/paste typo when registering the `show ravenscar' prefix command gdb/ChangeLog: * ravenscar-thread.c (_initialize_ravenscar): Fix copy/paste typo in name of "show ravenscar" prefix command name. commit 6c8a0aee8c8a7ca0d12f45dbd63028bce335f4b1 Author: Joel Brobecker <brobecker@gnat.com> Date: Tue Nov 23 00:55:50 2010 +0000 Add missing \n in `show ravenscar task-switching' output A new-line was missing at the end of the output of the `show ravenscar task-switching' command. For instance: (gdb) show ravenscar task-switching Support for Ravenscar task/thread switching is enabled(gdb) This patch fixes it. gdb/ChangeLog: * ravenscar-thread.c (show_ravenscar_task_switching_command): Add missing '\n' in output. commit 197ed1878baf51c6fe8d95491ad427676846fc79 Author: Joel Brobecker <brobecker@gnat.com> Date: Tue Nov 23 00:55:08 2010 +0000 [Ada/ravenscar] New name for active-thread symbol The GNAT Ravenscar implementation has recently been enhanced to allow programs using that runtime to run on multi-cpu systems. One of the changes that were made is that the name of the symbol we use to determine which task is the currently-running task has changed. This patch enhances the debugger to use the new name, and fallback on the old name if not found (this is for compatibility with older versions of the compiler/runtime). gdb/ChangeLog: * ravenscar-thread.c (running_thread_name): Change value. (read_thread_id): Remove advance declaration. (get_running_thread_msymbol): New function. (has_ravenscar_runtime): Use get_running_thread_msymbol to compute msym_running_thread. (get_running_thread_id): Renames read_thread_id. Slight modifications to not take any argument anymore, using get_running_thread_msymbol to determine which symbol to use instead. (ravenscar_running_thread): Use get_running_thread_id instead of read_thread_id. commit 8c45ad8c62da1ef803ce581fb9042235f7137c93 Author: Joel Brobecker <brobecker@gnat.com> Date: Tue Nov 23 00:34:41 2010 +0000 Move ChangeLog entry to the correct ChangeLog file. commit bb90878e4562bd391465e507479b4fb213bd6af8 Author: Joel Brobecker <brobecker@gnat.com> Date: Tue Nov 23 00:29:45 2010 +0000 ravenscar/sparc: cannot fetch registers from non-active thread gdb/ChangeLog: * ravenscar-sparc-thread.c (supply_register_at_address): Fix passing of buf in call to regcache_raw_supply. commit 4603a5b5dc15bbffcc7812b67e0ad6351b700625 Author: gdbadmin <gdbadmin@sourceware.org> Date: Tue Nov 23 00:00:03 2010 +0000 *** empty log message *** commit 415f09bd7cb0725648e5466e37dd2d69ecdc0d25 Author: Alan Modra <amodra@bigpond.net.au> Date: Mon Nov 22 23:00:05 2010 +0000 daily update commit 2f5f9b1fcdf40195d6a61f1a65821ad4b1edbbc6 Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Mon Nov 22 20:35:01 2010 +0000 gdb/ * dwarf2read.c (dwarf2_read_index): Ignore higher .gdb_index versions. commit 57a6cbb76ff935e121f9aa53a8990efaec1e7425 Author: Tom Tromey <tromey@redhat.com> Date: Mon Nov 22 20:30:56 2010 +0000 * Makefile.in (.PRECIOUS): Reference ada-lex.c. commit 7a11e9bd3b139eb44ee7d42768e787ef8ca78fd3 Author: gdbadmin <gdbadmin@sourceware.org> Date: Mon Nov 22 00:00:03 2010 +0000 *** empty log message *** commit d1fc604b415ca3131317a756b367ea897e0429ba Author: Alan Modra <amodra@bigpond.net.au> Date: Sun Nov 21 23:00:05 2010 +0000 daily update commit 13c4c9e3f9bc987f086d1915f390463cb0cb2694 Author: DJ Delorie <dj@delorie.com> Date: Sun Nov 21 04:01:17 2010 +0000 merge from gcc commit 91744bbf499d9ba21d1b37c4b1f579466025c120 Author: Ian Lance Taylor <ian@airs.com> Date: Sun Nov 21 01:56:29 2010 +0000 * configure.ac: Only disable a language library if no language needs it. Don't let --disable-libgcj uncondtionally disable libffi. * configure: Rebuild. Also moved ChangeLog entry to correct file. commit 9f2350f5bdd0bb74d9cf5bbca93bb8c629de0563 Author: gdbadmin <gdbadmin@sourceware.org> Date: Sun Nov 21 00:00:03 2010 +0000 *** empty log message *** commit 346b48e584fe2f29eb42a911b7a1f75b78de76b5 Author: Alan Modra <amodra@bigpond.net.au> Date: Sat Nov 20 23:00:08 2010 +0000 daily update commit 3bdfa178f9adcd5c17982beabd2ce29bb95ac406 Author: Paolo Bonzini <bonzini@gnu.org> Date: Sat Nov 20 20:31:09 2010 +0000 sync toplevel with gcc commit 9fddf5efe24f5845290b57e9f5d7c6fc18cccfc8 Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> Date: Sat Nov 20 19:37:54 2010 +0000 PR other/46202: implement install-strip. /: PR other/46202 * configure.ac: Fix just-built in-tree STRIP name to be binutils/strip-new. * configure: Regenerate. * Makefile.def (install-strip-gcc, install-strip-binutils) (install-strip-opcodes, install-strip-ld, install-strip-itcl) (install-strip-sid): Mirror dependencies on non-strip variants of these targets on the respective -strip prerequisites. * Makefile.tpl (install-strip, install-strip-host) (install-strip-target): New targets. (install-strip-[+module+], install-strip-target-[+module+]): New targets. * Makefile.in: Regenerate. etc/: * Makefile.in (install-strip): New target. libiberty/: PR other/46202 * Makefile.in (install-strip): New phony target. (install): Also mark as phony. commit b8a1b776cab8fae3c84fb81b9612be3551d40528 Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Sat Nov 20 01:53:04 2010 +0000 gdb/testsuite/ * gdb.dwarf2/dw2-stack-boundary.exp: New file. * gdb.dwarf2/dw2-stack-boundary.S: New file. commit 18d38d40f28cb3f1c8b8c8c06c34686ebcbbfb03 Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Sat Nov 20 01:49:17 2010 +0000 gdb/testsuite/ * gdb.dwarf2/dw2-ada-ffffffff.S: New file. * gdb.dwarf2/dw2-ada-ffffffff.exp: New file. commit 9ab5dfcc43387a69d321dc5bb7164458d70343cf Author: gdbadmin <gdbadmin@sourceware.org> Date: Sat Nov 20 00:00:03 2010 +0000 *** empty log message *** commit 9616aab5db4d77f873cf23e2cbc3202aa70b13a9 Author: Keith Seitz <keiths@redhat.com> Date: Fri Nov 19 23:36:28 2010 +0000 * data-directory/Makefile.in (SYSCALLS_INSTALL_DIR): Remove extraneous '/' after $(DESTDIR). (PYTHON_INSTALL_DIR): Likewise. commit c4428a8156c05d6d4fba4b320b1d189e3ee2f51b Author: Alan Modra <amodra@bigpond.net.au> Date: Fri Nov 19 23:00:05 2010 +0000 daily update commit 062bf169ea520e1df44d8be481d20980a6434688 Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Fri Nov 19 22:30:44 2010 +0000 gdb/ Fix stale memory references. * elfread.c (elf_symfile_read): Replace xmalloc by bfd_alloc, drop xfree, new comment. commit f1be2183671500f038d5b2f306cb679f8ed40edc Author: Ian Lance Taylor <ian@airs.com> Date: Fri Nov 19 22:06:26 2010 +0000 Merge from gcc top-level. ./: * configure.ac: Add target-libgo to target_libraries. Set and substitute GOC_FOR_BUILD and GOC_FOR_TARGET. * Makefile.tpl (BUILD_EXPORTS): Add GOC and GOCFLAGS. (HOST_EXPORTS): Add GOC. (BASE_TARGET_EXPORTS): Add GOC. (GOC_FOR_BUILD, GOCFLAGS, GOC_FOR_TARGET): New variables. (GOCFLAGS_FOR_TARGET): New variable. (EXTRA_HOST_FLAGS): Add GOC. (EXTRA_TARGET_FLAGS): Add GOC and GOCFLAGS. * Makefile.def (target_modules): Add libgo. (flags_to_pass): Add GOC_FOR_TARGET and GOCFLAGS_FOR_TARGET. (dependencies): Add dependency from configure-target-libgo to configure-target-libffi and all-target-libstdc++-v3. Add dependencies from all-target-libgo to all-target-libffi. (languages): Add go. * configure: Rebuild. * Makefile.in: Rebuild. * config-ml.in: Add Go support: treat GOC and GOCFLAGS like other compiler/flag environment variables. * configure.ac: Check for lang_requires_boot_languages in config-lang.in files. * configure: Rebuild. PR fortran/32049 * Makefile.def: Add libquadmath; build it with language=fortran. * configure.ac: Add libquadmath. * Makefile.tpl: Handle multiple libs in check-[+language+]. * Makefile.in: Regenerate. * configure: Regenerate. * configure.ac: Fix spelling in option names. * configure: Regenerated. PR bootstrap/39622 * configure.ac (FLAGS_FOR_TARGET): Add include-fixed path. * configure: Regenerated. * config/cloog.m4: Add -enable-cloog-backend=(isl|ppl|ppl-legacy) to define the cloog backend to use. Furthermore, only pass the ppllibs to the configure checks, if necessary. * configure: Regenerate. * config/cloog.m4: Use CLooG predefined macro to check for CLooG PPL. * configure: regenerate * config/cloog.m4: Fix typo. verison -> version. * configure: Regenerate. * config/cloog.m4: Pass ppl libraries to the CLooG version check. * configure: Regenerate. * configure.ac: Support official CLooG.org versions. * configure: Regenerate. * config/cloog.m4: New. * configure.ac (*-*-darwin*): Use mh-darwin for all Darwin variants. * configure: Regenerate. config/: * cloog.m4 (CLOOG_INIT_FLAGS): Fix spelling in option names. * bootstrap-lto: Use -flto. * mh-darwin: Renamed from mh-ppc-darwin. commit 9111ab394243391043003312d4ffabcb32d6d9b0 Author: Tom Tromey <tromey@redhat.com> Date: Fri Nov 19 18:10:43 2010 +0000 2010-11-19 Jan Kratochvil <jan.kratochvil@redhat.com> Tom Tromey <tromey@redhat.com> * Makefile.in (.y.c): Directly create $@ from YLWRAP. (.PHONY): Remove for .y outputs. commit 91ae9167fecccf168d504c0d392a12fd20b55e24 Author: Tom Tromey <tromey@redhat.com> Date: Fri Nov 19 16:35:09 2010 +0000 2010-11-19 Will Drewry <wad@google.com> Tavis Ormandy <taviso@google.com> Jan Kratochvil <jan.kratochvil@redhat.com> * dwarf2read.c (decode_locdesc): Enforce location description stack boundaries. commit 4ea975cacd5fc8294f794ffe0efd3a7dcd096a5f Author: gdbadmin <gdbadmin@sourceware.org> Date: Fri Nov 19 00:00:02 2010 +0000 *** empty log message *** commit 10577ce572a9daca27e01b18989adf11fa311d16 Author: Alan Modra <amodra@bigpond.net.au> Date: Thu Nov 18 23:00:05 2010 +0000 daily update commit b34773ff57ea50fb048666b5c5911ceff63ffe2e Author: Doug Evans <dje@google.com> Date: Thu Nov 18 20:25:12 2010 +0000 * gdb.server/ext-run.exp: Fix intermittent failures. commit 4a90afa09837546b165e96237eb1aec193d3af1f Author: Pierre Muller <muller@ics.u-strasbg.fr> Date: Thu Nov 18 16:38:14 2010 +0000 * arm-tdep.c (arm_in_function_epilogue_p): Fix code when "MOV SP" instruction is found. commit 027ba3cf6c89accc0b4cf2a3e879d2deb2d86d57 Author: gdbadmin <gdbadmin@sourceware.org> Date: Thu Nov 18 00:00:02 2010 +0000 *** empty log message *** commit a9844f83c0d32f1c7cdb4b1b391ce1931f5df31c Author: Alan Modra <amodra@bigpond.net.au> Date: Wed Nov 17 23:00:05 2010 +0000 daily update commit 7850396a466baacc66a0bea032a62e3292d1f45c Author: Tom Tromey <tromey@redhat.com> Date: Wed Nov 17 19:53:36 2010 +0000 * value.c (value_entirely_optimized_out): Check the 'check_any_valid' field. commit b2055d0efdde2d42d0e225b8b1cf3a83bde37909 Author: Mike Frysinger <vapier@gentoo.org> Date: Wed Nov 17 19:34:59 2010 +0000 start a gitignore commit 92d8796f2aa0ca266ee6f1712ff36114812a68bb Author: Tristan Gingold <gingold@adacore.com> Date: Wed Nov 17 11:32:53 2010 +0000 2010-11-17 Tristan Gingold <gingold@adacore.com> * vms-lib.c (vms_write_index): Add comments. Partially revert previous patch. Free blocks later. commit 3058f5862f1d4cd76f4274e94f0f6167753458ec Author: Nick Clifton <nickc@redhat.com> Date: Wed Nov 17 10:56:41 2010 +0000 PR ld/12161 * elf32-avr.c (elf32_avr_check_relocs): Delete. (elf_backend_check_relocs): Delete. commit 03fe07839e8255e7d8b167503de6098487fd8209 Author: Nick Clifton <nickc@redhat.com> Date: Wed Nov 17 09:32:42 2010 +0000 oops - acccidentally omitted from loongson 3a check-in. commit d19aa4cdcb58fcd413e52b13f2ef8d2a10f2ca07 Author: DJ Delorie <dj@delorie.com> Date: Wed Nov 17 02:03:35 2010 +0000 merge from gcc commit 013fb3f4708bfd4abaa7d23ed7d4686e8d2b0951 Author: gdbadmin <gdbadmin@sourceware.org> Date: Wed Nov 17 00:00:02 2010 +0000 *** empty log message *** commit 8cc0c2627794bae027ad150b788e54a589418414 Author: Alan Modra <amodra@bigpond.net.au> Date: Tue Nov 16 23:00:04 2010 +0000 daily update commit a76ad177c4b4612438364ac4f469c2ef956b3ed8 Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Tue Nov 16 22:13:02 2010 +0000 gdb/ * ada-lang.c (modify_general_field): Remove. (make_array_descriptor): Replace all modify_general_field calls by modify_field. * value.c (modify_field): Update comment. New variable bytesize. Normalize BITPOS. Initialize BYTESIZE, use it. commit 2ed409cb3f9525381b01e66193036f0cebe9b241 Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Tue Nov 16 22:04:51 2010 +0000 gdb/ * dwarf2read.c (dw2_forget_cached_source_info): Clear the FULL_NAMES elements after xfree. commit 6db9963f5b0883efe02478fa1bfec4c1fd2fcadf Author: Mike Frysinger <vapier@gentoo.org> Date: Tue Nov 16 19:10:29 2010 +0000 sim: dv-sockser: add a write buffer variant Rather than having to bang out chunks of data one byte at a time over the socket interface, add a write variant that accepts an arbitrarily long buffer. This speeds things up considerably when we have many chars to send out at once. Signed-off-by: Mike Frysinger <vapier@gentoo.org> commit 187ef33d1d9eeb5f5f1ba2c0477251d5ec4c2767 Author: H.J. Lu <hjl.tools@gmail.com> Date: Tue Nov 16 17:58:26 2010 +0000 Properly demangle a global constructor symbol. 2010-11-16 H.J. Lu <hongjiu.lu@intel.com> PR other/42670 PR binutils/11137 * cp-demangle.c (d_make_demangle_mangled_name): New. (d_demangle_callback): Use it on DCT_GLOBAL_XTORS. * testsuite/demangle-expected: Updated. commit 8e903e74ea8b8a39cb8f99dd784a95619bdb0ae6 Author: Tom Tromey <tromey@redhat.com> Date: Tue Nov 16 17:38:34 2010 +0000 * gdb-add-index.sh: Really remove. commit fa5655a7be2021f47987cd41832e24f509cb22f2 Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Tue Nov 16 04:36:24 2010 +0000 gdb/ Code cleanup. * dwarf2read.c (alloc_one_comp_unit): Rename prototype to ... (init_one_comp_unit): ... this one. (prepare_one_comp_unit): New prototype. (dw2_require_line_header, process_psymtab_comp_unit): Use init_one_comp_unit. (process_psymtab_comp_unit): Use prepare_one_comp_unit. (load_partial_comp_unit): Remove variable attr. Use init_one_comp_unit with xmalloc. Use prepare_one_comp_unit. (load_full_comp_unit): Use init_one_comp_unit with xmalloc. Use prepare_one_comp_unit. (read_signatured_type): Remove variable attr. Use init_one_comp_unit. Use prepare_one_comp_unit. (alloc_one_comp_unit): Rename to ... (init_one_comp_unit): ... here and remove there calloc, new parameter cu. (prepare_one_comp_unit): New function. ----------------------------------------------------------------------- Summary of changes: .gitignore | 40 + ChangeLog | 139 + Makefile.def | 19 +- Makefile.in | 2549 +++++++++++- Makefile.tpl | 93 +- bfd/ChangeLog | 39 +- bfd/Makefile.am | 2 + bfd/Makefile.in | 3 + bfd/cpu-mips.c | 2 + bfd/elf-eh-frame.c | 34 +- bfd/elf32-avr.c | 43 - bfd/elfxx-mips.c | 8 +- bfd/po/es.po | 3994 +++++++++++++----- bfd/po/fi.po | 4053 +++++++++++++----- bfd/po/fr.po | 3988 +++++++++++++----- bfd/po/ja.po | 4464 ++++++++++++++------ bfd/po/zh_CN.po | 2 +- bfd/version.h | 2 +- bfd/vms-lib.c | 40 +- config-ml.in | 18 +- config/ChangeLog | 38 + config/bootstrap-lto.mk | 7 +- config/cloog.m4 | 286 ++ config/{mh-ppc-darwin => mh-darwin} | 0 configure | 720 +++- configure.ac | 235 +- etc/ChangeLog | 4 + etc/Makefile.in | 2 +- gdb/ChangeLog | 248 ++ gdb/Makefile.in | 22 +- gdb/ada-lang.c | 127 +- gdb/ada-lang.h | 3 +- gdb/ada-tasks.c | 19 +- gdb/ada-typeprint.c | 7 +- gdb/arm-tdep.c | 2 +- gdb/breakpoint.c | 2 +- gdb/breakpoint.h | 8 +- gdb/configure | 11 +- gdb/configure.ac | 7 +- gdb/data-directory/Makefile.in | 4 +- gdb/defs.h | 4 - gdb/dictionary.c | 42 +- gdb/dictionary.h | 8 +- gdb/doc/ChangeLog | 23 + gdb/doc/Makefile.in | 21 +- gdb/doc/configure | 3064 -------------- gdb/doc/configure.ac | 9 - gdb/doc/gdb.texinfo | 44 +- gdb/dwarf2read.c | 116 +- gdb/elfread.c | 10 +- gdb/gdb-add-index.sh | 29 - gdb/infcall.c | 3 +- gdb/infrun.c | 78 +- gdb/mips-irix-tdep.c | 40 + gdb/psymtab.c | 19 +- gdb/python/py-breakpoint.c | 6 +- gdb/python/py-inferior.c | 3 + gdb/ravenscar-sparc-thread.c | 2 +- gdb/ravenscar-thread.c | 44 +- gdb/rs6000-tdep.c | 2 + gdb/symfile.c | 79 +- gdb/symfile.h | 10 +- gdb/testsuite/ChangeLog | 40 + gdb/testsuite/gdb.asm/asm-source.exp | 44 +- gdb/testsuite/gdb.asm/powerpc.inc | 6 +- .../gdb.asm/{powerpc.inc => powerpc64.inc} | 37 +- gdb/testsuite/gdb.base/signals.exp | 15 +- gdb/testsuite/gdb.dwarf2/dw2-ada-ffffffff.S | 55 + gdb/testsuite/gdb.dwarf2/dw2-ada-ffffffff.exp | 44 + gdb/testsuite/gdb.dwarf2/dw2-stack-boundary.S | 68 + gdb/testsuite/gdb.dwarf2/dw2-stack-boundary.exp | 52 + gdb/testsuite/gdb.python/python.exp | 5 + gdb/testsuite/gdb.server/ext-run.exp | 5 +- gdb/testsuite/lib/gdb.exp | 27 + gdb/value.c | 19 +- gdb/varobj.c | 2 + gdb/version.in | 2 +- include/ChangeLog | 9 + include/opcode/ChangeLog | 9 + include/opcode/mips.h | 4 +- include/opcode/s390.h | 3 +- include/simple-object.h | 13 +- libiberty/ChangeLog | 42 + libiberty/Makefile.in | 3 + libiberty/config.in | 6 +- libiberty/configure | 24 +- libiberty/configure.ac | 12 +- libiberty/cp-demangle.c | 16 +- libiberty/setproctitle.c | 4 +- libiberty/simple-object-coff.c | 15 +- libiberty/simple-object-common.h | 8 +- libiberty/simple-object-elf.c | 57 +- libiberty/simple-object-mach-o.c | 20 +- libiberty/simple-object.c | 13 +- libiberty/testsuite/demangle-expected | 4 +- opcodes/ChangeLog | 9 +- opcodes/po/es.po | 353 +- opcodes/po/fr.po | 351 +- opcodes/po/nl.po | 348 +- opcodes/po/zh_CN.po | 2 +- sim/common/ChangeLog | 17 + sim/common/dv-sockser.c | 15 +- sim/common/dv-sockser.h | 1 + sim/common/sim-core.c | 3 + sim/common/sim-profile.c | 10 + 105 files changed, 17910 insertions(+), 8822 deletions(-) create mode 100644 .gitignore create mode 100644 config/cloog.m4 rename config/{mh-ppc-darwin => mh-darwin} (100%) delete mode 100755 gdb/doc/configure delete mode 100644 gdb/doc/configure.ac delete mode 100755 gdb/gdb-add-index.sh copy gdb/testsuite/gdb.asm/{powerpc.inc => powerpc64.inc} (54%) create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-ada-ffffffff.S create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-ada-ffffffff.exp create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-stack-boundary.S create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-stack-boundary.exp First 500 lines of diff: diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..dc1bf3f --- /dev/null +++ b/.gitignore @@ -0,0 +1,40 @@ +*.diff +*.patch +*.orig +*.rej + +*~ +*.a +*.flt +*.gdb +*.gmo +*.info +*.la +*.lo +*.o +*.tmp + +.deps +.libs + +autom4te.cache +config.cache +config.h +config.intl +config.log +config.status +libtool +Makefile +stamp-* +POTFILES +*-POTFILES +*/po/Makefile.in + +.gdbinit +.gdb_history +core + +lost+found + +*.log +*.sum diff --git a/ChangeLog b/ChangeLog index f97c1ab..fbc94ed 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,147 @@ +2010-11-26 Alexandre Oliva <aoliva@redhat.com> + + PR other/46020 + * configure.ac (CXX_FOR_TARGET): Add -funconfigured-libstdc++-v3. + * Makefile.def (CXX_FOR_TARGET): Removed from flags_to_pass. + * Makefile.tpl (CXX_FOR_TARGET_FLAG_TO_PASS): New. + (BASE_FLAGS_TO_PASS): Use it. + * configure: Rebuilt. + * Makefile.in: Rebuilt. + +2010-11-23 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/12258 + * configure.ac: Correct comments for --enable-gold/--enable-ld. + Properly check default linker. + * configure: Regnerated. + +2010-11-23 Matthias Klose <doko@ubuntu.com> + + * configure.ac: For --enable-gold, handle value `default' instead of + `both*'. New configure option --{en,dis}able-ld. + * configure: Regenerate. + +2010-11-20 Ian Lance Taylor <iant@google.com> + + * configure.ac: Only disable a language library if no language needs + it. Don't let --disable-libgcj uncondtionally disable libffi. + * configure: Rebuild. + +2010-11-20 Paolo Bonzini <bonzini@gnu.org> + + * configure: Regenerate. + +2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + PR other/46202 + * configure.ac: Fix just-built in-tree STRIP name to be + binutils/strip-new. + * configure: Regenerate. + * Makefile.def (install-strip-gcc, install-strip-binutils) + (install-strip-opcodes, install-strip-ld, install-strip-itcl) + (install-strip-sid): Mirror dependencies on non-strip variants + of these targets on the respective -strip prerequisites. + * Makefile.tpl (install-strip, install-strip-host) + (install-strip-target): New targets. + (install-strip-[+module+], install-strip-target-[+module+]): + New targets. + * Makefile.in: Regenerate. + +2010-11-19 Ian Lance Taylor <iant@google.com> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * configure.ac: Add target-libgo to target_libraries. Set + and substitute GOC_FOR_BUILD and GOC_FOR_TARGET. + * Makefile.tpl (BUILD_EXPORTS): Add GOC and GOCFLAGS. + (HOST_EXPORTS): Add GOC. + (BASE_TARGET_EXPORTS): Add GOC. + (GOC_FOR_BUILD, GOCFLAGS, GOC_FOR_TARGET): New variables. + (GOCFLAGS_FOR_TARGET): New variable. + (EXTRA_HOST_FLAGS): Add GOC. + (EXTRA_TARGET_FLAGS): Add GOC and GOCFLAGS. + * Makefile.def (target_modules): Add libgo. + (flags_to_pass): Add GOC_FOR_TARGET and GOCFLAGS_FOR_TARGET. + (dependencies): Add dependency from configure-target-libgo to + configure-target-libffi and all-target-libstdc++-v3. Add + dependencies from all-target-libgo to all-target-libffi. + (languages): Add go. + * configure: Rebuild. + * Makefile.in: Rebuild. + +2010-11-19 Ian Lance Taylor <iant@google.com> + + * config-ml.in: Add Go support: treat GOC and GOCFLAGS like other + compiler/flag environment variables. + +2010-11-18 Ian Lance Taylor <iant@google.com> + + * configure.ac: Check for lang_requires_boot_languages in + config-lang.in files. + * configure: Rebuild. + +2010-11-17 Mike Frysinger <vapier@gentoo.org> + + * .gitignore: New file. + +2010-11-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> + Tobias Burnus <burnus@net-b.de> + + PR fortran/32049 + * Makefile.def: Add libquadmath; build it with language=fortran. + * configure.ac: Add libquadmath. + * Makefile.tpl: Handle multiple libs in check-[+language+]. + * Makefile.in: Regenerate. + * configure: Regenerate. + +2010-11-15 Andreas Schwab <schwab@redhat.com> + + * configure.ac: Fix spelling in option names. + * configure: Regenerated. + +2010-11-13 Georg-Johann Lay <georgjohann@web.de> + + PR bootstrap/39622 + * configure.ac (FLAGS_FOR_TARGET): Add include-fixed path. + * configure: Regenerated. + +2010-11-12 Tobias Grosser <grosser@fim.uni-passau.de> + + * config/cloog.m4: Add -enable-cloog-backend=(isl|ppl|ppl-legacy) to + define the cloog backend to use. Furthermore, only pass the ppllibs to + the configure checks, if necessary. + * configure: Regenerate. + +2010-11-12 Tobias Grosser <grosser@fim.uni-passau.de> + + * config/cloog.m4: Use CLooG predefined macro to check for CLooG PPL. + * configure: regenerate + +2010-11-12 Tobias Grosser <grosser@fim.uni-passau.de> + + * config/cloog.m4: Fix typo. verison -> version. + * configure: Regenerate. + +2010-11-12 Tobias Grosser <grosser@fim.uni-passau.de> + + * config/cloog.m4: Pass ppl libraries to the CLooG version check. + * configure: Regenerate. + +2010-11-11 Andreas Simbuerger <simbuerg@fim.uni-passau.de> + + * configure.ac: Support official CLooG.org versions. + * configure: Regenerate. + * config/cloog.m4: New. + 2010-11-05 Michael Eager <eager@eagercon.com> * COPYING.LIBGLOSS: Correct typo in microblaze. * COPYING.NEWLIB: Same. +2010-11-04 Iain Sandoe <iains@gcc.gnu.org> + + * configure.ac (*-*-darwin*): Use mh-darwin for all Darwin variants. + * configure: Regenerate. + 2010-11-03 Ian Lance Taylor <iant@google.com> Dave Korn <dave.korn.cygwin@gmail.com> diff --git a/Makefile.def b/Makefile.def index 6223bf3..8eb5b03 100644 --- a/Makefile.def +++ b/Makefile.def @@ -155,8 +155,10 @@ target_modules = { module= libmudflap; lib_path=.libs; }; target_modules = { module= libssp; lib_path=.libs; }; target_modules = { module= newlib; }; target_modules = { module= libgcc; bootstrap=true; no_check=true; }; +target_modules = { module= libquadmath; }; target_modules = { module= libgfortran; }; target_modules = { module= libobjc; }; +target_modules = { module= libgo; }; target_modules = { module= libtermcap; no_check=true; missing=mostlyclean; missing=clean; @@ -280,12 +282,13 @@ flags_to_pass = { flag= AS_FOR_TARGET ; }; flags_to_pass = { flag= CC_FOR_TARGET ; }; flags_to_pass = { flag= CFLAGS_FOR_TARGET ; }; flags_to_pass = { flag= CPPFLAGS_FOR_TARGET ; }; -flags_to_pass = { flag= CXX_FOR_TARGET ; }; flags_to_pass = { flag= CXXFLAGS_FOR_TARGET ; }; flags_to_pass = { flag= DLLTOOL_FOR_TARGET ; }; flags_to_pass = { flag= FLAGS_FOR_TARGET ; }; flags_to_pass = { flag= GCJ_FOR_TARGET ; }; flags_to_pass = { flag= GFORTRAN_FOR_TARGET ; }; +flags_to_pass = { flag= GOC_FOR_TARGET ; }; +flags_to_pass = { flag= GOCFLAGS_FOR_TARGET ; }; flags_to_pass = { flag= LD_FOR_TARGET ; }; flags_to_pass = { flag= LIPO_FOR_TARGET ; }; flags_to_pass = { flag= LDFLAGS_FOR_TARGET ; }; @@ -346,6 +349,7 @@ dependencies = { module=dvi-gcc; on=all-build-libiberty; }; dependencies = { module=pdf-gcc; on=all-build-libiberty; }; dependencies = { module=html-gcc; on=all-build-libiberty; }; dependencies = { module=install-gcc ; on=install-fixincludes; }; +dependencies = { module=install-strip-gcc ; on=install-strip-fixincludes; }; dependencies = { module=configure-libcpp; on=configure-libiberty; hard=true; }; dependencies = { module=configure-libcpp; on=configure-intl; }; @@ -407,9 +411,11 @@ dependencies = { module=all-binutils; on=all-intl; }; // binutils might be on PATH, and they might need the shared opcodes // library. dependencies = { module=install-binutils; on=install-opcodes; }; +dependencies = { module=install-strip-binutils; on=install-strip-opcodes; }; // libopcodes depends on libbfd dependencies = { module=install-opcodes; on=install-bfd; }; +dependencies = { module=install-strip-opcodes; on=install-strip-bfd; }; dependencies = { module=configure-gas; on=configure-intl; }; dependencies = { module=all-gas; on=all-libiberty; }; @@ -430,6 +436,7 @@ 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=install-strip-ld; on=install-strip-gold; }; dependencies = { module=configure-gold; on=configure-intl; }; dependencies = { module=all-gold; on=all-libiberty; }; dependencies = { module=all-gold; on=all-intl; }; @@ -460,6 +467,7 @@ dependencies = { module=configure-itcl; on=configure-tk; }; dependencies = { module=all-itcl; on=all-tcl; }; dependencies = { module=all-itcl; on=all-tk; }; dependencies = { module=install-itcl; on=install-tcl; }; +dependencies = { module=install-strip-itcl; on=install-strip-tcl; }; dependencies = { module=configure-tk; on=configure-tcl; }; dependencies = { module=all-tk; on=all-tcl; }; @@ -470,7 +478,9 @@ dependencies = { module=all-sid; on=all-opcodes; }; dependencies = { module=all-sid; on=all-tcl; }; dependencies = { module=all-sid; on=all-tk; }; dependencies = { module=install-sid; on=install-tcl; }; +dependencies = { module=install-strip-sid; on=install-strip-tcl; }; dependencies = { module=install-sid; on=install-tk; }; +dependencies = { module=install-strip-sid; on=install-strip-tk; }; dependencies = { module=configure-sim; on=configure-intl; }; dependencies = { module=all-sim; on=all-intl; }; @@ -538,6 +548,9 @@ dependencies = { module=configure-target-boehm-gc; on=all-target-libstdc++-v3; } dependencies = { module=configure-target-fastjar; on=configure-target-zlib; }; dependencies = { module=all-target-fastjar; on=all-target-zlib; }; dependencies = { module=all-target-fastjar; on=all-target-libiberty; }; +dependencies = { module=configure-target-libgo; on=configure-target-libffi; }; +dependencies = { module=configure-target-libgo; on=all-target-libstdc++-v3; }; +dependencies = { module=all-target-libgo; on=all-target-libffi; }; dependencies = { module=configure-target-libjava; on=configure-target-zlib; }; dependencies = { module=configure-target-libjava; on=configure-target-boehm-gc; }; dependencies = { module=configure-target-libjava; on=configure-target-qthreads; }; @@ -571,11 +584,13 @@ dependencies = { module=configure-target-libiberty; on=all-binutils; }; dependencies = { module=configure-target-libiberty; on=all-ld; }; dependencies = { module=configure-target-newlib; on=all-binutils; }; dependencies = { module=configure-target-newlib; on=all-ld; }; +dependencies = { module=configure-target-libgfortran; on=all-target-libquadmath; }; languages = { language=c; gcc-check-target=check-gcc; }; languages = { language=c++; gcc-check-target=check-c++; lib-check-target=check-target-libstdc++-v3; }; languages = { language=fortran; gcc-check-target=check-fortran; + lib-check-target=check-target-libquadmath; lib-check-target=check-target-libgfortran; }; languages = { language=java; gcc-check-target=check-java; lib-check-target=check-target-libjava; }; @@ -584,6 +599,8 @@ languages = { language=ada; gcc-check-target=check-ada; languages = { language=objc; gcc-check-target=check-objc; lib-check-target=check-target-libobjc; }; languages = { language=obj-c++; gcc-check-target=check-obj-c++; }; +languages = { language=go; gcc-check-target=check-go; + lib-check-target=check-target-libgo; }; // Toplevel bootstrap bootstrap_stage = { id=1 ; }; diff --git a/Makefile.in b/Makefile.in index aaea69d..945fc5d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -157,6 +157,8 @@ BUILD_EXPORTS = \ CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \ GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \ GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \ + GOC="$(GOC_FOR_BUILD)"; export GOC; \ + GOCFLAGS="$(GOCFLAGS_FOR_BUILD)"; export GOCFLAGS; \ DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \ LD="$(LD_FOR_BUILD)"; export LD; \ LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \ @@ -193,6 +195,7 @@ HOST_EXPORTS = \ CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ GCJ="$(GCJ)"; export GCJ; \ GFORTRAN="$(GFORTRAN)"; export GFORTRAN; \ + GOC="$(GOC)"; export GOC; \ AR="$(AR)"; export AR; \ AS="$(AS)"; export AS; \ CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ @@ -273,6 +276,7 @@ BASE_TARGET_EXPORTS = \ CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ GCJ="$(GCJ_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GCJ; \ GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \ + GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \ DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \ LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ @@ -339,6 +343,7 @@ CXX_FOR_BUILD = @CXX_FOR_BUILD@ DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@ GCJ_FOR_BUILD = @GCJ_FOR_BUILD@ GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@ +GOC_FOR_BUILD = @GOC_FOR_BUILD@ LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@ LD_FOR_BUILD = @LD_FOR_BUILD@ NM_FOR_BUILD = @NM_FOR_BUILD@ @@ -401,6 +406,7 @@ LDFLAGS = @LDFLAGS@ LIBCFLAGS = $(CFLAGS) CXXFLAGS = @CXXFLAGS@ LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates +GOCFLAGS = $(CFLAGS) TFLAGS = @@ -516,6 +522,7 @@ CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@ RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@ GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@ GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@ +GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@ DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@ LD_FOR_TARGET=@LD_FOR_TARGET@ @@ -537,6 +544,7 @@ CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@ LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET) LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates LDFLAGS_FOR_TARGET = +GOCFLAGS_FOR_TARGET = -O2 -g FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@ SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@ @@ -632,6 +640,26 @@ HOST_LIB_PATH_libelf = \ @endif libelf +CXX_FOR_TARGET_FLAG_TO_PASS = \ + "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" +@if target-libstdc++-v3 +# CXX_FOR_TARGET is tricky to get right for target libs that require a +# functional C++ compiler. When we recurse, if we expand +# CXX_FOR_TARGET before configuring libstdc++-v3, we won't get +# libstdc++ include flags from the script. Instead, we get an +# -funconfigured-* word, so that we'll get errors if this invalid C++ +# command line is used for anything, but also so that we can use the +# word to decide whether or not to pass on this CXX_FOR_TARGET. If we +# don't pass it on, sub-make will use the default definition, that +# re-expands it at the time of use, so we'll get it right when we need +# it. One potential exception is the expansion of CXX_FOR_TARGET +# passed down as part of CXX within TARGET_FLAGS, but this wouldn't +# really work, for C++ host programs can't depend on the current-stage +# C++ target library. +CXX_FOR_TARGET_FLAG_TO_PASS = \ + $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi) +@endif target-libstdc++-v3 + # Flags to pass down to all sub-makes. BASE_FLAGS_TO_PASS = \ "DESTDIR=$(DESTDIR)" \ @@ -699,12 +727,13 @@ BASE_FLAGS_TO_PASS = \ "CC_FOR_TARGET=$(CC_FOR_TARGET)" \ "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \ "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \ - "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \ "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \ "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \ "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \ "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \ "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \ + "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \ + "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \ "LD_FOR_TARGET=$(LD_FOR_TARGET)" \ "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \ "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \ @@ -737,6 +766,7 @@ BASE_FLAGS_TO_PASS = \ "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \ "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \ "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \ + $(CXX_FOR_TARGET_FLAG_TO_PASS) \ "TFLAGS=$(TFLAGS)" \ "CONFIG_SHELL=$(SHELL)" \ "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" @@ -754,6 +784,7 @@ EXTRA_HOST_FLAGS = \ 'DLLTOOL=$(DLLTOOL)' \ 'GCJ=$(GCJ)' \ 'GFORTRAN=$(GFORTRAN)' \ + 'GOC=$(GOC)' \ 'LD=$(LD)' \ 'LIPO=$(LIPO)' \ 'NM=$(NM)' \ @@ -802,6 +833,8 @@ EXTRA_TARGET_FLAGS = \ 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \ 'GCJ=$$(GCJ_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \ 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \ + 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \ + 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \ 'LD=$(COMPILER_LD_FOR_TARGET)' \ 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \ 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \ @@ -926,8 +959,10 @@ configure-target: \ maybe-configure-target-libssp \ maybe-configure-target-newlib \ maybe-configure-target-libgcc \ + maybe-configure-target-libquadmath \ maybe-configure-target-libgfortran \ maybe-configure-target-libobjc \ + maybe-configure-target-libgo \ maybe-configure-target-libtermcap \ maybe-configure-target-winsup \ maybe-configure-target-libgloss \ @@ -1108,8 +1143,10 @@ all-target: maybe-all-target-newlib @if target-libgcc-no-bootstrap all-target: maybe-all-target-libgcc @endif target-libgcc-no-bootstrap +all-target: maybe-all-target-libquadmath all-target: maybe-all-target-libgfortran all-target: maybe-all-target-libobjc +all-target: maybe-all-target-libgo all-target: maybe-all-target-libtermcap all-target: maybe-all-target-winsup all-target: maybe-all-target-libgloss @@ -1229,8 +1266,10 @@ info-target: maybe-info-target-libmudflap info-target: maybe-info-target-libssp info-target: maybe-info-target-newlib info-target: maybe-info-target-libgcc +info-target: maybe-info-target-libquadmath info-target: maybe-info-target-libgfortran info-target: maybe-info-target-libobjc +info-target: maybe-info-target-libgo info-target: maybe-info-target-libtermcap info-target: maybe-info-target-winsup info-target: maybe-info-target-libgloss @@ -1343,8 +1382,10 @@ dvi-target: maybe-dvi-target-libmudflap dvi-target: maybe-dvi-target-libssp dvi-target: maybe-dvi-target-newlib dvi-target: maybe-dvi-target-libgcc +dvi-target: maybe-dvi-target-libquadmath dvi-target: maybe-dvi-target-libgfortran dvi-target: maybe-dvi-target-libobjc +dvi-target: maybe-dvi-target-libgo dvi-target: maybe-dvi-target-libtermcap dvi-target: maybe-dvi-target-winsup dvi-target: maybe-dvi-target-libgloss @@ -1457,8 +1498,10 @@ pdf-target: maybe-pdf-target-libmudflap pdf-target: maybe-pdf-target-libssp pdf-target: maybe-pdf-target-newlib pdf-target: maybe-pdf-target-libgcc +pdf-target: maybe-pdf-target-libquadmath pdf-target: maybe-pdf-target-libgfortran pdf-target: maybe-pdf-target-libobjc +pdf-target: maybe-pdf-target-libgo pdf-target: maybe-pdf-target-libtermcap pdf-target: maybe-pdf-target-winsup pdf-target: maybe-pdf-target-libgloss @@ -1571,8 +1614,10 @@ html-target: maybe-html-target-libmudflap html-target: maybe-html-target-libssp html-target: maybe-html-target-newlib html-target: maybe-html-target-libgcc +html-target: maybe-html-target-libquadmath html-target: maybe-html-target-libgfortran html-target: maybe-html-target-libobjc +html-target: maybe-html-target-libgo html-target: maybe-html-target-libtermcap html-target: maybe-html-target-winsup hooks/post-receive -- Repository for Project Archer.
next reply other threads:[~2010-11-28 5:41 UTC|newest] Thread overview: 120+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-11-28 5:41 jkratoch [this message] -- strict thread matches above, loose matches on Subject: below -- 2011-02-01 19:25 jkratoch 2011-01-29 16:44 jkratoch 2011-01-25 12:53 pmuldoon 2011-01-25 9:10 jkratoch 2011-01-17 13:31 pmuldoon 2011-01-15 11:35 jkratoch 2011-01-14 8:04 jkratoch 2011-01-10 12:00 pmuldoon 2011-01-10 9:10 jkratoch 2011-01-07 5:57 jkratoch 2011-01-06 12:22 pmuldoon 2011-01-04 4:59 jkratoch 2010-12-31 22:30 jkratoch 2010-12-30 7:22 jkratoch 2010-12-22 20:11 swagiaal 2010-12-14 17:13 jkratoch 2010-12-14 8:27 pmuldoon 2010-12-10 17:16 jkratoch 2010-12-08 15:55 pmuldoon 2010-12-06 6:40 jkratoch 2010-12-04 1:03 jkratoch 2010-12-02 15:47 pmuldoon 2010-11-30 0:15 jkratoch 2010-11-28 18:02 jkratoch 2010-11-16 5:04 jkratoch 2010-11-12 11:47 pmuldoon 2010-11-11 11:39 pmuldoon 2010-11-10 9:09 pmuldoon 2010-11-08 9:34 pmuldoon 2010-11-07 18:15 jkratoch 2010-10-22 14:28 pmuldoon 2010-10-20 12:48 pmuldoon 2010-10-19 16:01 pmuldoon 2010-10-17 20:27 jkratoch 2010-10-15 17:07 jkratoch 2010-10-14 20:55 jkratoch 2010-10-13 15:06 jkratoch 2010-10-12 16:45 jkratoch 2010-10-11 9:21 jkratoch 2010-10-11 8:47 pmuldoon 2010-10-06 9:00 pmuldoon 2010-09-30 8:56 pmuldoon 2010-09-27 9:48 jkratoch 2010-09-20 12:34 pmuldoon 2010-09-16 20:49 ratmice 2010-09-04 19:59 jkratoch 2010-09-03 7:26 jkratoch 2010-09-02 15:04 jkratoch 2010-09-01 15:29 swagiaal 2010-08-23 13:54 jkratoch 2010-08-20 17:49 jkratoch 2010-08-12 15:19 swagiaal 2010-08-06 15:32 jkratoch 2010-07-29 19:17 swagiaal 2010-07-22 16:57 jkratoch 2010-07-22 16:26 jkratoch 2010-07-20 18:51 jkratoch 2010-07-09 8:09 jkratoch 2010-06-24 8:55 jkratoch 2010-06-23 20:56 jkratoch 2010-06-17 12:53 jkratoch 2010-06-07 8:14 jkratoch 2010-06-02 19:03 jkratoch 2010-05-28 21:27 jkratoch 2010-05-26 18:36 swagiaal 2010-05-17 18:02 jkratoch 2010-05-17 1:04 jkratoch 2010-05-10 19:30 swagiaal 2010-05-05 14:24 swagiaal 2010-05-03 13:49 jkratoch 2010-05-03 8:48 jkratoch 2010-05-02 23:10 jkratoch 2010-05-02 15:54 jkratoch 2010-04-30 7:11 jkratoch 2010-04-28 11:44 jkratoch 2010-04-25 20:22 jkratoch 2010-04-09 20:37 jkratoch 2010-04-07 1:41 jkratoch 2010-04-05 10:11 jkratoch 2010-04-04 11:58 jkratoch 2010-03-22 23:58 jkratoch 2010-03-20 17:23 jkratoch 2010-03-18 10:01 jkratoch 2010-03-17 18:04 jkratoch 2010-03-12 18:35 jkratoch 2010-03-04 22:28 jkratoch 2010-03-01 22:16 jkratoch 2010-02-26 22:16 jkratoch 2010-02-26 17:50 jkratoch 2010-02-17 16:01 swagiaal 2010-02-13 22:51 jkratoch 2010-02-11 12:51 jkratoch 2010-02-09 19:01 jkratoch 2010-02-08 21:46 jkratoch 2010-02-03 4:38 jkratoch 2010-01-31 17:25 jkratoch 2010-01-28 19:17 swagiaal 2010-01-28 10:56 jkratoch 2010-01-27 19:21 swagiaal 2010-01-27 8:08 jkratoch 2010-01-26 18:58 swagiaal 2010-01-20 21:48 jkratoch 2010-01-15 2:09 jkratoch 2010-01-15 0:52 jkratoch 2010-01-14 22:23 jkratoch 2010-01-13 20:53 jkratoch 2010-01-10 20:47 jkratoch 2010-01-09 10:03 jkratoch 2010-01-09 8:41 jkratoch 2010-01-08 19:16 jkratoch 2009-12-06 17:43 jkratoch 2009-12-03 16:32 jkratoch 2009-11-30 13:59 jkratoch 2009-11-24 21:21 jkratoch 2009-11-21 9:24 jkratoch 2009-11-20 21:06 jkratoch 2009-11-20 15:57 jkratoch 2009-11-17 19:59 jkratoch 2009-11-16 2:22 jkratoch
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20101128054137.15501.qmail@sourceware.org \ --to=jkratoch@sourceware.org \ --cc=archer-commits@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).