aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-09-08 * bsd-uthread.c (bsd_uthread_find_new_threads): Claim the mainPedro Alves2-1/+14
thread.
2008-09-08 * corelow.c (add_to_thread_list): If this is the first time wePedro Alves2-14/+76
hear about thread info, update inferior_ptid. (core_open): Clear the thread list and set inferior_ptid before acknowledging a new inferior. Find threads before fetching register info. Give an upper target layer a chance to find and claim new threads. Print core generation and stop signal info after finding new threads. (get_core_register_section): Look at the lwp member of inferior_ptid for detecting if we have threads info, instead of the pid member. (core_pid_to_str): New. (init_core_ops): Register core_pid_to_str.
2008-09-08 * spu-linux-nat.c (spu_child_post_startup_inferior)Pedro Alves2-4/+5
(spu_child_post_attach): Don't add the main thread here.
2008-09-08 Use ptid_t.tid to store thread ids instead of ptid_t.pid.Pedro Alves3-34/+80
* gnu-nat.c (inf_validate_procs): If this is the first time we're seeing a thread id, extend the main thread's ptid. If we still have pending execs, don't be verbose about new threads. (gnu_wait, gnu_resume, gnu_attach, gnu_thread_alive) (gnu_pid_to_str, cur_thread, sig_thread_cmd): Adjust. * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Adjust.
2008-09-08 * procfs.c (to_attach): Create a procinfo for the current lwp.Pedro Alves3-62/+72
Add it to gdb's thread list. (procfs_fetch_registers, procfs_store_registers): Assume there's always an lwp. (procfs_wait): Don't add the main thread here. (procfs_init_inferior): Create a procinfo for the main lwp here. Change main thread's ptid with thread_change_ptid. (procfs_notice_thread): Check for exited threads. (procfs_corefile_thread_callback): Remove check for the main process. (procfs_make_note_section): Assume there is always a thread. * sol-thread.c (sol_thread_attach): Clear sol_thread_active before attaching. Change the main thread ptid with thread_change_ptid. (sol_thread_detach): Clear sol_thread_active. (sol_thread_wait): Check for exited threads. (sol_thread_create_inferior): Clear sol_thread_active before creating a new inferior. Change the main thread ptid with thread_change_ptid. (sol_thread_mourn_inferior): Clear sol_thread_active. (sol_find_new_threads_callback): Check for exited threads.
2008-09-08 * inf-ttrace.c (inf_ttrace_wait): On TTEVT_LWP_CREATE andPedro Alves2-6/+27
LWP_TERMINATE, resume the caller thread. On TTEVT_LWP_CREATE, TTEVT_LWP_EXIT and TTEVT_LWP_TERMINATE, don't stop the whole process, and return TARGET_WAITKIND_IGNORE.
2008-09-08 * inf-ttrace.c: Include <signal.h>Pedro Alves2-29/+100
(inf_ttrace_delete_dead_threads_callback): New. (inf_ttrace_resume_lwp): New. (inf_ttrace_resume_callback, inf_ttrace_resume): Rewrite. Don't delete dying threads until they are really dead. (inf_ttrace_wait): After stopping the whole process, delete any dying thread that is really dead by now. (inf_ttrace_thread_alive): Return 1. (inf_ttrace_extra_thread_info): New. (inf_ttrace_target): Register inf_ttrace_extra_thread_info.
2008-09-08 * inf-ttrace.c (inf_ttrace_follow_fork): Register the main threadPedro Alves2-31/+67
of the child fork. (inf_ttrace_attach): Add the main thread. (inf_ttrace_resume_callback): Check for exited threads. Adjust for always a thread. (inf_ttrace_wait): Decorate the main thread's ptid with lwp info using thread_change_ptid, and set its private data. Don't add the main thread here. (inf_ttrace_pid_to_str): Adjust.
2008-09-08 * bsd-uthread.c (bsd_uthread_wait): Decorate the main thread withPedro Alves2-9/+17
thread_change_ptid. Check for exited threads. (bsd_uthread_find_new_threads): Check for exited threads.
2008-09-08 * inf-ptrace.c: Include "gdbthread.h".Pedro Alves3-6/+20
(inf_ptrace_attach): Add the main thread here. * linux-nat.c (linux_nat_attach): Don't add the main thread here. Decorate the main thread id with the lwp id.
2008-09-08 * linux-nat.c (linux_nat_wait): Update inferior_ptid's ptid withPedro Alves3-6/+18
thread_change_ptid. Don't add or mark the main thread as running and executing here. * fork-child.c (fork_inferior): Add the main thread here.
2008-09-08 * regcache.c (new_register_cache): Return NULL if the registerPedro Alves2-2/+14
cache size isn't known yet. (free_register_cache): Avoid dereferencing a NULL regcache.
2008-09-08 * rs6000-tdep.c (rs6000_fetch_instruction)Jerome Guitton2-0/+191
(rs6000_skip_stack_check): New functions. (skip_prologue): Skip stack check sequence.
2008-09-082008-09-08 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-2/+9
2008-09-07 Alan Modra <amodra@bigpond.net.au> * emultempl/beos.em (gld${EMULATION_NAME}_place_orphan): Updated. * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): Likewise.
2008-09-08 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)Jerome Guitton3-1/+149
(stack_check_probe_2, stack_check_probe_loop_1) (stack_check_probe_loop_2): New functions. (main): Add call to these new functions. * gdb.arch/powerpc-aix-prologue.exp: When breaking on these functions, check that the breakpoint is inserted at the appropriate location. (insert_breakpoint): Slightly refine this procedure so that it can be called several times in the test.
2008-09-08 * gdb.base/stack-checking.c: New file.Jerome Guitton3-0/+107
* gdb.base/stack-checking.exp: New file.
2008-09-08 * dummy-frame.h (frame.h): Include it.David Daney2-1/+7
(struct frame_id): Remove declaration.
2008-09-082008-09-08 Tristan Gingold <gingold@adacore.com>Tristan Gingold3-2/+7
* configure.in: Update version to 2.19.50 * configure: Regenerated.
2008-09-082008-09-08 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-0/+6
* BRANCHES: Add 2.18 and 2.19 release branches.
2008-09-08ld/Tristan Gingold6-0/+21
2008-09-08 Tristan Gingold <gingold@adacore.com> * NEWS: Add a marker for the 2.19 features. gas/ 2008-09-08 Tristan Gingold <gingold@adacore.com> * NEWS: Add a marker for the 2.19 features. binutils/ 2008-09-08 Tristan Gingold <gingold@adacore.com> * NEWS: Add a marker for the 2.19 features.
2008-09-08 * config/tc-hppa.h (DIFF_EXPR_OK): Define for SOM target. ReviseDave Anglin2-4/+17
comment regarding use of difference expressions. (TC_FORCE_RELOCATION_SUB_LOCAL): Define to 1.
2008-09-08daily updateAlan Modra1-1/+1
2008-09-08*** empty log message ***gdbadmin1-1/+1
2008-09-07 * dw2gencfi.c (CFI_DIFF_EXPR_OK): Define if not defined.Dave Anglin3-6/+26
(dot_cfi_personality): Use CFI_DIFF_EXPR_OK instead of DIFF_EXPR_OK. (dot_cfi_lsda, output_cie, output_fde): Likewise. * config/tc-hppa.h (CFI_DIFF_EXPR_OK): Define.
2008-09-07 * ldlang.h (lang_output_section_find): Define.Alan Modra5-78/+78
(lang_output_section_statement_lookup): Update prototype. * ldlang.c (lang_output_section_find, lang_output_section_statement_lookup_1): Merge into.. (lang_output_section_statement_lookup): ..here. Update all callers. (process_insert_statements): Set constraint negative for output section statements we might be inserting. Make error fatal on not finding insertion section. (lang_output_section_find): Rather than comparing output_section_statement.constraint against -1, test whether it is postive. (lang_output_section_statement_lookup_1): Likewise. (output_prev_sec_find, strip_excluded_output_sections): Likewise. (lang_record_phdrs): Likewise. * emultempl/elf32.em (output_rel_find): Likewise. * NEWS: Mention INSERT.
2008-09-07*** empty log message ***gdbadmin1-1/+1
2008-09-07daily updateAlan Modra1-1/+1
2008-09-06gas/Richard Sandiford6-0/+29
* config/tc-mips.h (DWARF2_FDE_RELOC_SIZE): Define. gas/testsuite/ * gas/mips/cfi-n64-1.s, gas/mips/cfi-n64-1.d: New test. * gas/mips/mips.exp: Run it.
2008-09-062008-09-05 Cary Coutant <ccoutant@google.com>Cary Coutant2-4/+9
* symtab.cc (Symbol_table::add_from_dynobj): Fix typos in explicit instantiations.
2008-09-06daily updateAlan Modra1-1/+1
2008-09-06*** empty log message ***gdbadmin1-1/+1
2008-09-05 * gdb.arch/altivec-abi.exp: Remove extra verbose call.Thiago Jung Bauermann4-3/+6
* gdb.arch/altivec-regs.exp: Likewise. * gdb.arch/vsx-regs.exp: Likewise.
2008-09-05 * gdb.arch/ppc-fp.exp: New file.Thiago Jung Bauermann3-0/+141
* gdb.arch/ppc-fp.c: New file.
2008-09-05Fix last commit.Daniel Jacobowitz1-31/+31
2008-09-05 * dwarf2.c: Change leading whitespace to tabs.Daniel Jacobowitz2-113/+117
2008-09-05compile with gcc -fno-inline, lest gcc-4.3.1 optimizes the whole thing away.Paul Pluzhnikov2-1/+7
2008-09-05 * spu-tdep.c (spu_push_dummy_code): New function.Ulrich Weigand2-0/+22
(spu_gdbarch_init): Install it.
2008-09-05 * readelf.c (load_specific_debug_section): New function, fromDaniel Jacobowitz2-17/+43
load_debug_section. (load_debug_section): Use load_specific_debug_section. (display_debug_section): Use load_specific_debug_section. Check for multiple sections with the same name.
2008-09-05 * gdbarch.sh (gdbarch_dump): Use core_addr_to_string_nzUlrich Weigand4-14/+24
instead of paddr_nz. * gdbarch.c: Regenerate. * target.c (target_xfer_partial, debug_print_register): Use core_addr_to_string_nz instead of paddr_nz.
2008-09-05 * rs6000-tdep.c (rs6000_gdbarch_init): Setup displaced steppingUlrich Weigand3-11/+24
*before* calling gdbarch_init_osabi. (rs6000_aix_init_osabi): Disable displaced stepping.
2008-09-05 * target.c (update_current_target): Do not inherit to_openUlrich Weigand2-5/+13
or to_close. (pop_target): Call target_close on target_stack instead of current_target. (pop_all_targets_above): Likewise.
2008-09-05 * gnu-v3-abi.c (gnuv3_decode_method_ptr): New function.Ulrich Weigand2-30/+49
(gnuv3_print_method_ptr): Use it. (gnuv3_method_ptr_to_value): Likewise.
2008-09-05 * nto-tdep.h (struct nto_target_ops): Add gdbarch parameter toUlrich Weigand4-5/+14
register_area callback function. * i386-nto-tdep.c (i386nto_register_area): Add gdbarch parameter. Use it instead of current_gdbarch. * nto-procfs.c (procfs_store_registers): Update call.
2008-09-05 * mips-tdep.c (deprecated_mips_set_processor_regs_hack): UseUlrich Weigand2-3/+9
regcache architecture instead of current_gdbarch.
2008-09-05 * mep-tdep.c (struct mep_prologue): Add gdbarch member.Ulrich Weigand2-9/+26
(check_for_saved): Use it instead of current_gdbarch. (is_arg_spill): Add gdbarch paramter. Use it instead of current_gdbarch. (mep_analyze_prologue): Add gdbarch parameter. Pass it to is_arg_spill and check_for_saved. (mep_skip_prologue, mep_analyze_frame_prologue): Update calls.
2008-09-05 * hppa-tdep.c (internalize_unwinds): Use objfile architectureUlrich Weigand2-3/+9
instead of current_gdbarch.
2008-09-05 * m68k-tdep.h (m68kbsd_fpreg_offset): Add gdbarch parameter.Ulrich Weigand4-6/+20
* m68kbsd-tdep.c (m68kbsd_fpreg_offset): Add gdbarch paramter. Use it instead of current_gdbarch. (m68kbsd_supply_fpregset): Update call. * m68kbsd-nat.c (m68kbsd_supply_fpregset): Likewise. (m68kbsd_collect_fpregset): Likewise.
2008-09-05 * cris-tdep.c (cris_version, cris_mode): Remove.Ulrich Weigand2-25/+30
(crisv32_single_step_through_delay): Use tdep->cris_mode. (cris_breakpoint_from_pc): Likewise. (cris_frame_unwind_cache): Use tdep->cris_version. (crisv32_scan_prologue): Likewise. (cris_spec_reg_applicable): Add gdbarch argument. Use tdep->cris_version. (cris_register_size, cris_special_register_name): Update calls. (cris_special_register_name): Add gdbarch argument. (cris_register_name, crisv32_register_name): Update calls.
2008-09-05 * m68hc11-tdep.c (gdb_print_insn_m68hc11): Use info->archUlrich Weigand5-33/+48
instead of current_gdbarch. * sh64-tdep.c (gdb_print_insn_sh64): Remove. (sh64_gdbarch_init): Install print_insn_sh64 directly. * sh-tdep.c (gdb_print_insn_sh): Remove. (sh_gdbarch_init): Install print_insn_sh directly. * mips-tdep.c (gdb_print_insn_mips): Do not check mips_abi from current_gdbarch. (gdb_print_insn_mips_n32, gdb_print_insn_mips_n64): New functions. (mips_gdbarch_init): Install them instead of gdb_print_insn_mips depending on mips_abi.
2008-09-05 * gdbarch.sh (addr_bits_remove): Change type to 'm'.Ulrich Weigand11-21/+44
(smash_text_address): Likewise. * gdbarch.c, gdbarch.h: Regenerate. * arch-utils.c (core_addr_identity): Add gdbarch parameter. * arch-utils.h (core_addr_identity): Likewise. * arm-tdep.c (arm_addr_bits_remove): Likewise. (arm_smash_text_address): Likewise. * hppa-tdep.c (hppa_smash_text_address): Likewise. * m88k-tdep.c (m88k_addr_bits_remove): Likewise. * s390-tdep.c (s390_addr_bits_remove): Likewise. * mips-tdep.c (mips_addr_bits_remove): Add gdbarch parameter. Use it instead of current_gdbarch. * arm-tdep.c (arm_prologue_prev_register, arm_unwind_pc, arm_dwarf2_prev_register): Update calls. * m88k-tdep.c (m88k_unwind_pc): Update call.