aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-03-15Requalify Ralf Corsepius' change as a "tiny change".Joel Brobecker1-1/+1
Ralf's copyright assignment does not cover GDB for the moment. He only contributed one other change, in 2005, so this should be fine.
2010-03-15 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>Sami Wagiaalla11-44/+156
PR c++/7936: * cp-support.h: Added char *declaration element to using_direct data struct. (cp_add_using): Added char *declaration argument. (cp_add_using_directive): Ditto. (cp_lookup_symbol_imports): made extern. * cp-namespace.c: Updated with the above changes. * dwarf2read.c (read_import_statement): Ditto. (read_namespace): Ditto. (read_import_statement): Support import declarations. * cp-namespace.c (cp_lookup_symbol_imports): Check for imported declarations. Added support for 'declaration_only' search. (cp_lookup_symbol_namespace): Attempt to search for the name as is before consideration of imports. * symtab.c (lookup_symbol_aux_local): Added a 'declaration_only' search at every block level search. Now takes language argument. (lookup_symbol_aux): Updated. 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com> * gdb.cp/shadow.exp: Removed kfail; test has been fix. * gdb.cp/nsusing.exp: Ditto.
2010-03-15gdbTom Tromey5-0/+31
* c-exp.y (name_not_typename): Add 'operator' clause. gdb/testsuite * gdb.cp/userdef.exp: Add tests for explicit calls to operator==. * gdb.cp/userdef.cc (operator==): New function. (main): New locals mem1, mem2.
2010-03-15Fix date in latest entry.Joel Brobecker1-1/+1
2010-03-15Fail gdb configure if target is not supported.Joel Brobecker3-0/+12
* configure.ac: Exit if ${gdb_target_obs}" is not set. * configure: Regenerate.
2010-03-15* configure.srv: Fix typo setting srv_regobj.Andreas Schwab2-2/+6
2010-03-152010-03-15 Thomas Schwinge <thomas@codesourcery.com>Thomas Schwinge2-2/+5
* dw2gencfi.c (output_cie): Consider emitting the S augmentation in all cases, and not only for .eh_frame.
2010-03-152010-03-15 Thomas Schwinge <thomas@codesourcery.com>Thomas Schwinge2-17/+24
* dw2gencfi.c (output_cie): Make it more explicit which code paths belong to .eh_frame only.
2010-03-152010-03-15 Rafael Espindola <espindola@google.com>Rafael Ávila de Espíndola3-5/+8
* readsyms.cc (Read_symbols::do_read_symbols): Update calls to Add_symbols' constructor. * readsyms.h (Add_symbols): Remove the input_group member.
2010-03-15gdb/Jan Kratochvil2-8/+16
* symfile.c (addr_info_make_relative): Ignore also missing ".dynbss" and ".sdynbss". Update the comment.
2010-03-15sim: rename bool argument to avoid stdbool clashMike Frysinger2-1/+6
Including stdbool.h before hw-properties.h results in a build error due to the hw_add_boolean_property function having an argument named "bool" in its prototype. The source file has already be renamed to not use this ("boolean" instead), so match the header to the source.
2010-03-15 * MAINTAINERS: Update my email address.Jie Zhang2-1/+5
2010-03-15 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.Jie Zhang2-11/+21
Declare and use new loadtimeout variable.
2010-03-15 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.Daniel Jacobowitz2-1/+7
Use gdb_load later.
2010-03-15 * gdbtypes.h (TYPE_IS_OPAQUE): Correct HAVE_CPLUS_STRUCT check.Daniel Jacobowitz2-1/+6
2010-03-15 * emultempl/ppc64elf.em (move_input_section, sort_toc_sections): New.Alan Modra2-1/+156
(ppc_before_allocation): Call sort_toc_sections. (no_toc_sort, OPTION_NO_TOC_SORT): New. (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Handle --no-toc-sort.
2010-03-15 * elf64-ppc.c (ppc64_elf_has_small_toc_reloc): New function.Alan Modra3-0/+17
* elf64-ppc.h (ppc64_elf_has_small_toc_reloc): Declare.
2010-03-15 * linux-low.c (fetch_register): Avoid passing a non string literalPedro Alves2-19/+8
format to `error'. (usr_store_inferior_registers): Ditto.
2010-03-15*** empty log message ***gdbadmin1-1/+1
2010-03-14daily updateAlan Modra1-1/+1
2010-03-14 * charset.c [USE_WIN32API]: Include <windows.h>.Daniel Jacobowitz2-1/+9
(_initialize_charset): Correct type of w32_host_default_charset.
2010-03-14 * linux-low.c (linux_write_memory): Bail out early if peekingPedro Alves2-4/+14
memory failed.
2010-03-14 * linux-low.h (struct lwp_info): New fieldsPedro Alves3-9/+76
`stopped_by_watchpoint' and `stopped_data_address'. * linux-low.c (linux_wait_for_lwp): Check for watchpoint triggers here, and cache them in the lwp object. (wait_for_sigstop): Check stopped_by_watchpoint lwp field directly. (linux_resume_one_lwp): Clear the lwp's stopped_by_watchpoint field. (linux_stopped_by_watchpoint): Rewrite. (linux_stopped_data_address): Rewrite.
2010-03-14 * gdb.base/solib-disc.c (main): Make format of fprintf a stringPedro Alves2-2/+7
literal. Add missing endlines to prints to stderr.
2010-03-14 * infrun.c (ptid_match): Don't assert that PTID is not a pid ptid.Pedro Alves2-2/+5
2010-03-14 Merge from gcc:Joseph Myers3-10/+18
2010-01-11 Richard Guenther <rguenther@suse.de> PR lto/41569 * Makefile.def (all-lto-plugin): Depend on all-gcc. * Makefile.in: Regenerated.
2010-03-14bfd/Alan Modra5-161/+226
PR ld/11378 * elf64-ppc.h (ppc64_elf_check_init_fini): Declare. * elf64-ppc.c (call_check_done): Define. (ppc64_elf_add_symbol_hook): Substitute bfd_get_section_name macro. (ppc64_elf_check_relocs, ppc64_elf_size_dynamic_sections): Likewise. (ppc64_elf_finish_multitoc_partition): Remove unnecessary check. (toc_adjusting_stub_needed): Use call_check_done rather than toc_off. Simplify return logic. Iterate over all .init and .fini fragments by recursion. Set makes_toc_func_call here.. (ppc64_elf_next_input_section): ..rather than here. (check_pasted_section, ppc64_elf_check_init_fini): New functions. ld/ PR ld/11378 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): Call ppc64_elf_check_init_fini and warn if .init/.fini use different TOCs.
2010-03-14*** empty log message ***gdbadmin1-1/+1
2010-03-13daily updateAlan Modra1-1/+1
2010-03-132010-03-13 Segher Boessenkool <segher@kernel.crashing.org>Segher Boessenkool2-1/+23
* config/tc-v850.c (v850_insert_operand): Handle out-of-range assembler constants on 64-bit hosts.
2010-03-13gdbTom Tromey5-7/+52
PR c++/9708: * dwarf2read.c (die_needs_namespace) <DW_TAG_variable>: A variable in a lexical block does not need a namespace. (new_symbol) <DW_TAG_variable>: Put extern variables on list_in_scope in all cases. gdb/testsuite PR c++/9708: * gdb.cp/m-static.exp: Add regression test. * gdb.cp/m-static.cc (method): New method. (main): Call it.
2010-03-13*** empty log message ***gdbadmin1-1/+1
2010-03-122010-03-12 Stan Shebs <stan@codesourcery.com>Stan Shebs2-0/+15
* ax-gdb.c (gen_expr): Add shift expressions. (gen_expr_binop_rest): Ditto.
2010-03-12daily updateAlan Modra1-1/+1
2010-03-12 PR ld/11375Alan Modra2-3/+12
* elf64-ppc.c (ppc_type_of_stub): Always set *hash to the function descriptor symbol if there is one, not just for plt stubs. (ppc64_elf_relocate_section): Use fdh on all ppc_get_stub_entry calls.
2010-03-122010-03-12 Sami Wagiaalla <swagiaal@redhat.com>Sami Wagiaalla5-0/+17
* buildsym.c (finish_block): Reset using_directives pointer after block initialization. 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com> * gdb.cp/gdb2384-base.h: Created 'namespace B'. * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
2010-03-12 gdb/testsuite/Pedro Alves2-2/+16
* lib/gdb.exp (gdb_test_multiple): Handle -timeout.
2010-03-12 gdb/testsuite/Pedro Alves15-30/+90
* lib/gdb.exp (skip_stl_tests): New. (gdb_compile): Symbian needs -ldl. (shlib_target_file): New. (shlib_symbol_file): New. (gdb_load_shlibs): Use shlib_target_file. * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file. * gdb.cp/exception.exp: Use skip_stl_tests. * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested. * gdb.cp/try_catch.exp: Use skip_stl_tests. * gdb.cp/mb-templates.exp: Ditto. * gdb.base/commands.exp: Relax regexes. * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use shlib_target_file and shlib_symbol_file. * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in sections. * gdb.base/ending-run.exp: Accept E32Main for symbian. * gdb.base/solib-disc.exp: Use shlib_target_file and shlib_symbol_file. * gdb.base/unload.exp: Don't skip on symbian. Use shlib_target_file and shlib_symbol_file. * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
2010-03-122010-03-12 Stan Shebs <stan@codesourcery.com>Stan Shebs2-4/+78
Nathan Sidwell <nathan@codesourcery.com> * gdb.texinfo (Tracepoint Actions): Clarify that while-stepping is doing instruction stepping. (Tracepoint Restrictions): New node.
2010-03-12Restore sp for x86.H.J. Lu3-2/+7
2010-03-12 H.J. Lu <hongjiu.lu@intel.com> * amd64-tdep.c (amd64_word_names): Replace "sp" with "". * i386-tdep.c (i386_word_names): Likewise.
2010-03-12 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.Pedro Alves5-11/+58
* gdb.trace/report.exp: Adjust for x86 and x86_64. Issue a tfind end before looking for a tracepoint frame. * gdb.trace/tfind.exp: Adjust tstatus output. Adjust disassembly output. * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
2010-03-12 * target.c (memory_xfer_partial): Don't use the stack cache ifPedro Alves3-0/+13
inspecting trace frames. * tracepoint.c (finish_tfind_command): Invalidate the target dcache.
2010-03-12*** empty log message ***gdbadmin1-1/+1
2010-03-11daily updateAlan Modra1-1/+1
2010-03-11gdb/Jan Kratochvil5-41/+221
* solib-svr4.c (LM_ADDR_CHECK) <info_verbose>: Use printf_unfiltered for the PIC displacement, print also the displacement value. (svr4_exec_displacement): Print DISPLACEMENT if INFO_VERBOSE. gdb/testsuite/ * gdb.base/break-interp.exp: Create new displacement parameter value for the test_ld calls. (reach): New parameter displacement, verify its content. New push of pf_prefix "reach-$func:". Import global expect_out. (test_core): New parameter displacement, verify its content. New push of pf_prefix "core:". New command "set verbose on". Import global expect_out. (test_attach): New parameter displacement, verify its content. New push of pf_prefix "attach:". New command "set verbose on". Import global expect_out. (test_ld): New parameter displacement, pass it to the reach, test_core and test_attach calls and verify its content in the "ld.so exit" test. * gdb.base/prelink.exp: Remove gdb_exit and final return. (prelink): Update expected text, use gdb_test.
2010-03-11 * remote-mips.c (close_ports, mips_initialize_cleanups)Kevin Buettner2-0/+131
(mips_exit_cleanups, mips_send_command, mips_open, pmon_open) (ddb_open, lsi_open, mips_remove_breakpoint, mips_remove_watchpoint) (mips_stopped_by_watchpoint, send_srec, pmon_checkset) (pmon_make_fastrec, pmon_check_ack, mips_expect_download) (pmon_check_entry_address, pmon_check_total, pmon_end_download) (pmon_download, pmon_load_fast, _initialize_remote_mips): Add comments describing each of these functions. (mips_enter_debug, mips_exit_debug, common_open) (mips_signal_from_protocol, pmon_makeb64, pmon_zeroset): Add blank line after the comment describing the function.
2010-03-11Adjust last patch--same ChangeLog entry, same e-mail.Ian Lance Taylor2-5/+3
2010-03-11 * reloc.cc (Sized_relobj::split_stack_adjust_reltype): Call theIan Lance Taylor5-7/+62
target to ask whether a reference to a symbol requires a stack split. * target.h (Target::is_call_to_non_split): New function. (Target::do_is_call_to_non_split): Declare virtual function. * target.cc: Include "symtab.h". (Target::do_is_call_to_non_split): New function. * i386.cc (Target_i386::do_is_call_to_non_split): New function.
2010-03-11 * gdb.base/checkpoint.exp: Fix comment.Doug Evans2-2/+16
Lengthen timeout while doing >600 checkpoints test. Rename duplicate "kill all one" test to keep test names unique.
2010-03-11*** empty log message ***gdbadmin1-1/+1