aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-11-12*** empty log message ***gdbadmin1-1/+1
2009-11-11 * linespec.c (lookup_prefix_sym): Lookup the symbolKeith Seitz2-1/+26
in both STRUCT_DOMAIN and VAR_DOMAIN.
2009-11-11 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef andKeith Seitz3-1/+12
use it instead of "Foo". * gdb.cp/classes.exp (do_tests): Add a test to access a method through a typedef'd class name.
2009-11-11daily updateAlan Modra1-1/+1
2009-11-112009-11-11 Michael Snyder <msnyder@vmware.com>Michael Snyder8-11/+18
* darwin-nat-info.c: Update copyright. * dbxread.c: Ditto. * gdbarch.sh: Ditto. * gdbarch.c: Ditto. * gdbarch.h: Ditto. * inline-frame.c: Ditto. * inline-frame.h: Ditto.
2009-11-11 * gdb.base/long_long.exp: Permit leading zeros on floating-pointNathan Froyd4-7/+14
exponents. * gdb.base/pointers.exp: Likewise. * gdb.cp/ref-types.exp: Likewise.
2009-11-112009-11-11 Michael Snyder <msnyder@vmware.com>Michael Snyder2-2/+6
* s390-nat.c: Update copyright.
2009-11-11ChangeLog, typo, obvious.Michael Snyder1-1/+1
2009-11-112009-10-28 Michael Snyder <msnyder@vmware.com>Michael Snyder2-2/+14
* findvar.c (top level): Fix and add comments.
2009-11-11 * c-expy. (operator_stoken): New function.Keith Seitz3-1/+159
(OPERATOR): New token. (NEW): New token. (DELETE): New token. (operator): New rule. (name): Add operator. (ident_tokens): Add "new", "delete", and "operator". * gdbtypes.c (rank_one_type): Don't complain about void pointer conversion badness if both types are void pointers.
2009-11-11 * gdb.cp/cplusfuncs.cc (class foo): Add operatorsKeith Seitz3-20/+52
new[] and delete[]. * gdb.cp/cplusfuncs.exp (dm_type_void): Change to "void". (probe_demangler): Remove all single-quoting of method and variable names. (info_func_regexp): Remove the word "void" from any occurrence of "(void)". (print_addr_2): Remove all single-quoting of method names. (print_addr_2_kfail): Likewise. (print_addr): Single-quote C function names before passing to print_addr_2. (test_paddr_operator_functions): Remove single-quoting for method names. Add tests for operator new[] and operator delete[].
2009-11-11 * agentexpr.texi (Tracing On Symmetrix): Delete section.Pedro Alves2-141/+6
(Using Agent Expressions): Delete cross reference.
2009-11-11 PR binutils/10924Nick Clifton2-77/+99
* arm-dis.c (UNPREDICTABLE_INSTRUCTION): New macro. (print_insn_arm): Extend %s format control code to check for unpredictable addressing modes. Add support for %S format control code which suppresses this check. (W_BIT, I_BIT, U_BIT, P_BIT): New macros. (WRITEBACK_BIT_SET, IMMEDIATE_BIT_SET, NEGATIVE_BIT_SET, PRE_BIT_SET): New macros. (print_insn_coprocessor): Use the new macros instead of magic constants. (print_arm_address): Likewise. (pirnt_insn_arm): Likewise. (print_insn_thumb32): Likewise.
2009-11-11Updated Indonesian translation.Nick Clifton10-2287/+3086
2009-11-11gdb/Jan Kratochvil2-6/+43
* symfile.c (separate_debug_file_exists): Change parameter parent_name to parent_objfile. New variables parent_stat and abfd_stat. Call strcmp and then bfd_stat functions to verify if NAME matches. (find_separate_debug_file): Update the passed parameter at caller.
2009-11-11gdb/Jan Kratochvil4-0/+18
* objfiles.c (objfile_relocate): Update also the field psymtabs_addrmap. gdb/testsuite/ * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
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