X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=68a9181718d99a84726021a12ec26f044422e397;hb=7fc4b1a180d7ba54e71ca16c8edcc81fa6e3db93;hp=4fd194cf644225a391c0bc472b7dda5424dda13b;hpb=7476373706efd64d8b1b90dec73e7c39f393f621;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4fd194cf64..68a9181718 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,392 @@ +2006-03-24 Randolph Chung + + * solib-som.c (link_map_start): Don't error out if there is + not yet a link map. + +2006-03-24 Daniel Jacobowitz + + * linux-nat.c (linux_ops_saved): New. + (super_mourn_inferior, kill_inferior, threaded, linux_nat_ops) + (child_mourn_inferior, child_wait, linux_nat_create_inferior) + (linux_nat_fetch_registers, linux_nat_store_registers) + (linux_nat_child_post_startup_inferior, init_linux_nat_ops): Delete. + (init_lwp_list): Don't set threaded. + (add_lwp): Don't modify threaded. + (delete_lwp): Don't mention non-threaded mode. + (linux_nat_switch_fork): New. + (linux_nat_attach): Update inferior_ptid. + (linux_nat_wait): Handle num_lwps == 0 at entry. Don't check + threaded flag. + (linux_nat_kill): Handle pending forks and saved forks. + (linux_nat_mourn_inferior): Handle saved forks. + (linux_nat_pid_to_str): Don't use the LWP form when there is + only one thread. + (linux_target): Don't set to_wait, to_kill, or to_mourn_inferior. + (linux_nat_add_target): New. + (_initialize_linux_nat): Don't initialize the linux native target + here. + * linux-nat.h (linux_nat_add_target, linux_nat_switch_fork): New + prototypes. + * linux-fork.c: Include "linux-nat.h". + (add_fork): Update initial PID. + (fork_load_infrun_state): Call linux_nat_switch_fork. + * Makefile.in (linux-fork.o): Update. + + * alpha-linux-nat.c (_initialize_alpha_linux_nat): Use + linux_nat_add_target instead of add_target. + * amd64-linux-nat.c (_initialize_amd64_linux_nat): Likewise. + * arm-linux-nat.c (_initialize_arm_linux_nat): Likewise. + * hppa-linux-nat.c (_initialize_hppa_linux_nat): Likewise. + * ia64-linux-nat.c (_initialize_ia64_linux_nat): Likewise. + * i386-linux-nat.c (_initialize_i386_linux_nat): Likewise. + * m32r-linux-nat.c (_initialize_m32r_linux_nat): Likewise. + * m68klinux-nat.c (_initialize_m68k_linux_nat): Likewise. + * mips-linux-nat.c (_initialize_mips_linux_nat): Likewise. + * ppc-linux-nat.c (_initialize_ppc_linux_nat): Likewise. + * s390-nat.c (_initialize_s390_nat): Likewise. + * sparc-linux-nat.c (_initialize_sparc_linux_nat): Likewise. + * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Likewise. + +2006-03-24 Daniel Jacobowitz + + * linux-fork.c: Include "gdb_assert.h". + (fork_load_infrun_state): Set inferior_ptid and stop_pc here. + Update the register cache and selected frame also. + (linux_fork_mourn_inferior): Use fork_load_infrun_state. Return + to single fork mode if necessary. + (linux_fork_context): Remove bits handled by fork_load_infrun_state. + * Makefile.in (linux_fork_h): New. + (linux-fork.o, linux-nat.o): Update. + +2006-03-23 Andreas Schwab + + * config/s390/s390.mh (NATDEPFILES): Add linux-fork.o. + +2006-03-18 Jim Blandy + + * symtab.h (enum address_class): Doc fix. + +2006-03-16 Michael Snyder + + * tracepoint.c (tracepoint_save_command): Fix typo in error msg. + * target.c (push_target): Fix typo in comment. + * remote.c (remote_watch_data_address): Fix typo in comment. + * i386-tdep.c (i386_push_dummy_call): Fix typo in comment. + +2006-03-15 Kevin Buettner + + * frv-linux-tdep.c (gdbcore.h, regcache.h, regset.h, gdb_string.h): + Include. + (FRV_ELF_NGREG, FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR, FRV_PT_CCCR) + (FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0, FRV_PT_GNER1) + (FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR, FRV_PT_TBR) + (FRV_PT_EXEC_FDPIC_LOADMAP, FRV_PT_INTERP_FDPIC_LOADMAP): Define. + (frv_elf_greg_t, frv_elf_gregset_t, frv_elf_fpreg_t) + (frv_elf_fpregset_t): Define types. + (frv_linux_supply_gregset, frv_linux_supply_fpregset) + (frv_linux_regset_from_core_section: New functions. + (frv_linux_gregset, frv_linux_fpregset): New static globals. + (frv_linux_init_abi): Register the `regset_from_core_section' method. + * Makefile.in (frv-linux-tdep.o): Update dependencies. + * solib-frv.c (frv_current_sos): Relocate main executable after + loading core file. + (frv_clear_solib): Clean up space associated with + `main_executable_lm_info'. + * config/frv/frv.mt (TDEPFILES): Add corelow.o to this list. + +2006-03-15 Daniel Jacobowitz + + * Makefile.in (mips_linux_tdep_h): New. + (mpis-linux-nat.o, mips-linux-tdep.o): Update. + * mips-linux-nat.c: Include "inferior.h", "mips-linux-tdep.h", and + . + (have_ptrace_regsets, super_fetch_registers, super_store_registers) + (mips64_linux_regsets_fetch_registers) + (mips64_linux_regsets_store_registers, mips64_linux_fetch_registers) + (mips64_linux_store_registers): New. + (_initialize_mips_linux_nat): Override to_fetch_registers and + to_store_registers. + * mips-linux-tdep.h: New file. + * mips-linux-tdep.c: Include "mips-linux-tdep.c". + (ELF_NGREG, ELF_NFPREG, elf_greg_t, elf_gregset_t, elf_fpreg_t) + (elf_fpregset_t, FPR_BASE, PC, CAUSE, BADVADDR, MMHI, MMLO) + (FPC_CSR, FPC_EIR, EF_REG0, EF_REG31, EF_LO, EF_HI, EF_CP0_EPC) + (EF_CP0_BADVADDR, EF_CP0_STATUS, EF_CP0_CAUSE, EF_SIZE) + (MIPS64_ELF_NGREG, MIPS64_ELF_NFPREG, mips64_elf_greg_t) + (mips64_elf_gregset_t, mips64_elf_fpreg_t, mips64_elf_fpregset_t) + (MIPS64_FPR_BASE, MIPS64_PC, MIPS64_CAUSE, MIPS64_BADVADDR) + (MIPS64_MMHI, MIPS64_MMLO, MIPS64_FPC_CSR, MIPS64_FPC_EIR) + (MIPS64_EF_REG0, MIPS64_EF_REG31, MIPS64_EF_LO, MIPS64_EF_HI) + (MIPS64_EF_CP0_EPC, MIPS64_EF_CP0_BADVADDR, MIPS64_EF_CP0_STATUS) + (MIPS64_EF_CP0_CAUSE, MIPS64_EF_SIZE): Delete. + (supply_32bit_reg): Use gdb_byte. + (supply_64bit_reg): New. + (mips_supply_gregset, mips_fill_gregset, mips_supply_fpregset) + (mips_fill_fpregset, fetch_core_registers, supply_gregset) + (fill_gregset, supply_fpregset): Update for renamed types. + (mips64_supply_gregset): Use gdb_byte and supply_64bit_reg. + (mips64_fill_gregset): Make global. Handle 32-bit register + sizes. + (mips64_fill_fpregset): Make global. Use gdb_byte. Handle + FP regsets properly. + +2006-03-15 Daniel Jacobowitz + + * mips-linux-tdep.c (mips_supply_gregset): Renamed from supply_gregset. + (mips_fill_gregset): Renamed from fill_gregset. + (mips_supply_fpregset): Renamed from supply_fpregset. + (mips_fill_fpregset): Renamed from fill_fpregset. + (fetch_core_registers): Update calls. + (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): New + functions. + +2006-03-15 Daniel Jacobowitz + + * mips-tdep.c (mips_gdbarch_init): Default 64-bit ELF files to N64. + +2006-03-15 Daniel Jacobowitz + + * mips-tdep.c (is_mips16_addr, mips32_next_pc, add_offset_16): + Correct arithmetic for 64-bit CORE_ADDR. + +2006-03-15 Daniel Jacobowitz + + * mips-linux-tdep.c: Include "floatformat.h". + (mips_linux_init_abi): Use 128-bit long double for N32 and N64. + * mips-tdep.c (mips_n32n64_return_value): Support 128-bit long + double. + (print_gp_register_row): Don't print spaces before ignored + or floating point registers. + * Makefile.in (mips-linux-tdep.o): Update. + +2006-03-15 Daniel Jacobowitz + + * mips-mdebug-tdep.c (compare_pdr_entries): Use bfd_get_signed_32 + for code addresses. + (non_heuristic_proc_desc): Likewise. + +2006-03-15 Daniel Jacobowitz + + * mips-linux-nat.c: Include "gdb_proc_service.h". + (PTRACE_GET_THREAD_AREA): Define. + (ps_get_thread_area): New. + * Makefile.in (mips-linux-nat.o): Update. + +2006-03-13 Jim Blandy + + * MAINTAINERS: Use my work address. + +2006-03-09 Michael Snyder + + * linux-nat.c (kill_inferior): Just call target_mourn_inferior + instead of getting tricky for the multi-fork case. + * linux-fork.c (linux_fork_killall): Call PT_KILL and waitpid + for each fork, and then use init_fork_list to delete them. + +2006-03-08 Alexandre Oliva + + * solib-svr4.c (svr4_current_sos): Move up initialization of + l_addr, such that it clearly covers all cases. + +2006-03-08 Andreas Schwab + + * ia64-tdep.c (ia64_libunwind_frame_this_id): Adapt use of + libunwind_frame_prev_register to use a gdb_byte buffer and + extract_unsigned_integer. + (ia64_libunwind_sigtramp_frame_prev_register): Likewise. + + * libunwind-frame.c (libunwind_frame_prev_register): Change type + of last argument to `gdb_byte *' + * libunwind-frame.h: Adjust declaration. + +2006-03-08 Paul Brook + + * arm-tdep.c (arm_push_dummy_call): Remove stack alignment. + (arm_frame_align): New function. + (arm_gdbarch_init): Use it. + +2006-03-03 Khem Raj + + * remote-rdp.c (remote_rdp_xfer_inferior_memory): Use gdb_byte. + Committed by Andrew Cagney. + +2006-03-02 Corinna Vinschen + + * mn10300-tdep.c (mn10300_push_dummy_call): Write breakpoint + address to MDR register. + +2006-03-01 Daniel Jacobowitz + + * gdbtypes.c (lookup_struct_elt_type): Correct noerr for recursive + calls. + +2006-03-01 Randolph Chung + + * somread.c (som_symfile_read): Update comment and remove unneeded + use of a deprecated variable. + +2006-03-01 Randolph Chung + + * hppa-tdep.h (unwind_table_entry): Update field names to match HP + runtime specification. + * hppa-tdep.c (internalize_unwinds, hppa_frame_cache): Likewise. + (unwind_command): Likewise. + +2006-03-01 Randolph Chung + + * hppa-tdep.c (hppa_frame_cache): Handle Region_Description and + Pseudo_SP_Set in unwind record. + +2006-03-01 Randolph Chung + + * hppa-hpux-tdep.c (initialize_hp_cxx_exception_support): Use + TDEP->is_elf to determine if we are working with a SOM binary. + (null_symtab_and_line): Remove unused variable. + * config/pa/hppa64.mt: Use tm-hppa.h. + * config/pa/tm-hppa64.h: Remove file. + +2006-03-01 Wu Zhou + + * f-typeprint.c (f_type_print_base): Delete the redundant space. + +2006-02-28 Kevin Buettner + + * Makefile.in (mn10300-linux-tdep.o): Update dependencies. + * mn10300-linux-tdep.c (frame.h, trad-frame.h, tramp-frame.h): + Include. + (am33_linux_sigframe_cache_init): New function. + (am33_linux_sigframe, am33_linux_rt_sigframe): New signal frame + descriptions. + (AM33_SIGCONTEXT_D0, AM33_SIGCONTEXT_D1, AM33_SIGCONTEXT_D2) + (AM33_SIGCONTEXT_D3, AM33_SIGCONTEXT_A0, AM33_SIGCONTEXT_A1) + (AM33_SIGCONTEXT_A2, AM33_SIGCONTEXT_A3, AM33_SIGCONTEXT_E0) + (AM33_SIGCONTEXT_E1, AM33_SIGCONTEXT_E2, AM33_SIGCONTEXT_E3) + (AM33_SIGCONTEXT_E4, AM33_SIGCONTEXT_E5, AM33_SIGCONTEXT_E6) + (AM33_SIGCONTEXT_E7, AM33_SIGCONTEXT_LAR, AM33_SIGCONTEXT_LIR) + (AM33_SIGCONTEXT_MDR, AM33_SIGCONTEXT_MCVF, AM33_SIGCONTEXT_MCRL) + (AM33_SIGCONTEXT_MCRH, AM33_SIGCONTEXT_MDRQ, AM33_SIGCONTEXT_SP) + (AM33_SIGCONTEXT_EPSW, AM33_SIGCONTEXT_PC, AM33_SIGCONTEXT_FPUCONTEXT): + New constants. + (am33_linux_init_osabi): Register signal frame unwinders. + +2006-02-28 Kevin Buettner + + * mn10300-tdep.c (mn10300_analyze_prologue): Implement backtrack + out of pattern match by saving relevant state. Fix stack size + adjustment bug. + +2006-02-28 Alexandre Oliva + + * solib-svr4.h (struct link_map_offsets): Add l_ld_offset and + l_ld_size fields. + * solib-svr4.c (struct lm_info): Add l_addr field. + (LM_ADDR_FROM_LINK_MAP): Renamed from LM_ADDR. + (HAS_LM_DYNAMIC_FROM_LINK_MAP): New. + (LM_DYNAMIC_FROM_LINK_MAP): New. + (LM_ADDR_CHECK): New. Use it instead of LM_ADDR. + (svr4_current_sos): Initialize l_addr. Adjust. + (svr4_relocate_section_addresses): Adjust. + (svr4_ilp32_fetch_link_map_offsets): Define new members. + (svr4_lp64_fetch_link_map_offsets): Likewise. + * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Likewise. + * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Likewise. + (mipsnbsd_lp64_fetch_link_map_offsets): Likewise. + * Makefile.in (solib-svr4.o): Depend on $(elf_bfd_h). + +2006-02-26 David S. Miller + + * config/sparc/linux.mt (TDEPFILES): Add sol2-tdep.o. + * config/sparc/linux64.mt (TDEPFILES): Likewise. + +2006-02-27 Alan Modra + + * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Correct return type. + (ppc_linux_remove_watchpoint): Likewise, and args. + +2006-02-26 Mark Kettenis + + * i386obsd-tdep.c (i386obsd_trapframe_sniffer): Also recognize + "soft" interrupts. + +2006-02-24 Charles Wilson + + * gdb/defs.h: unconditionally include , and + ensure that O_BINARY is defined. + * gdb/solib.c(solib_open): ensure solib files are opened in + binary mode. + * gdb/corelow.c: Remove O_BINARY macro definition. + * gdb/exec.c: Remove O_BINARY macro definition + * gdb/remote-rdp.c: Remove O_BINARY macro definition + * gdb/source.c: Remove O_BINARY macro definition + * gdb/symfile.c: Remove O_BINARY macro definition + +2006-02-24 Randolph Chung + + * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Initialize + argreg. + * solib-som.c (som_solib_remove_inferior_hook): Remove unused + function. + +2006-02-24 Wu Zhou + + * f-exp.y: Symbol '%' is not used as the modulus operator in + Fortran. Delete this from Fortran expression. + It is now used by Fortran 90 and later to access the member + of derived type. Add this into Fortran expression. + * f-valprint.c (f_val_print): Add code to handle TYPE_CODE_STRUCT. + Print each elements in the derived type. + * f-typeprint.c (print_equivalent_f77_float_type): Add a parameter + level into the function definition to do indented printing. And + call fprintfi_filtered instead to do indented printing. + (f_type_print_base): Replace fprintf_filtered with the indented + version (fprintfi_filtered). + (f_type_print_base): Call indented print_equivalent_f77_float_type. + (f_type_print_base): Add code to handle TYPE_CODE_STRUCT. Print + the definition of the derived type. + +2006-02-23 Daniel Jacobowitz + + * gdb_curses.h: Provide a fallback prototype for tgetnum. + +2006-02-23 Daniel Jacobowitz + + * doublest.h: Conditionalize DOUBLEST on PRINTF_HAS_LONG_DOUBLE + also. + (DOUBLEST_FORMAT): Rename to DOUBLEST_PRINT_FORMAT. + (DOUBLEST_SCAN_FORMAT): New. + * ada-lex.l (PRINTF_HAS_LONG_DOUBLE): Remove redefinitions. + (processReal): Use DOUBLEST_SCAN_FORMAT. + * c-exp.y (parse_number): Likewise. + * jv-exp.y (parse_number): Likewise. + * objc-exp.y (parse_number): Likewise. + * p-exp.y (parse_number): Likewise. + +2006-02-23 Daniel Jacobowitz + + * event-top.c (async_do_nothing, async_disconnect) + (async_stop_sig, async_float_handler): Remove duplicated + prototypes. + (handle_sighup): Guard prototype with SIGHUP. + (async_do_nothing): Guard function and prototype with + SIGQUIT || SIGHUP. + (async_disconnect): Guard prototype with SIGHUP. + (async_stop_sig): Guard prototype with STOP_SIGNAL. + +2006-02-23 Daniel Jacobowitz + + * maint.c (maintenance_dump_me): Remove unnecessary prototype. + +2006-02-23 Daniel Jacobowitz + + * win32-termcap.c (tputs): Return 0. + +2006-02-21 Mark Kettenis + + * configure.ac: Introduce ---enable-werror, which adds -Werror to + the compiler command line. Enabled by default. Disable with + --disable-werror. + * configure regenerate. + 2006-02-21 Daniel Jacobowitz * elfread.c (elf_symtab_read): Skip symbols which BFD considers