aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-05-06amd64-darwin-tdep.c: Remove #include "gdb_assert.h"Joel Brobecker2-1/+4
gdb_assert.h is already included from darwin-nat.h, so no need to include it again... gdb/ChangeLog: * amd64-darwin-tdep.c: Remove #include "gdb_assert.h".
2013-05-06Move ChangeLog entry from sim/ to sim/ppc/...Joel Brobecker2-4/+4
... where it belongs.
2013-05-06 * elf64-ppc.c (opd_entry_value): Handle case where symbolAlan Modra2-5/+29
hashes are not available.
2013-05-06 * elflink.c (elf_link_add_object_symbols): Don't save symbolAlan Modra2-17/+17
hashes around loading as-needed library. Zero them on allocation, and restore to initial all-zero state if library not needed. Arrange to reuse hashes if we load library again later.
2013-05-06*** empty log message ***gdbadmin1-1/+1
2013-05-06daily updateAlan Modra1-1/+1
2013-05-05gdb/Jan Kratochvil2-0/+5
* cleanups.c (restore_my_cleanups): New gdb_assert for SENTINEL_CLEANUP.
2013-05-05gdb/Jan Kratochvil4-7/+15
* event-top.c (display_gdb_prompt): Call missing do_cleanups. * infcmd.c (get_return_value) <!stop_regs>: Do not overwrite CLEANUP. * symfile.c (symfile_bfd_open): New variable back_to. Do not leave a stale cleanup. Fix double free of NAME.
2013-05-05daily updateAlan Modra1-1/+1
2013-05-05*** empty log message ***gdbadmin1-1/+1
2013-05-04Announce thread death on MS-Windows.Eli Zaretskii2-3/+17
* windows-nat.c (windows_delete_thread): Accept an additional argument, the thread's exit code, and announce thread death when print_thread_events is non-zero and we are deleting a thread that is not the main thread. (get_windows_debug_event): Pass thread exit code to windows_delete_thread.
2013-05-04gas/testsuite/Richard Sandiford2-15/+19
* gas/mips/micromips-warn-branch-delay.d: Use numeric registers.
2013-05-04bfd/Richard Sandiford4-6/+13
* elf32-mips.c (elf_mips_copy_howto, elf_mips_jump_slot_howto): Use _bfd_mips_elf_generic_reloc instead of bfd_elf_generic_reloc. * elfn32-mips.c: Likewise. * elf64-mips.c: Likewise.
2013-05-04 * v850-tdep.c (elf-bfd.h, elf/v850.h): Include.Kevin Buettner2-11/+326
(R_149_REGNUM, E_NUM_OF_V850E2_REGS, E_SELID_1_R0_REGNUM) (E_SELID_1_R31_REGNUM, E_SELID_2_R0_REGNUM, E_SELID_2_R31_REGNUM) (E_SELID_3_R0_REGNUM, E_SELID_3_R31_REGNUM, E_SELID_4_R0_REGNUM) (E_SELID_4_R31_REGNUM, E_SELID_5_R0_REGNUM, E_SELID_5_R31_REGNUM) (E_SELID_6_R0_REGNUM, E_SELID_6_R31_REGNUM, E_SELID_7_R0_REGNUM, E_SELID_7_R31_REGNUM) (E_VR0_REGNUM, E_VR31_REGNUM, E_NUM_OF_V850E3V5_REGS): Define. (v850_abi, V850_ABI_GCC, V850_ABI_RH850): New enum and constants. (gdbarch_tdep): New struct. (v850e2_register_name): Use E_NUM_OF_V850E2_REGS instead of E_NUM_REGS. (v850e3v5_register_name): New function. (v850_register_type): v850e3v5 vector registers are 64-bits wide. (v850_use_struct_convention): Add `gdbarch' parameter. Add new code handling the struct return conventions for the RH850 ABI. Update all callers. (v850_eight_byte_align_p): New function. (v850_push_call_dummy): Push structs by value, not by reference for the RH850 ABI. Add support for eight byte alignment. (v850_dbtrap_breakpoint_from_pc): New function. (v850_gdbarch_init): Add ABI detection code. Register v850e3v5_register_name for the v850e3v5 architecture. Set the number of registers for v850e3v5. Register v850_dbtrap_breakpoint_from_pc as appropriate. (_initialize_gdbarch_init): Registration bfd_arch_v850_rh850.
2013-05-04 * objfiles.c (objfile_relocate): Use gdb_bfd_count_sections insteadDoug Evans4-6/+14
of bfd_count_sections. * solib-target.c (solib_target_relocate_section_addresses): Ditto. * symfile.c (default_symfile_offsets): Ditto. (syms_from_objfile_1): Ditto. Make dummy addrs list an array of one entry, not bfd_count_sections entries.
2013-05-04 * rl78-tdep.c (rl78_register_reggroup_p): Include SP in theKevin Buettner2-1/+26
`save' and `restore' register groups. Don't include SPL or SPH in these groups. (rl78_dwarf_reg_to_regnum): Adjust mapping for RL78_PC_REGNUM. Add mappings for RL78_PSW_REGNUM, RL78_ES_REGNUM, and RL78_CS_REGNUM. (rl78_gdbarch_init): Set `dwarf2_addr_size' to 4. Invoke dwarf2_append_unwinders().
2013-05-04daily updateAlan Modra1-1/+1
2013-05-04*** empty log message ***gdbadmin1-1/+1
2013-05-03Fix to handle properly 'catch signal SIGINT' and SIGTRAPPhilippe Waroquiers5-5/+31
2013-05-032013-05-03 Hafiz Abid Qadeer <abidh@codesourcery.com>Hafiz Abid Qadeer4-3/+18
* tracepoint.c (cmd_qtinit): Call 'stop_tracing'. 2013-05-03 Hafiz Abid Qadeer <abidh@codesourcery.com> * status-stop.exp (test_tstart_tstart): Check for error returned by the second 'tstart' command.
2013-05-03 gold/Maciej W. Rozycki13-2/+111
PR ld/15365 * layout.cc (Layout::finalize): Make __ehdr_start STV_HIDDEN. ld/ PR ld/15365 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Restrict __ehdr_start's export class to no less than STV_HIDDEN. ld/testsuite/ PR ld/15365 * ld-elf/ehdr_start.d: Expect __ehdr_start to be STB_LOCAL. * ld-mips-elf/ehdr_start-1.nd: New test. * ld-mips-elf/ehdr_start-2.nd: New test. * ld-mips-elf/ehdr_start-1.ld: New test linker script. * ld-mips-elf/ehdr_start-2.ld: New test linker script. * ld-mips-elf/ehdr_start-new.s: New test source. * ld-mips-elf/ehdr_start-o32.s: New test source. * ld-mips-elf/mips-elf.exp: Run the new tests.
2013-05-03 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):Maciej W. Rozycki2-5/+12
Only call lang_for_each_statement if an ELF hash table is used.
2013-05-03 * ld-elf/provide-hidden-s.nd: New test.Maciej W. Rozycki16-0/+274
* ld-elf/provide-hidden-abs.nd: New test. * ld-elf/provide-hidden-def.nd: New test. * ld-elf/provide-hidden-dyn.nd: New test. * ld-elf/provide-hidden-sec.nd: New test. * ld-elf/provide-hidden-dynabs.nd: New test. * ld-elf/provide-hidden-dynsec.nd: New test. * ld-elf/provide-hidden-s.ld: New test linker script. * ld-elf/provide-hidden-1.ld: New test linker script. * ld-elf/provide-hidden-2.ld: New test linker script. * ld-elf/provide-hidden-1.s: New test source. * ld-elf/provide-hidden-2.s: New test source. * ld-elf/provide-hidden-3.s: New test source. * ld-elf/provide-hidden-4.s: New test source. * ld-elf/provide-hidden.exp: New test script.
2013-05-032013-05-03 Hafiz Abid Qadeer <abidh@codesourcery.com>Hafiz Abid Qadeer2-13/+6
revert: 2013-04-19 Nathan Froyd <froydnj@codesourcery.com> * ppc-instructions (isel): New instruction.
2013-05-03 * merge.cc (Output_merge_string::do_add_input_section): CorrectAlan Modra2-10/+19
scan for number of strings. Rename vars to avoid shadowing. Include missing terminator in input_size_.
2013-05-03oops - omitted from previous deltaNick Clifton4-0/+490
2013-05-03daily updateAlan Modra1-1/+1
2013-05-03*** empty log message ***gdbadmin1-1/+1
2013-05-02gas/Richard Sandiford6-8/+41
* config/tc-mips.c (mips_pseudo_table): Add stabd and stabs entries. (s_mips_stab): Do not restrict to stabn only. gas/testsuite/ * gas/mips/mips16-stabs.s, gas/mips/mips16-stabs.d: New test. * gas/mips/mips.exp: Run it.
2013-05-02 * archures.c: Add some more MSP430 machine numbers.Nick Clifton52-809/+4737
* config.bfd (msp430): Define targ_selvecs. * configure.in: Add bfd_elf32_msp430_ti_vec. * cpu-msp430.c: Add some more MSP430 machine numbers. * elf32-msp430.c Add support for MSP430X relocations. Add support for TI compiler generated relocations. Add support for sym_diff relocations. Add support for relaxing out of range short branches into long branches. Add support for MSP430 attribute section. * reloc.c: Add MSP430X relocations. * targets.c: Add bfd_elf32_msp430_ti_vec. * bfd-in2.h: Regenerate. * configure: Regenerate. * libbfd.h: Regenerate. * readelf.c: Add support for MSP430X architecture. * readelf.exp: Expect -wi test to fail for the MSP430. * config/tc-msp430.c: Add support for the MSP430X architecture. Add code to insert a NOP instruction after any instruction that might change the interrupt state. Add support for the LARGE memory model. Add code to initialise the .MSP430.attributes section. * config/tc-msp430.h: Add support for the MSP430X architecture. * doc/c-msp430.texi: Document the new -mL and -mN command line options. * NEWS: Mention support for the MSP430X architecture. * gas/all/gas.exp: Skip the DIFF1 test for the MSP430. Expect the FORWARD test to pass for the MSP430. Skip the REDEF tests for the MSP430. Expect the 930509A test to fail for the MSP430. * gas/all/sleb128-4.d: Skip for the MSP430. * gas/elf/elf.exp: Set target_machine to msp430 for the MSP430. Skip the EHOPT0 test for the MSP430. Skip the REDEF and EQU-RELOC tests for the MSP430. * gas/elf/section2.e-msp430: New file. * gas/lns/lns-big-delta.d: Remove expectation of 20-bit addresses. * gas/lns/lns.exp: Use alternate LNS COMMON test for the MSP430. * gas/msp430/msp430x.s: New test. * gas/msp430/msp430x.d: Expected disassembly. * gas/msp430/msp430.exp: Run new test. * gas/msp430/opcode.d: Update expected disassembly. * msp430.h: Add MSP430X relocs. Add some more MSP430 machine numbers. Add values used by .MSP430.attributes section. * msp430.h: Add patterns for MSP430X instructions. * Makefile.am: Add emsp430X.c * Makefine.in: Regenerate. * configure.tgt (msp430): Add msp430X emulation. * ldmain.c (multiple_definition): Only disable relaxation if it was enabled by the user. * ldmain.h (RELAXATION_ENABLED_BY_USER): New macro. * emulparams/msp430all.sh: Add support for MSP430X. * emultempl/generic.em: (before_parse): Enable relaxation for the MSP430. * scripttempl/msp430.sc: Reorganize sections. Add .rodata section. * scripttempl/msp430_3.sc: Likewise. * NEWS: Mention support for MSP430X. * ld-elf/flags1.d: Expect this test to pass on the MSP430. * ld-elf/init-fini-arrays.d: Expect this test to fail on the MSP430. * ld-elf/merge.d: Expect this test to pass on the MSP430. * ld-elf/sec64k.exp: Skip these tests for the MSP430. * ld-gc/pr13683.d: Expect this test to fail on the MSP430. * ld-srec/srec.exp: Expect these tests to fail on the MSP430. * ld-undefined/undefined.exp: Expect the UNDEFINED LINE test to fail on the MSP430. * msp430-dis.c: Add support for MSP430X instructions.
2013-05-02 * dwarf.c (display_debug_lines_raw): Do not treat .debug_line.dwoNick Clifton2-14/+17
sections as if they were fragmentary .debug_line sections. (display_debug_lines_decoded): Likewise.
2013-05-02*** empty log message ***gdbadmin1-1/+1
2013-05-02daily updateAlan Modra1-1/+1
2013-05-01Restore empty string handlingH.J. Lu2-10/+13
* merge.cc (Output_merge_string<Char_type>::do_add_input_section): Restore empty string handling.
2013-05-01gold/Cary Coutant2-1/+7
* stringpool.cc (Stringpool_template::new_key_offset): Fix uninitialized warning.
2013-05-01 bfd/Maciej W. Rozycki8-4/+26
* config.bfd: Replace alpha*-*-linuxecoff* pattern with alpha*-*-linux*ecoff*. binutils/testsuite/ * lib/binutils-common.exp (is_elf_format): Also exclude *-*-linux*ecoff*. gas/ * configure.tgt: Replace alpha*-*-linuxecoff* pattern with alpha*-*-linux*ecoff*. ld/ * configure.tgt: Replace alpha*-*-linuxecoff* pattern with alpha*-*-linux*ecoff*. Update the `sed' pattern used to convert from alpha*-*-linux-* to alpha*-*-linux*ecoff*.
2013-05-01 * lib/ld-lib.exp (check_shared_lib_support): Also excludeMaciej W. Rozycki2-0/+6
mips*-*-elf.
2013-05-01 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):Maciej W. Rozycki2-1/+6
Use is_elf_hash_table rather than a handcoded condition.
2013-05-01Fix various -Wpointer-sign warnings in darwin-nat.cJoel Brobecker2-3/+13
gdb/ChangeLog: * darwin-nat.c (darwin_read_write_inferior): Change types of parameters rdaddr and wraddr to "gdb_byte *". Change type of copy_count to "mach_msg_type_number_t". (darwin_read_dyld_info): Change type of parameter rdaddr to "gdb_byte *".
2013-05-01Fix -Wpointer-sign errors in solib-ia64-hpux.cJoel Brobecker2-1/+7
gdb/ChangeLog: * solib-ia64-hpux.c (ia64_hpux_read_dynamic_info): Change cast of &info->load_map from "char *" to "gdb_byte *".
2013-05-01Fix -Wpointer-sign errors in ia64-tdep.cJoel Brobecker2-4/+10
gdb/ChangeLog: * ia64-tdep.c (ia64_access_fpreg): Change cast of val from "char *" to "gdb_byte *". (ia64_access_rse_fpreg, ia64_access_mem): Likewise.
2013-05-012013-04-30 Chao-ying Fu <Chao-ying.Fu@imgtec.com>Chao-ying Fu4-0/+23
* gas/mips/ext-ill.s: New file. * gas/mips/ext-ill.l: New file. * gas/mips/mips.exp: Run new tests.
2013-05-012013-04-30 Chao-ying Fu <Chao-ying.Fu@imgtec.com>Chao-ying Fu2-5/+13
* config/tc-mips.c (mips_ip): Add sizelo. For "+C", "+G", and "+H", set sizelo and compare against it.
2013-05-01daily updateAlan Modra1-1/+1
2013-05-01*** empty log message ***gdbadmin1-1/+1
2013-04-30 * dwarf2read.c (lookup_dwo_unit): Return NULL if DWO not found.Doug Evans2-55/+72
(init_cutu_and_read_dies): Flag a complaint, not error, for bad DWO stub. If DWO isn't found, just use stub. (lookup_dwo_cutu): Don't try DWO if there's a DWP file.
2013-04-30 * dwarf2read.c (dw2_find_symbol_file): Initialize filename beforeDoug Evans2-0/+8
calling init_cutu_and_read_dies.
2013-04-30 * lib/ld-lib.exp (check_shared_lib_support): Match cris*-*-elf asHans-Peter Nilsson2-1/+6
a negative pattern instead of cris*-*-*.
2013-04-30line omitted from previous delta.Nick Clifton1-0/+2
2013-04-30ld/testsuite/ld-arm: Fix ifunc-17 failure with arm-eabi.Will Newton5-19/+26
ld/testsuite/ChangeLog: 2013-04-30 Will Newton <will.newton@linaro.org> * ld-arm/arm-elf.exp: Use linker script for IFUNC test 17. * ld-arm/ifunc-17.dd: Update offsets for linker script. * ld-arm/ifunc-17.gd: Likewise. * ld-arm/ifunc-17.rd: Likewise.