aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2009-11-20*** empty log message ***gdbadmin1-1/+1
2009-11-19 * ada-lang.c (discrete_type_p): TYPE_CODE_BOOL is also a discrete type.Joel Brobecker2-0/+5
2009-11-19 * completer.c (complete_line_internal): Make sure the commandJoel Brobecker2-2/+7
completer is not NULL before calling it.
2009-11-19 * ada-lang.c (packed_array_type): Rename to...Joel Brobecker5-54/+138
(constrained_packed_array_type): ...and update comment. (decode_packed_array, decode_constrained_packed_array): Ditto. (decode_packed_array_type, decode_constrained_packed_array_type): Ditto. (ada_is_constrained_packed_array_type): New function. (ada_is_unconstrained_packed_array_type): New function. (decode_packed_array_bitsize): New function, extracted from decode_packed_array_type. (ada_type_of_array): Add support for unconstrained packed arrays. (ada_coerce_to_simple_array_ptr, ada_coerce_to_simple_array) (ada_array_bound_from_type, ada_array_bound, ada_array_length) (ada_prefer_type, to_fixed_array_type, ada_evaluate_subexp): Resync. * ada-lang.h (ada_is_packed_array_type, ada_is_constrained_packed_array_type): Renaming. * ada-valprint.c (ada_val_print_1): Resync. * ada-typeprint.c (print_array_type, ada_print_type): Resync.
2009-11-19 Wrong function used to perform address addition/subtraction.Joel Brobecker2-8/+10
* ada-lang.c (ada_type_match): Stop making TYPE_CODE_VOID a wildcard matching any type. For types that we don't already handle specifically, make sure that both types have the same code.
2009-11-19 * ada-lang.c (ada_decode): Add handling of "TB" suffixes forJoel Brobecker2-0/+12
task bodies.
2009-11-19 * ada-lang.c (ada_remove_Xbn_suffix): New function.Joel Brobecker2-5/+38
(find_old_style_renaming_symbol): Add handling for function suffixes present in the name of various procedures. Do not overwrite the function symbol's name.
2009-11-19 * breakpoint.c (breakpoint_address_bits): Visit all locations'Pedro Alves2-1/+6
gdbarchs, not the breakpoint's gdbarch.
2009-11-19*** empty log message ***gdbadmin1-1/+1
2009-11-18 * cli/cli-script.c (process_next_line): Recognize 'end'Vladimir Prus2-10/+21
even when the line has leading space and we're not parsing commands.
2009-11-18 * symtab.c (symbol_set_names): Correctly set 'name' on symbol whenTom Tromey2-1/+6
lookup name differs.
2009-11-182009-11-18 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-1/+8
* machoread.c (macho_oso_symfile): Fix typo. Add comments.
2009-11-18*** empty log message ***gdbadmin1-1/+1
2009-11-17 * dbxread.c (set_namestring): Remove cast to unsigned. Check N_STRXJan Kratochvil2-2/+8
overflow.
2009-11-172009-11-17 Nathan Sidwell <nathan@codesourcery.com>Maxim Kuvyrkov4-0/+35
* features/m68k-core.xml: New file. 2009-11-17 Nathan Sidwell <nathan@codesourcery.com> * gdb.xml/tdesc-regs.exp: Use for m68k.
2009-11-17 * regformats/reg-cf.dat: New file.Maxim Kuvyrkov1-0/+33
2009-11-172009-11-17 Daniel Jacobowitz <dan@codesourcery.com>Maxim Kuvyrkov2-1/+12
* m68k-tdep.c (m68k_gdbarch_init): Reuse previous initialization.
2009-11-172009-11-17 Nathan Sidwell <nathan@codesourcery.com>Maxim Kuvyrkov6-2/+68
2009-11-17 Vladimir Prus <vladimir@codesourcery.com> * Makefile.in (reg-cf.o, reg-cf.c): New targets. * configure.ac: Check for __mcoldfire__ and set gdb_cv_m68k_is_coldfire. * configure.srv: Use gdb_cv_m68k_is_coldfire to select between reg-cf.o and reg-m68k.o. * configure: Regenerated. 2009-11-17 Nathan Sidwell <nathan@codesourcery.com> * regformats/reg-cf.dat: New file.
2009-11-172009-11-17 Daniel Jacobowitz <dan@codesourcery.com>Maxim Kuvyrkov2-1/+8
* m68k-tdep.c (m68k_register_name): Check fpregs_present. (m68k_gdbarch_init): Remove a duplicate of set_gdbarch_fp0_regnum.
2009-11-17gdb/Jan Kratochvil3-3/+19
Fix wrong debug output with `set debug infrun 1'. * gdb/infrun.c (handle_inferior_event <debug_infrun>): New variable old_chain. Temporarily switch INFERIOR_PTID. * target.h (target_stopped_by_watchpoint): Extend the comment. (target_stopped_data_address): New comment.
2009-11-17*** empty log message ***gdbadmin1-1/+1
2009-11-16 * xcoffread.c (scan_xcoff_symtab): Update.Tom Tromey15-97/+228
* symfile.h (add_psymbol_to_list): Update prototype. * symfile.c (add_psymbol_to_bcache): Add copy_name argument. (add_psymbol_to_list): Likewise. * stabsread.c (define_symbol): Update. * mdebugread.c (parse_partial_symbols): Update. (handle_psymbol_enumerators): Update. (new_symbol): Update. * dbxread.c (read_dbx_symtab): Update. * coffread.c (process_coff_symbol): Update. * symtab.h (prim_record_minimal_symbol_full): Declare. (SYMBOL_SET_NAMES): Add copy_name argument. * symtab.c (struct demangled_name_entry): New struct. (hash_demangled_name_entry): New function. (eq_demangled_name_entry): Likewise. (create_demangled_names_hash): Use new functions. (symbol_set_names): Use struct demangled_name_entry. Add copy_name argument. * minsyms.c (prim_record_minimal_symbol_full): New function. (prim_record_minimal_symbol_and_info): Use it. * elfread.c (record_minimal_symbol): Add name_len and copy_name arguments. Call prim_record_minimal_symbol_full. (elf_symtab_read): Add copy_names argument. (elf_symfile_read): Update calls to elf_symtab_read. * dwarf2read.c (add_partial_symbol): Don't copy symbol names. (load_partial_dies): Likewise. (new_symbol): Likewise. * cp-namespace.c (check_one_possible_namespace_symbol): Don't save name on the obstack. Update call to SYMBOL_SET_NAMES.
2009-11-16 * linux-low.c (linux_remove_process): Add `detaching' parameter.Pedro Alves4-19/+31
Pass it to thread_db_free. (linux_kill, linux_detach, linux_wait_1): Adjust to pass the proper `detaching' argument to linux_remove_process. * linux-low.h (thread_db_free): Add `detaching' parameter. * thread-db.c (thread_db_init): Pass false as `detaching' argument to thread_db_free. (thread_db_free): Add `detaching' parameter. Only call td_ta_clear_event if detaching from process.
2009-11-16*** empty log message ***gdbadmin1-1/+1
2009-11-15 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.Pedro Alves3-0/+97
2009-11-15 * infrun.c (handle_inferior_event): When handling a fork or vforkPedro Alves4-1/+26
event, check if the bpstat causes a stop, instead of if it explains the signal. * breakpoint.c (bpstat_causes_stop): New. * breakpoint.h (bpstat_causes_stop): Declare.
2009-11-15 * breakpoint.c (should_be_inserted): Don't insert breakpoints ifPedro Alves5-20/+30
the pspace doesn't allow breakpoints. (insert_breakpoint_locations): Remove waiting_for_vfork_done special case. Expect watchpoints that shouldn't be inserted, to not be inserted. * progspace.h (struct program_space) <breakpoints_not_allowed>: New field. * infrun.c (handle_inferior_event): Clear it. * linux-nat.c (linux_child_follow_fork): Set it.
2009-11-15*** empty log message ***gdbadmin1-1/+1
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.