aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-11-11binutils/Jan Kratochvil5-186/+23
* configure.in: Stop checking for fopen64 and stat64. * strings.c (file_off, file_open, statbuf, file_stat): Remove. (strings_file): Change file_off to file_ptr, file_open to fopen, statbuf to struct stat and file_stat to stat. (get_char): Change parameter type file_off * to file_ptr *. (print_strings): Change parameter and variable `start' type file_off to file_ptr. * configure: Regenerate. * config.in: Regenerate.
2009-11-11bfd/Jan Kratochvil25-133/+496
* configure.in: Call ACX_LARGEFILE. Stop calling AC_PLUGINS, AC_SYS_LARGEFILE and checking the Solaris largefile exception. * aclocal.m4: Regenerate. * configure: Regenerate. binutils/ * configure.in: Call ACX_LARGEFILE. Stop calling AC_PLUGINS, AC_SYS_LARGEFILE and checking the Solaris largefile exception. * aclocal.m4: Regenerate. * configure: Regenerate. gas/ * configure.in: Call ACX_LARGEFILE. Stop calling AC_SYS_LARGEFILE. * aclocal.m4: Regenerate. * configure: Regenerate. gdb/ * configure.ac: Call ACX_LARGEFILE. * aclocal.m4: Call m4_include for ../config/largefile.m4 and ../config/plugins.m4. * configure: Regenerate. * config.in: Regenerate. gprof/ * configure.in: Call ACX_LARGEFILE. Stop calling AC_SYS_LARGEFILE. * aclocal.m4: Regenerate. * configure: Regenerate. ld/ * configure.in: Call ACX_LARGEFILE. Stop calling AC_SYS_LARGEFILE. * aclocal.m4: Regenerate. * configure: Regenerate.
2009-11-11*** empty log message ***gdbadmin1-1/+1
2009-11-10daily updateAlan Modra1-1/+1
2009-11-10 * c-exp.y: Add new rule for resolving method overloads.Keith Seitz7-15/+173
* eval.c (make_params): New function. (free_param_types): New function. (evaluate_subexp_standard): Pass expect_type to value_aggregate_elt. Handle case TYPE_INSTANCE. (evaluate_subexp_for_address): Pass expect_type to value_aggregate_elt. * expression.h (enum exp_opcode): Add TYPE_INSTANCE. (compare_parameters): Add declaration. * parse.c (operator_length_standard): Add TYPE_INSTANCE. * valops.c (value_aggregate_elt): Add new expect_type parameter. Pass expect_type to value_struct_elt_for_reference. (value_struct_elt_for_reference): Add expect_type parameter and use compare_parameters. Check for overload matches with and without artificial parameters. Skip artificial methods. (compare_parameters): New function. * value.h (value_aggregate_elt): Add new expect_type parameter.
2009-11-10 * gdb.cp/overload.exp: Add tests for resolving overloadedKeith Seitz2-0/+26
methods in expression parsing/evaluation.
2009-11-10 * solib-svr4.c (enable_break): CallJoseph Myers2-4/+16
gdbarch_convert_from_func_ptr_addr on results of looking up fallback symbol names.
2009-11-102009-11-10 Daniel Gutson <dgutson@codesourcery.com>Daniel Jacobowitz2-4/+24
* procfs.c (procfs_do_thread_registers): Added a call to fetch register values before saving them in the core file through the gcore command. (procfs_corefile_thread_callback): Removed the backup of inferior_ptid before calling procfs_do_thread_registers since the function already saves and restores it before returning.
2009-11-10 * lib/gdb.exp (default_gdb_version): Use --version instead ofDaniel Jacobowitz2-7/+6
--command.
2009-11-102009-11-10 Michael Snyder <msnyder@vmware.com>Michael Snyder2-3/+7
* dcache.c: Fix typo, shorten long lines in comment.
2009-11-10 * config/m68k-parse.h (enum m68k_register): Add ACR[4-7], RGPIOBAR.Maxim Kuvyrkov5-6/+56
* config/tc-m68k.c (mcf5206_ctrl): Fix whitespace. (mcf52223_ctrl): Remove non-existent registers. (mcf54418): Define. (mcf54455): Remove MBAR. (m68k_cpus): Add lines for MCF5441x family. (m68k_ip, init_table): Handle RGPIOBAR, ACR[4-7]. * m68k-dis.c (print_insn_arg): Handle RGPIOBAR, ACR[4-7] and MBAR[01].
2009-11-10 PR ld/10864Nick Clifton2-1/+9
* ld.texinfo (Entry Point): Mention that the default entry symbol is not 'start' on some targets.
2009-11-102009-11-10 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-8/+86
* avr-tdep.c: Add AVR_PSEUDO_PC_REGNUM and AVR_NUM_PSEUDO_REGS. (struct gdbarch_tdep): Add void_type, func_void_type and pc_type fields. (avr_register_name): Add "pc" name, renames "PC" to "PC2". (avr_register_type): Handle AVR_PSEUDO_PC_REGNUM. (avr_write_pc): Fix indentation. (avr_pseudo_register_read): New function. (avr_pseudo_register_write): New function. (avr_frame_prev_register): Handle AVR_PSEUDO_PC_REGNUM. (avr_gdbarch_init): Create types for pc. Register pseudo regs.
2009-11-102009-11-10 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-0/+15
* avr-tdep.c (avr_integer_to_address): New function. (avr_gdbarch_init): Set integer_to_address.
2009-11-102009-11-10 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-23/+27
* avr-tdep.c (avr_skip_prologue): First try to skip prologue using skip_prologue_using_sal.
2009-11-102009-11-10 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-59/+67
* avr-tdep.c (avr_extract_return_value): Remove. (avr_return_value): Mostly rewritten. Fix handling for structures. (avr_push_dummy_call): Handle struct_return. 2009-11-10 Tristan Gingold <gingold@adacore.com> * avr-tdep.c (avr_scan_prologue): Decode instructions used for small stack allocation. Adjust code for prologue that don't write SP.
2009-11-10 * lib/gdb.exp (gdb_compile_test): New.Nathan Sidwell22-57/+134
(skip_ada_tests, skip_java_tests): New. (gdb_compile): Use gdb_compile_test for f77. * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result. * lib/java.exp (compile_java_from_source): Remove runtests check, use gdb_compile_test to record result. * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp, gdb.ada/exec_changed.exp, gdb.ada/start.exp, gdb.ada/watch_arg.exp, gdb.ada/null_record.exp, gdb.ada/array_return.exp, gdb.ada/arrayidx.exp, gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp, gdb.fortran/array-element.exp, gdb.fortran/subarray.exp, gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp, gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp, gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip, adjust gdb_compile invocations.
2009-11-102009-11-10 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-0/+8
* avr-tdep.c (avr_make_saddr): Return 0 for NULL.
2009-11-102009-11-10 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-0/+27
* avr-tdep.c (avr_dwarf_reg_to_regnum): New function. (avr_gdbarch_init): Call set_gdbarch_dwarf2_reg_to_regnum.
2009-11-10*** empty log message ***gdbadmin1-1/+1
2009-11-09 * largefile.m4 (ACX_LARGEFILE): Call AC_PLUGINS.Joel Brobecker2-0/+10
2009-11-092009-11-10 Doug Kwan <dougkwan@google.com>Doug Kwan2-18/+103
* arm.cc (Arm_relobj::do_relocate_sections): Remove options parameter in method declaration. (Target_arm::relocate_stub): New method declaration. (Target_arm::default_target): Change to return a pointer instead of a const reference. (Reloc_stub::stub_type_for_reloc): Adjust for the change in Target_arm::default_target. (Arm_Relobj::do_relocate_sections): Remove options paramater in method definition. (Target_arm::relocate_section): Adjust view. (Target_arm::relocate_stub): New method definition.
2009-11-092009-11-10 Doug Kwan <dougkwan@google.com>Doug Kwan5-6/+16
* i386.cc (Target_i386::do_calls_non_split): Add a cast to avoid a format warning. * incremental.cc (open_incremental_binary): Initialized local variables to avoid warnings. * object.cc (make_elf_object): Ditto. * x86_64.cc (Target_x86_64::do_calls_non_split): Add a cast to avoid a format warning.
2009-11-09daily updateAlan Modra1-1/+1
2009-11-09 PR mi/9583:Joel Brobecker2-10/+33
* symtab.c (find_line_symtab, append_exact_match_to_sals) (expand_line_sal): Use full filename when setting breakpoints if available
2009-11-09 * dwarf2read.c (read_import_statement): Don't clobber original cu.Cary Coutant2-3/+9
2009-11-09 * python/python.c (execute_gdb_command): Copy the argument text.Tom Tromey2-1/+9
2009-11-09gdb/testsuite/Jan Kratochvil2-4/+16
* Makefile.in (abs_builddir): New. (site.exp): New target `$(abs_builddir)/site.exp'. New comment. (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to `$(abs_builddir)/site.exp'.
2009-11-09Include "config.h".H.J. Lu2-0/+9
009-11-09 H.J. Lu <hongjiu.lu@intel.com> PR gold/10930 * testsuite/plugin_test.c: Include "config.h".
2009-11-092009-11-09 Doug Kwan <dougkwan@google.com>Doug Kwan2-86/+128
* arm.cc (Target_arm::fake_relnum_for_stubs): New constant. (arm_symbol_value): Remove. (Arm_relocate_functions::arm_branch_common, Arm_relocate_functions::abs8, Arm_relocate_functions::thm_abs5, Arm_relocate_functions::abs12, Arm_relocate_functions::abs16, Arm_relocate_functions::abs32, Arm_relocate_functions::rel32, Arm_relocate_functions::thm_call, Arm_relocate_functions::plt32, Arm_relocate_functions::call, Arm_relocate_functions::jump24, Arm_relocate_functions::prel31, Arm_relocate_functions::mov_abs_nc, Arm_relocate_functions::movt_abs, Arm_relocate_functions::movw_abs_nc, Arm_relocate_functions::thm_mobw_abs_nc, Arm_relocate_functions::thm_mov_abs, Arm_relocate_functions::movw_prel_nc, Arm_relocate_functions::thm_movt_abs, Arm_relocate_functions::movt_prel, Arm_relocate_functions::thm_movw_prel_nc, Arm_relocate_functions::thm_movt_prel): Adjust callers of the above. (Target_arm::Relocate::relocate): Only decompose address into two parts if relocation type uses the thumb-bit and pass the actual bit instead of a flag indicating that the thumb-bit is used. Adjust calls to methods in Arm_relocate_functions for this change.
2009-11-09Don't return on STT_GNU_IFUNC symbol when stripping.H.J. Lu4-2/+23
bfd/ 2009-11-09 H.J. Lu <hongjiu.lu@intel.com> PR ld/10911 * elflink.c (elf_link_output_extsym): Don't return on STT_GNU_IFUNC symbol when stripping. ld/testsuite/ 2009-11-09 H.J. Lu <hongjiu.lu@intel.com> PR ld/10911 * ld-ifunc/ifunc-4a-x86.d: New.
2009-11-092009-11-09 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-1/+5
* avr/interp.c (sim_resume): Fix typo for OP_ret.
2009-11-09 PR 10925Ian Lance Taylor2-0/+47
* reloc.cc: Instantiate Sized_relobj::initialize_input_to_output_maps and Sized_relobj:free_input_to_output_maps.
2009-11-09*** empty log message ***gdbadmin1-1/+1
2009-11-08binutils/Jan Kratochvil2-1/+5
* bucomm.c (get_file_size): Update comment for the error return value.
2009-11-08daily updateAlan Modra1-1/+1
2009-11-08 * readelf.c (slurp_hppa_unwind_table): Don't relocate address twice.Dave Anglin2-2/+6
2009-11-08 * elf32-hppa.c (elf32_hppa_final_link): Don't sort unwind informationDave Anglin3-1/+10
in a relocatable link. * elf64-hppa.c (elf_hppa_final_link): Likewise.
2009-11-08*** empty log message ***gdbadmin1-1/+1
2009-11-07daily updateAlan Modra1-1/+1
2009-11-07 * gdbint.texinfo, stabs.texinfo: Move the @setchapternewpageJoel Brobecker3-4/+9
and @settitle directives up to help makeinfo find them.
2009-11-07 PR 10876Ian Lance Taylor2-1/+6
* defstd.cc (in_segment): Set only_if_ref true for "end".
2009-11-07 * largefile.m4: New file.Joel Brobecker2-0/+29
2009-11-072009-11-06 Doug Kwan <dougkwan@google.com>Doug Kwan2-17/+511
* arm.cc (class Reloc_stub): Correct a comment. (Target_arm::Target_arm): Initialize arm_input_section_map_. (Target_arm::scan_section_for_stubs): New method declaration. (Target_arm::do_make_elf_object, Target_arm::do_make_output_section): Change methods from private to protected. (Target_arm::do_may_relax): New method definition. (Target_arm::do_relax, Target_arm::group_sections, Target_arm::scan_reloc_for_stub, Target_arm::scan_reloc_section_for_stubs): New method declarations. (Target_arm::arm_input_section_map_): New data member declaration. (Target_arm::scan_reloc_for_stub, Target_arm::scan_reloc_section_for_stubs, Target_arm::scan_section_for_stubs, Target_arm::group_sections, Target_arm::do_relax): New method definitions.
2009-11-07*** empty log message ***gdbadmin1-1/+1
2009-11-062009-11-06 Sebastian Pop <sebastian.pop@amd.com>Sebastian Pop5-201/+597
* opcodes/i386-dis.c (reg_table): Add XOP_8F_TABLE (XOP_09) to reg_table[REG_8F][1]: for XOP instructions, ModRM.reg first points to B.mm in the RXB.mmmmm byte, and so when B is set, we still should use the xop_table. (get_valid_dis386): Removed unused condition (from cut/n/paste) for XOP instructions. * gas/testsuite/gas/i386/x86-64-lwp.s: Updated to also contain patterns with r[8-15] registers. * gas/testsuite/gas/i386/x86-64-lwp.d: Same.
2009-11-06daily updateAlan Modra1-1/+1
2009-11-062009-11-06 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+6
* doc/c-i386.texi: Move .lwp.
2009-11-06 * m68k-tdep.c (m68k_convert_register_p): CorrectVladimir Prus2-1/+5
messup.
2009-11-06 * m68k-tdep.c (m68k_convert_register_p): Compare withVladimir Prus2-1/+8
the actual type of fp registers, not one of the possible values.