aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-05-062012-05-06 Arnold Metselaar <arnold_m@operamail.com>Arnold Metselaar3-135/+183
* config/tc-z80.h(md_register_arithmetic): Define as 0. * config/tc-z80.c(md_begin): Store register names in symbol table, prevents usage as ordinary symbol. * config/tc-z80.c(contains_register): New function. * config/tc-z80.c(parse_exp2): Removed. * config/tc-z80.c(parse_exp_not_indexed): New function. * config/tc-z80.c(parse_exp): Add code to recogize indexed addressing after parsing. * config/tc-z80.c(emit_byte, emit_word): Use contains_register. * config/tc-z80.c(emit_jp): Use parse_exp_not_indexed, simplify condition for jump to register. * config/tc-z80.c(emit_call, emit_jr, emit_ex, emit_rst): Use parse_exp_not_indexed.
2012-05-06*** empty log message ***gdbadmin1-1/+1
2012-05-06daily updateAlan Modra1-1/+1
2012-05-05Add a testcase for PR ld/14052H.J. Lu3-0/+25
PR ld/14052 * ld-elf/pr14052.d: New file. * ld-elf/pr14052.t: Likewise.
2012-05-052012-05-05 Sergio Durigan Junior <sergiodj@redhat.com>Sergio Durigan Junior2-2/+4
* stap-probe.h: Do not include unecessary `probe.h'.
2012-05-05 PR ld/14052Alan Modra6-19/+14
PR ld/13621 bfd/ * linker.c (_bfd_nearby_section): Revert 2012-02-13 change. ld/testsuite/ * ld-elf/warn2.d: Revert 2012-02-13 change. * ld-elf/zerosize1.d, ld-elf/zerosize1.s: Delete.
2012-05-05Regenerate.Alan Modra2-17/+15
2012-05-05Replace all uses of bfd_abs_section, bfd_com_section, bfd_und_sectionAlan Modra35-129/+188
and bfd_ind_section with their _ptr variants, or use corresponding bfd_is_* macros.
2012-05-05daily updateAlan Modra1-1/+1
2012-05-05*** empty log message ***gdbadmin1-1/+1
2012-05-04Support x86_64-*-linux-gnux32H.J. Lu12-2/+40
gas/ * configure.tgt: Support x86_64-*-linux-gnux32. ld/ * configure.tgt: Support x86_64-*-linux-gnux32. ld/testsuite/ * ld-elf/eh1.d: Skip x86_64-*-linux-gnux32. * ld-elf/eh2.d: Likewise. * ld-elf/eh3.d: Likewise. * ld-elf/eh4.d: Likewise. * ld-elfvsb/elfvsb.exp: Xfail x86_64-*-linux-gnux32. * ld-shared/shared.exp: Likewise. * ld-ifunc/ifunc-3a-x86.d: Support x86_64-*-linux-gnux32.
2012-05-04Add `instruction' to unsupported error messageH.J. Lu2-1/+6
* config/tc-i386.c (match_template): Add `instruction' to unsupported error message.
2012-05-04Reformat output_insnH.J. Lu2-1/+5
* config/tc-i386.c (output_insn): Reformat.
2012-05-04Fix typo in last gdb/ChangeLog entry.Joel Brobecker1-1/+1
2012-05-04MAINTAINERS: Add Chris Faylor in `Past Maintainers' section.Joel Brobecker2-0/+5
gdb/ChangeLog: * MAINTAINER (Past Maintainers): Add Chris Faylor.
2012-05-04Segment register reading on Windows targets.Joel Brobecker5-0/+64
This patch makes sure that the value of segment registers are read properly as 16bit values on Windows. gdb/ChangeLog: * windows-nat.h (segment_register_p_ftype): New typedef. (windows_set_segment_register_p): Add declaration. * windows-nat.c (segment_register_p): New static global. (windows_set_segment_register_p): New function. (do_windows_fetch_inferior_registers): Add special handling for segment registers. * amd64-windows-nat.c: #include "amd64-tdep.h". (amd64_windows_segment_register_p): New function. (_initialize_amd64_windows_nat): Call windows_set_segment_register_p. * i386-windows-nat.c: #include "i386-tdep.h". (i386_windows_segment_register_p): New function. (_initialize_i386_windows_nat): Call windows_set_segment_register_p.
2012-05-04Remove the extra VEX checkH.J. Lu2-2/+5
* config/tc-i386.c (output_insn): Remove the extra VEX check.
2012-05-04Improve unsupported error messageH.J. Lu2-2/+8
* config/tc-i386.c (match_template): Improve unsupported error message.
2012-05-042012-05-04 Tristan Gingold <gingold@adacore.com>Tristan Gingold4-0/+47
* printcmd.c (set_command): Emit a warning if the expression is not an assignment. testsuite/ 2012-05-04 Tristan Gingold <gingold@adacore.com> * gdb.base/set-noassign.exp: New test.
2012-05-04*** empty log message ***gdbadmin1-1/+1
2012-05-04daily updateAlan Modra1-1/+1
2012-05-03not-procfs.c: Make procfs_find_new_threads and procfs_pid_to_str static.Joel Brobecker2-2/+7
gdb/ChangeLog: * nto-procfs.c (procfs_find_new_threads, procfs_pid_to_str): Make static.
2012-05-032012-05-03 Sergio Durigan Junior <sergiodj@redhat.com>Sergio Durigan Junior2-40/+68
* stap-probe.c (stap_is_operator): Change declaration. (stap_get_opcode): Change return value. (stap_parse_argument_1): Update calls to `stap_get_opcode' and `stap_parse_argument_1'.
2012-05-032012-05-03 Pedro Alves <pedro@codesourcery.com>Pedro Alves2-1/+6
* infrun.c (displaced_step_fixup): Add "displaced:" prefix to debug log.
2012-05-03Add support for Motorola XGATE embedded CPUNick Clifton57-13/+3798
2012-05-03Add support for Motorola XGATE embedded CPUNick Clifton6-1/+928
2012-05-032012-05-03 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-2/+11
* dwarf2.c (decode_line_info): Ignore DW_LNE_HP_source_file_correlation.
2012-05-032012-05-03 Siva Chandra Reddy <sivachandra@google.com>Siva Chandra Reddy8-0/+94
Add two new methods global_block and static_block to gdb.Symtab objects. * NEWS (Python scripting): Add entry about the new methods. * python/py-symtab.c (stpy_global_block): New function which implements the gdb.Symtab.global_block() method. (stpy_static_block): New function which implements the gdb.Symtab.static_block() method. (symtab_object_methods): Add entries for the two new methods. * testsuite/gdb.python/py-symbol.exp: Add tests to test the new methods gdb.Symtab.global_block() and gdb.Symtab.static_block(). * tessuite/gdb.python/py-symbol.c: Add new struct to help test gdb.Symtab.static_block(). * doc/gdb.texinfo (Symbol Tables In Python): Add documentation about the new methods global_block and static_block on gdb.Symtab objects.
2012-05-03 * gdb.dwarf2/pr13961.S: Add file and source location, but leaveDoug Evans2-0/+11
commented out.
2012-05-03* dwarf2read.c (dw2_find_symbol_file): Don't crash if there are no files.Doug Evans2-1/+7
2012-05-03gdb/testsuite:Yao Qi6-52/+52
* gdb.base/catch-syscall.exp: Skip it before compilation if target doesn't support. * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise. * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
2012-05-03gdb/testsuite:Yao Qi2-0/+9
* gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
2012-05-03gdb:Yao Qi2-2/+8
* i386-tdep.c (i386_fetch_pointer_argument): Remove extra space. (i386_process_record): Ditto.
2012-05-03Make infcall.c:unwind_on_signal_p static.Joel Brobecker2-1/+5
gdb/ChangeLog: * infcall.c (unwind_on_signal_p): Make static.
2012-05-03*** empty log message ***gdbadmin1-1/+1
2012-05-03daily updateAlan Modra1-1/+1
2012-05-02Fix -Wmissing-prototypes errors in sol-thread.cJoel Brobecker2-1/+9
gdb/ChangeLog: * sol-thread.c (solaris_pid_to_str): Make static. (_initialize_sol_thread): Add prototype.
2012-05-02Delete unused procfs_pid_to_str extern in sol-thread.cJoel Brobecker2-2/+4
gdb/ChangeLog: * sol-thread.c (procfs_pid_to_str): Delete extern declaration.
2012-05-02* MAINTAINERS: Remove myself.Christopher Faylor2-2/+4
2012-05-02 * configure.ac (ENABLE_GOLD): Consider *-*-nacl* targets ELF.Roland McGrath24-2600/+4647
* configure: Regenerate. gold/ * nacl.cc: New file. * nacl.h: New file. * Makefile.am (CCFILES, HFILES): Add them. * Makefile.in: Regenerate. * i386.cc (Output_data_plt_i386_nacl): New class. (Output_data_plt_i386_nacl_exec): New class. (Output_data_plt_i386_nacl_dyn): New class. (Target_i386_nacl): New class. (Target_selector_i386_nacl): New class. (target_selector_i386): Use it instead of Target_selector_i386. * x86_64.cc (Output_data_plt_x86_64_nacl): New class. (Target_x86_64_nacl): New class. (Target_selector_x86_64_nacl): New class. (target_selector_x86_64, target_selector_x32): Use it instead of Target_selector_x86_64. * arm.cc (Output_data_plt_arm_nacl): New class. (Target_arm_nacl): New class. (Target_selector_arm_nacl): New class. (target_selector_arm, target_selector_armbe): Use it instead of Target_selector_arm. * target-select.cc (select_target): Take new Input_file* and off_t arguments, pass them on to recognize method of selector. * object.cc (make_elf_sized_object): Update caller. * parameters.cc (parameters_force_valid_target): Likewise. * incremental.cc (make_sized_incremental_binary): Likewise. * target-select.h: Update decl. (Target_selector::recognize): Take new Input_file* argument, pass it on to do_recognize. (Target_selector::do_recognize): Take new Input_file* argument. * freebsd.h (Target_selector_freebsd::do_recognize): Likewise. * powerpc.cc (Target_selector_powerpc::do_recognize): Likewise. * sparc.cc (Target_selector_sparc::do_recognize): Likewise. * testsuite/testfile.cc (Target_selector::do_recognize): Likewise. * target.h (Target::Target_info): New members isolate_execinstr and rosegment_gap. (Target::isolate_execinstr, Target::rosegment_gap): New methods. * arm.cc (Target_arm::arm_info): Update initializer. * i386.cc (Target_i386::i386_info): Likewise. * powerpc.cc (Target_powerpc::powerpc_info): Likewise. * sparc.cc (Target_sparc::sparc_info): Likewise. * x86_64.cc (Target_x86_64::x86_64_info): Likewise. * testsuite/testfile.cc (Target_test::test_target_info): Likewise. * layout.cc (Layout::attach_allocated_section_to_segment): Take new const Target* argument. If target->isolate_execinstr(), act like --rosegment. (Layout::find_first_load_seg): Take new const Target* argument; if target->isolate_execinstr(), reject PF_X segments. (Layout::relaxation_loop_body): Update caller. (Layout::set_segment_offsets): If target->isolate_execinstr(), reset file offset to zero when we hit LOAD_SEG, and then do a second loop over the segments before LOAD_SEG to reassign offsets after addresses have been determined. Handle target->rosegment_gap(). (Layout::attach_section_to_segment): Take new const Target* argument; pass it to attach_allocated_section_to_segment. (Layout::make_output_section): Update caller. (Layout::attach_sections_to_segments): Take new const Target* argument; pass it to attach_section_to_segment. * gold.cc (queue_middle_tasks): Update caller. * layout.h (Layout): Update method decls with new arguments. * arm.cc (Target_arm::Target_arm): Take optional argument for the Target_info pointer to use. (Target_arm::do_make_data_plt): New virtual method. (Target_arm::make_data_plt): New method that calls it. (Target_arm::make_plt_entry): Use it. (Output_data_plt_arm::Output_data_plt_arm): Take additional argument for the section alignment. (Output_data_plt_arm::do_first_plt_entry_offset): New abstract virtual method. (Output_data_plt_arm::first_plt_entry_offset): Call it. (Output_data_plt_arm::do_get_plt_entry_size): New abstract virtual method. (Output_data_plt_arm::get_plt_entry_size): Call it. (Output_data_plt_arm::do_fill_plt_entry): New abstract virtual method. (Output_data_plt_arm::fill_plt_entry): New method that calls it. (Output_data_plt_arm::do_fill_first_plt_entry): New abstract virtual method. (Output_data_plt_arm::fill_first_plt_entry): New method that calls it. (Output_data_plt_arm::set_final_data_size): Use get_plt_entry_size method instead of sizeof(plt_entry). (Output_data_plt_arm::add_entry): Likewise. Use first_plt_entry_offset method instead of sizeof(first_plt_entry). (Target_arm::first_plt_entry_offset): Call method on this->plt_ rather than static method. (Target_arm::plt_entry_size): Likewise. (Output_data_plt_arm::first_plt_entry, Output_data_plt_arm::plt_entry): Move to ... (Output_data_plt_arm_standard): ... here, new class. (Output_data_plt_arm::do_write): Move guts of PLT filling to... (Output_data_plt_arm_standard::do_fill_first_plt_entry): ... here ... (Output_data_plt_arm_standard::do_fill_plt_entry): ... and here. * x86_64.cc (Output_data_plt_x86_64::Output_data_plt_x86_64): Take additional argument for the PLT entry size. (Output_data_plt_x86_64::get_tlsdesc_plt_offset): Use get_plt_entry_size method rather than plt_entry_size variable. (Output_data_plt_x86_64::reserve_slot): Likewise. (Output_data_plt_x86_64::do_adjust_output_section): Likewise. (Output_data_plt_x86_64::add_entry): Likewise. (Output_data_plt_x86_64::add_local_ifunc_entry): Likewise. (Output_data_plt_x86_64::address_for_global): Likewise. (Output_data_plt_x86_64::address_for_local): Likewise. (Output_data_plt_x86_64::set_final_data_size): Likewise. (Output_data_plt_x86_64::first_plt_entry_offset): Likewise. Make method non-static. (Output_data_plt_x86_64::do_get_plt_entry_size): New abstract virtual method. (Output_data_plt_x86_64::get_plt_entry_size): Just call that. (Output_data_plt_x86_64::do_add_eh_frame): New abstract virtual method. (Output_data_plt_x86_64::add_eh_frame): New method to call it. (Output_data_plt_x86_64::do_fill_first_plt_entry): New abstract virtual method. (Output_data_plt_x86_64::fill_first_plt_entry): New method to call it. (Output_data_plt_x86_64::do_fill_plt_entry): New abstract virtual method. (Output_data_plt_x86_64::fill_plt_entry): New method to call it. (Output_data_plt_x86_64::do_fill_tlsdesc_entry): New abstract virtual method. (Output_data_plt_x86_64::fill_tlsdesc_entry): New method to call it. (Output_data_plt_x86_64::plt_entry_size) (Output_data_plt_x86_64::first_plt_entry) (Output_data_plt_x86_64::plt_entry) (Output_data_plt_x86_64::tlsdesc_plt_entry) (Output_data_plt_x86_64::plt_eh_frame_fde_size) (Output_data_plt_x86_64::plt_eh_frame_fde): Move to ... (Output_data_plt_x86_64_standard): ... here, new class. (Target_x86_64::Target_x86_64): Take optional argument for the Target_info pointer to use. (Target_x86_64::do_make_data_plt): New virtual method. (Target_x86_64::make_data_plt): New method to call it. (Target_x86_64::init_got_plt_for_update): Use that. Call this->plt_->add_eh_frame method here. (Output_data_plt_x86_64::init): Don't do add_eh_frame_for_plt here. (Target_x86_64::first_plt_entry_offset): Call method on this->plt_ rather than static method. (Target_x86_64::plt_entry_size): Likewise. (Output_data_plt_x86_64::do_write): Use get_plt_entry_size method rather than plt_entry_size variable. Move guts of PLT filling to... (Output_data_plt_x86_64_standard::do_fill_first_plt_entry): ... here ... (Output_data_plt_x86_64_standard::do_fill_plt_entry): ... and here ... (Output_data_plt_x86_64_standard::do_fill_tlsdesc_entry): ... and here. * i386.cc (Output_data_plt_i386::Output_data_plt_i386): Take additional argument for the section alignment. Don't do add_eh_frame_for_plt here. (Output_data_plt_i386::first_plt_entry_offset): Make the method non-static. Use get_plt_entry_size method rather than plt_entry_size variable. (Output_data_plt_i386::do_get_plt_entry_size): New abstract virtual method. (Output_data_plt_i386::get_plt_entry_size): Call it. (Output_data_plt_i386::do_add_eh_frame): New abstract virtual method. (Output_data_plt_i386::add_eh_frame): New method to call it. (Output_data_plt_i386::do_fill_first_plt_entry): New abstract virtual method. (Output_data_plt_i386::fill_first_plt_entry): New method to call it. (Output_data_plt_i386::do_fill_plt_entry): New abstract virtual method. (Output_data_plt_i386::fill_plt_entry): New method to call it. (Output_data_plt_i386::set_final_data_size): Use get_plt_entry_size method instead of plt_entry_size. (Output_data_plt_i386::plt_entry_size) (Output_data_plt_i386::plt_eh_frame_fde_size) (Output_data_plt_i386::plt_eh_frame_fde): Move to ... (Output_data_plt_i386_standard): ... here, new class. (Output_data_plt_i386_exec): New class. (Output_data_plt_i386::exec_first_plt_entry): Move to ... (Output_data_plt_i386_exec::first_plt_entry): ... here. (Output_data_plt_i386::exec_plt_entry): Move to ... (Output_data_plt_i386_exec::plt_entry): ... here. (Output_data_plt_i386_dyn): New class. (Output_data_plt_i386::first_plt_entry): Move to ... (Output_data_plt_i386_dyn::first_plt_entry): ... here. (Output_data_plt_i386::dyn_plt_entry): Move to ... (Output_data_plt_i386_dyn::plt_entry): ... here. (Target_i386::Target_i386): Take optional argument for the Target_info pointer to use. (Target_i386::do_make_data_plt): New virtual method. (Target_i386::make_data_plt): New method to call it. (Target_i386::make_plt_section): Use that. Call this->plt_->add_eh_frame method here. (Output_data_plt_i386::add_entry): Use get_plt_entry_size method rather than plt_entry_size variable. (Output_data_plt_i386::add_local_ifunc_entry): Likewise. (Output_data_plt_i386::address_for_local): Likewise. (Output_data_plt_i386::do_write): Likewise. Move guts of PLT filling to... (Output_data_plt_i386_exec::do_fill_first_plt_entry): ... here ... (Output_data_plt_i386_exec::do_fill_plt_entry): ... and here ... (Output_data_plt_i386_dyn::do_fill_first_plt_entry): ... and here ... (Output_data_plt_i386_dyn::do_fill_plt_entry): ... and here. Change-Id: Id24b95600489835ff5e860a39c147203d4380c2b
2012-05-02gdb/Jan Kratochvil2-0/+11
Fix --without-auto-load-safe-path for MS-Windows host platform. * auto-load.c (filename_is_in_dir): Return 1 for DIR_LEN 0.
2012-05-02include/Cary Coutant2-2/+6
* dwarf2.def: Remove DW_FORM_GNU_ref_index, replace DW_AT_GNU_ref_base with DW_AT_GNU_ranges_base.
2012-05-022012-05-02 Siva Chandra Reddy <sivachandra@google.com>Siva Chandra Reddy2-1/+11
* doc/gdb.texinfo (Blocks In Python): Add a note saying that future improvements to GDB and its infrastructure can move symbols across blocks within a symbol table.
2012-05-02 gdb_curses.h: Undefine KEY_EVENT before including cursesEli Zaretskii2-7/+17
headers. Move "#undef MOUSE_MOVED" before any curses header inclusion.
2012-05-02 * po/vi.po: Updated Vietnamese translation.Nick Clifton5-1559/+11596
* po/it.po: New Italian translation. * configure.in (ALL_LINGUAS): Add it. * configure: Regenerate.
2012-05-022012-05-02 Sergio Durigan Junior <sergiodj@gmail.com>Sergio Durigan Junior21-20/+24
* features/i386/i386-mmx-linux.c: Regenerate. * features/rs6000/powerpc-32.c: Likewise. * features/rs6000/powerpc-32l.c: Likewise. * features/rs6000/powerpc-403.c: Likewise. * features/rs6000/powerpc-403gc.c: Likewise. * features/rs6000/powerpc-405.c: Likewise. * features/rs6000/powerpc-505.c: Likewise. * features/rs6000/powerpc-601.c: Likewise. * features/rs6000/powerpc-602.c: Likewise. * features/rs6000/powerpc-603.c: Likewise. * features/rs6000/powerpc-604.c: Likewise. * features/rs6000/powerpc-64.c: Likewise. * features/rs6000/powerpc-64l.c: Likewise. * features/rs6000/powerpc-750.c: Likewise. * features/rs6000/powerpc-860.c: Likewise. * features/rs6000/powerpc-e500.c: Likewise. * features/rs6000/powerpc-e500l.c: Likewise. * features/rs6000/powerpc-isa205-32l.c: Likewise. * features/rs6000/powerpc-isa205-64l.c: Likewise. * features/rs6000/rs6000.c: Likewise.
2012-05-022012-05-02 Sergio Durigan Junior <sergiodj@gmail.com>Sergio Durigan Junior3-9/+9
* i386-tdep.c (i386_stap_parse_special_token) <s>: Remove unused variable. * stap-probe.c (stap_parse_single_operand) <reg_suffix, reg_ind_suffix, reg_suffix_len, reg_ind_suffix_len>: Likewise. (stap_parse_argument) <e>: Likewise. (handle_stap_probe) <byte_order>: Likewise.
2012-05-02*** empty log message ***gdbadmin1-1/+1
2012-05-02daily updateAlan Modra1-1/+1
2012-05-01elfcpp/Cary Coutant5-584/+84
* dwarf.h (enum DW_TAG, enum DW_FORM, enum DW_AT, enum DW_ENCODING) (enum DW_OP, enum DW_CFA): Remove. Include dwarf2.def. gold/ * dwarf_reader.cc (Dwarf_die::read_attributes) (Dwarf_die::skip_attributes, Dwarf_die::int_attribute) (Dwarf_die::uint_attribute): Remove DW_FORM_null. * reduced_debug_output.cc (Output_reduced_debug_info_section::get_die_end): Remove DW_FORM_GNU_ref_index. Add default case.