aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-07-15* dwarf2-frame.c (dwarf2_frame_cache): Update comment.Daniel Jacobowitz5-42/+56
* frame.c (frame_unwind_address_in_block): Delete. (get_frame_address_in_block): Do not use it. Check the type of the next frame first. (frame_cleanup_after_sniffer): Update comment. * frame.h (frame_unwind_address_in_block): Delete prototype. * hppa-tdep.c (hppa_find_unwind_entry_in_block): Update comment.
2008-07-15* frame.c (frame_func_unwind): Delete.Daniel Jacobowitz5-24/+24
(get_frame_func): Do not use it. * frame.h (frame_func_unwind): Delete prototype. * hppa-tdep.c (hppa_frame_cache): Update comment. * rs6000-tdep.c (rs6000_frame_cache): Update comment.
2008-07-15 * remote-sim.c (init_gdbsim_ops): RemoveStan Shebs2-4/+5
TARGET_REDEFINE_DEFAULT_OPS.
2008-07-15 * findvar.c (read_var_value): Remove unused variable.Daniel Jacobowitz2-2/+4
2008-07-15 * infrun.c (handle_inferior_event): Tag threads as stoppedLuis Machado2-23/+28
before inserting breakpoints.
2008-07-15 bfd/Jie Zhang4-0/+38
* elf32-bfin.c (elf32_bfin_special_sections[]): New. (elf_backend_special_sections): Define. ld/ * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define.
2008-07-15* MAINTAINERS: Added myself to section Write After Approval.Hui Zhu2-0/+5
2008-07-15*** empty log message ***gdbadmin1-1/+1
2008-07-15daily updateAlan Modra1-1/+1
2008-07-14Fix for PR gdb/2477Paul Pluzhnikov6-3/+37
2008-07-14 * i386-dicos-tdep.c (i386_dicos_frame_align): Delete.Pedro Alves2-8/+22
(i386_dicos_push_dummy_code): New. (i386_dicos_init_abi): Don't register i386_dicos_frame_align. Register i386_dicos_push_dummy_code.
2008-07-14 * mips-tdep.c (fp_register_arg_p): Add gdbarch as paramter.Markus Deuling5-106/+170
(mips_n32n64_push_dummy_call, mips_o64_return_value) (mips_eabi_push_dummy_call): Update call to fp_register_arg_p. (MIPS_FPU_TYPE): Add gdbarch as parameter and replace current_gdbarch. (fp_register_arg_p, mips_dump_tdep, show_mipsfpu_command) (mips_n32n64_fp_arg_chunk_p): Update caller. (mips_n32n64_fp_arg_chunk_p): Add gdbarch as paramter. (mips_n32n64_push_dummy_call): Update caller. (MIPS_LAST_ARG_REGNUM): Add gdbarch as parameter and replace current_gdbarch. (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call) (mips_o32_push_dummy_call, mips_o64_push_dummy_call): Update caller. (MIPS_LAST_FP_ARG_REGNUM): Add gdbarch as parameter and replace current_gdbarch. (mips_eabi_push_dummy_call, mips_o32_push_dummy_call) (mips_o64_push_dummy_call): Update caller. (MIPS_EABI): Add gdbarch as parameter and replace current_gdbarch. (fp_register_arg_p, mips_dump_tdep): Update caller. (set_reg_offset): Add gdbarch as parameter and replace current_gdbarch. (mips16_scan_prologue, mips32_scan_prologue): Update caller. (reset_saved_regs): Make static. Add gdbarch as parameter. Replace current_gdbarch. (mips32_scan_prologue): Update caller. (heuristic_proc_start): Add gdbarch as parameter. Replace current_gdbarch. (mips_insn16_frame_cache, mips_insn32_frame_cache): Update caller. * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers) (mipsnbsd_store_inferior_registers): Use get_regcache_arch to get at the current architecture. Update call to getregs_supplies. (getregs_supplies): Add gdbarch as parameter and replace current_gdbarch. * mipsnbsd-tdep.c (mipsnbsd_get_longjmp_target): Use get_frame_arch to get at the current architecture. Update call to NBSD_MIPS_JB_OFFSET and NBSD_MIPS_JB_ELEMENT_SIZE. (NBSD_MIPS_JB_ELEMENT_SIZE, NBSD_MIPS_JB_OFFSET): Add gdbarch and replace current_gdbarch. * remote-mips.c (mips_map_regno): Add gdbarch as parameter and replace current_gdbarch. (mips_fetch_registers, mips_store_registers): Update call to mips_map_regno. (mips_load): Use get_regcache_arch to get at the current_architecture and replace current_gdbarch.
2008-07-14 * gas/bfin/{bit2.s, cache2.s, control_code2.s, event2.s,Jie Zhang14-2075/+2082
logical2.s, move2.s, parallel.s, parallel2.s, parallel3.s, parallel4.s, shift2.s, stack2.s, video2.s}: Remove DOS line endings.
2008-07-14Mention "PR ld/6741" in ChangeLog.H.J. Lu1-0/+1
2008-07-14Mention "PR binutils/6743" in ChangeLog.H.J. Lu1-0/+1
2008-07-142008-07-13 Craig Silverstein <csilvers@google.com>Craig Silverstein2-5/+20
* dwarf2.c (struct dwarf2_debug): New variable info_ptr_memory. (find_line): Use info_ptr_memory instead of sec_info_ptr. (_bfd_dwarf2_cleanup_debug_info): Likewise.
2008-07-14*** empty log message ***gdbadmin1-1/+1
2008-07-14daily updateAlan Modra1-1/+1
2008-07-13 * thread.c (restore_selected_frame): On fail to restore, selectPedro Alves2-3/+11
the innermost frame, and don't crash when warning the user.
2008-07-13 * symtab.c (expand_line_sal): Fix a memory leak.Joel Brobecker2-2/+6
2008-07-13 * gdb.base/randomize.exp: Catch non-Linux targets as untested.Jan Kratochvil2-1/+9
2008-07-13 * utils.c (struct continuation): Define as inheriting structPedro Alves2-12/+34
cleanup. (add_continuation, do_all_continuations) (discard_all_continuations, add_intermediate_continuation) (do_all_intermediate_continuations) (discard_all_intermediate_continuations): Adjust.
2008-07-13 Skip varobj in running threads.Vladimir Prus3-3/+25
* mi/mi-cmd-var.c (mi_cmd_var_update): If varobj's thread is not stopped, skip the varobj. * Makefile.in: Update dependencies.
2008-07-13 Enable all MI commands while inferiour is runningVladimir Prus2-17/+6
* mi/mi-main.c (mi_cmd_execute): Don't check if inferiour is executing.
2008-07-13 Allow all CLI command even if target is executing.Vladimir Prus2-7/+6
* gdb/top.c (execute_command_1): Don't check if the inferiour is running.
2008-07-13 * mi/mi-main.c (mi_cmd_execute): Remove unused variable.Vladimir Prus2-4/+6
Fix printing of frame, when frame is wrong.
2008-07-13*** empty log message ***gdbadmin1-1/+1
2008-07-13daily updateAlan Modra1-1/+1
2008-07-12 * spu-tdep.c (spu_frame_unwind_cache): Do not error ifUlrich Weigand2-3/+10
backchain is unreadable.
2008-07-12 * linux-low.c (handle_extended_wait): Do not use "status"Ulrich Weigand2-1/+6
variable uninitialized.
2008-07-12 * spu-linux-nat.c: Include "gdbthread.h".Ulrich Weigand3-1/+13
(spu_child_post_startup_inferior): Register main thread. (spu_child_post_attach): Likewise. * Makefile.in (spu-linux-nat.o): Update dependencies.
2008-07-122008-07-12 Craig Silverstein <csilvers@google.com>Craig Silverstein4-131/+364
* configure.in: Check for, and include, libz.a if it is present. * configure: Regenerate. * config.in: Regenerate.
2008-07-122008-07-12 Pedro Alves <pedro@codesourcery.com>Pedro Alves8-108/+150
Rewrite continuations internals on top of cleanups and plug continuation arguments leaks. * defs.h (struct continuation): Make it opaque. (add_continuation, add_intermediate_continuation): Drop the int argument of the continuation hook argument. Add continuation_free_args argument. (do_all_continuations, do_all_intermediate_continuations): Drop the error_p argument. * utils.c (add_continuation): Drop the int argument of the continuation hook argument. Add continuation_free_args argument. Reimplement on top of cleanups. (do_all_continuations): Drop error argument. Reimplement on top of cleanups. (discard_all_continuations): Reimplement on top of cleanups. (add_intermediate_continuation): Drop the int argument of the continuation hook argument. Add continuation_free_args argument. Reimplement on top of cleanups. (do_all_intermediate_continuations): Drop error argument. Reimplement on top of cleanups. (discard_all_intermediate_continuations): Reimplement on top of cleanups. * breakpoint.c (until_break_command_continuation): Drop error argument. Add xfree as continuation argument deleter. * inf-loop.c (inferior_event_handler): On error, discard all continuations. Adjust to new do_all_intermediate_continuations and do_all_continuations interfaces. * infcmd.c (step_1_continuation): Drop error_p argument. Adjust. Pass xfree as continuation argument deleter. (finish_command_continuation): Drop error_p argument. Adjust. (finish_command_continuation_free_arg): New. (finish_command): Pass finish_command_continuation_free_arg as continuation argument deleter. Adjust to new do_all_continuations interfaces. (attach_command_continuation): Drop error_p argument. (attach_command_continuation_free_args): New. (attach_command): Pass attach_command_continuation_free_args as continuation argument deleter. * interps.c (interp_set): Adjust to new do_all_continuations interfaces. * event-top.c (stdin_event_handler): In error, also discard the intermediate continuations.
2008-07-12 Replace struct continuation_args by void* and per command structs.Pedro Alves6-132/+132
* top.c (execute_command): Remove unused arg1 and arg2 locals. * breakpoint.c (struct until_break_command_continuation_args): New. (until_break_command_continuation): Take a void* instead of a continuations_arg. Adjust. (until_break_command): Adjust to use struct until_break_command_continuation_args instead of struct continuation_arg. * infcmd.c (struct step_1_continuation_args): New. (step_1_continuation): Take a void* instead of a continuations_arg. Adjust to use struct step_1_continuation_args. (step_once): Adjust to use struct step_1_continuation_args. (struct finish_command_continuation_args): New. (finish_command_continuation): Take a void* instead of a continuations_arg. Adjust to use struct finish_command_continuation_args. (finish_command): Adjust to use struct finish_command_continuation_args. (struct attach_command_continuation_args): New. (attach_command_continuation): Take a void* instead of a continuations_arg. Adjust to use struct attach_command_continuation_args. (attach_command): Adjust to use struct attach_command_continuation_args. * defs.h (struct continuation_arg): Delete. (struct continuation): Replace the struct continuation_arg* parameter of continuation_hook by a void*. Replace "arg_list" member by a new "args" member with void* type. (add_continuation, add_intermediate_continuation): Replace struct continuation_arg type usages by void* usages. * utils.c (add_continuation, do_all_continuations) (add_intermediate_continuation) (do_all_intermediate_continuations): Replace struct continuation_arg type usages by void* usages. Pass "args" instead of "arg_list".
2008-07-122008-07-12 Pedro Alves <pedro@codesourcery.com>Pedro Alves2-20/+33
* infrun.c (struct thread_stepping_state): Delete sal member. (init_thread_stepping_state): Add local sal. Use it instead of tss->sal. (handle_inferior_event): New local stop_pc_sal. Use it instead of tss->sal. (step_into_function): Add local stop_func_sal. Use it instead of tss->sal.
2008-07-12 Implement -exec-continue/-exec-interrupt --all.Vladimir Prus4-32/+74
* infcmd.c (continue_1): New, extracted from (continue_command): ...here. (interrupt_target_1): New, extracted from (interrupt_target_command): ...here. * inferior.h (continue_1, interrupt_target_1): New. * mi/mi-main.c (mi_cmd_exec_continue) (mi_cmd_exec_interrupt): Handle --all.
2008-07-12 Implement --thread and --frame.Vladimir Prus6-3/+84
* gdbthread.h (find_thread_id): Declare. * thread.c (find_thread_id): Make non-static. * mi/mi-main.c (mi_cmd_execute): Switch to the right thread and frame, if necessary. * mi/mi-parse.c (mi_parse): Handle --thread and --frame. * mi/mi-parse.h (strcut mi_parse): New fields thread and frame.
2008-07-12 * infrun.c (resume): Discard cleanups on early exit path.Vladimir Prus2-4/+11
2008-07-12 * infrun.c (normal_stop): For MI, report which threadsVladimir Prus4-5/+27
were stopped.
2008-07-12 Report thread state in -thread-info output.Vladimir Prus2-0/+15
* thread.c (print_thread_info): Add new field "state".
2008-07-12Revert my last change since it has not been approved.Jie Zhang18-199/+52
2008-07-12*** empty log message ***gdbadmin1-1/+1
2008-07-12daily updateAlan Modra1-1/+1
2008-07-11 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portionKevin Buettner2-6/+8
of regexp to account for changes made to GDB in the printing of byte vectors.
2008-07-11 bfd/Jie Zhang18-4/+239
* elf.c (_bfd_elf_map_sections_to_segments): Don't put executable sections into the same segment with other read only sections if --sep-code. * elf32-bfin.c (elf32_bfin_code_in_l1): New variable. (elf32_bfin_data_in_l1): New variable. (elf32_bfin_final_write_processing): New. (elf32_bfin_special_sections[]): New. (elf_backend_final_write_processing): Define. (elf_backend_special_sections): Define. binutils/ * readelf.c (get_machine_flags): Deal with Blackfin specific flags. include/ * bfdlink.h (struct bfd_link_info): Add sep_code member variable. * elf/bfin.h (EF_BFIN_CODE_IN_L1): Define. (EF_BFIN_DATA_IN_L1): Define. ld/ * Makefile.am (eelf32bfin.c): Depend on bfin.em. (eelf32bfinfd.c): Likewise. * Makefile.in: Regenerate. * gen-doc.texi: Set Blackfin. * ld.texinfo: Document --sep-code and Blackfin specific options. * ldmain.c (main): Initialize link_info.sep_code. * lexsup.c (enum option_values): Add OPTION_SEP_CODE. (ld_options[]): Add --sep-code. (parse_args): Deal with --sep-code. * emulparams/bfin.sh (EXTRA_EM_FILE): Define. * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define. * emultempl/bfin.em: New file.
2008-07-11 * infrun.c (handle_inferior_event): Also ignore aPedro Alves2-5/+17
TARGET_SIGNAL_TRAP on a STOP_QUIETLY_NO_SIGSTOP.
2008-07-112008-07-11 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu21-467119/+277
* ld-m68k/got-12.s: Removed. * ld-m68k/got-13.s: Likewise. * ld-m68k/got-14.s: Likewise. * ld-m68k/got-15.s: Likewise. * ld-m68k/got-34.s: Likewise. * ld-m68k/got-35.s: Likewise. * ld-m68k/xgot-15.s: Likewise. * ld-m68k/got-multigot-12-13-14-34-35-ok.d: Remove #source and expected relocations. * ld-m68k/got-multigot-14-ok.d: Likewise. * ld-m68k/got-negative-12-13-14-34-ok.d: Likewise. * ld-m68k/got-negative-14-ok.d: Likewise. * ld-m68k/got-single-12-ok.d: Likewise. * ld-m68k/got-xgot-12-13-14-15-34-35-ok.d: Likewise. * ld-m68k/got-xgot-15-ok.d: Likewise. * ld-m68k/got-multigot-15-er.d: Remove #source. * ld-m68k/got-negative-12-13-14-35-er.d: Likewise. * ld-m68k/got-negative-15-er.d: Likewise. * ld-m68k/got-single-13-er.d: Likewise. * ld-m68k/m68k.exp: Move GOT tests to ... * ld-m68k/m68k-got.exp: This. New.
2008-07-11gdbTom Tromey4-12/+57
* completer.c (complete_line_internal): New function, from complete_line. Add 'for_help' parameter. (complete_line): Use it. (command_completer): Move later. Rewrite. gdb/testsuite * gdb.base/completion.exp: Add 'help' completion test.
2008-07-11 * thread.c (thread_apply_command): Move making the cleanup out ofPedro Alves2-2/+7
the loop.
2008-07-11 * mh-mingw (LDFLAGS): Append to rather than replacing previousJoseph Myers2-1/+6
value.