The branch, master has been updated via 2ce488949646b137d041e724458bd0f8ea1ebcf5 (commit) via 8adc5fddcedf6ba47d6fd40dc2ba4c4f9c9b6a45 (commit) via e0b60493e555d6d78e5bd69890531ed86fdfbad8 (commit) via 7c1179519d4f5f028b94a3071f775d9923ef1b0c (commit) via 07433744611d5ed4beebbc27d382daa1daf7a134 (commit) via c4e773b1fb01910f9ff94a7f64f8f94620980be3 (commit) via 0893837e1e72edd31b082dcee67a79503d57f3ad (commit) via 8a595ba5734900e915ba31b4b5f096deb7beb038 (commit) via fc775018a7423273f64ae125707cef8f2be2910e (commit) via f487a6054dbdc205228bff03589a5c6e2dade307 (commit) via dae725ed5d0edf632f9d4bc21eabb28890db09a5 (commit) via 4b1fa80c6f70ebb624342ad697c91909bb1db8c8 (commit) via 503d1ef270c95e55a003fd913760a72d2fedf1aa (commit) via 288180a93adab44652eb5fb4ce39bcce899f7be8 (commit) via e3e2bdb5539511b75a332c087f629111ec04c6dc (commit) via 61f06700b163fdeaa62e3b5e37029423088bd298 (commit) via 91bef12495b6ec8dfdb0998eed18740bbeb390a8 (commit) via 6fcf6494224a6606245c297e9602a7953434120b (commit) via cd64fa3f4e535614b8210241598112ab19c606a9 (commit) via bd7c9765d99b99a50caf868fc7431dd591c803b0 (commit) via b04d3b7e2cebc68da35032b1eb9bdd9ad83cdcca (commit) via 4ec81a5030cb0515eac5ed06c3116c07de6ba377 (commit) via eddac4b4a1c638f6e5795e5b3da475d83e63d8cf (commit) via a025fbffd7294700ecc406421d118f7a0392efde (commit) via 486ee7f3437358941f0762ace2550170ef474de1 (commit) via c40d16fcc57ba9e164faf064146f661aadbbfabe (commit) via c399a3bbcd00c855d2ac47769aa870c9b975353d (commit) via 0266671e24d8f20402ebe328038d84c22f068711 (commit) via 23578b492741b32ee53c453ab50c7e7f78258dfb (commit) via f7795948b64873aace3546059597ce7ed498c74b (commit) via 8c6a4e026da60454cfe6c9c9a1ea0c071a9d9506 (commit) via 0436b64a7ccf7888365a9f02d83bf23c3d513ab3 (commit) via 0b7ce86af6cf99c9df0e634ccb61134315e79813 (commit) via 12489706fabef7f148b877358c101c714d58e252 (commit) via cb02304f78faa8600c5f2f32e10f0857ebd912df (commit) via cafda6b69357061d11902df051b1201b91713e68 (commit) via a879222a9818cc283b15ce90ff45cda33899178f (commit) via 62d79c9a7841f6de070137b37dc138bfff7d62d4 (commit) via 8bafd6a5d82aed290f27e458a53e11352362713c (commit) via 5869f02d80550193b3346bebfa9d6941681d26b3 (commit) via 7b66f834bb061187be876cdc21cac43be52ab6ca (commit) via acfc984d522c7049bff69d410579c1bd398a1118 (commit) via 87baf9c76d270004e5bce727862c62ee8f194b59 (commit) via 37124605c17c958356b11b8ee98f39f0e9413514 (commit) via 66d646742f09992f9fcc665fedca55c0809c42ae (commit) via a4809228480c67d2d0ad49a2403de6b3fe0a6342 (commit) from 38cdd2f1951b882ce68ff310f85e234a2450ddce (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 2ce488949646b137d041e724458bd0f8ea1ebcf5 Merge: 38cdd2f 8adc5fd Author: Sami Wagiaalla Date: Wed Dec 22 15:11:03 2010 -0500 Merge remote branch 'gdb/master' commit 8adc5fddcedf6ba47d6fd40dc2ba4c4f9c9b6a45 Author: Marc Khouzam Date: Wed Dec 22 18:30:16 2010 +0000 * inferior.c (remove_inferior_command): Don't remove an active inferior. * mi/mi-main.c (mi_cmd_remove_inferior): Ditto. commit e0b60493e555d6d78e5bd69890531ed86fdfbad8 Author: gdbadmin Date: Wed Dec 22 00:00:33 2010 +0000 *** empty log message *** commit 7c1179519d4f5f028b94a3071f775d9923ef1b0c Author: Alan Modra Date: Tue Dec 21 23:00:05 2010 +0000 daily update commit 07433744611d5ed4beebbc27d382daa1daf7a134 Author: Tom Tromey Date: Tue Dec 21 19:10:08 2010 +0000 gdb * thread.c (print_thread_info): Make a ui-out table in CLI mode. gdb/testsuite * gdb.threads/execl.exp: Update. * gdb.threads/linux-dp.exp: Update. * gdb.threads/manythreads.exp: Update. * gdb.threads/tls.exp: Update. commit c4e773b1fb01910f9ff94a7f64f8f94620980be3 Author: Kai Tietz Date: Tue Dec 21 15:24:37 2010 +0000 2010-12-21 Kai Tietz * peXXigen.c (_bfd_XXi_final_link_postscript): Use bfd_get_symbol_leading_char to determine "_tls_used" name. 2010-12-21 Kai Tietz * ld-pe/pe.exp: Add TLS directory test. * ld-pe/tlssec.s: New. * ld-pe/tlssec64.d: New. * ld-pe/tlssec32.d: New. commit 0893837e1e72edd31b082dcee67a79503d57f3ad Author: Pierre Muller Date: Tue Dec 21 08:41:15 2010 +0000 * peXXigen.c (_bfd_XXi_final_link_postscript): Use correct size for windows 64-bit TLS table size. commit 8a595ba5734900e915ba31b4b5f096deb7beb038 Author: gdbadmin Date: Tue Dec 21 00:00:02 2010 +0000 *** empty log message *** commit fc775018a7423273f64ae125707cef8f2be2910e Author: Alan Modra Date: Mon Dec 20 23:00:05 2010 +0000 daily update commit f487a6054dbdc205228bff03589a5c6e2dade307 Author: qiyao Date: Mon Dec 20 06:19:04 2010 +0000 2010-12-20 Yao Qi * arm-tdep.c (arm_register_reggroup_p): New. (arm_gdbarch_init): Set arm_register_reggroup_p for hook register_reggroup_p. commit dae725ed5d0edf632f9d4bc21eabb28890db09a5 Author: qiyao Date: Mon Dec 20 06:15:01 2010 +0000 Forget to commit in my last check in 2010-12-20 Yao Qi * features/arm-core.xml: Add attribute type to reg from r0 to r12. * features/arm-with-iwmmxt.c: Regenerate. * features/arm-with-neon.c: Regenerate. * features/arm-with-vfpv2.c: Regenerate. * features/arm-with-vfpv3.c: Regenerate. commit 4b1fa80c6f70ebb624342ad697c91909bb1db8c8 Author: qiyao Date: Mon Dec 20 06:09:20 2010 +0000 2010-12-20 Yao Qi * features/arm-core.xml: Add attribute type to reg from r0 to r12. * features/arm-with-iwmmxt.c: Regenerate. * features/arm-with-neon.c: Regenerate. * features/arm-with-vfpv2.c: Regenerate. * features/arm-with-vfpv3.c: Regenerate. commit 503d1ef270c95e55a003fd913760a72d2fedf1aa Author: gdbadmin Date: Mon Dec 20 00:00:33 2010 +0000 *** empty log message *** commit 288180a93adab44652eb5fb4ce39bcce899f7be8 Author: Alan Modra Date: Sun Dec 19 23:00:05 2010 +0000 daily update commit e3e2bdb5539511b75a332c087f629111ec04c6dc Author: gdbadmin Date: Sun Dec 19 00:00:33 2010 +0000 *** empty log message *** commit 61f06700b163fdeaa62e3b5e37029423088bd298 Author: Alan Modra Date: Sat Dec 18 23:00:05 2010 +0000 daily update commit 91bef12495b6ec8dfdb0998eed18740bbeb390a8 Author: Richard Sandiford Date: Sat Dec 18 11:28:25 2010 +0000 include/opcode/ * mips.h: Update commentary after last commit. commit 6fcf6494224a6606245c297e9602a7953434120b Author: Richard Sandiford Date: Sat Dec 18 11:14:12 2010 +0000 include/opcode/ 2010-12-14 Mingjie Xing * mips.h (OP_*_OFFSET_A, OP_*_OFFSET_B, OP_*_OFFSET_C) (OP_*_RZ, OP_*_FZ, INSN2_M_FP_D, INSN2_WRITE_GPR_Z, INSN2_WRITE_FPR_Z) (INSN2_READ_GPR_Z, INSN2_READ_FPR_Z, INSN2_READ_GPR_D): Define. opcodes/ 2010-12-14 Mingjie Xing * mips-opc.c (WR_z, WR_Z, RD_z, RD_Z, RD_d): Define. (mips_builtin_opcodes): Add loongson3a specific instructions. * mips-dis.c (print_insn_args): Handle the new arguments +a|b|c|z|Z. gas/ 2010-12-14 Mingjie Xing * config/tc-mips.c (insn_uses_reg): Handle the new flags INSN2_READ_FPR_Z, INSN2_READ_GPR_D and INSN2_READ_GPR_Z. (append_insn): Handle delay-slot filling for the new flags. (validate_mips_insn): Handle the new arguments +a|b|c|z|Z. (mips_ip): Handle the new arguments +a|b|c|z|Z. gas/testsuite/ 2010-12-14 Mingjie Xing * gas/mips/loongson-3a-2.s, gas/mips/loongson-3a-2.d, gas/mips/loongson-3a-3.s, gas/mips/loongson-3a-3.d: New tests. * gas/mips/mips.exp: Run them. commit cd64fa3f4e535614b8210241598112ab19c606a9 Author: Marc Khouzam Date: Sat Dec 18 02:10:04 2010 +0000 * mi/mi-main.c (mi_cmd_remove_inferior): Don't delete current inferior. (get_other_inferior): New. commit bd7c9765d99b99a50caf868fc7431dd591c803b0 Author: Marc Khouzam Date: Sat Dec 18 02:08:42 2010 +0000 * python/py-progspace.c (py_free_pspace): Obtain arch another way to avoid dereferencing a null pointer. commit b04d3b7e2cebc68da35032b1eb9bdd9ad83cdcca Author: Michael Snyder Date: Sat Dec 18 00:11:44 2010 +0000 2010-12-17 Michael Snyder * utils.c (do_my_cleanups): Comment fix-up. commit 4ec81a5030cb0515eac5ed06c3116c07de6ba377 Author: gdbadmin Date: Sat Dec 18 00:00:34 2010 +0000 *** empty log message *** commit eddac4b4a1c638f6e5795e5b3da475d83e63d8cf Author: Alan Modra Date: Fri Dec 17 23:00:06 2010 +0000 daily update commit a025fbffd7294700ecc406421d118f7a0392efde Author: Jeff Johnston Date: Fri Dec 17 22:09:16 2010 +0000 2010-12-18 Jeff Johnston * COPYING.LIBGLOSS: Remove the GPL for fr30 target. commit 486ee7f3437358941f0762ace2550170ef474de1 Author: Kevin Buettner Date: Fri Dec 17 21:39:26 2010 +0000 * mips-tdep.c (make_mips16_addr): New function. (mips_elf_make_msymbol_special): Don't set the low bit in the symbol's address. (mips_read_pc, mips_unwind_pc, mips_addr_bits_remove): Strip bit indicating mips16 address, if present. (mips_write_pc): Set bit indicating mips16 address when in a mips16 function. (mips_eabi_push_dummy_call, mips_o64_push_dummy_call): Likewise, but for each function pointer argument to inferior function call. commit c40d16fcc57ba9e164faf064146f661aadbbfabe Author: Tom Tromey Date: Fri Dec 17 17:19:33 2010 +0000 * psympriv.h (struct partial_symtab) : Move field earlier. commit c399a3bbcd00c855d2ac47769aa870c9b975353d Author: DJ Delorie Date: Fri Dec 17 04:16:55 2010 +0000 * reloc.c (BFD_RELOC_RX_ABS16_REV): Add. (BFD_RELOC_RX_ABS32_REV): Add. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. * elf32-rx.c (rx_reloc_map): Add them. * config/tc-rx.c (rx_validate_fix_sub): Permit subtraction in more cases. (tc_gen_reloc): Fix handling of subtraction (esp wrt endianness). commit 0266671e24d8f20402ebe328038d84c22f068711 Author: gdbadmin Date: Fri Dec 17 00:00:33 2010 +0000 *** empty log message *** commit 23578b492741b32ee53c453ab50c7e7f78258dfb Author: Alan Modra Date: Thu Dec 16 23:00:05 2010 +0000 daily update commit f7795948b64873aace3546059597ce7ed498c74b Author: Kevin Buettner Date: Thu Dec 16 22:50:46 2010 +0000 * mips-tdep.c (mips_convert_register_float_case_p) (mips_convert_register_gpreg_case_p): New functions. (mips_convert_register_p): Invoke new functions above. (mips_register_to_value): Add case for fetching value shorter than 64 bits from a 64-bit register. (mips_value_to_register): Add case for storing value shorter than 64 bits into a 64-bit register. commit 8c6a4e026da60454cfe6c9c9a1ea0c071a9d9506 Author: Tom Tromey Date: Thu Dec 16 17:40:21 2010 +0000 2010-12-16 Joel Borggrén-Franck * python/py-value.c (value_object_type) : Add Py_TPFLAGS_BASETYPE. commit 0436b64a7ccf7888365a9f02d83bf23c3d513ab3 Author: Mike Frysinger Date: Thu Dec 16 13:05:28 2010 +0000 NEWS: Mention new sim --map-info flag. commit 0b7ce86af6cf99c9df0e634ccb61134315e79813 Author: Doug Evans Date: Thu Dec 16 01:42:40 2010 +0000 * dwarf2read.c (_initialize_dwarf2_read): Fix help text of "save gdb-index" command. commit 12489706fabef7f148b877358c101c714d58e252 Author: gdbadmin Date: Thu Dec 16 00:00:02 2010 +0000 *** empty log message *** commit cb02304f78faa8600c5f2f32e10f0857ebd912df Author: Alan Modra Date: Wed Dec 15 23:00:06 2010 +0000 daily update commit cafda6b69357061d11902df051b1201b91713e68 Author: Tom Tromey Date: Wed Dec 15 21:19:50 2010 +0000 gdb * infrun.c (save_infcall_control_state): Handle the exception-resume breakpoint. (restore_infcall_control_state): Likewise. (discard_infcall_control_state): Likewise. gdb/testsuite 2010-12-15 Jan Kratochvil * gdb.cp/nextoverthrow.cc (dummy): Return int 0. (NextOverThrowDerivates) : New. (resumebpt_test): New. (main): Call resumebpt_test. * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt". commit a879222a9818cc283b15ce90ff45cda33899178f Author: Kevin Buettner Date: Wed Dec 15 20:53:06 2010 +0000 * mips-tdep.c (mips_pseudo_register_write): Sign extend 32-bit cooked values that are being transferred to 64-bit raw registers. (mips_pseudo_register_read): Revise to preserve symmetry with mips_pseudo_register_write(). commit 62d79c9a7841f6de070137b37dc138bfff7d62d4 Author: Tom Tromey Date: Wed Dec 15 19:28:30 2010 +0000 2010-12-15 Greg Watson * f-exp.y (yylex): Check entire token against keywords. commit 8bafd6a5d82aed290f27e458a53e11352362713c Author: Doug Evans Date: Wed Dec 15 17:27:56 2010 +0000 Rename "maint set python auto-load" to "set auto-load-scripts". * NEWS: Mention it. * python/py-auto-load.c (auto_load_scripts): Renamed from gdbpy_auto_load. (load_auto_scripts_for_objfile): Update. (gdbpy_initialize_auto_load): Rename "maint set python auto-load" to "set auto-load-scripts". doc/ * gdb.texinfo (Startup): Document auto-loading of scripts during startup. (Auto-loading): Delete "maint set python auto-load on|off". Add "set auto-load-scripts on|off". commit 5869f02d80550193b3346bebfa9d6941681d26b3 Author: H.J. Lu Date: Wed Dec 15 14:56:39 2010 +0000 Add SORT_BY_INIT_PRIORITY. bfd/ 2010-12-15 H.J. Lu * elf.c (_bfd_elf_new_section_hook): Special handling for .init_array/.fini_array output sections. ld/ 2010-12-15 H.J. Lu * Makefile.am (GENSCRIPTS): Add @enable_initfini_array@. * NEWS: Mention SORT_BY_INIT_PRIORITY. * configure.in: Add AC_CANONICAL_BUILD. Add --enable-initfini-array. * genscripts.sh (ENABLE_INITFINI_ARRAY): New. * ld.h (sort_type): Add by_init_priority. * ld.texinfo: Document SORT_BY_INIT_PRIORITY. * ldgram.y (SORT_BY_INIT_PRIORITY): New. (wildcard_spec): Handle SORT_BY_INIT_PRIORITY. * ldlang.c (get_init_priority): New. (compare_section): Use get_init_priority for by_init_priority. * ldlex.l (SORT_BY_INIT_PRIORITY): New. * scripttempl/elf.sc: Support ENABLE_INITFINI_ARRAY. * Makefile.in: Regenerated. * aclocal.m4: Regenerated. * config.in: Likewise. * configure: Likewise. ld/testsuite/ 2010-12-15 H.J. Lu * ld-elf/elf.exp (array_tests): Add init-mixed. (array_tests_static): Likewise. Also delete tmpdir/init-mixed. * ld-elf/init-mixed.c: New. * ld-elf/init-mixed.out: Likewise. commit 7b66f834bb061187be876cdc21cac43be52ab6ca Author: Mike Frysinger Date: Wed Dec 15 11:50:46 2010 +0000 sim: add --map-info option There are options for listing the current device/hw tree and memory regions, but no way to find out at run time all the current mappings. So add a new --map-info option akin to the --memory-info option which displays all the current mappings. Signed-off-by: Mike Frysinger commit acfc984d522c7049bff69d410579c1bd398a1118 Author: gdbadmin Date: Wed Dec 15 00:00:04 2010 +0000 *** empty log message *** commit 87baf9c76d270004e5bce727862c62ee8f194b59 Author: DJ Delorie Date: Tue Dec 14 23:39:03 2010 +0000 (decode_opcode): RXO_branchrel is relative to the opcode's PC, not the address following the opcode. commit 37124605c17c958356b11b8ee98f39f0e9413514 Author: DJ Delorie Date: Tue Dec 14 23:12:20 2010 +0000 * rx.c (decode_opcode): For "MVFC PC,", use the address of the opcode, not the address following the opcode. commit 66d646742f09992f9fcc665fedca55c0809c42ae Author: Alan Modra Date: Tue Dec 14 23:00:08 2010 +0000 daily update commit a4809228480c67d2d0ad49a2403de6b3fe0a6342 Author: Kevin Buettner Date: Tue Dec 14 21:07:48 2010 +0000 * mips-tdep.c (mips_eabi_push_dummy_call): Place signed, rather than unsigned, values in registers. ----------------------------------------------------------------------- Summary of changes: COPYING.LIBGLOSS | 23 +--- ChangeLog | 4 + bfd/ChangeLog | 23 ++++ bfd/bfd-in2.h | 2 + bfd/elf.c | 13 ++- bfd/elf32-rx.c | 2 + bfd/libbfd.h | 2 + bfd/peXXigen.c | 13 ++- bfd/reloc.c | 4 + bfd/version.h | 2 +- gdb/ChangeLog | 111 ++++++++++++++++ gdb/NEWS | 7 + gdb/arm-tdep.c | 13 ++ gdb/doc/ChangeLog | 7 + gdb/doc/gdb.texinfo | 31 ++++- gdb/dwarf2read.c | 2 +- gdb/f-exp.y | 4 +- gdb/features/arm-core.xml | 26 ++-- gdb/features/arm-with-iwmmxt.c | 27 ++-- gdb/features/arm-with-neon.c | 30 ++-- gdb/features/arm-with-vfpv2.c | 30 ++-- gdb/features/arm-with-vfpv3.c | 30 ++-- gdb/inferior.c | 3 + gdb/infrun.c | 9 ++ gdb/mi/mi-main.c | 31 +++++ gdb/mips-tdep.c | 199 +++++++++++++++++++++++++---- gdb/psympriv.h | 10 +- gdb/python/py-auto-load.c | 32 +++-- gdb/python/py-progspace.c | 5 +- gdb/python/py-value.c | 2 +- gdb/testsuite/ChangeLog | 15 ++ gdb/testsuite/gdb.cp/nextoverthrow.cc | 36 +++++- gdb/testsuite/gdb.cp/nextoverthrow.exp | 11 ++- gdb/testsuite/gdb.threads/execl.exp | 2 +- gdb/testsuite/gdb.threads/linux-dp.exp | 18 ++- gdb/testsuite/gdb.threads/manythreads.exp | 2 +- gdb/testsuite/gdb.threads/tls.exp | 6 +- gdb/thread.c | 65 +++++++++- gdb/utils.c | 2 +- gdb/version.in | 2 +- include/opcode/ChangeLog | 10 ++ include/opcode/mips.h | 34 +++++- opcodes/ChangeLog | 6 + opcodes/mips-dis.c | 31 +++++ opcodes/mips-opc.c | 65 ++++++++++ sim/common/ChangeLog | 6 + sim/common/sim-memopt.c | 45 +++++++- sim/rx/ChangeLog | 7 + sim/rx/rx.c | 12 ++- 49 files changed, 891 insertions(+), 181 deletions(-) First 500 lines of diff: diff --git a/COPYING.LIBGLOSS b/COPYING.LIBGLOSS index 403d42b..5e78978 100644 --- a/COPYING.LIBGLOSS +++ b/COPYING.LIBGLOSS @@ -58,27 +58,10 @@ duplicated in all such forms. This file is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -(4) GPL (fr30 directory only) +(4) (formerly GPL for fr30) -Copyright (C) 1998 Free Software Foundation, Inc. -Contributed by Cygnus Solutions. - -This file is part of GNU CC. - -GNU CC is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU CC is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU CC; see the file COPYING. If not, write to -the Free Software Foundation, 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. +The GPL is no longer applicable to the fr30 platform. The piece of +code (syscalls.c) referencing the GPL has been officially relicensed. (5) Advanced Micro Devices diff --git a/ChangeLog b/ChangeLog index bc19a77..3d04a72 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2010-12-18 Jeff Johnston + + * COPYING.LIBGLOSS: Remove the GPL for fr30 target. + 2010-12-10 Ian Lance Taylor PR bootstrap/46819 diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 8e12461..7b8ca30 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,26 @@ +2010-12-21 Kai Tietz + + * peXXigen.c (_bfd_XXi_final_link_postscript): Use + bfd_get_symbol_leading_char to determine "_tls_used" name. + +2010-12-21 Pierre Muller + + * peXXigen.c (_bfd_XXi_final_link_postscript): Use correct size + for windows 64-bit TLS table size. + +2010-12-16 DJ Delorie + + * reloc.c (BFD_RELOC_RX_ABS16_REV): Add. + (BFD_RELOC_RX_ABS32_REV): Add. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + * elf32-rx.c (rx_reloc_map): Add them. + +2010-12-15 H.J. Lu + + * elf.c (_bfd_elf_new_section_hook): Special handling for + .init_array/.fini_array output sections. + 2010-12-13 Alan Modra * aoutx.h (aout_link_check_ar_symbols): Formatting. diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index e7805b6..7cf593b 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -3991,7 +3991,9 @@ instructions */ BFD_RELOC_RX_OP_SUBTRACT, BFD_RELOC_RX_ABS8, BFD_RELOC_RX_ABS16, + BFD_RELOC_RX_ABS16_REV, BFD_RELOC_RX_ABS32, + BFD_RELOC_RX_ABS32_REV, BFD_RELOC_RX_ABS16U, BFD_RELOC_RX_ABS16UW, BFD_RELOC_RX_ABS16UL, diff --git a/bfd/elf.c b/bfd/elf.c index 0e7cd9a..de0ab61 100644 --- a/bfd/elf.c +++ b/bfd/elf.c @@ -2304,12 +2304,19 @@ _bfd_elf_new_section_hook (bfd *abfd, asection *sec) anyway. We will set ELF section type and flags for all linker created sections. If user specifies BFD section flags, we will set ELF section type and flags based on BFD section flags in - elf_fake_sections. */ - if ((!sec->flags && abfd->direction != read_direction) + elf_fake_sections. Special handling for .init_array/.fini_array + output sections since they may contain .ctors/.dtors input + sections. We don't want _bfd_elf_init_private_section_data to + copy ELF section type from .ctors/.dtors input sections. */ + if (abfd->direction != read_direction || (sec->flags & SEC_LINKER_CREATED) != 0) { ssect = (*bed->get_sec_type_attr) (abfd, sec); - if (ssect != NULL) + if (ssect != NULL + && (!sec->flags + || (sec->flags & SEC_LINKER_CREATED) != 0 + || ssect->type == SHT_INIT_ARRAY + || ssect->type == SHT_FINI_ARRAY)) { elf_section_type (sec) = ssect->type; elf_section_flags (sec) = ssect->attr; diff --git a/bfd/elf32-rx.c b/bfd/elf32-rx.c index d7e15a0..ac587ef 100644 --- a/bfd/elf32-rx.c +++ b/bfd/elf32-rx.c @@ -250,7 +250,9 @@ static const struct rx_reloc_map rx_reloc_map [] = { BFD_RELOC_RX_OP_SUBTRACT, R_RX_OPsub }, { BFD_RELOC_RX_ABS8, R_RX_ABS8 }, { BFD_RELOC_RX_ABS16, R_RX_ABS16 }, + { BFD_RELOC_RX_ABS16_REV, R_RX_ABS16_REV }, { BFD_RELOC_RX_ABS32, R_RX_ABS32 }, + { BFD_RELOC_RX_ABS32_REV, R_RX_ABS32_REV }, { BFD_RELOC_RX_ABS16UL, R_RX_ABS16UL }, { BFD_RELOC_RX_ABS16UW, R_RX_ABS16UW }, { BFD_RELOC_RX_ABS16U, R_RX_ABS16U } diff --git a/bfd/libbfd.h b/bfd/libbfd.h index e706ce4..5687082 100644 --- a/bfd/libbfd.h +++ b/bfd/libbfd.h @@ -1802,7 +1802,9 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@", "BFD_RELOC_RX_OP_SUBTRACT", "BFD_RELOC_RX_ABS8", "BFD_RELOC_RX_ABS16", + "BFD_RELOC_RX_ABS16_REV", "BFD_RELOC_RX_ABS32", + "BFD_RELOC_RX_ABS32_REV", "BFD_RELOC_RX_ABS16U", "BFD_RELOC_RX_ABS16UW", "BFD_RELOC_RX_ABS16UL", diff --git a/bfd/peXXigen.c b/bfd/peXXigen.c index a5b7f68..322c5ea 100644 --- a/bfd/peXXigen.c +++ b/bfd/peXXigen.c @@ -2418,7 +2418,9 @@ _bfd_XXi_final_link_postscript (bfd * abfd, struct coff_final_link_info *pfinfo) } h1 = coff_link_hash_lookup (coff_hash_table (info), - "__tls_used", FALSE, FALSE, TRUE); + (bfd_get_symbol_leading_char(abfd) != 0 + ? "__tls_used" : "_tls_used"), + FALSE, FALSE, TRUE); if (h1 != NULL) { if ((h1->root.type == bfd_link_hash_defined @@ -2437,8 +2439,15 @@ _bfd_XXi_final_link_postscript (bfd * abfd, struct coff_final_link_info *pfinfo) abfd); result = FALSE; } - + /* According to PECOFF sepcifications by Microsoft version 8.2 + the TLS data directory consists of 4 pointers, followed + by two 4-byte integer. This implies that the total size + is different for 32-bit and 64-bit executables. */ +#if !defined(COFF_WITH_pep) && !defined(COFF_WITH_pex64) pe_data (abfd)->pe_opthdr.DataDirectory[PE_TLS_TABLE].Size = 0x18; +#else + pe_data (abfd)->pe_opthdr.DataDirectory[PE_TLS_TABLE].Size = 0x28; +#endif } /* If there is a .pdata section and we have linked pdata finally, we diff --git a/bfd/reloc.c b/bfd/reloc.c index 5a428a2..6d4eb85 100644 --- a/bfd/reloc.c +++ b/bfd/reloc.c @@ -4262,8 +4262,12 @@ ENUMX ENUMX BFD_RELOC_RX_ABS16 ENUMX + BFD_RELOC_RX_ABS16_REV +ENUMX BFD_RELOC_RX_ABS32 ENUMX + BFD_RELOC_RX_ABS32_REV +ENUMX BFD_RELOC_RX_ABS16U ENUMX BFD_RELOC_RX_ABS16UW diff --git a/bfd/version.h b/bfd/version.h index 26536ee..68216b4 100644 --- a/bfd/version.h +++ b/bfd/version.h @@ -1,4 +1,4 @@ -#define BFD_VERSION_DATE 20101214 +#define BFD_VERSION_DATE 20101222 #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 002f3d2..bf9f525 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,114 @@ +2010-12-22 Marc Khouzam + + * inferior.c (remove_inferior_command): Don't remove an active inferior. + * mi/mi-main.c (mi_cmd_remove_inferior): Ditto. + +2010-12-21 Tom Tromey + + * thread.c (print_thread_info): Make a ui-out table in CLI mode. + +2010-12-20 Yao Qi + + * arm-tdep.c (arm_register_reggroup_p): New. + (arm_gdbarch_init): Set arm_register_reggroup_p for hook + register_reggroup_p. + +2010-12-20 Yao Qi + + * features/arm-core.xml: Add attribute type to reg from r0 to r12. + * features/arm-with-iwmmxt.c: Regenerate. + * features/arm-with-neon.c: Regenerate. + * features/arm-with-vfpv2.c: Regenerate. + * features/arm-with-vfpv3.c: Regenerate. + +2010-12-17 Marc Khouzam + + * mi/mi-main.c (mi_cmd_remove_inferior): Don't delete current inferior. + (get_other_inferior): New. + +2010-12-17 Marc Khouzam + + * python/py-progspace.c (py_free_pspace): Obtain arch another + way to avoid dereferencing a null pointer. + +2010-12-17 Michael Snyder + + * utils.c (do_my_cleanups): Comment fix-up. + +2010-12-17 Kevin Buettner + + * mips-tdep.c (make_mips16_addr): New function. + (mips_elf_make_msymbol_special): Don't set the low bit in the + symbol's address. + (mips_read_pc, mips_unwind_pc, mips_addr_bits_remove): Strip bit + indicating mips16 address, if present. + (mips_write_pc): Set bit indicating mips16 address when in a mips16 + function. + (mips_eabi_push_dummy_call, mips_o64_push_dummy_call): Likewise, + but for each function pointer argument to inferior function call. + +2010-12-17 Tom Tromey + + * psympriv.h (struct partial_symtab) : Move field + earlier. + +2010-12-16 Kevin Buettner + + * mips-tdep.c (mips_convert_register_float_case_p) + (mips_convert_register_gpreg_case_p): New functions. + (mips_convert_register_p): Invoke new functions above. + (mips_register_to_value): Add case for fetching value shorter + than 64 bits from a 64-bit register. + (mips_value_to_register): Add case for storing value shorter + than 64 bits into a 64-bit register. + +2010-12-16 Joel Borggrén-Franck + + * python/py-value.c (value_object_type) : Add + Py_TPFLAGS_BASETYPE. + +2010-12-16 Mike Frysinger + + * NEWS: Mention new sim --map-info flag. + +2010-12-15 Doug Evans + + * dwarf2read.c (_initialize_dwarf2_read): Fix help text of + "save gdb-index" command. + +2010-12-15 Tom Tromey + + * infrun.c (save_infcall_control_state): Handle the + exception-resume breakpoint. + (restore_infcall_control_state): Likewise. + (discard_infcall_control_state): Likewise. + +2010-12-15 Kevin Buettner + + * mips-tdep.c (mips_pseudo_register_write): Sign extend 32-bit + cooked values that are being transferred to 64-bit raw registers. + (mips_pseudo_register_read): Revise to preserve symmetry with + mips_pseudo_register_write(). + +2010-12-15 Greg Watson + + * f-exp.y (yylex): Check entire token against keywords. + +2010-12-15 Doug Evans + + Rename "maint set python auto-load" to "set auto-load-scripts". + * NEWS: Mention it. + * python/py-auto-load.c (auto_load_scripts): Renamed from + gdbpy_auto_load. + (load_auto_scripts_for_objfile): Update. + (gdbpy_initialize_auto_load): Rename "maint set python auto-load" to + "set auto-load-scripts". + +2010-12-14 Kevin Buettner + + * mips-tdep.c (mips_eabi_push_dummy_call): Place signed, rather + than unsigned, values in registers. + 2010-12-14 Ken Werner * valops.c (value_one): Use get_array_bounds to compute the number diff --git a/gdb/NEWS b/gdb/NEWS index 559609b..91f1835 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -8,6 +8,9 @@ -data-directory DIR Specify DIR as the "data-directory". This is mostly for testing purposes. +* The "maint set python auto-load on|off" command has been renamed to + "set auto-load-scripts on|off". + * GDB has a new command: "set directories". It is like the "dir" command except that it replaces the source path list instead of augmenting it. @@ -115,6 +118,10 @@ * Guile support was removed. +* New features in the GNU simulator + + ** The --map-info flag lists all known core mappings. + *** Changes in GDB 7.2 * Shared library support for remote targets by default diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index 636c1de..0f38b6b 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -29,6 +29,7 @@ #include "gdb_string.h" #include "dis-asm.h" /* For register styles. */ #include "regcache.h" +#include "reggroups.h" #include "doublest.h" #include "value.h" #include "arch-utils.h" @@ -6998,6 +6999,17 @@ arm_elf_osabi_sniffer (bfd *abfd) return osabi; } +static int +arm_register_reggroup_p (struct gdbarch *gdbarch, int regnum, + struct reggroup *group) +{ + /* FPS register's type is INT, but belongs to float_group. */ + if (regnum == ARM_FPS_REGNUM) + return (group == float_reggroup); + else + return default_register_reggroup_p (gdbarch, regnum, group); +} + /* Initialize the current architecture based on INFO. If possible, re-use an architecture from ARCHES, which is a list of @@ -7462,6 +7474,7 @@ arm_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_pc_regnum (gdbarch, ARM_PC_REGNUM); set_gdbarch_num_regs (gdbarch, ARM_NUM_REGS); set_gdbarch_register_type (gdbarch, arm_register_type); + set_gdbarch_register_reggroup_p (gdbarch, arm_register_reggroup_p); /* This "info float" is FPA-specific. Use the generic version if we do not have FPA. */ diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index c1d0e1c..df46a17 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,10 @@ +2010-12-15 Doug Evans + + * gdb.texinfo (Startup): Document auto-loading of scripts during + startup. + (Auto-loading): Delete "maint set python auto-load on|off". + Add "set auto-load-scripts on|off". + 2010-12-07 Doug Evans * gdb.texinfo (Mode Options): Document -data-directory. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index dc9630a..0e1d553 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -1263,6 +1263,25 @@ to the program you are debugging, in the directory where you invoke @value{GDBN}. @item +If the command line specified a program to debug, or a process to +attach to, or a core file, @value{GDBN} loads any auto-loaded +scripts provided for the program or for its loaded shared libraries. +@xref{Auto-loading}. + +If you wish to disable the auto-loading during startup, +you must do something like the following: + +@smallexample +$ gdb -ex "set auto-load-scripts off" -ex "file myprogram" +@end smallexample + +The following does not work because the auto-loading is turned off too late: + +@smallexample +$ gdb -ex "set auto-load-scripts off" myprogram +@end smallexample + +@item Reads command files specified by the @samp{-x} option. @xref{Command Files}, for more details about @value{GDBN} command files. @@ -23114,13 +23133,13 @@ debugging commands and scripts. Auto-loading can be enabled or disabled. @table @code -@kindex maint set python auto-load -@item maint set python auto-load [yes|no] -Enable or disable the Python auto-loading feature. +@kindex set auto-load-scripts +@item set auto-load-scripts [yes|no] +Enable or disable the auto-loading of Python scripts. -@kindex maint show python auto-load -@item maint show python auto-load -Show whether Python auto-loading is enabled or disabled. +@kindex show auto-load-scripts +@item show auto-load-scripts +Show whether auto-loading of Python scripts is enabled or disabled. @end table When reading an auto-loaded file, @value{GDBN} sets the diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 2b48ff3..80770f8 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -15839,7 +15839,7 @@ The value is the maximum depth to print."), c = add_cmd ("gdb-index", class_files, save_gdb_index_command, _("\ -Save a .gdb-index file.\n\ +Save a gdb-index file.\n\ Usage: save gdb-index DIRECTORY"), &save_cmdlist); set_cmd_completer (c, filename_completer); diff --git a/gdb/f-exp.y b/gdb/f-exp.y index 415819a..feffe79 100644 --- a/gdb/f-exp.y +++ b/gdb/f-exp.y @@ -1150,8 +1150,8 @@ yylex () /* Catch specific keywords. */ for (i = 0; f77_keywords[i].operator != NULL; i++) - if (strncmp (tokstart, f77_keywords[i].operator, - strlen(f77_keywords[i].operator)) == 0) + if (strlen (f77_keywords[i].operator) == namelen + && strncmp (tokstart, f77_keywords[i].operator, namelen) == 0) { /* lexptr += strlen(f77_keywords[i].operator); */ yylval.opcode = f77_keywords[i].opcode; diff --git a/gdb/features/arm-core.xml b/gdb/features/arm-core.xml index 1624901..59e59e9 100644 --- a/gdb/features/arm-core.xml +++ b/gdb/features/arm-core.xml @@ -7,19 +7,19 @@ - - - - - - - - - - - hooks/post-receive -- Repository for Project Archer.