aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-01-062012-01-06 Sergio Durigan Junior <sergiodj@redhat.com>Sergio Durigan Junior9-14/+31
Thiago Jung Bauermann <bauerman@br.ibm.com> * ada-lang.c (ada_exception_name_addr): Add `volatile' keyword before `struct gdb_exception'. * breakpoint.c (update_global_location_list_nothrow) (update_breakpoint_locations, enable_breakpoint_disp): Likewise. * cp-abi.c (value_rtti_type): Likewise. * cp-support.c (cp_validate_operator): Likewise. * infrun.c (insert_exception_resume_breakpoint) (check_exception_resume, keep_going): Likewise. * mi-interp.c (mi_breakpoint_created) (mi_breakpoint_modified): Likewise. * rs6000-aix-tdep.c (rs6000_convert_from_func_ptr_addr): Likewise. * solib-ia64-hpux.c (ia64_hpux_at_dld_breakpoint_p) (ia64_hpux_handle_dld_breakpoint_1): Likewise.
2012-01-06*** empty log message ***gdbadmin1-1/+1
2012-01-05daily updateAlan Modra1-1/+1
2012-01-05 * dwarf2read.c (statement_prologue): Delete, unused.Doug Evans2-23/+2
2012-01-05 * dwarf2read.c (dwarf2_per_cu_addr_size): Make result type an int.Doug Evans3-2/+5
* dwarf2loc.h (dwarf2_per_cu_addr_size): Update.
2012-01-05 * dwarf2read.c (comp_unit_header): Delete, unused.Doug Evans2-17/+4
2012-01-05 * configure.tgt [s390*-*-*] (gdb_target_obs): Add corelow.o.Ulrich Weigand3-2/+7
* config/s390/s390.mh (NATDEPFILES): Remove corelow.o.
2012-01-05 * ld-x86-64/x86-64.exp: Add test of linking mixed 32-bit andNick Clifton5-0/+96
64-bit objects when the 32-bit object (loaded first) contains 32+ local symbols, all referenced by relocs and the 64-bit object contains a reloc that uses a symbol in the 32-bit object. * 32bit.s: New source file. * 64bit.s: New source file. * incompatible.l: New expected linker output file.
2012-01-052012-01-05 Khoo Yit Phang <khooyp@cs.umd.edu>Pedro Alves7-1/+110
* infrun.c (normal_stop): Don't skip calling the normal_stop observers if the thread was doing a multi-step, but stopped for some reason other than stepping. gdb/testsuite/ 2012-01-05 Pedro Alves <alves.ped@gmail.com> * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files. * gdb.python/py-events.c (first): Add bits for new "step N" test. * gdb.python/py-events.exp: Test that "step N" tripping on a breakpoint emits a breakpoint event.
2012-01-052012-01-05 Pedro Alves <alves.ped@gmail.com>Pedro Alves3-97/+28
* cli/cli-decode.h: Add comments. (CMD_LIST_AMBIGUOUS): Moved to command.h (add_cmd, add_alias_cmd, add_prefix_cmd, add_abbrev_prefix_cmd) (set_cmd_cfunc, set_cmd_sfunc, set_cmd_completer, cmd_cfunc_eq) (set_cmd_context, get_cmd_context, lookup_cmd, lookup_cmd_1) (deprecate_cmd, deprecated_cmd_warning, lookup_cmd_composition) (add_com, add_com_alias, add_info, add_info_alias) (complete_on_cmdlist, complete_on_enum, help_list): Remove declarations. * command.h: Add and adjust comments. (CMD_LIST_AMBIGUOUS): Moved here. (help_cmd, help_cmd_list): Delete declarations.
2012-01-05Rotate ChangeLogsNick Clifton18-12048/+12125
2012-01-05 PR ld/12161Nick Clifton2-2/+18
* elf32-avr.c (elf32_avr_relax_delete_bytes): Read in relocs if necessary.
2012-01-05Document new procedure for updating copyright yearsJoel Brobecker2-29/+8
We now use a different script to perform the update. This patch updates the procedure in our documentation gdb/doc/ChangeLog: * gdbint.texinfo (Start of New Year Procedure): Update to replace use of copyright.sh by use of copyright.py.
2012-01-05bfd/Jan Kratochvil2-17/+19
Fix zero registers core files when built by gcc-4.7. * elf64-x86-64.c (elf_x86_64_write_core_note): Remove variables p and size. Call elfcore_write_note for the local variables. Remove the final elfcore_write_note call. Add NOTREACHED comments.
2012-01-05*** empty log message ***gdbadmin1-1/+1
2012-01-04 * dwarf2read.c (dwarf2_read_abbrevs): Delete arg "abfd".Doug Evans2-20/+27
All callers updated. (load_full_type_unit): Renamed from read_signatured_type_at_offset. Replace all arguments with "per_cu". All callers updated.
2012-01-04 * dwarf2read.c (dwarf2_per_cu_data): Remove outdated comment.Doug Evans2-3/+3
2012-01-04 * dwarf2read.c (init_one_comp_unit): Delete arg "objfile".Doug Evans2-52/+38
New arg "per_cu". All callers updated.
2012-01-04 Delete #if 0'd out code.Doug Evans3-284/+9
* language.c (binop_result_type): Delete. (simple_type, ordered_type, same_type, integral_type): Delete. (numeric_type, character_type, string_type, boolean_type): Delete. (float_type, structured_type): Delete. * language.h: Update.
2012-01-04 * python/py-value.c (valpy_binop): Initialize 'res_val'.Tom Tromey2-1/+5
2012-01-04Get rid of corefile.c:close_exec_fileJoel Brobecker4-23/+8
The body of this function has been commented out since Jul 1999, and thus seems unnecessary. While at it, remove some commented out code that seems to be related to the function being deleted. gdb/ChangeLog: * corefile.c (close_exec_file): Delete. (reopen_exec_file): Remove commented out code that seems related to close_exec_file, which is being deleted here. * inferior.h (close_exec_file): Delete. * fork-child.c (fork_inferior): Remove call to fork_inferior.
2012-01-04Use skip_spaces and skip_to_space in ada-lang.cJoel Brobecker2-14/+14
This is just a minor cleanup that reduces a bit the code in ada-lang.c by using skip_spaces or skip_to_space, instead of doing the skipping ourselves. gdb/ChangeLog: * ada-lang.c: #include "cli/cli-utils.h". (get_selections): Use skip_spaces. (ada_get_next_arg): Use skip_spaces and skip_to_space. (catch_ada_exception_command_split): Use skip_spaces. (ada_decode_assert_location): Likewise.
2012-01-04gdb/gdbserver/Yao Qi2-1/+6
* tracepoint.c (cmd_qtdp): Print debug message for static tracepoint.
2012-01-04gdb/gdbserver/Yao Qi2-0/+9
* tracepoint.c (trace_vdebug): Differentiate debug message between gdbserver and IPA.
2012-01-04do not call decode_compound with Ada expressions.Joel Brobecker2-21/+38
Trying to insert a breakpoint on `ops."<"', we get the following error: (gdb) b ops."<" malformed template specification in command This is because locate_first_half skips the linespec until the dot, and the decode_line_internal thinks that the dot might mean that we have C++ or Java compound. It then tries calling decode_compound which errors out because it sees the opening angle bracket but not the closing one (I am guessing). This patch short-circuits this part of the code when the current language is Ada. gdb/ChangeLog: * linespec.c (decode_line_internal): Check for C++ or Java compound constructs only if the current language is C, C++ or Java.
2012-01-04gdb/Jan Kratochvil4-34/+32
Revert: 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com> Joel Brobecker <brobecker@adacore.com> Fix regression for gdb.cp/gdb2495.exp with gcc-4.7. * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to 3 times. * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and fall through into AT_ENTRY_POINT. (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust DUMMY_ADDR with it. * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase PPC_INSN_SIZE skip to 3 times.
2012-01-042012-01-04 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-1/+26
* mach-o.c (bfd_mach_o_fat_stat_arch_elt): New function. (bfd_mach_o_generic_stat_arch_elt): Adjust.
2012-01-042012-01-04 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-12/+56
* mach-o.c (bfd_mach_o_fat_member_init): New function. (bfd_mach_o_openr_next_archived_file): Reindent. Adjust to call bfd_mach_o_fat_member_init. (bfd_mach_o_fat_extract): Adjust to call bfd_mach_o_fat_member_init.
2012-01-04linespec: keep function descriptors during minimal symbol searchJoel Brobecker2-1/+15
When discarding data (minimal) symbols, we need to be careful to not throw away the function descriptors. This makes a difference on platforms where these descriptors are used and live in a data section. gdb/ChangeLog: * linespec.c (add_minsym): Preserve function descriptors.
2012-01-042012-01-04 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-0/+45
* mach-o-x86-64.c (bfd_mach_o_x86_64_swap_reloc_out): Handle BFD_RELOC_32, BFD_RELOC_MACH_O_X86_64_PCREL32_1, BFD_RELOC_MACH_O_X86_64_PCREL32_2, BFD_RELOC_MACH_O_X86_64_PCREL32_4, BFD_RELOC_MACH_O_X86_64_BRANCH32, BFD_RELOC_MACH_O_X86_64_SUBTRACTOR32, BFD_RELOC_MACH_O_X86_64_GOT.
2012-01-04 * breakpoint.c (all_locations_are_pending): Consider locationsUlrich Weigand2-1/+7
in program spaces executing during startup pending as well.
2012-01-04gas/testsuite:Iain Sandoe2-1/+17
* gas/mach-o/zerofill-2.d: New.
2012-01-04add .zerofill to mach-o GAS.Iain Sandoe5-86/+358
gas: * config/obj-macho.c (obj_mach_o_segT_from_bfd_name): Tidy definition. (obj_mach_o_get_section_names): New (split from obj_mach_o_section). (obj_mach_o_make_or_get_sect): Likewise. (obj_mach_o_section): Split out the functionality shared with zerofill. (obj_mach_o_zerofill): New. (obj_mach_o_common_parse): Ensure whitespace is skipped. (mach_o_pseudo_table): Add .zerofill. gas/testsuite: * gas/mach-o/zerofill-1.d: New. * gas/mach-o/zerofill-1.s: New.
2012-01-04bfd/Tristan Gingold7-1/+73
2012-01-04 Tristan Gingold <gingold@adacore.com> * mach-o.h (bfd_mach_o_fvmlib_command): New structure. (bfd_mach_o_load_command): Add fvmlib field. * mach-o.c (bfd_mach_o_read_fvmlib): New function. (bfd_mach_o_read_command): Handle fvmlib. binutils/ 2012-01-04 Tristan Gingold <gingold@adacore.com> * od-macho.c (dump_load_command): Handle fvmlib. include/mach-o/ 2012-01-04 Tristan Gingold <gingold@adacore.com> * external.h (mach_o_fvmlib_command_external): New structure.
2012-01-04bfd/Tristan Gingold4-12/+70
2012-01-04 Tristan Gingold <gingold@adacore.com> * mach-o.c (bfd_mach_o_convert_architecture): Reindent. Decode msubtype for ARM. include/mach-o/ 2012-01-04 Tristan Gingold <gingold@adacore.com> * loader.h: Update copyright year. (bfd_mach_o_cpu_subtype): Add ARM subtypes.
2012-01-04bfd/Tristan Gingold2-1/+12
2012-01-04 Tristan Gingold <gingold@adacore.com> * mach-o.c (bfd_mach_o_get_synthetic_symtab): Add comments.
2012-01-04bfd/Tristan Gingold7-8/+79
2012-01-04 Tristan Gingold <gingold@adacore.com> * mach-o.h: Reindent header. (bfd_mach_o_encryption_info_command): New structure. (bfd_mach_o_load_command): Add encryption_info field. * mach-o.c (bfd_mach_o_read_encryption_info): New function. (bfd_mach_o_read_command): Handle BFD_MACH_O_LC_ENCRYPTION_INFO. (bfd_mach_o_read_command): Adjust error message. binutils/ 2012-01-04 Tristan Gingold <gingold@adacore.com> * od-macho.c: Update copyright year. (dump_load_command): Handle BFD_MACH_O_LC_ENCRYPTION_INFO. include/mach-o/ 2012-01-04 Tristan Gingold <gingold@adacore.com> * external.h: Update copyright year. (mach_o_symtab_command_external): Add comments. (mach_o_encryption_info_command_external): New structure.
2012-01-042012-01-04 Shinichiro Hamaji <shinichiro.hamaji@gmail.com>Tristan Gingold6-111/+313
* dwarf2.c (_bfd_dwarf2_slurp_debug_info): Factor out the part which reads DWARF2 and stores in stash from find_line. (find_line) Call _bfd_dwarf2_slurp_debug_info. * libbfd-in.h (_bfd_dwarf2_slurp_debug_info): Add declaration. * libbfd.h (_bfd_dwarf2_slurp_debug_info): Regenerate. * mach-o.c (dsym_subdir): The name of subdir where debug information may be stored. (bfd_mach_o_lookup_uuid_command): New. Lookup a load command whose type is UUID. (bfd_mach_o_dsym_for_uuid_p): New. Check if the specified BFD is corresponding to the executable. (bfd_mach_o_find_dsym): New. Find a debug information BFD in the specified binary file. (bfd_mach_o_follow_dsym): New. Find a debug information BFD for the original BFD. (bfd_mach_o_find_nearest_line): Check dSYM files for Mach-O executables, dylibs, and bundles. (bfd_mach_o_close_and_cleanup): Clean up BFDs for the dSYM file. * mach-o.h (dsym_bfd): The BFD of the dSYM file.
2012-01-04Copyright year update in most files of the GDB Project.Joel Brobecker906-1305/+993
gdb/ChangeLog: Copyright year update in most files of the GDB Project.
2012-01-04Copyright year update in most files of the GDB Project.Joel Brobecker2180-3226/+2444
gdb/ChangeLog: Copyright year update in most files of the GDB Project.
2012-01-04use gnulib's update-copyright script to update copyright yearsJoel Brobecker3-757/+262
This patch now retires the old copyright.sh script which was using emacs to perform the copyright update. It also completely rewrite copyright.py to call update-copyright with the appropriate list of files. In addition to calling update-copyright, the new script also performs a sanity-check on all the files that update-copyright could not update, and sees whether the file might contain a copyright notice that the script could not decipher. gdb/ChangeLog: * copyright.sh: Delete. * copyright.py: Rewrite.
2012-01-04Import gnulib's update-copyright scriptJoel Brobecker2-0/+271
gdb/ChangeLog: * gnulib/extra/update-copyright: New file, imported from gnulib.
2012-01-04[README] Add note about copyright and license noticesJoel Brobecker2-0/+24
Also explain the use of year ranges in copyright notices. gdb/ChangeLog: * README (Copyright and License Notices): New section.
2012-01-04 * gold/incremental.cc (Sized_incremental_binary::do_process_got_plt):Cary Coutant6-17/+50
Use abstract base class for GOT. * gold/output.h (class Output_data_got_base): New abstract base class. (class Output_data_got): Derive from new base class, adjust ctors. (Output_data_got::reserve_slot): Make virtual; rename to do_reserve_slot; Adjust callers. * gold/target.h (Sized_target::init_got_plt_for_update): Return pointer to abstract base class. * gold/x86_64.cc (Target_x86_64::init_got_plt_for_update): Likewise.
2012-01-04*** empty log message ***gdbadmin1-1/+1
2012-01-03daily updateAlan Modra1-1/+1
2012-01-03 PR python/12533:Tom Tromey2-24/+86
* python/py-value.c (valpy_dereference, valpy_get_address valpy_get_dynamic_type, valpy_lazy_string, valpy_do_cast) (valpy_getitem, valpy_call, valpy_binop, valpy_negative) (valpy_absolute, valpy_richcompare): Free intermediate values.
2012-01-03merge from gccDJ Delorie2-5/+29
2012-01-03more copyright notice reformatting.Joel Brobecker4-6/+13
gdb/ChangeLog: * ada-lang.c: Reformat the copyright notice. gdb/testsuite/ChangeLog: * gdb.base/auxv.exp: Reformat the copyright notice.
2012-01-03support stabs on mach-o GAS.Iain Sandoe5-17/+77
bfd: * mach-o.c (bfd_mach_o_mangle_symbols): Put in the section index for stabd symbols. (bfd_mach_o_primary_symbol_sort_key): Adjust for stabs. (bfd_mach_o_cf_symbols): Likewise. gas: * config/obj-macho.c (obj_macho_process_stab): New. * config/obj-macho.h (OBJ_PROCESS_STAB): Define. (obj_macho_process_stab): Declare.