aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-11-06bfd/Alan Modra5-6/+63
* elf64-ppc.c (struct ppc_link_hash_table): Add dot_toc_dot. (ppc64_elf_size_stubs): Lookup ".TOC.". (ppc64_elf_relocate_section): Resolve special symbol ".TOC.". gas/ * config/tc-ppc.c (ppc_elf_adjust_symtab): New function, split out.. (ppc_frob_file_before_adjust): ..from here. (md_apply_fix): Set BSF_KEEP on .TOC. if not @tocbase. * config/tc-ppc.h (ppc_elf_adjust_symtab): Declare. (tc_adjust_symtab): Define.
2012-11-06 * elf64-ppc.c (maybe_strip_output): Heed SEC_KEEP.Alan Modra2-1/+6
2012-11-06 * config/tc-ppc.c (md_apply_fix): Fix xcoff build breakage fromAlan Modra2-0/+7
last patch.
2012-11-06 * config/tc-xgate.c: Remove bogus use of <fx_pcrel_adjust>.Sean Keys3-45/+31
* config/tc-m68hc11.c: Likewise.
2012-11-06*** empty log message ***gdbadmin1-1/+1
2012-11-05Fix entry ordering issue in gdb/ChangeLog...Joel Brobecker1-4/+4
2012-11-05New script to update our gnulib importJoel Brobecker2-0/+122
gdb/ChangeLog: * gnulib/update-gnulib.sh: New script.
2012-11-05daily updateAlan Modra1-1/+1
2012-11-05* MAINTAINERS: Update my email address.Stephane Carrez4-4/+12
2012-11-05 * frame.c (put_frame_register): Don't use temporary buffer.Tom Tromey2-6/+5
2012-11-05 * MAINTAINERS: Update my email address.Stephane Carrez2-1/+5
2012-11-05 PR python/14802:Tom Tromey2-0/+12
* gdb.texinfo (Functions In Python): Add example.
2012-11-05gdb/Pedro Alves5-0/+88
2012-11-05 Pedro Alves <palves@redhat.com> * inferior.c (exit_inferior_1): Clear 'vfork_parent' in the vfork child. Clear 'pending_detach'. * infrun.c (handle_vfork_child_exec_or_exit): Clear 'pending_detach' in the vfork parent. gdb/testsuite/ 2012-11-05 Pedro Alves <palves@redhat.com> * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New procedure. (do_vfork_and_follow_child_tests_exec) (do_vfork_and_follow_child_tests_exit): Call it.
2012-11-052012-11-05 Pedro Alves <palves@redhat.com>Pedro Alves2-0/+7
* gdb.base/foll-vfork.c (main): Call perror and _exit if execlp() fails.
2012-11-05 Add support for DWP files. http://gcc.gnu.org/wiki/DebugFissionDWPDoug Evans3-185/+921
* contrib/cc-with-tweaks.sh: Add -p parameter to invoke dwp. * dwarf2read.c: #include "elf-bfd.h". (struct dwarf2_per_objfile): New members dwp_checked, dwp_file. (dwop_section_names): Renamed from dwo_section names. All uses updated. Add entries for .debug_cu_index, .debug_tu_index. (struct dwo_file): Rename dwo_name to name, dwo_bfd to dbfd. All uses updated. (struct dwp_sections): New type. (struct virtual_dwo_sections): New type. (struct dwp_hash_table): New type. (struct dwp_file): New type. (init_cutu_and_read_dies): Ensure DWO info/types section has been read in. Handle DWOs coming from DWP files. (lookup_dwo_file_slot): New function. (dwarf2_locate_dwo_sections): Move definition closer to use. (create_dwo_debug_info_hash_table_reader): Renamed from create_debug_info_hash_table_reader. All callers updated. (create_dwo_debug_info_hash_table): Renamed from create_debug_info_hash_table. All callers updated. (create_dwp_hash_table): New function. (locate_virtual_dwo_sections, create_dwo_in_dwp): New functions. (lookup_dwo_in_dwp): New function. (try_open_dwop_file): Renamed from try_open_dwo_file. New parameter is_dwp. All callers updated. (open_dwop_file): Renamed from open_dwo_file. All callers updated. (open_and_init_dwo_file): Renamed from init_dwo_file. All callers updated. (lookup_dwo_file): Delete. (dwarf2_locate_dwp_sections): New function. (hash_dwp_loaded_cutus, eq_dwp_loaded_cutus): New functions. (allocate_dwp_loaded_cutus_table): New function. (open_and_init_dwp_file): New function. (lookup_dwo_cutu): New function. (lookup_dwo_comp_unit, lookup_dwo_type_unit): Call it.
2012-11-052012-11-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>Andreas Krebbel3-0/+13
PR target/14788 * elf32-s390.c (elf_s390_relocate_section): Set elf.dynobj for local ifunc symbols. * elf64-s390.c (elf_s390_relocate_section): Likewise.
2012-11-05 * configure.ac: Apply 2012-09-10 change to config.in here.Alan Modra3-10/+20
* configure: Regenerate.
2012-11-05 * configure.in: Apply 2012-09-10 change to config.in here. AddAlan Modra3-3/+11
__CONFIG_H__ check. * config.in: Regenerate.
2012-11-05 * configure.in: Apply 2012-09-10 change to config.in here.Alan Modra8-5/+22
2012-11-05 * config/tc-ppc.c (md_chars_to_number): Delete.Alan Modra2-520/+440
(ppc_setup_opcodes): Assert num_powerpc_operands fit. (ppc_is_toc_sym): Move earlier in file. (md_assemble): Move code setting reloc from md_apply_fix. Combine non-ELF code setting fixup with ELF code. Stash opindex in fx_pcrel_adjust. Adjust fixup offset for VLE. Don't set fx_no_overflow here. (md_apply_fix): Rewrite to use ppc_insert_operand for all resolved instruction fields. Leave insn field zero when emitting an ELF reloc in most cases.
2012-11-05 * write.h (struct fix <fx_pcrel_adjust>): Make it a signed char.Alan Modra3-8/+10
* config/tc-m68k.c (tc_gen_reloc, md_pcrel_from): Remove explicit sign extendion of fx_pxrel_adjust.
2012-11-05 * elf64-ppc.c (ppc64_elf_edit_toc): Clear "repeat" insideAlan Modra2-126/+138
loop. Really mark toc entry referring to another toc entry only if the first is used.
2012-11-05 * powerpc.cc (Powerpc_relobj): Delete "Offset" typedef.Alan Modra2-43/+75
(struct Opd_ent): Use "Address" rather than "Offset". (Output_data_got_powerpc::got_base_offset): Return Valtype. (Target_powerpc::got_section): Make public. (Target_powerpc::scan_relocs): Move code setting symbols.. (Powerpc_relobj::do_scan_relocs): ..to here, new function. Create _SDA_BASE_ only when referenced.
2012-11-05*** empty log message ***gdbadmin1-1/+1
2012-11-04daily updateAlan Modra1-1/+1
2012-11-04Add --disable-libstdcxx configure optionH.J. Lu3-26/+63
2012-11-03 H.J. Lu <hongjiu.lu@intel.com> * configure: Regenerated. 2012-11-03 Robert Mason <rbmj@verizon.net> * configure.ac: add --disable-libstdcxx configure option and handle defaulted state only for VxWorks, ARM-wince-pe and AVR.
2012-11-04*** empty log message ***gdbadmin1-1/+1
2012-11-03Add gthr.m4H.J. Lu2-0/+31
2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com> * gthr.m4: New. Define GCC_AC_THREAD_HEADER.
2012-11-03daily updateAlan Modra1-1/+1
2012-11-03gdb:Yao Qi7-19/+23
Fix PR gdb/14617. * breakpoint.c (trace_pass_set_count): Call observer_notify_breakpoint_modified instead of observer_notify_tracepoint_modified. * mi/mi-cmd-break.c (mi_cmd_break_passcount): Likewise. gdb/doc: * observer.texi (GDB Observers): Remove observer 'tracepoint_modified', 'tracepoint_created' and 'tracepoint_deleted'. gdb/testsuite: Fix PR gdb/14617. * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Remove setup_kfail, and update test.
2012-11-03*** empty log message ***gdbadmin1-1/+1
2012-11-02daily updateAlan Modra1-1/+1
2012-11-02gold/Roland McGrath2-3/+7
* i386.cc (Target_i386::relocate_relocs): Remove extraneous typename from last change.
2012-11-02 * breakpoint.c (catch_syscall_completer): Pass 'word' as secondTom Tromey4-1/+16
argument to complete_on_enum. testsuite * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion test.
2012-11-02 * configure: Rebuild.Tom Tromey9-26/+49
* configure.ac (build_warnings): Add -Wempty-body. * m68k-tdep.c (m68k_gdbarch_init): Remove empty 'if'. * remote.c (handle_notification): Use braces for empty 'else' body. * s390-tdep.c (s390_analyze_prologue): Use braces for empty 'else' body. * sh64-tdep.c (sh64_push_dummy_call): Use braces for empty 'else' body. * solib-som.c (som_relocate_section_addresses): Use braces for empty 'else' body. * ui-file.c (stdio_file_write): Use braces for empty 'if' body. (stdio_file_write_async_safe, stdio_file_fputs): Likewise.
2012-11-02 Re-added with correct permissionsPierre Muller4-0/+2390
2012-11-02 Removed to be re-added with correct permissionsPierre Muller4-2390/+0
2012-11-02gdb/Pedro Alves4-6/+29
2012-11-02 Pedro Alves <palves@redhat.com> PR gdb/14766 * infrun.c (handle_inferior_event) <TARGET_WAITKIND_EXITED/TARGET_WAITKIND_SIGNALLED>: Switch to null_ptid before handling a vfork child exec or exit. Switch to the event ptid afterwards. gdb/testsuite/ 2012-11-02 Pedro Alves <palves@redhat.com> PR gdb/14766 * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove setup_kfail. (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't get registers".
2012-11-022012-11-02 Pedro Alves <palves@redhat.com>Pedro Alves3-15/+195
* gdb.base/foll-vfork-exit.c: New file. * gdb.base/foll-vfork.exp (top level): New file-describing comment. (vfork_child_follow_to_exit): New procedure. (tcatch_vfork_then_child_follow): Rename as ... (tcatch_vfork_then_child_follow_exec): ... this. (tcatch_vfork_then_child_follow_exit): New procedure. (do_vfork_and_follow_parent_tests): New procedure, factored out from do_vfork_and_exec_tests. (do_vfork_and_follow_child_tests_exec): Ditto. (do_vfork_and_exec_tests): Delete. (do_vfork_and_follow_child_tests_exit): New procedure. (top level): Run tests with both the program that has the vfork child execing, and the program has the vfork child exiting.
2012-11-02Move entries to correct ChangeLog file...Pedro Alves2-66/+66
gdb/ChangeLog -> gdb/testsuite/ChangeLog
2012-11-022012-11-02 Pedro Alves <palves@redhat.com>Pedro Alves2-49/+53
* gdb.base/foll-vfork.exp (setup_gdb): New procedure. (check_vfork_catchpoints, vfork_parent_follow_through_step) (vfork_parent_follow_to_bp): Call it. (kill_child): Delete. (vfork_and_exec_child_follow_to_main_bp) (vfork_and_exec_child_follow_through_step): Call setup_gdb. No longer call kill_child. (tcatch_vfork_then_parent_follow): Call setup_gdb. (do_vfork_and_exec_tests): Don't runto_main before calling each test procedure. (top level): Don't clean restart and set verbose before running each test procedure.
2012-11-022012-11-02 Pedro Alves <palves@redhat.com>Pedro Alves2-37/+39
* gdb.base/foll-vfork.exp (vfork_parent_follow_through_step) (vfork_parent_follow_to_bp) (vfork_and_exec_child_follow_to_main_bp) (vfork_and_exec_child_follow_through_step) (tcatch_vfork_then_parent_follow) (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow): Use with_test_prefix.
2012-11-022012-11-02 Pedro Alves <palves@redhat.com>Pedro Alves3-0/+39
* gdb.base/foll-vfork.c: Add copyright header. * gdb.base/vforked-prog.c: Add copyright header.
2012-11-022012-11-02 Pedro Alves <palves@redhat.com>Pedro Alves2-14/+40
* gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_through_step): Don't skip on non-HP/UX targets. Expect the next to only step one line on non-HP/UX targets, rather than stopping only after the exec.
2012-11-022012-11-02 Pedro Alves <palves@redhat.com>Pedro Alves2-8/+30
Don't hard code line numbers. * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step): Expect text from the sources instead of a line number. (vfork_parent_follow_to_bp) (vfork_and_exec_child_follow_to_main_bp) (vfork_and_exec_child_follow_through_step) (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow): Use gdb_get_line_number.
2012-11-022012-11-02 Pedro Alves <palves@redhat.com>Pedro Alves2-167/+144
Modernize. * gdb.base/foll-vfork.exp: Use standard_testfile and build_executable. Pass descriptive string to untested. (vfork_parent_follow_through_step, vfork_parent_follow_to_bp) (vfork_and_exec_child_follow_to_main_bp) (vfork_and_exec_child_follow_through_step) (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow) (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead of send_gdb/gdb_expect. (kill_child): New procedure. (vfork_and_exec_child_follow_to_main_bp) (vfork_and_exec_child_follow_through_step): Use it.
2012-11-02gdb:Yao Qi8-180/+77
2012-11-02 Yao Qi <yao@codesourcery.com> * std-operator.def: Remove OP_LABELED. * eval.c: Remove the declaration of 'get_label'. (get_label): Remove. (evaluate_struct_tuple): Remove code handling OP_LABELED. Update comment. Remove local variable 'variantno' and related code. Replace 'substruct_type' with 'struct_type'. Replace 'subfieldno' with 'fieldno'. * expprint.c (print_subexp_standard): Likewise. (dump_subexp_body_standard): Likewise. * parse.c (operator_length_standard): Likewise. gdb/testsuite: 2012-11-02 Yao Qi <yao@codesourcery.com> * gdb.base/setvar.exp: Test setting nested struct. * gdb.base/setvar.c (v_struct3): New.
2012-11-02*** empty log message ***gdbadmin1-1/+1
2012-11-01gold/Roland McGrath10-83/+100
* target.h (Sized_target::relocate_relocs): Use Elf_Off for offset_in_output_section parameter. (Sized_target::relocate_special_relocatable): Likewise. * arm.cc (Target_arm::relocate_relocs): Likewise. (Target_arm::relocate_special_relocatable): Likewise. * i386.cc (Target_i386::relocate_relocs): Likewise. * powerpc.cc (Target_powerpc::relocate_relocs): Likewise. * sparc.cc (Target_sparc::relocate_relocs): Likewise. * target-reloc.h (relocate_relocs): Likewise. * testsuite/testfile.cc (Target_test): Likewise. * tilegx.cc (Target_tilegx::relocate_relocs): Likewise. * x86_64.cc (Target_x86_64::relocate_relocs): Likewise.
2012-11-01 * config/tc-mips.c (is_delay_slot_valid): Simplify expression.Maciej W. Rozycki2-2/+5