summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* darwin-nat.c: Do not use gdb_assert on system call outcomes.Joel Brobecker2013-05-062-12/+63
| | | | | | | | | | | | | | | | | | There were many cases were we make a system call which could fail due to reasons outside of the debugger control. We should handle these situations a little more gracefully than triggering an internal error. gdb/ChangeLog: * darwin-nat.c (darwin_mourn_inferior): Replace call to gdb_assert by call to MACH_CHECK_ERROR. (darwin_attach_pid): Raise an error rather than a failed assertion when various system calls failed. Report a warning instead of raising a failed assertion when PREV_NOT is not NULL after call to mach_port_request_notification. (darwin_ptrace_me): Raise an error rather than a failed assertion when read returns nonzero.
* amd64-darwin-tdep.c: Remove #include "gdb_assert.h"Joel Brobecker2013-05-062-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".
* Move ChangeLog entry from sim/ to sim/ppc/...Joel Brobecker2013-05-062-4/+4
| | | | ... where it belongs.
* * elf64-ppc.c (opd_entry_value): Handle case where symbolAlan Modra2013-05-062-5/+29
| | | | hashes are not available.
* * elflink.c (elf_link_add_object_symbols): Don't save symbolAlan Modra2013-05-062-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.
* *** empty log message ***gdbadmin2013-05-061-1/+1
|
* daily updateAlan Modra2013-05-061-1/+1
|
* gdb/Jan Kratochvil2013-05-052-0/+5
| | | | * cleanups.c (restore_my_cleanups): New gdb_assert for SENTINEL_CLEANUP.
* gdb/Jan Kratochvil2013-05-054-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.
* daily updateAlan Modra2013-05-051-1/+1
|
* *** empty log message ***gdbadmin2013-05-051-1/+1
|
* Announce thread death on MS-Windows.Eli Zaretskii2013-05-042-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.
* gas/testsuite/Richard Sandiford2013-05-042-15/+19
| | | | * gas/mips/micromips-warn-branch-delay.d: Use numeric registers.
* bfd/Richard Sandiford2013-05-044-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.
* * v850-tdep.c (elf-bfd.h, elf/v850.h): Include.Kevin Buettner2013-05-042-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.
* * objfiles.c (objfile_relocate): Use gdb_bfd_count_sections insteadDoug Evans2013-05-044-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.
* * rl78-tdep.c (rl78_register_reggroup_p): Include SP in theKevin Buettner2013-05-042-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().
* daily updateAlan Modra2013-05-041-1/+1
|
* *** empty log message ***gdbadmin2013-05-041-1/+1
|
* Fix to handle properly 'catch signal SIGINT' and SIGTRAPPhilippe Waroquiers2013-05-035-5/+31
|
* 2013-05-03 Hafiz Abid Qadeer <abidh@codesourcery.com>Hafiz Abid Qadeer2013-05-034-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.
* gold/Maciej W. Rozycki2013-05-0313-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.
* * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):Maciej W. Rozycki2013-05-032-5/+12
| | | | Only call lang_for_each_statement if an ELF hash table is used.
* * ld-elf/provide-hidden-s.nd: New test.Maciej W. Rozycki2013-05-0316-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-03 Hafiz Abid Qadeer <abidh@codesourcery.com>Hafiz Abid Qadeer2013-05-032-13/+6
| | | | | | revert: 2013-04-19 Nathan Froyd <froydnj@codesourcery.com> * ppc-instructions (isel): New instruction.
* * merge.cc (Output_merge_string::do_add_input_section): CorrectAlan Modra2013-05-032-10/+19
| | | | | scan for number of strings. Rename vars to avoid shadowing. Include missing terminator in input_size_.
* oops - omitted from previous deltaNick Clifton2013-05-034-0/+490
|
* daily updateAlan Modra2013-05-031-1/+1
|
* *** empty log message ***gdbadmin2013-05-031-1/+1
|
* gas/Richard Sandiford2013-05-026-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.
* * archures.c: Add some more MSP430 machine numbers.Nick Clifton2013-05-0252-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.
* * dwarf.c (display_debug_lines_raw): Do not treat .debug_line.dwoNick Clifton2013-05-022-14/+17
| | | | | sections as if they were fragmentary .debug_line sections. (display_debug_lines_decoded): Likewise.
* *** empty log message ***gdbadmin2013-05-021-1/+1
|
* daily updateAlan Modra2013-05-021-1/+1
|
* Restore empty string handlingH.J. Lu2013-05-012-10/+13
| | | | | * merge.cc (Output_merge_string<Char_type>::do_add_input_section): Restore empty string handling.
* gold/Cary Coutant2013-05-012-1/+7
| | | | | * stringpool.cc (Stringpool_template::new_key_offset): Fix uninitialized warning.
* bfd/Maciej W. Rozycki2013-05-018-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*.
* * lib/ld-lib.exp (check_shared_lib_support): Also excludeMaciej W. Rozycki2013-05-012-0/+6
| | | | mips*-*-elf.
* * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):Maciej W. Rozycki2013-05-012-1/+6
| | | | Use is_elf_hash_table rather than a handcoded condition.
* Fix various -Wpointer-sign warnings in darwin-nat.cJoel Brobecker2013-05-012-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 *".
* Fix -Wpointer-sign errors in solib-ia64-hpux.cJoel Brobecker2013-05-012-1/+7
| | | | | | | gdb/ChangeLog: * solib-ia64-hpux.c (ia64_hpux_read_dynamic_info): Change cast of &info->load_map from "char *" to "gdb_byte *".
* Fix -Wpointer-sign errors in ia64-tdep.cJoel Brobecker2013-05-012-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-04-30 Chao-ying Fu <Chao-ying.Fu@imgtec.com>Chao-ying Fu2013-05-014-0/+23
| | | | | | * gas/mips/ext-ill.s: New file. * gas/mips/ext-ill.l: New file. * gas/mips/mips.exp: Run new tests.
* 2013-04-30 Chao-ying Fu <Chao-ying.Fu@imgtec.com>Chao-ying Fu2013-05-012-5/+13
| | | | | * config/tc-mips.c (mips_ip): Add sizelo. For "+C", "+G", and "+H", set sizelo and compare against it.
* daily updateAlan Modra2013-05-011-1/+1
|
* *** empty log message ***gdbadmin2013-05-011-1/+1
|
* * dwarf2read.c (lookup_dwo_unit): Return NULL if DWO not found.Doug Evans2013-04-302-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.
* * dwarf2read.c (dw2_find_symbol_file): Initialize filename beforeDoug Evans2013-04-302-0/+8
| | | | calling init_cutu_and_read_dies.
* * lib/ld-lib.exp (check_shared_lib_support): Match cris*-*-elf asHans-Peter Nilsson2013-04-302-1/+6
| | | | a negative pattern instead of cris*-*-*.
* line omitted from previous delta.Nick Clifton2013-04-301-0/+2
|
OpenPOWER on IntegriCloud