aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2009-11-14*** empty log message ***gdbadmin1-1/+1
2009-11-13 * dcache.c (dcache_hit, dcache_read_line): Tweak comments.Doug Evans3-13/+35
(dcache_peek_byte, dcache_init, dcache_xfer_memory): Ditto. * target.c (memory_xfer_partial): Tweak comments. (target_xfer_partial, target_write_memory): Add comment. (target_read_partial): Remove note from 2003-10-21. (target_read, target_write): Add comments.
2009-11-13 * inline-frame.c (find_inline_frame_state): Check for changed PCDaniel Jacobowitz2-9/+24
here... (inline_frame_sniffer): ... not here.
2009-11-13 * ui-file.c (stdio_file_read): Call gdb_select before read.Daniel Jacobowitz2-0/+18
2009-11-13 * lib/gdb.exp (current_target_name): New procedure.Daniel Jacobowitz2-1/+25
(gdb_wrapper_target): New variable. (gdb_wrapper_init): Set gdb_wrapper_target. (default_gdb_init): Check gdb_wrapper_target before rebuilding the wrapper.
2009-11-132009-11-13 Maciej W. Rozycki <macro@codesourcery.com>Daniel Jacobowitz2-0/+12
* mips-tdep.c (mips_insn16_frame_this_id): Mark the outermost frame. (mips_insn32_frame_this_id): Likewise.
2009-11-132009-11-13 Maciej W. Rozycki <macro@codesourcery.com>Daniel Jacobowitz2-3/+9
* elfread.c (elf_symtab_read): Only mark a minimal symbol as special if it actually exists. Merge the checks for this conditions.
2009-11-132009-11-13 Kazu Hirata <kazu@codesourcery.com>Daniel Jacobowitz4-17/+57
Maxim Kuvyrkov <maxim@codesourcery.com> * remote-fileio.c (remote_fileio_request): Send Ctrl-C if it is pending. * remote-fileio.h: Update the prototype for remote_fileio_request. * remote.c (struct remote_state): Add ctrlc_pending_p. (remote_open_1): Clear ctrlc_pending_p. (remote_stop_as): Set ctrlc_pending_p to 1. (remote_wait_as): Pass ctrlc_pending_p to remote_fileio_request.
2009-11-13 * arm-tdep.c (arm_skip_stub): Recognize RealView veneer functions.Daniel Jacobowitz2-2/+8
2009-11-13 gdb/testsuite/Daniel Jacobowitz2-2/+10
* gdb.base/remote.exp: Delete the slowest load test. Do not load with fixed packet sizes.
2009-11-13 gdb/testsuite/Daniel Jacobowitz2-1/+8
* gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
2009-11-13 gdb/testsuite/Daniel Jacobowitz2-2/+6
* gdb.base/freebpcmd.exp: Delete unused variable. Specify srcfile when setting a breakpoint.
2009-11-132009-11-13 Maciej W. Rozycki <macro@codesourcery.com>Daniel Jacobowitz2-0/+14
* gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine macros.
2009-11-132009-11-13 Maciej W. Rozycki <macro@codesourcery.com>Daniel Jacobowitz2-7/+18
* breakpoint.c (update_watchpoint): Only fiddle with frames for local watchpoints.
2009-11-132009-11-13 Pedro Alves <pedro@codesourcery.com>Daniel Jacobowitz2-0/+9
* infrun.c (handle_inferior_event): Set stop_print_frame on TARGET_WAITKIND_LOADED events, if stopping on solib-events.
2009-11-13 gdb/testsuite/Daniel Jacobowitz4-10/+31
* gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference to be in memory. * gdb.base/display.c (force_mem): New. (do_loops): Use it. Add breakpoint comments. (do_vars): Add a breakpoint comment. * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded line numbers.
2009-11-13 * gdb.base/pending.exp: Use gdb_run_cmd to start the programNathan Froyd2-1/+9
instead of a bare "run".
2009-11-13 * dcache.c (dcache_block): Replace member newer with next,prev.Doug Evans2-36/+120
(dcache_struct): Delete member newest. (block_func): New typedef. (append_block, remove_block, for_each_block): New functions. (invalidate_block, free_block): New functions. (dcache_invalidate): Update (dcache_invalidate_line, dcache_alloc): Update to use new list accessors. (dcache_free): Ditto. Fix memory leak.
2009-11-13gdb/ChangeLog:Paul Pluzhnikov4-4/+18
2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com> * python/py-prettyprint.c (print_string_repr): Suppress address printing testsuite/ChangeLog: 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com> * gdb.python/py-prettyprint.exp: Adjust.
2009-11-132009-11-13 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-4/+13
* avr-tdep.c (avr_push_dummy_call): Fix endianness issue and avoid overlap between returned structure and return address/parameters.
2009-11-13*** empty log message ***gdbadmin1-1/+1
2009-11-12 * remote-fileio.c (remote_fileio_func_read): Limit consoleDaniel Jacobowitz2-2/+18
reads to 16K.
2009-11-12 testsuite/Daniel Jacobowitz2-5/+15
* lib/cell.exp (skip_cell_tests): Clean up test files before returning.
2009-11-12 testsuite/Daniel Jacobowitz5-41/+29
* lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n", and the breakpoint menu. Do not call perror if a prompt is seen. Consume the following GDB prompt. * gdb.cp/method2.exp (test_break): Use gdb_test_multiple. * gdb.cp/namespace.exp: Use gdb_test. * gdb.cp/templates.exp: Use gdb_test. (test_template_breakpoints): Use gdb_test_multiple.
2009-11-122009-11-12 Daniel Jacobowitz <dan@codesourcery.com>Daniel Jacobowitz7-103/+157
Paul Brook <paul@codesourcery.com> * c-typeprint.c (c_type_print_base): Skip artificial fields. Use get_vptr_fieldno to skip the vtable pointer. * dwarf2read.c (dwarf2_add_field): Set FIELD_ARTIFICIAL on artificial fields. (dwarf2_add_member_fn): Complain about virtual member functions without DW_AT_vtable_elem_location and force TYPE_CPLUS_DYNAMIC. * gdbtypes.c (get_vptr_fieldno): Update comment. * gdbtypes.h (struct cplus_struct_type): Add is_dynamic. (TYPE_CPLUS_DYNAMIC): New macro. * gnu-v3-abi.c (gnuv3_dynamic_class): New. (gnuv3_get_vtable): Rewrite to use gnuv3_dynamic_class. Move higher. (gnuv3_rtti_type, gnuv3_get_virtual_fn, gnuv3_baseclass_offset): Use gnuv3_get_vtable. * varobj.c (cplus_class_num_children, cplus_describe_child): Skip artificial fields. Use get_vptr_fieldno to skip the vtable pointer.
2009-11-12 testsuite/Daniel Jacobowitz2-11/+16
* gdb.base/break1.c (struct some_struct, values): Move earlier. (marker4): Reference values.
2009-11-12 testsuite/Daniel Jacobowitz2-20/+22
* gdb.base/macscp.exp: Avoid the first FAIL if macro information is missing.
2009-11-12 * gdb.base/break.c (need_malloc): New.Daniel Jacobowitz9-4/+41
* gdb.base/constvars.c (main): Reference crass and crisp. * gdb.base/gdb1821.c (main): Reference bar. * gdb.cp/gdb1355.cc (main): Reference s1. * gdb.cp/hang1.cc (dummy2, dummy3): Declare. (main): Call them. * gdb.cp/hang2.cc (dummy2): Define. * gdb.cp/hang3.cc (dummy3): Define. * gdb.cp/m-data.cc (main): Reference shadow.
2009-11-12Correct whitespace in previous patch.Daniel Jacobowitz1-6/+6
2009-11-122009-11-12 Paul Brook <paul@codesourcery.com>Daniel Jacobowitz2-4/+37
Daniel Jacobowitz <dan@codesourcery.com> * dwarf2read.c (dwarf2_add_member_fn): Calculate virtual function offset for classes without DW_AT_containing_type.
2009-11-122009-11-12 Paul Brook <paul@codesourcery.com>Daniel Jacobowitz2-9/+37
Daniel Jacobowitz <dan@codesourcery.com> * dwarf2read.c (struct field_info): Add baseclasses. (dwarf2_add_field): Add base classes to a separate list. (dwarf2_attach_fields_to_type): Merge base classes and fields.
2009-11-12 * dwarf2read.c (process_psymtab_comp_unit): Initialize per_cu backlinkDaniel Jacobowitz2-20/+26
at the same time as the forward link. (load_partial_comp_unit): Initialize per_cu links before calling init_cu_die_reader.
2009-11-12 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on aNathan Froyd2-12/+30
remote host.
2009-11-12 * thread-db.c (thread_db_free): Fix typo.Maxim Kuvyrkov2-1/+5
2009-11-12 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.Nathan Froyd10-3/+60
* gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host. * gdb.dwarf2/dw2-compressed.exp: Likewise. * gdb.dwarf2/dw2-intercu.exp: Likewise. * gdb.dwarf2/dw2-intermix.exp: Likewise. * gdb.dwarf2/dw2-producer.exp: Likewise. * gdb.dwarf2/mac-fileno.exp: Likewise. * gdb.python/py-prettyprint.exp (run_lang_tests): Copy py-prettyprint.py to the remote host. * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
2009-11-12gdb/ChangeLog:Paul Pluzhnikov4-3/+34
2009-11-11 Paul Pluzhnikov <ppluzhnikov@google.com> PR gdb/10838 * linux-thread-db.c (thread_db_info): New member. (disable_thread_event_reporting): Call td_ta_clear_event. gdbserver/ChangeLog: 2009-11-11 Paul Pluzhnikov <ppluzhnikov@google.com> PR gdb/10838 * thread-db.c (thread_db_free): Call td_ta_clear_event.
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-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-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-11bfd/Jan Kratochvil5-0/+251
* 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.