summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 2011-12-12 Iain Sandoe <iains@gcc.gnu.org>Tristan Gingold2011-12-122-2/+7
| | | | | * mach-o.c (bfd_mach_o_read_section_32): Null-terminate sectname. (bfd_mach_o_read_section_64): Likewise.
* 2011-12-11 Yao Qi <yao@codesourcery.com>qiyao2011-12-122-0/+14
| | | | * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
* *** empty log message ***gdbadmin2011-12-121-1/+1
|
* daily updateAlan Modra2011-12-111-1/+1
|
* [Ada] improve message when cannot insert Ada exception catchpoint.Joel Brobecker2011-12-112-1/+6
| | | | | | | gdb/ChangeLog: * ada-lang.c (ada_exception_support_info_sniffer): Improve error message.
* [Ada] Make the exception_support_info data per inferior.Joel Brobecker2011-12-112-30/+35
| | | | | | | | | | | | | | | | | | | The ada-lang module was using a static global called "exception_info" for all inferiors. But each inferior might be different, and thus this patch makes this data per-inferior. gdb/ChangeLog: * ada-lang.c (struct ada_inferior_data) [exception_info]: New field. (exception_info): Delete. (ada_exception_support_info_sniffer): Get exception_support_info data from our per-inferior data. Adjust code accordingly. (ada_unhandled_exception_name_addr_from_raise): Likewise. (ada_exception_name_addr_1, ada_exception_sym_name): Ditto. (ada_executable_changed_observer): Delete. (_initialize_ada_language): Remove call to observer_attach_executable_changed.
* Warn if missing debug info for Ada exception catchpointsJoel Brobecker2011-12-115-3/+35
| | | | | | | | | | | | | | | | | | | | | | This patch should help the user understand why the debugger is not able to insert Ada exception catchpoints when the Ada runtime was stripped of debugging info, as is often the case on many GNU/Linux distros: (gdb) catch exception Your Ada runtime appears to be missing some debugging information. Cannot insert Ada exception catchpoint in this configuration. gdb/ChangeLog: * ada-lang.c (ada_has_this_exception_support): Raise an error if we could find the Ada exception hook in the Ada runtime, but no debugging info for that hook. gdb/testsuite/ChangeLog: * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust expected output for unsupported case.
* Ada exception catchpoint support cleanup.Joel Brobecker2011-12-112-35/+48
| | | | | | | | | | | | | | | | | | | This patch cleans up a bit the way we detect which type of runtime the program uses with respect to Ada exceptions. It also removes an unnecessary check in ada_exception_sal which is already performed by ada_exception_support_info_sniffer. Some of the changes are preparation work for detecting the situation where the Ada runtime is found, but lacking debugging info. gdb/ChangeLog: * ada-lang.c (ada_has_this_exception_support): New function, extracted out of ada_exception_sal and ada_exception_sal. (ada_exception_support_info_sniffer): Simplify by using ada_has_this_exception_support. (ada_exception_sal): Replace unnecessary checks by assertions. Minor simplifications.
* PR binutils/13476Dave Anglin2011-12-112-39/+53
| | | | | | | | | * elf32-hppa.c (final_link_relocate): Convert R_PARISC_TLS_GD21L, R_PARISC_TLS_LDM21L and R_PARISC_TLS_IE21L relocations to R_PARISC_DPREL21L when not doing a shared link. Likewise convert R_PARISC_TLS_GD14R, R_PARISC_TLS_LDM14R and R_PARISC_TLS_IE14R to R_PARISC_DPREL14R. Handle R_PARISC_TLS_GD21L, R_PARISC_TLS_LDM21L and R_PARISC_TLS_IE21L with R_PARISC_DLTIND21L.
* * breakpoint.c (update_global_location_list): Remove nestedndreys2011-12-112-1/+6
| | | | definition of `b'(-Wshadow).
* * breakpoint.c (insert_breakpoint_locations): Rename `error' tondreys2011-12-112-4/+9
| | | | `error_flag'(-Wshadow).
* * bfd-target.c (target_bfd_reopen): Rename `bfd' tondreys2011-12-112-3/+8
| | | | `abfd'(-Wshadow).
* * annotate.c (annotate_array_section_begin): Rename `index' tondreys2011-12-112-2/+7
| | | | `idx'(-Wshadow).
* * amd64-tdep.c (amd64_get_unused_input_int_reg): Rename `index' tondreys2011-12-112-2/+7
| | | | `idx'(-Wshadow).
* * amd64-linux-tdep.c (amd64_canonicalize_syscall): Renamendreys2011-12-112-2/+7
| | | | `syscall' to `syscall_number'(-Wshadow).
* * ada-lang.c (remove_extra_symbols): Rename `remove' tondreys2011-12-112-4/+9
| | | | `remove_p'(-Wshadow).
* * ada-exp.y (write_var_or_type): Rename nested `renaming' tondreys2011-12-112-3/+8
| | | | `ren_sym'(-Wshadow).
* 2011-12-10 David Daney <david.daney@cavium.com>David Daney2011-12-112-30/+39
| | | | | | | | | | | | | | | | * elfxx-mips.c (mips_elf_link_hash_table.rld_value): Remove. (mips_elf_link_hash_table.rld_symbol): New field; (MIPS_ELF_RLD_MAP_SIZE): New macro. (_bfd_mips_elf_add_symbol_hook): Remember __rld_obj_head symbol in rld_symbol. (_bfd_mips_elf_create_dynamic_sections): Remember __rld_map symbol in rld_symbol. (_bfd_mips_elf_size_dynamic_sections): Set correct size for .rld_map. (_bfd_mips_elf_finish_dynamic_symbol): Remove .rld_map handling. (_bfd_mips_elf_finish_dynamic_sections): Use rld_symbol to calculate DT_MIPS_RLD_MAP value. (_bfd_mips_elf_link_hash_table_create): Initialize rld_symbol, quit initializing rld_value.
* *** empty log message ***gdbadmin2011-12-111-1/+1
|
* * dwarf2read.c (dwarf2_per_cu_data): Rename debug_type_section toDoug Evans2011-12-102-32/+37
| | | | | | debug_types_section. All uses updated. (partial_read_comp_unit_head): Rename parameter is_debug_type_section to is_debug_types_section.
* gdb/testsuite/Jan Kratochvil2011-12-102-2/+9
| | | | | | PR testsuite/12649 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt. Protect gdb_test_multiple by final $gdb_prompt match.
* daily updateAlan Modra2011-12-101-1/+1
|
* * python/py-auto-load.c (source_section_scripts): Call xfreeDoug Evans2011-12-102-1/+6
| | | | instead of free.
* gdb/testsuite/Jan Kratochvil2011-12-102-0/+43
| | | | | | | | | | * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()): New variable, new test. (list static-method.cc:xxx::(anonymous namespace)::A::func) (list 'static-method.cc:xxx::(anonymous namespace)::A::func') (list 'static-method.cc':'xxx::(anonymous namespace)::A::func') (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL them if HAVE_GCC_45682_FIXED is not set.
* 2011-12-10 Hui Zhu <teawater@gmail.com>qiyao2011-12-105-0/+186
| | | | | | | | | | | Yao Qi <yao@codesourcery.com> * tracepoint.c (start_tracing): Clear `inserted' flag. 2011-12-10 Yao Qi <yao@codesourcery.com> * gdb.trace/status-stop.exp: New. * gdb.trace/status-stop.c: New.
* 2011-12-10 Hui Zhu <teawater@gmail.com>Hui Zhu2011-12-102-4/+16
| | | | * tracepoint.c (create_tsv_from_upload): Change sprintf to xstrprintf.
* * breakpoint.c (bp_loc_is_permanent): Rename `brk' tondreys2011-12-102-4/+9
| | | | `bpoint'(-Wshadow).
* * breakpoint.c (update_static_tracepoint): Rename nested `sal' andndreys2011-12-102-15/+21
| | | | | `marker' variables to `sal2' and `tpmarker' respectively (-Wshadow).
* *** empty log message ***gdbadmin2011-12-101-1/+1
|
* daily updateAlan Modra2011-12-091-1/+1
|
* 2011-12-09 Andrew Pinski <apinski@cavium.com>pinskia2011-12-092-1/+8
| | | | | * linespec.c (hash_address_entry): Use iterative_hash_object on each field rather than the struct itself.
* * breakpoint.c (compare_breakpoints): New function.Tom Tromey2011-12-092-1/+49
| | | | | (clear_command): Remove duplicate breakpoints. Properly clean up.
* gdb/testsuite/Jan Kratochvil2011-12-092-0/+9
| | | | | * gdb.reverse/until-precsave.exp (run to end of main) Extend the timeout.
* *** empty log message ***gdbadmin2011-12-091-1/+1
|
* daily updateAlan Modra2011-12-081-1/+1
|
* opcodes:pinskia2011-12-082-0/+5
| | | | | | | | | | | | | | 2011-12-08 Andrew Pinski <apinski@cavium.com> * mips-opc.c (mips_builtin_opcodes): Add "pause". gas/testsuite: 2011-12-08 Andrew Pinski <apinski@cavium.com> * gas/mips/mips32-mt.d: Add pause instruction encoding to the end. * gas/mips/micromips@mips32r2.d: Likewise. * gas/mips/mips32r2.d: Likewise. * gas/mips/mips32-mt.s: Add pause instruction to the end. * gas/mips/mips32r2.s: Likewise.
* bfd:pinskia2011-12-0810-8/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2011-12-08 Andrew Pinski <apinski@cavium.com> Adam Nemet <anemet@caviumnetworks.com> * archures.c (bfd_mach_mips_octeon2): New macro * bfd-in2.h: Regenerate. * cpu-mips.c (I_mipsocteon2): New enum value. (arch_info_struct): Add bfd_mach_mips_octeon2. * elfxx-mips.c (_bfd_elf_mips_mach): Support E_MIPS_MACH_OCTEON2. (mips_set_isa_flags): Add bfd_mach_mips_octeon2. (mips_mach_extensions): Add bfd_mach_mips_octeon2. gas: 2011-12-08 Andrew Pinski <apinski@cavium.com> Adam Nemet <anemet@caviumnetworks.com> * tc-mips.c (CPU_IS_OCTEON): Add Octeon2. (mips_cpu_info_table): Add Octeon2. * doc/c-mips.texi: Document octeon2 as an acceptable value for -march=. gas/testsuite: 2011-12-08 Andrew Pinski <apinski@cavium.com> Adam Nemet <anemet@caviumnetworks.com> * gas/mips/mips.exp: Add Octeon2 for an architecture. Run octeon2 test. * gas/mips/octeon2.d: New file. * gas/mips/octeon2.s: New file. include/opcode: 2011-12-08 Andrew Pinski <apinski@cavium.com> Adam Nemet <anemet@caviumnetworks.com> * mips.h (INSN_CHIP_MASK): Update according to INSN_OCTEON2. (INSN_OCTEON2): New macro. (CPU_OCTEON2): New macro. (OPCODE_IS_MEMBER): Add Octeon2. opcodes: 2011-12-08 Andrew Pinski <apinski@cavium.com> Adam Nemet <anemet@caviumnetworks.com> * mips-dis.c (mips_arch_choices): Add Octeon2. For "octeon+", just include OcteonP for the insn. * mips-opc.c (IOCT): Include Octeon2. (IOCTP): Include Octeon2. (IOCT2): New macro. (mips_builtin_opcodes): Add "laa", "laad", "lac", "lacd", "lad", "ladd", "lai", "laid", "las", "lasd", "law", "lawd". Move "lbux", "ldx", "lhx", "lwx", and "lwux" up to where the standard loads are, and add IOCT2 to them. Add "lbx" and "lhux". Add "qmac.00", "qmac.01", "qmac.02", "qmac.03", "qmacs.00", "qmacs.01", "qmacs.01", "qmacs.02" and "qmacs.03". Add "zcb" and "zcbt".
* * mips-tdep.c (mips_skip_mips16_trampoline_code): Sign-extendMaciej W. Rozycki2011-12-082-4/+13
| | | | address chunks retrieved from decoded lui/addiu pairs.
* * mips-tdep.c (extended_offset): Correct calculation.Maciej W. Rozycki2011-12-082-47/+26
| | | | | | | | (unpack_mips16): Correct bitfield positions used for extraction of the immediate argument; fix sign-extension of same. (extended_mips16_next_pc): Correct B instruction's offset calculation. Correct register decoding of the BEQZ and BNEZ as well as jump-register instructions. Handle compact jumps.
* * objfiles.h (struct objfile): Remove obsolete comment.Tom Tromey2011-12-083-19/+9
| | | | | * objfiles.c (build_objfile_section_table): Remove obsolete comment.
* * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" inTom Tromey2011-12-082-1/+6
| | | | condition.
* gdb/gdbserver/Jan Kratochvil2011-12-082-9/+23
| | | | | * linux-low.c (linux_kill): Skip PTRACE_KILL if LWP does not exist. Print new debug message for such case.
* * MAINTAINERS (Responsible Maintainers): Add Yao Qi asStan Shebs2011-12-082-0/+8
| | | | maintainer of the tic6x target.
* *** empty log message ***gdbadmin2011-12-081-1/+1
|
* daily updateAlan Modra2011-12-071-1/+1
|
* Fix ChangeLog typo.Maciej W. Rozycki2011-12-071-1/+1
|
* * gdb.trace/tfind.exp: Update for output changes.Stan Shebs2011-12-072-2/+6
|
* * arm-tdep.h (arm_deal_with_atomic_sequence): Add prototype.Ulrich Weigand2011-12-074-2/+241
| | | | | | | | * arm-tdep.c (thumb_deal_with_atomic_sequence_raw): New function. (arm_deal_with_atomic_sequence_raw): Likewise. (arm_deal_with_atomic_sequence): Likewise. (arm_software_single_step): Call it. * arm-linux-tdep.c (arm_linux_software_single_step): Likewise.
* 2011-12-07 Pedro Alves <pedro@codesourcery.com>Pedro Alves2011-12-073-2/+8
| | | | | | * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception" throws "Cannot insert catchpoints in this configuration". * gdb.ada/mi_catch_ex.exp: Likewise.
* * s390-tdep.c: Replace "Linux" by "GNU/Linux" in commentsUlrich Weigand2011-12-073-12/+18
| | | | | where appropriate. * s390-tdep.h: Likewise.