The branch, gbenson/rtld-probes has been updated via d01bc1176b596cc0deb3caac49efcd08e439fccb (commit) via b16c8a2c1d92cc46fa034b3d68f548f32eefe740 (commit) via 6da2203229ddd61d193047563fce8b67a37dac68 (commit) via 04b96ba8e83e2aa7cec25a09a00408627db043f4 (commit) via 6b6c2f27084c210fad10384f916b985ccda73179 (commit) via 43224db0aa6c76780b9af3e08b35d0d3f3601c64 (commit) via 439b15b2d2f920695d4a9282fbeca19aa1286710 (commit) via d97085d6f99cbad6969a42c581e56b80f1a7ec46 (commit) via 06d59c620a5c8a598b9711ee7869ca83175b93f1 (commit) via a72f82fc28e2e0464fc59fc418c2a2b7d6db315c (commit) via 8169424bbf064788c952aadb142993fa4eee61f6 (commit) via 99a8549b696b9943585e216bb352aa274b9344a9 (commit) via a019568598ef099621feee572b3229079d68e6a2 (commit) via 6fcd25589f95ed1c663b4993b5faa47fad2389d4 (commit) via 72de6e69758282b35491e7289d368eb7542f638f (commit) via fc07e754275bc3e4bbe2bd762fdd8fdb57ddc102 (commit) via d6fab887386fae52a12bd6864382564bbeda8514 (commit) via 00ed95a3aacde879bc7fcb7888c69091f33b41b8 (commit) via 412237328f6a7293cfba3f85d914f896db975af1 (commit) via 783bc92bdf91418a80557af431c7e4f86ecee768 (commit) via d72eabc6f823fe4e3a4eafa81a119867c988a0c4 (commit) via 5f9197eeaf0fa87eb98ac6ebaf88930f33821eab (commit) via 61ce8822bafd4554dd911d8f58d7142f3839bb2b (commit) via fa466a282b30a743765b2a8cd1ecc74bb5d796db (commit) via 6f6adb3c6b95796c51a48920526c6ef98afae9f8 (commit) via e3be5bf957b120a042ceb164213af36d7bca32b5 (commit) via c8d7739e9cf54d4aa465bde90a6ec94ffdfb33c4 (commit) via 488588c3628913be0dbcf7113cee04c1cd791d5d (commit) via 4f20a2011c6cec47718bff32a9a8de67eac63b53 (commit) via 3b29b975fe1a101ef9feb0a130570228152019c9 (commit) via 13f2e76510cd8d5b2da22d958cdcc3dd3e785005 (commit) via a5d4bb2f9bfe5ed5911e9e79d0f00a8de790727d (commit) via aac6de18bb842276b6d26bea129de9901ae891df (commit) via b7bab74342776d73cef3a9c060810fbb80328312 (commit) via 7645df08c5ba29820e44a03f7bbf70b478801cae (commit) via c6bf3878c5f48650e928c55e7a454583d977a1cf (commit) via e3ae979a6c36d47350919caaf654e656dea3ac76 (commit) via 01219ac3f8e7fa6f5a5876afd826d0283d29524b (commit) via 2f2a2015c740d447fee472e08471aa28d416b551 (commit) via c91374499747d84609217f6815ffa6e637dedba3 (commit) via 1d990d7bb9acc77de45d92801bc116f875bfd621 (commit) via 1dbe9d429b900945876f8c8c0358f4a18ce57c66 (commit) via 49fca17027ea8a35eae2353248b527415f95f25e (commit) via 2005985ad1c8abbf905a9c6ab269e9a96f836e3b (commit) via 35c1e5efc16caf256acb5c76df8f02a3f1de246e (commit) via 2d3bbd57c568f6586015ee82b9d2db1d1432cb14 (commit) via 39cc9036cec20e713f4ec002e425422c21f81b12 (commit) via 29b26fc5635d26ca73927809396f6c8c03de159e (commit) via 7513d357f031eb43c1dc4b309faa80922c41004d (commit) via 62234c99e3a311c07838ebaea38198d7f4239d0c (commit) via a1dc2890b9843e7bbadb81cf7d733d2954dbb097 (commit) via c84620664b6cd95ef9d2609c73c6832dba830cdf (commit) via 636305372b3cdc5b60127ed7ea546bdbee217226 (commit) via 2e687216be4e6f289cb8083e18f1ccfb3bde90cd (commit) via e0ede36274a194c07ed4407f4471849e3bda9db8 (commit) via 27ace36109505b3b255e60778b487decce10e92e (commit) via 7fb29343dacbc73483669327128c491a9a17ccaa (commit) via 80a8b525413b213614508a73c3b95e683e412942 (commit) via a906bc6480dbdc7cc1bd54884702fb807ef0fbc1 (commit) via 9b859adb4f3dfc4df5022746517422d8769100ee (commit) via 65882c1a92a8d600890bab983a7e013faac37e3e (commit) via 6466b77e27b5743f65a4c3e02fa6ef17c86f43bd (commit) via e99af83087857cf32e550d45c338587dd0fc1a6c (commit) via 174e82f2f135bada36bbb0abf52b46319421b71a (commit) via 3d850673810aa884193630d83749cb658165c8b2 (commit) via cf5b0fcbc621db7b4b9da236866a26431151def6 (commit) via 5ce3c185948cce3e2d7e1801bb19aac009ca7ebb (commit) via 6a7ee8d8ad61cfb463d7e9bb95dd7dd23f5d8110 (commit) via 210e3c157c1380359c9702b99eac0a83416ccc24 (commit) via 81387c7f1f50f0b076617fd37e2df0055a74e762 (commit) via b30830ad38d34bdeedd0e5571845821eae50b661 (commit) via 73748a82bb4a64335cc3388b34ef9c5486b69e65 (commit) via d0a19b37c43775341c5412d90635353345b5f5c8 (commit) via 8bc515ce4080608a1a35b00d8d9706a5778025d6 (commit) via 826738a7377eb04bf47c7a9f469948de0b4ec4ab (commit) via cd1f6ea471233b241a973de805d3bb6386d6edf1 (commit) via f3cc1179691abf92468d89452aae2e1fe5ced731 (commit) via 9cba98336ff14e06e83494a55c71e795f130700d (commit) via 5aee30367e9dfb9af9b3b461d91eb640ed2c94ea (commit) via 452e29236ed5bf99404ecd3531df85a058a12ff5 (commit) via 4072a8adda6f9c894beee03ed64a2b3c9b8c182b (commit) via 12eebc99a69a969e7d2adaffdc48e6714ecccb6e (commit) via 0dc1cb92d94b5f56c9bf29b2b103839453b22f36 (commit) via 0baf8277ae52466a945c9e97bdc64459b38cca94 (commit) via f1710886bbcad31da44b5ab3be5e9fbc04c0fb49 (commit) via d0b63f741de6049646fe979182fb390f219ce934 (commit) via 4b7405c0381c72b154d8dddd82cf4e960e27720c (commit) via 7d9b86e671db86e2d42b833f6033bad30312fea2 (commit) via 73b53903b87f8b8d4561327358bb2ecb55d202fb (commit) via 4fd63bf1390f2e850157a51c5771a304dc713d31 (commit) via cc10b3df010272968aa2e6e1768ffd5da2100f4b (commit) via d192e191467b71a5ab3bc93515126ed534148602 (commit) via 5a4337e6ec84ebc21bdf15e9d7076576e4f8e862 (commit) via 6f78e1e9b3d53d75b3f8c9fe2fb0c90774fc3641 (commit) via f26df3c4024643a8608ba16fd9cfd1e04048b9d7 (commit) via dde6c19a39f11b3835b9903fc459f337b86daf81 (commit) via 10361b212f7b40ed6eacf773adf7716f8f640e1e (commit) via dbd14a18547bd78def0d91c5bb5324d79b87cad4 (commit) via 1035e7311fb8ea56f99c4698e9e8ee1dfb0c4f86 (commit) via 92dc8d9605a1472907a18e5548b0116ed759c42b (commit) via 753a490543a83113f173beba637b2adf661b8698 (commit) via 8e8d0e321d16b1c1bdb71ad268df467a13ad3b81 (commit) via 5aa148e4cbf9f25d8a1a33d71c029abe3a7d9f6c (commit) via 0e8baff8e5a7752131364f177906d70ee92934f0 (commit) via 0c4d80b4815ec4698a37846243ac1994f4d461bf (commit) via 7353e382d81309bf17cc4addd99ef6e52df49150 (commit) via 10853ff1dc86eb6f331f4c7b175d1cb0308b19d0 (commit) via 4917f7eef3ad12d18fe0757ffda9de60ba556078 (commit) via e55999758aa986a1f3e55ad3e741e3d591e3b38a (commit) via 19d4501df9cf271fed4f30f8a24e786d4add9552 (commit) via 6f0258cb652b897a1c2e50197a59c7e8c117f91b (commit) via b01b13936c8ef44b9eb3bc1f6a85edc4c6610888 (commit) via e6e0cb74ef4c2fad6b021adbf9cfb28e1b90372a (commit) via aaff5eec7e98db292460ab53f47194a9e762798d (commit) from bf30bd84f8d2f12d1d7a5695aa48929808fae88f (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit d01bc1176b596cc0deb3caac49efcd08e439fccb Merge: b16c8a2 06d59c6 Author: Gary Benson Date: Thu May 23 12:52:17 2013 +0100 Merge remote branch 'gdb/master' into gbenson/rtld-probes commit b16c8a2c1d92cc46fa034b3d68f548f32eefe740 Author: Gary Benson Date: Thu May 23 12:50:13 2013 +0100 Jan's changes commit 6da2203229ddd61d193047563fce8b67a37dac68 Author: Gary Benson Date: Thu May 23 12:41:58 2013 +0100 Ah commit 04b96ba8e83e2aa7cec25a09a00408627db043f4 Author: Gary Benson Date: Thu May 23 12:37:06 2013 +0100 Oops commit 6b6c2f27084c210fad10384f916b985ccda73179 Author: Gary Benson Date: Thu May 23 12:12:08 2013 +0100 Jan's changes commit 43224db0aa6c76780b9af3e08b35d0d3f3601c64 Author: Gary Benson Date: Thu May 23 10:58:11 2013 +0100 Add program space arg to section map update inbibiting stuff commit 439b15b2d2f920695d4a9282fbeca19aa1286710 Author: Gary Benson Date: Thu May 23 10:50:51 2013 +0100 Make the protocol match the documentation commit d97085d6f99cbad6969a42c581e56b80f1a7ec46 Author: Gary Benson Date: Thu May 23 10:50:30 2013 +0100 Document the remote protocol commit 06d59c620a5c8a598b9711ee7869ca83175b93f1 Author: Joel Brobecker Date: Thu May 23 06:39:41 2013 +0000 mi/mi-cmd-break.c: Use xsnprintf instead of sprintf (ARI fix) gdb/ChangeLog: * mi/mi-cmd-break.c (mi_argv_to_format): Use xsnprintf instead of sprintf. commit a72f82fc28e2e0464fc59fc418c2a2b7d6db315c Author: Joel Brobecker Date: Thu May 23 06:00:53 2013 +0000 Document new /system-gdbinit area gdb/doc/ChangeLog: * gdb.texinfo (Installed System-wide Configuration Scripts): Add subsection describing the scripts now available under the data-dir's system-gdbbinit subdirectory. * NEWS: Add entry announcing the availability of system-wide configuration scripts for ElinOS and Wind River Linux. commit 8169424bbf064788c952aadb142993fa4eee61f6 Author: Alan Modra Date: Thu May 23 03:35:59 2013 +0000 * format.c (bfd_check_format_matches): Don't match a target in targ_selvecs if some other target is a better match. If targets implement match priority, fall back to the first of the best matches. commit 99a8549b696b9943585e216bb352aa274b9344a9 Author: Alan Modra Date: Thu May 23 00:00:05 2013 +0000 daily update commit a019568598ef099621feee572b3229079d68e6a2 Author: gdbadmin Date: Thu May 23 00:00:03 2013 +0000 *** empty log message *** commit 6fcd25589f95ed1c663b4993b5faa47fad2389d4 Author: Keith Seitz Date: Wed May 22 21:16:17 2013 +0000 * ada-lang.c (is_known_support_routine): Add explicit free of 'func_name' from find_frame_funname. (ada_unhandled_exception_name_addr_from_raise): Add cleanups for func_name from find_frame_funname. * python/py-frame.c (frapy_name): Add explicit free of 'name' from find_frame_funname. * stack.c (find_frame_funname): Add comment explaining that funcp must be freed by the caller. Return copy of symbol names instead of pointers. (print_frame): Add a cleanup for 'funname' from find_frame_funname. * stack.h (find_frame_funname): Remove "const" from 'funname' parameter. commit 72de6e69758282b35491e7289d368eb7542f638f Author: Tom Tromey Date: Wed May 22 20:51:49 2013 +0000 PR c++/15401: * c-valprint.c (c_value_print): Use value_addr for references. Convert back to reference type with value_ref. gdb/testsuite * gdb.cp/class2.cc (main): New local 'aref'. * gdb.cp/class2.exp: Check printing of 'aref'. commit fc07e754275bc3e4bbe2bd762fdd8fdb57ddc102 Author: Richard Sandiford Date: Wed May 22 18:08:25 2013 +0000 include/opcode/ 2013-05-22 Jürgen Urban * mips.h (M_LQC2_AB, M_SQC2_AB): New macros. opcodes/ 2013-05-22 Jürgen Urban * mips-opc.c (mips_builtin_opcodes): Add R5900 VU0 instructions. gas/ 2013-05-22 Jürgen Urban * config/tc-mips.c (macro): Handle M_LQC2_AB and M_SQC2_AB. gas/testsuite/ 2013-05-22 Jürgen Urban * gas/mips/r5900-full.s, gas/mips/r5900-full.d: Add tests for LQ and SQ macros. * gas/mips/r5900-vu0.s, gas/mips/r5900-vu0.d: New test. * gas/mips/mips.exp: Run it. commit d6fab887386fae52a12bd6864382564bbeda8514 Author: H.J. Lu Date: Wed May 22 17:02:34 2013 +0000 Add EM_INTEL205 to EM_INTEL209 * common.h (EM_INTEL205): New. (EM_INTEL206): Likewise. (EM_INTEL207): Likewise. (EM_INTEL208): Likewise. (EM_INTEL209): Likewise. commit 00ed95a3aacde879bc7fcb7888c69091f33b41b8 Author: Doug Evans Date: Wed May 22 16:30:24 2013 +0000 * gdb.threads/wp-replication.c (main): Insert some code at the start to ensure the breakpoint on main is only hit once. Fix comment. commit 412237328f6a7293cfba3f85d914f896db975af1 Author: Eli Zaretskii Date: Wed May 22 16:18:11 2013 +0000 Fix reporting of DLL unload events on MS-Windows. gdb/windows-nat.c (handle_unload_dll): Don't call solib_add for the unloaded DLL, it will be done by handle_solib_event. See http://sourceware.org/ml/gdb-patches/2013-05/msg00713.html for the details. commit 783bc92bdf91418a80557af431c7e4f86ecee768 Author: pmuldoon Date: Wed May 22 12:27:12 2013 +0000 2013-05-22 Phil Muldoon * ui-out.c: Create typedef ui_out_level_p and define vector operations for that type. (struct ui_out): Use a vector instead of an array. (current_level): Return level from a vector. (push_level): Create a level in a vector. (pop_level): Delete a level in a vector. (ui_out_new): Create initial level zero level, and store in a vector. (ui_out_destroy): Add vector cleanup. commit d72eabc6f823fe4e3a4eafa81a119867c988a0c4 Author: qiyao Date: Wed May 22 09:51:49 2013 +0000 readline/ * configure.in: Invoke AC_CANONICAL_BUILD. Change $host_os to $build_os. * configure: Regenerated. commit 5f9197eeaf0fa87eb98ac6ebaf88930f33821eab Author: Pedro Alves Date: Wed May 22 09:31:44 2013 +0000 Let the ARI know gdb_Py_DECREF is OK. The ARI complains with: > gdb/python/python-internal.h:177: code: editCase function: Function name starts lower case but has uppercased letters. gdb/python/python-internal.h:177:gdb_Py_DECREF (void *op) gdb_Py_DECREF is just wrapping a python macro that happens to be mixed case. gdb/ 2013-05-22 Pedro Alves * python/python-internal.h (gdb_Py_DECREF): Tag with "ARI: editCase function". commit 61ce8822bafd4554dd911d8f58d7142f3839bb2b Author: Alan Modra Date: Wed May 22 08:39:52 2013 +0000 PR binutils/15462 * elfxx-mips.c (_bfd_mips_elf_relocate_section): Warning fix. commit fa466a282b30a743765b2a8cd1ecc74bb5d796db Author: Alan Modra Date: Wed May 22 06:13:59 2013 +0000 PR binutils/15474 * srec.c (srec_set_section_contents): Properly convert size and offset to address when octets_per_byte is not unity. commit 6f6adb3c6b95796c51a48920526c6ef98afae9f8 Author: Alan Modra Date: Wed May 22 00:00:05 2013 +0000 daily update commit e3be5bf957b120a042ceb164213af36d7bca32b5 Author: gdbadmin Date: Wed May 22 00:00:03 2013 +0000 *** empty log message *** commit c8d7739e9cf54d4aa465bde90a6ec94ffdfb33c4 Author: Paul Pluzhnikov Date: Tue May 21 23:41:29 2013 +0000 2013-05-21 Paul Pluzhnikov * solib-svr4.c (svr4_free_so): Protect against NULL dereference. commit 488588c3628913be0dbcf7113cee04c1cd791d5d Author: Pedro Alves Date: Tue May 21 20:53:21 2013 +0000 py_decref: Don't check for NULL before calling Py_DECREF. The only difference between Py_DECREF and Py_XDECREF is that the latter allows passing in a NULL object, while the former prohibits it. Given that, it's natural to expect the same from py_decref vs py_xdecref. gdb/ 2013-05-21 Pedro Alves * python/py-prettyprint.c (apply_val_pretty_printer): Check whether PRINTER is NULL before installing a Py_DECREF cleanup. * python/py-utils.c (py_decref): Don't check for NULL before calling Py_DECREF. commit 4f20a2011c6cec47718bff32a9a8de67eac63b53 Author: Pedro Alves Date: Tue May 21 20:52:29 2013 +0000 Centralize workaround for Python 2.6's Py_DECREF. Wrap/redefine Py_DECREF ourselves, avoiding the need for uses to care about extra braces due to the fact that Python only started wrapping Py_DECREF in 'do {} while (0)' after 2.6. gdb/ 2013-05-21 Pedro Alves * python/py-utils.c (py_decref): Remove extra braces. (gdb_pymodule_addobject): Remove extra braces. * python-internal.h (gdb_Py_DECREF): New static inline function. (Py_DECREF): Redefine as calling gdb_Py_DECREF. commit 3b29b975fe1a101ef9feb0a130570228152019c9 Author: Keith Seitz Date: Tue May 21 19:11:50 2013 +0000 * gdb.base/filesym.exp: Use gdb_test_multiple instead of gdb_expect. Add test to flush the remaining input buffer so that this file passes testsuite/12649. commit 13f2e76510cd8d5b2da22d958cdcc3dd3e785005 Author: philippe Date: Tue May 21 18:47:04 2013 +0000 Fix internal error caused by interaction between catch signal and fork commit a5d4bb2f9bfe5ed5911e9e79d0f00a8de790727d Author: sterling Date: Tue May 21 17:58:46 2013 +0000 2013-05-21 Sterling Augustine * boards/remote-stdio-gdbserver.exp: New file. commit aac6de18bb842276b6d26bea129de9901ae891df Author: Jan Kratochvil Date: Tue May 21 15:02:28 2013 +0000 gdb/ Workaround Python 2.6. * python/py-utils.c (gdb_pymodule_addobject): Wrap Py_DECREF into a block. commit b7bab74342776d73cef3a9c060810fbb80328312 Author: Jan Kratochvil Date: Tue May 21 15:00:32 2013 +0000 gdb/testsuite/ PR testsuite/12649 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf): Fix expect strings for racy matches. ----------------------------------------------------------------------- Summary of changes: bfd/ChangeLog | 48 ++ bfd/coff-rs6000.c | 4 +- bfd/coff64-rs6000.c | 3 + bfd/ecoff.c | 4 +- bfd/elf32-vax.c | 19 +- bfd/elf64-aarch64.c | 55 -- bfd/elfxx-mips.c | 2 +- bfd/format.c | 22 +- bfd/srec.c | 7 +- bfd/version.h | 2 +- gdb/ChangeLog | 577 ++++++++++++++++++++ gdb/Makefile.in | 5 +- gdb/NEWS | 14 + gdb/acinclude.m4 | 2 +- gdb/ada-lang.c | 44 ++- gdb/breakpoint.c | 11 +- gdb/breakpoint.h | 1 + gdb/c-valprint.c | 24 +- gdb/configure | 239 ++++++++- gdb/configure.ac | 13 +- gdb/data-directory/Makefile.in | 58 ++- gdb/doc/ChangeLog | 19 + gdb/doc/gdb.texinfo | 167 ++++++- gdb/dwarf2read.c | 428 +++++++++++++-- gdb/frame.c | 101 +++- gdb/gdbserver/ChangeLog | 35 ++ gdb/gdbserver/i386-low.c | 2 +- gdb/gdbserver/linux-low.c | 115 +++-- gdb/gdbserver/lynx-low.c | 58 ++- gdb/mi/mi-cmd-break.c | 164 +++++- gdb/mi/mi-cmds.c | 2 + gdb/mi/mi-cmds.h | 1 + gdb/mi/mi-main.c | 6 +- gdb/objfiles.c | 10 +- gdb/objfiles.h | 4 +- gdb/ppc-linux-nat.c | 19 +- gdb/psymtab.c | 45 +- gdb/python/py-arch.c | 16 +- gdb/python/py-auto-load.c | 4 +- gdb/python/py-block.c | 19 +- gdb/python/py-bpevent.c | 3 +- gdb/python/py-breakpoint.c | 15 +- gdb/python/py-cmd.c | 79 ++- gdb/python/py-continueevent.c | 3 +- gdb/python/py-event.c | 27 +- gdb/python/py-event.h | 21 +- gdb/python/py-events.h | 3 +- gdb/python/py-evtregistry.c | 17 +- gdb/python/py-evts.c | 47 +- gdb/python/py-exitedevent.c | 3 +- gdb/python/py-finishbreakpoint.c | 25 +- gdb/python/py-frame.c | 96 ++-- gdb/python/py-function.c | 27 +- gdb/python/py-gdb-readline.c | 7 +- gdb/python/py-inferior.c | 149 +++--- gdb/python/py-infthread.c | 12 +- gdb/python/py-lazy-string.c | 8 +- gdb/python/py-newobjfileevent.c | 3 +- gdb/python/py-objfile.c | 12 +- gdb/python/py-param.c | 31 +- gdb/python/py-prettyprint.c | 10 +- gdb/python/py-progspace.c | 12 +- gdb/python/py-signalevent.c | 3 +- gdb/python/py-symbol.c | 82 ++-- gdb/python/py-symtab.c | 36 +- gdb/python/py-threadevent.c | 3 + gdb/python/py-type.c | 64 +-- gdb/python/py-utils.c | 49 ++- gdb/python/py-value.c | 21 +- gdb/python/python-internal.h | 195 +++++-- gdb/python/python.c | 170 ++++-- gdb/rs6000-aix-tdep.c | 88 ++-- gdb/solib-svr4.c | 183 ++++--- gdb/solib.c | 33 +- gdb/solib.h | 2 +- gdb/stack.c | 15 +- gdb/stack.h | 2 +- gdb/symmisc.c | 138 +++++ gdb/system-gdbinit/elinos.py | 79 +++ gdb/system-gdbinit/wrs-linux.py | 25 + gdb/testsuite/ChangeLog | 96 ++++ gdb/testsuite/boards/remote-stdio-gdbserver.exp | 127 +++++ gdb/testsuite/gdb.ada/complete.exp | 24 +- gdb/testsuite/gdb.ada/float_param.exp | 43 ++ gdb/testsuite/gdb.ada/float_param/foo.adb | 23 + gdb/testsuite/gdb.ada/float_param/pck.adb | 35 ++ gdb/testsuite/gdb.ada/float_param/pck.ads | 31 + gdb/testsuite/gdb.base/break-probes.c | 6 +- gdb/testsuite/gdb.base/break-probes.exp | 11 +- .../{info-shared.c => catch-signal-fork.c} | 60 ++- gdb/testsuite/gdb.base/catch-signal-fork.exp | 43 ++ .../gdb.base/{break-probes.c => filesym.c} | 18 +- gdb/testsuite/gdb.base/filesym.exp | 51 ++ gdb/testsuite/gdb.base/fixsection.c | 4 +- gdb/testsuite/gdb.base/info-shared.c | 8 +- gdb/testsuite/gdb.base/info-shared.exp | 37 +- gdb/testsuite/gdb.base/maint.exp | 100 +--- gdb/testsuite/gdb.base/watch-read.exp | 2 - gdb/testsuite/gdb.cp/class2.cc | 1 + gdb/testsuite/gdb.cp/class2.exp | 4 + gdb/testsuite/gdb.dwarf2/dw2-dir-file-name.exp | 33 +- gdb/testsuite/gdb.dwarf2/implptrconst.exp | 2 +- gdb/testsuite/gdb.dwarf2/method-ptr.exp | 2 +- gdb/testsuite/gdb.dwarf2/missing-sig-type.exp | 4 +- gdb/testsuite/gdb.dwarf2/nostaticblock.exp | 2 +- gdb/testsuite/gdb.dwarf2/subrange.exp | 2 +- gdb/testsuite/gdb.gdb/python-selftest.exp | 30 + gdb/testsuite/gdb.mi/Makefile.in | 2 +- gdb/testsuite/gdb.mi/mi-dprintf.c | 59 ++ gdb/testsuite/gdb.mi/mi-dprintf.exp | 145 +++++ gdb/testsuite/gdb.threads/wp-replication.c | 8 +- gdb/testsuite/lib/dwarf.exp | 144 ++++-- gdb/ui-out.c | 44 ++- gdb/utils.h | 2 +- gdb/varobj.c | 186 ++++--- gdb/version.in | 2 +- gdb/windows-nat.c | 2 +- include/elf/ChangeLog | 8 + include/elf/common.h | 5 + include/opcode/ChangeLog | 4 + include/opcode/mips.h | 2 + opcodes/ChangeLog | 35 ++ opcodes/ia64-asmtab.c | 10 +- opcodes/ia64-raw.tbl | 8 +- opcodes/ia64-waw.tbl | 2 +- opcodes/mips-opc.c | 27 +- opcodes/ppc-dis.c | 5 +- opcodes/ppc-opc.c | 177 ++++++- readline/ChangeLog.gdb | 6 + readline/configure | 3 +- readline/configure.in | 3 +- sim/arm/ChangeLog | 5 + sim/arm/armemu.c | 12 +- sim/testsuite/sim/arm/ChangeLog | 5 + sim/testsuite/sim/arm/movw-movt.ms | 53 ++ 135 files changed, 4662 insertions(+), 1268 deletions(-) create mode 100644 gdb/system-gdbinit/elinos.py create mode 100644 gdb/system-gdbinit/wrs-linux.py create mode 100644 gdb/testsuite/boards/remote-stdio-gdbserver.exp create mode 100644 gdb/testsuite/gdb.ada/float_param.exp create mode 100644 gdb/testsuite/gdb.ada/float_param/foo.adb create mode 100644 gdb/testsuite/gdb.ada/float_param/pck.adb create mode 100644 gdb/testsuite/gdb.ada/float_param/pck.ads copy gdb/testsuite/gdb.base/{info-shared.c => catch-signal-fork.c} (53%) create mode 100644 gdb/testsuite/gdb.base/catch-signal-fork.exp copy gdb/testsuite/gdb.base/{break-probes.c => filesym.c} (79%) create mode 100644 gdb/testsuite/gdb.base/filesym.exp create mode 100644 gdb/testsuite/gdb.gdb/python-selftest.exp create mode 100644 gdb/testsuite/gdb.mi/mi-dprintf.c create mode 100644 gdb/testsuite/gdb.mi/mi-dprintf.exp create mode 100644 sim/testsuite/sim/arm/movw-movt.ms First 500 lines of diff: diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 24231ca..d01e687 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,51 @@ +2013-05-23 Alan Modra + + * format.c (bfd_check_format_matches): Don't match a target in + targ_selvecs if some other target is a better match. If + targets implement match priority, fall back to the first of + the best matches. + +2013-05-22 Eric Herman + + PR binutils/15462 + * elfxx-mips.c (_bfd_mips_elf_relocate_section): Warning fix. + +2013-05-22 Ralf Dreesen + + PR binutils/15474 + * srec.c (srec_set_section_contents): Properly convert size + and offset to address when octets_per_byte is not unity. + +2013-05-20 Maciej W. Rozycki + + * elf32-vax.c (elf_vax_instantiate_got_entries): Only set the + refcount member of the gotplt_union when resetting the reference + count. Adjust comment. + +2013-05-20 Will Newton + + * elf64-aarch64.c (elf64_aarch64_link_hash_entry): Remove + relocs_copied member. + (elf64_aarch64_link_hash_newfunc): Remove initialization of + relocs_copied member. + (elf64_aarch64_copy_indirect_symbol): Remove code to copy + relocs_copied member. + +2013-05-19 Maciej W. Rozycki + + * elf32-vax.c (elf_vax_adjust_dynamic_symbol): Convert K&R + function definition. + +2013-05-16 Cary Coutant + + * ecoff.c (ecoff_link_check_archive_element): Add initializers for + external_ext_size and esize. + +2013-05-16 Tristan Gingold + + * coff-rs6000.c (_bfd_xcoff_reloc_type_lookup): Handle BFD_RELOC_16. + * coff64-rs6000.c (xcoff64_reloc_type_lookup): Likewise. + 2013-05-15 Andreas Schwab * elf64-aarch64.c (elf_backend_default_execstack): Define to 0. diff --git a/bfd/coff-rs6000.c b/bfd/coff-rs6000.c index 0945aca..aa61afb 100644 --- a/bfd/coff-rs6000.c +++ b/bfd/coff-rs6000.c @@ -1098,7 +1098,6 @@ reloc_howto_type xcoff_howto_table[] = 0xffff, /* src_mask */ 0xffff, /* dst_mask */ FALSE), /* pcrel_offset */ - }; void @@ -1146,6 +1145,9 @@ _bfd_xcoff_reloc_type_lookup (bfd *abfd ATTRIBUTE_UNUSED, return &xcoff_howto_table[8]; case BFD_RELOC_PPC_TOC16: return &xcoff_howto_table[3]; + case BFD_RELOC_16: + /* Note that this relocation is only internally used by gas. */ + return &xcoff_howto_table[0xc]; case BFD_RELOC_32: case BFD_RELOC_CTOR: return &xcoff_howto_table[0]; diff --git a/bfd/coff64-rs6000.c b/bfd/coff64-rs6000.c index 5f4a502..56a0d25 100644 --- a/bfd/coff64-rs6000.c +++ b/bfd/coff64-rs6000.c @@ -1826,6 +1826,9 @@ xcoff64_reloc_type_lookup (bfd *abfd ATTRIBUTE_UNUSED, return &xcoff64_howto_table[8]; case BFD_RELOC_PPC_TOC16: return &xcoff64_howto_table[3]; + case BFD_RELOC_16: + /* Note that this relocation is only internally used by gas. */ + return &xcoff64_howto_table[0xc]; case BFD_RELOC_32: case BFD_RELOC_CTOR: return &xcoff64_howto_table[0x1c]; diff --git a/bfd/ecoff.c b/bfd/ecoff.c index 5add50c..7bfb333 100644 --- a/bfd/ecoff.c +++ b/bfd/ecoff.c @@ -3561,9 +3561,9 @@ ecoff_link_check_archive_element (bfd *abfd, void (* const swap_ext_in) (bfd *, void *, EXTR *) = backend->debug_swap.swap_ext_in; HDRR *symhdr; - bfd_size_type external_ext_size; + bfd_size_type external_ext_size = 0; void * external_ext = NULL; - bfd_size_type esize; + bfd_size_type esize = 0; char *ssext = NULL; char *ext_ptr; char *ext_end; diff --git a/bfd/elf32-vax.c b/bfd/elf32-vax.c index f13ec1b..77b8e0d 100644 --- a/bfd/elf32-vax.c +++ b/bfd/elf32-vax.c @@ -914,9 +914,8 @@ elf_vax_gc_sweep_hook (bfd *abfd, struct bfd_link_info *info, asection *sec, understand. */ static bfd_boolean -elf_vax_adjust_dynamic_symbol (info, h) - struct bfd_link_info *info; - struct elf_link_hash_entry *h; +elf_vax_adjust_dynamic_symbol (struct bfd_link_info *info, + struct elf_link_hash_entry *h) { bfd *dynobj; asection *s; @@ -1263,10 +1262,10 @@ elf_vax_discard_copies (struct elf_vax_link_hash_entry *h, /* This function is called via elf_link_hash_traverse. It looks for entries that have GOT or PLT (.GOT) references. If creating a static object or a - shared object with -Bsymbolic, it resets the reference count back to 0 - and sets the offset to -1 so normal PC32 relocation will be done. If - creating a shared object or executable, space in the .got and .rela.got - will be reserved for the symbol. */ + shared object with -Bsymbolic, or the symbol has been forced local, then + it resets the reference count back to -1 so normal PC32 relocation will + be done. Otherwise space in the .got and .rela.got will be reserved for + the symbol. */ static bfd_boolean elf_vax_instantiate_got_entries (struct elf_link_hash_entry *h, void * infoptr) @@ -1291,10 +1290,8 @@ elf_vax_instantiate_got_entries (struct elf_link_hash_entry *h, void * infoptr) || (info->shared && info->symbolic) || h->forced_local) { - h->got.refcount = 0; - h->got.offset = (bfd_vma) -1; - h->plt.refcount = 0; - h->plt.offset = (bfd_vma) -1; + h->got.refcount = -1; + h->plt.refcount = -1; } else if (h->got.refcount > 0) { diff --git a/bfd/elf64-aarch64.c b/bfd/elf64-aarch64.c index aef472f..fe9d5b1 100644 --- a/bfd/elf64-aarch64.c +++ b/bfd/elf64-aarch64.c @@ -1730,26 +1730,6 @@ elf64_aarch64_mkobject (bfd *abfd) AARCH64_ELF_DATA); } -/* The AArch64 linker needs to keep track of the number of relocs that it - decides to copy in check_relocs for each symbol. This is so that - it can discard PC relative relocs if it doesn't need them when - linking with -Bsymbolic. We store the information in a field - extending the regular ELF linker hash table. */ - -/* This structure keeps track of the number of relocs we have copied - for a given symbol. */ -struct elf64_aarch64_relocs_copied -{ - /* Next section. */ - struct elf64_aarch64_relocs_copied *next; - /* A section in dynobj. */ - asection *section; - /* Number of relocs copied in this section. */ - bfd_size_type count; - /* Number of PC-relative relocs copied in this section. */ - bfd_size_type pc_count; -}; - #define elf64_aarch64_hash_entry(ent) \ ((struct elf64_aarch64_link_hash_entry *)(ent)) @@ -1769,9 +1749,6 @@ struct elf64_aarch64_link_hash_entry /* Track dynamic relocs copied for this symbol. */ struct elf_dyn_relocs *dyn_relocs; - /* Number of PC relative relocs copied for this symbol. */ - struct elf64_aarch64_relocs_copied *relocs_copied; - /* Since PLT entries have variable size, we need to record the index into .got.plt instead of recomputing it from the PLT offset. */ @@ -1950,7 +1927,6 @@ elf64_aarch64_link_hash_newfunc (struct bfd_hash_entry *entry, if (ret != NULL) { ret->dyn_relocs = NULL; - ret->relocs_copied = NULL; ret->got_type = GOT_UNKNOWN; ret->plt_got_offset = (bfd_vma) - 1; ret->stub_cache = NULL; @@ -2041,37 +2017,6 @@ elf64_aarch64_copy_indirect_symbol (struct bfd_link_info *info, eind->dyn_relocs = NULL; } - if (eind->relocs_copied != NULL) - { - if (edir->relocs_copied != NULL) - { - struct elf64_aarch64_relocs_copied **pp; - struct elf64_aarch64_relocs_copied *p; - - /* Add reloc counts against the indirect sym to the direct sym - list. Merge any entries against the same section. */ - for (pp = &eind->relocs_copied; (p = *pp) != NULL;) - { - struct elf64_aarch64_relocs_copied *q; - - for (q = edir->relocs_copied; q != NULL; q = q->next) - if (q->section == p->section) - { - q->pc_count += p->pc_count; - q->count += p->count; - *pp = p->next; - break; - } - if (q == NULL) - pp = &p->next; - } - *pp = edir->relocs_copied; - } - - edir->relocs_copied = eind->relocs_copied; - eind->relocs_copied = NULL; - } - if (ind->root.type == bfd_link_hash_indirect) { /* Copy over PLT info. */ diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c index fa80771..a3b50f3 100644 --- a/bfd/elfxx-mips.c +++ b/bfd/elfxx-mips.c @@ -9354,7 +9354,7 @@ _bfd_mips_elf_relocate_section (bfd *output_bfd, struct bfd_link_info *info, const char *name; bfd_vma value = 0; reloc_howto_type *howto; - bfd_boolean cross_mode_jump_p; + bfd_boolean cross_mode_jump_p = FALSE; /* TRUE if the relocation is a RELA relocation, rather than a REL relocation. */ bfd_boolean rela_relocation_p = TRUE; diff --git a/bfd/format.c b/bfd/format.c index e2afa3b..b8f39ca 100644 --- a/bfd/format.c +++ b/bfd/format.c @@ -376,6 +376,9 @@ bfd_check_format_matches (bfd *abfd, bfd_format format, char ***matching) } } + /* We have more than one equally good match. If any of the best + matches is a target in config.bfd targ_defvec or targ_selvecs, + choose it. */ if (match_count > 1) { const bfd_target * const *assoc = bfd_associated_vector; @@ -385,7 +388,8 @@ bfd_check_format_matches (bfd *abfd, bfd_format format, char ***matching) int i = match_count; while (--i >= 0) - if (matching_vector[i] == right_targ) + if (matching_vector[i] == right_targ + && right_targ->match_priority <= best_match) break; if (i >= 0) @@ -396,6 +400,22 @@ bfd_check_format_matches (bfd *abfd, bfd_format format, char ***matching) } } + /* We still have more than one equally good match, and at least some + of the targets support match priority. Choose the first of the + best matches. */ + if (match_count > 1 && best_count != match_count) + { + int i; + + for (i = 0; i < match_count; i++) + { + right_targ = matching_vector[i]; + if (right_targ->match_priority <= best_match) + break; + } + match_count = 1; + } + /* There is way too much undoing of half-known state here. We really shouldn't iterate on live bfd's. Note that saving the whole bfd and restoring it would be even worse; the first thing diff --git a/bfd/srec.c b/bfd/srec.c index 6226773..ded9e76 100644 --- a/bfd/srec.c +++ b/bfd/srec.c @@ -870,6 +870,7 @@ srec_set_section_contents (bfd *abfd, file_ptr offset, bfd_size_type bytes_to_do) { + int opb = bfd_octets_per_byte (abfd); tdata_type *tdata = abfd->tdata.srec_data; srec_data_list_type *entry; @@ -892,16 +893,16 @@ srec_set_section_contents (bfd *abfd, regardless of the siez of the addresses. */ if (S3Forced) tdata->type = 3; - else if ((section->lma + offset + bytes_to_do - 1) <= 0xffff) + else if ((section->lma + (offset + bytes_to_do) / opb - 1) <= 0xffff) ; /* The default, S1, is OK. */ - else if ((section->lma + offset + bytes_to_do - 1) <= 0xffffff + else if ((section->lma + (offset + bytes_to_do) / opb - 1) <= 0xffffff && tdata->type <= 2) tdata->type = 2; else tdata->type = 3; entry->data = data; - entry->where = section->lma + offset; + entry->where = section->lma + offset / opb; entry->size = bytes_to_do; /* Sort the records by address. Optimize for the common case of diff --git a/bfd/version.h b/bfd/version.h index 4fbb51d..5c3d229 100644 --- a/bfd/version.h +++ b/bfd/version.h @@ -1,4 +1,4 @@ -#define BFD_VERSION_DATE 20130515 +#define BFD_VERSION_DATE 20130523 #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 13bdc3d..1c21cd4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,580 @@ +2013-05-23 Joel Brobecker + + * mi/mi-cmd-break.c (mi_argv_to_format): Use xsnprintf instead + of sprintf. + +2013-05-22 Keith Seitz + + * ada-lang.c (is_known_support_routine): Add explicit free of + 'func_name' from find_frame_funname. + (ada_unhandled_exception_name_addr_from_raise): Add cleanups + for func_name from find_frame_funname. + * python/py-frame.c (frapy_name): Add explicit free of + 'name' from find_frame_funname. + * stack.c (find_frame_funname): Add comment explaining that + funcp must be freed by the caller. + Return copy of symbol names instead of pointers. + (print_frame): Add a cleanup for 'funname' from + find_frame_funname. + * stack.h (find_frame_funname): Remove "const" from + 'funname' parameter. + +2013-05-22 Tom Tromey + + PR c++/15401: + * c-valprint.c (c_value_print): Use value_addr for + references. Convert back to reference type with value_ref. + +2013-05-22 Eli Zaretskii + + * windows-nat.c (handle_unload_dll): Don't call solib_add for the + unloaded DLL, it will be done by handle_solib_event. See + http://sourceware.org/ml/gdb-patches/2013-05/msg00713.html for the + details. + +2013-05-22 Phil Muldoon + + * ui-out.c: Create typedef ui_out_level_p and define vector + operations for that type. + (struct ui_out): Use a vector instead of an array. + (current_level): Return level from a vector. + (push_level): Create a level in a vector. + (pop_level): Delete a level in a vector. + (ui_out_new): Create initial level zero level, and store in a + vector. + (ui_out_destroy): Add vector cleanup. + +2013-05-22 Pedro Alves + + * python/python-internal.h (gdb_Py_DECREF): Tag with + "ARI: editCase function". + +2013-05-21 Paul Pluzhnikov + + * solib-svr4.c (svr4_free_so): Protect against NULL dereference. + +2013-05-21 Pedro Alves + + * python/py-prettyprint.c (apply_val_pretty_printer): Check + whether PRINTER is NULL before installing a Py_DECREF cleanup. + * python/py-utils.c (py_decref): Don't check for NULL before + calling Py_DECREF. + +2013-05-21 Pedro Alves + + * python/py-utils.c (py_decref): Remove extra braces. + (gdb_pymodule_addobject): Remove extra braces. + * python-internal.h (gdb_Py_DECREF): New static inline function. + (Py_DECREF): Redefine as calling gdb_Py_DECREF. + +2013-05-21 Philippe Waroquiers + + * breakpoints.c (detach_breakpoints): Do not + detach breakpoints locations with loc_type bp_loc_other. + +2013-05-21 Jan Kratochvil + + Workaround Python 2.6. + * python/py-utils.c (gdb_pymodule_addobject): Wrap Py_DECREF into + a block. + +2013-05-21 Jan Kratochvil + + Code cleanup: constification. + * solib.c (solib_ops): Make return type and ops variable type const. + (set_solib_ops): Make the new_ops parameter and ops variable const. + (solib_find, solib_map_sections, clear_so, free_so, update_solib_list) + (solib_add, solib_keep_data_in_core, clear_solib) + (solib_create_inferior_hook, in_solib_dynsym_resolve_code) + (reload_shared_libraries, solib_global_lookup): Make the ops variable + const. + * solib.h (set_solib_ops): Make the new_ops parameter const. + +2013-05-21 Joel Brobecker + + * data-directory/Makefile.in (SYSTEM_GDBINIT_SRCDIR): New + variable. + (VPATH): Add SYSTEM_GDBINIT_SRCDIR. + (SYSTEM_GDBINIT_DIR, SYSTEM_GDBINIT_INSTALL_DIR) + (SYSTEM_GDBINIT_FILES): New variables. + (all): Add stamp-system-gdbinit. + (stamp-system-gdbinit): New rule. + (clean-system-gdbinit, install-system-gdbinit) + (uninstall-system-gdbinit): New rules. Make them .PHONY. + (install-only): Add dependency on install-system-gdbinit. + (uninstall): Add dependency on uninstall-system-gdbinit. + (clean): Add dependency on clean-system-gdbinit. + * system-gdbinit/elinos.py: New file. + * system-gdbinit/wrs-linux.py: New file. + +2013-05-21 Joel Brobecker + + * ada-lang.c (old_renaming_is_invisible): Fix cleanup leak. + +2013-05-21 Hui Zhu + + * breakpoint.c (dprintf_breakpoint_ops): Remove its static. + * breakpoint.h (dprintf_breakpoint_ops): Add extern. + * mi/mi-cmd-break.c (ctype.h): New include. + (gdb_obstack.h): New include. + (mi_argv_to_format, mi_cmd_break_insert_1): New. + (mi_cmd_break_insert): Call mi_cmd_break_insert_1. + (mi_cmd_dprintf_insert): New. + * mi/mi-cmds.c (mi_cmds): Add "dprintf-insert". + * mi/mi-cmds.h (mi_cmd_dprintf_insert): New extern. + +2013-05-20 Tom Tromey + + * python/py-prettyprint.c (search_pp_list): Decref 'attr'. + +2013-05-20 Tom Tromey + + * python/py-value.c (valpy_get_dynamic_type): Simplify + dynamic_type assignment. Use Py_XINCREF. + +2013-05-20 Tom Tromey + + * python/py-type.c (typy_fields): Unconditionally decref 'r'. + +2013-05-20 Tom Tromey + + * python/py-frame.c (frapy_older, frapy_newer, gdbpy_newest_frame) + (gdbpy_selected_frame): Move object-construction code + out of TRY_CATCH. + +2013-05-20 Tom Tromey + + * python/py-arch.c (gdbpy_initialize_arch): Use + gdb_pymodule_addobject. + * python/py-block.c (gdbpy_initialize_blocks): Use + gdb_pymodule_addobject. + * python/py-breakpoint.c (gdbpy_initialize_breakpoints): Use + gdb_pymodule_addobject. + * python/py-cmd.c (gdbpy_initialize_breakpoints): Use + gdb_pymodule_addobject. hooks/post-receive -- Repository for Project Archer.