| 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com> |
| |
| * gdb/gdb_proc_service.h (paddr_t): Use psaddr_t if available. |
| * gdb/proc-service.c (ps_xfer_memory): Cast paddr_t to unsigned |
| long. |
| (ps_pglobal_lookup): Cast CORE_ADDR to paddr_t. |
| |
| 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com> |
| |
| * gdb/gdbserver/linux-mips-low.c: Include <sys/ptrace.h> and |
| "gdb_proc_service.h". |
| (PTRACE_GET_THREAD_AREA): Define. |
| (ps_get_thread_area): New function. |
| * gdb/gdbserver/Makefile.in (linux-i386-low.o, linux-mips-low.o) |
| (linux-x86-64-low.o): Update. |
| |
| 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com> |
| |
| * gdb/gdbserver/configure.ac: Remove checks for prfpregset_t. |
| * gdb/gdbserver/gdb_proc_service.h: New file. |
| * gdb/gdbserver/linux-i386-low.c, gdb/gdbserver/linux-x86-64-low.c, |
| gdb/gdbserver/thread-db.c: Use the new "gdb_proc_service.h". |
| * gdb/gdbserver/proc-service.c: Likewise. |
| (ps_pglobal_lookup, ps_pdread, ps_pdwrite): Use psaddr_t. |
| (ps_lgetfpregs, ps_lsetfpregs): Use a void* argument. |
| * gdb/gdbserver/Makefile.in (gdb_proc_service_h): Updated. |
| * gdb/gdbserver/configure, config.in: Regenerated. |
| |
| 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com> |
| |
| * gdb/Makefile.in (mips_linux_tdep_h): New. |
| (mpis-linux-nat.o, mips-linux-tdep.o): Update. |
| * gdb/mips-linux-nat.c: Include "inferior.h", "mips-linux-tdep.h", and |
| <sys/ptrace.h>. |
| (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. |
| * gdb/mips-linux-tdep.h: New file. |
| * gdb/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 <dan@codesourcery.com> |
| |
| * gdb/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 <dan@codesourcery.com> |
| |
| * gdb/mips-tdep.c (mips_gdbarch_init): Default 64-bit ELF files to N64. |
| |
| 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com> |
| |
| * gdb/mips-tdep.c (is_mips16_addr, mips32_next_pc, add_offset_16): |
| Correct arithmetic for 64-bit CORE_ADDR. |
| |
| 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com> |
| |
| * gdb/mips-linux-tdep.c: Include "floatformat.h". |
| (mips_linux_init_abi): Use 128-bit long double for N32 and N64. |
| (mips_n32n64_return_value): Support 128-bit long double. |
| (print_gp_register_row): Don't print spaces before ignored |
| or floating point registers. |
| |
| 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com> |
| |
| * gdb/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 <dan@codesourcery.com> |
| |
| * gdb/mips-linux-nat.c: Include "gdb_proc_service.h". |
| (PTRACE_GET_THREAD_AREA): Define. |
| (ps_get_thread_area): New. |
| * gdb/Makefile.in (mips-linux-nat.o): Update. |
| |
| 2006-02-01 Mark Mitchell <mark@codesourcery.com> |
| |
| Backport: |
| 2006-02-01 Mark Mitchell <mark@codesourcery.com> |
| * sim/ppc/emul_netbsd.c (emul_netbsd_create): Quote file-name property. |
| * sim/ppc/emul_unix.c (emul_unix_create): Likewise. |
| * sim/ppc/tree.c (libiberty.h): Include it. |
| (tree_quote_property): New function. |
| * sim/ppc/tree.h (tree_quote_property): Declare. |
| |
| 2006-01-23 Mark Mitchell <mark@codesourcery.com> |
| |
| Backport: |
| 2006-01-23 Mark Mitchell <mark@codesourcery.com> |
| * sim/ppc/words.h (signed32): Define as "int". |
| (unsigned32): Define as "unsigned int". |
| |
| 2006-01-26 Daniel Jacobowitz <dan@codesourcery.com> |
| |
| Backport: |
| 2006-01-24 Daniel Jacobowitz <dan@codesourcery.com> |
| |
| PR gdb/1914 |
| * fork-child.c (fork_inferior): Don't call |
| solib_create_inferior_hook. |
| * infcmd.c (post_create_inferior): Call solib_add, |
| solib_create_inferior_hook, and re_enable_breakpoints_in_shlibs. |
| (attach_command): Don't call solib_add or |
| re_enable_breakpoints_in_shlibs. Call post_create_inferior |
| instead. |
| * remote.c (remote_open_1): Don't call solib_create_inferior_hook |
| or observer_notify_inferior_created. Call post_create_inferior |
| instead. |
| * corelow.c: Don't include "observer.h". |
| (solib_add_stub): Deleted. |
| (core_open): Don't call observer_notify_inferior_created or |
| solib_add_stub. Call post_create_inferior instead. |
| * inf-ptrace.c: Don't include "observer.h". |
| (inf_ptrace_attach): Don't call observer_notify_inferior_created. |
| * inf-ttrace.c: Don't include "observer.h". |
| (inf_ttrace_attach): Don't call observer_notify_inferior_created. |
| * inferior.h (solib_create_inferior_hook): Remove redundant |
| prototype. |
| * inftarg.c: Don't include "observer.h". |
| (child_attach): Don't call observer_notify_inferior_created. |
| * Makefile.in: Update dependencies. |
| |
| 2006-01-26 Daniel Jacobowitz <dan@codesourcery.com> |
| |
| Backport: |
| 2006-01-24 Daniel Jacobowitz <dan@codesourcery.com> |
| |
| * infcmd.c: Include "observer.h". |
| (post_create_inferior): New function. |
| (run_command_1): Call it. Also call proceed. |
| * inferior.h (post_create_inferior): New prototype. |
| * Makefile.in (infcmd.o): Update. |
| |
| * gnu-nat.c (gnu_create_inferior): Don't call proceed. |
| * go32-nat.c (go32_create_inferior): Likewise. |
| * nto-procfs.c (procfs_create_inferior): Likewise. |
| * procfs.c (procfs_create_inferior): Likewise. |
| * remote-sim.c (gdbsim_create_inferior): Likewise. |
| * remote.c (extended_remote_create_inferior) |
| (extended_remote_async_create_inferior): Likewise. |
| * win32-nat.c (win32_create_inferior): Likewise. |
| * wince.c (child_create_inferior): Likewise. |
| |
| * monitor.c (monitor_create_inferior): Don't call proceed. |
| Set the PC manually. |
| * ocd.c (ocd_create_inferior): Likewise. |
| * remote-e7000.c (e7000_create_inferior): Likewise. |
| * remote-m32r-sdi.c (m32r_create_inferior): Likewise. |
| * remote-mips.c (mips_create_inferior): Likewise. |
| * remote-rdi.c (arm_rdi_create_inferior): Likewise. |
| * remote-rdp.c (remote_rdp_create_inferior): Likewise. |
| * remote-sds.c (sds_create_inferior): Likewise. |
| * remote-st.c (st2000_create_inferior): Likewise. |
| |
| * inf-ptrace.c (inf_ptrace_create_inferior): Don't call |
| proceed or observer_notify_inferior_created. |
| * inf-ttrace.c (inf_ttrace_create_inferior): Likewise. |
| * inftarg.c (child_create_inferior): Likewise. |
| |
| 2006-01-13 Mark Mitchell <mark@codesourcery.com> |
| |
| Backport: |
| 2006-01-13 Mark Mitchell <mark@codesourcery.com> |
| * event-loop.c (gdb_select): Detect file descriptors that have |
| been closed. |
| |
| 2005-11-16 Mark Mitchell <mark@codesourcery.com> |
| |
| * gdb/remote-sim.c (gdbsim_wait): Don't use target_signal_to_host |
| or target_signal_from_host. |
| * sim/arm/wrapper.c (gdb/signals.h): Include it. |
| (SIGTRAP): Don't define it. |
| (SIGBUS): Likewise. |
| (sim_stop_reason): Use TARGET_SIGNAL_*. |
| * sim/common/sim-reason.c (sim_stop_reason): Use |
| sim_signal_to_target, not sim_signal_to_host. |
| * sim/common/sim-signal.c (sim_signal_to_host): Fix typo. |
| (sim_signal_to_target): New function. |
| * sim/common/sim-signal.h: Declare it. |
| * sim/d10v/interp.c (gdb/signals.h): Include it. |
| (sim_stop_reason): Use TARGET_SIGNAL_*. |
| * sim/erc32/interf.c: (gdb/signals.h): Include it. |
| (sim_stop_reason): Use TARGET_SIGNAL_*. |
| * sim/ppc/sim_calls.c (gdb/signals.h): Include it. |
| (sim_stop_reason): Use TARGET_SIGNAL_*. |
| |
| 2005-11-16 Mark Mitchell <mark@codesourcery.com> |
| |
| * sim/ppc/configure.ac (USE_WIN32API): Define it. |
| (sys/errno.h): Add it to AC_CHECK_HEADERS list. |
| * sim/ppc/configure.in: Regenerate. |
| * sim/ppc/config.in: Likewise. |
| * sim/ppc/emul_netbsd.c (sys/errno.h): Guard with HAVE_SYS_ERRNO_H. |
| (write_timezone): Guard with HAVE_GETTIMEOFDAY. |
| * sim/ppc/emul_unix.c (do_unix_mkdir): Handle Win32 1-argument mkdir. |
| |
| |