summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Backport:cvs/csl-arm-20050325-branchcsl-arm-20050325-branchDaniel Jacobowitz2005-10-143-0/+15
| | | | | | | | | | 2005-09-09 Richard Earnshaw <richard.earnshaw@arm.com> * bfd/elf32-arm.c (elf32_arm_section_from_shdr): Accept SHT_ARM_PREEMPTMAP and SHT_ARM_ATTRIBUTES. 2005-09-09 Richard Earnshaw <richard.earnshaw@arm.com> * include/elf/arm.h (SHT_ARM_PREEMPTMAP, SHT_ARM_ATTRIBUTES): New defines.
* * readline/rlnotty.c (tgoto): New function.Mark Mitchell2005-06-142-0/+13
|
* *** empty log message ***Mark Mitchell2005-06-131-9/+0
|
* * gdb/corelow.c (core_open): Use bfd_fopen, not bfd_fdopenr.Mark Mitchell2005-06-131-0/+9
| | | | | | | | * gdb/exec.c (exec_file_attach): Likewise. * gdb/solib-frv.c (enable_break2): Likewise. * gdb/solib-svr4.c (enable_break): Likewise. * gdb/solib.c (solib_map_sections): Likewise. * gdb/symfile.c (symfile_bfd_open): Likewise.
* * corelow.c (core_open): Use bfd_fopen, not bfd_fdopenr.Mark Mitchell2005-06-137-6/+19
| | | | | | | | * exec.c (exec_file_attach): Likewise. * solib-frv.c (enable_break2): Likewise. * solib-svr4.c (enable_break): Likewise. * solib.c (solib_map_sections): Likewise. * symfile.c (symfile_bfd_open): Likewise.
* * bfd/opncls.c (bfd_fopen): Mark returned BFD as cacheable if FD == -1.Mark Mitchell2005-06-092-0/+12
|
* * readline/display.c (insert_some_chars): Likewise.Mark Mitchell2005-06-082-4/+11
| | | | (delete_chars): Likewise.
* * readline/input.c (rL_getc): Use getch, not getche.Mark Mitchell2005-06-084-4/+29
| | | | | | | * readline/readline.c (bind_arrow_keys_internal): Translate Windows keysequences into POSIX key sequences. * readline/rlnotty.c (tputs): Fix thinko. (rl_prep_terminal): Set readline_echoing_p.
* * opncls.c (bfd_fopen): Don't set bfd_error unconditionally.Mark Mitchell2005-06-082-3/+10
|
* * opncls.c (bfd_fdopenr): Add missing break statements.Mark Mitchell2005-06-081-3/+3
|
* * bfd/opncls.c (bfd_fopen): New API.Mark Mitchell2005-06-073-59/+79
| | | | | | (bfd_openr): Use it. (bfd_fdopenr): Likewise. * bfd/bfd-in2.h: Regenerated.
* 2005-04-29 Paul Brook <paul@codesourcery.com>gdb-csl-arm-20050325-2005-q1bPaul Brook2005-04-295-269/+280
| | | | | | | | | | * sim/common/callback.c (PIPE_BUF): Provide default refinition. (os_lstat): Use stat if lstat is not available on the host. (os_ftruncate): Return EINVAL if not available on the host. (os_truncate): Ditto. * sim/common/configure.ac: Check for lstat, truncate and ftruncate. * sim/common/configure: Regenerate. * sim/common/config.in: Regenerate.
* 2005-04-29 Paul Brook <paul@codesourcery.com>Paul Brook2005-04-293-0/+13
| | | | | * gdb/remote-sim.c (SIGTRAP): Provide default defnition. * gdb/signals/signals.c (SIGRAP): Ditto.
* 2005-04-28 Paul Brook <paul@codesourcery.com>Paul Brook2005-04-282-2/+9
| | | | * exceptions.c (print_flush): Handle NULL gdb_stdout_serial.
* 2005-04-27 Paul Brook <paul@codesourcery.com>Paul Brook2005-04-282-3/+7
| | | | * sim/common/Make-common.in: Add $(EXEEXT) to "run".
* 2005-04-25 Paul Brook <paul@codesourcery.com>Paul Brook2005-04-253-4/+10
| | | | | * gdb/configure.tgt: Don't build rdi-share library. * gdb/config/arm/embed.mt: Ditto.
* * gdb/ser-tcp.c (net_write_prim): Correct prototype.Mark Mitchell2005-04-054-21/+21
| | | | | | | | | | * readline/input.c (rl_getc): Use getche to read console input on Windows. Revert: 2005-03-28 Mark Mitchell <mark@codesourcery.com> * gdb/event-top.c (gdb_setup_readline): Put console into character-at-a-time mode under Windows.
* 2005-03-30 Paul Brook <paul@codesourcery.com>Paul Brook2005-03-302-0/+12
| | | | * arm/wrapper.c: Provide SIGTRAP and SIGBUS.
* * gdb/Makefile.in (arm-linux-nat.o): Update dependencies.Daniel Jacobowitz2005-03-308-23/+219
| | | | | | | | | | | | | | | | | | | | | | | * gdb/arm-linux-nat.c: Include "gdb_assert.h". (PTRACE_GETWMMXREGS, PTRACE_SETWMMXREGS): Define. (arm_linux_has_wmmx_registers): New flag. (GET_THREAD_ID): Remove stray punctuation. (IWMMXT_REGS_SIZE): Define. (fetch_wmmx_regs, store_wmmx_regs): New functions. (fetch_inferior_registers, store_inferior_registers): Call them. (arm_linux_available_registers): New function. * gdb/inftarg.c (child_xfer_partial): Handle TARGET_OBJECT_AVAILABLE_REGISTERS. * gdb/config/arm/nm-linux.h (arm_linux_available_registers): Add prototype. (NATIVE_XFER_AVAILABLE_REGISTERS): Define. * gdb/gdbserver/linux-arm-low.c (arm_fill_wmmxregset) (arm_store_wmmxregset): Remove stray text. (arm_available_registers): Remove debugging output. Use hex. * gdb/gdbserver/regcache.c (num_registers): Make global. * gdb/gdbserver/server.c (handle_p_packet, handle_P_packet): Check the value of regnum.
* 2005-03-28 Paul Brook <paul@codesourcery.com>Paul Brook2005-03-2924-172/+1310
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Daniel Jacobowitz <dan@codesourcery.com> * gdb/Makefile.in: arm-tdep.o depends on $(observer_h). * gdb/arm-linux-nat.c (fetch_fpregister, fetch_fpregs, store_fpregister, store_fpregs): Rename... (fetch_fpa_register, fetch_fpa_regs, store_fpa_register, store_fpa_regs): ... to this. * gdb/arm-linux-tdep.c (arm_linux_init_abi): Provide ABI specific overrides. * gdb/arm-tdep.c: Include opserver.h. (struct gdbarch_tdep_info): Add. (arm_push_dummy_call): Handle doubleword alignment. (arm_register_type): Handle iWMMXt and VFP regs. (arm_register_byte): Ditto. (arm_pseudo_register_read): New function. (arm_pseudo_register_write): New function. (arm_dwarf_reg_to_regnum): New function. (arm_register_sim_regno): Handle iWMMXT regs. (arm_register_remote_regno): New function. (arm_extract_return_value): Use new macro names. (arm_register_name): Handle iWMMXt and VFP registers. (arm_sim_available_registers): New function. (arm_update_architecture): New function. (arm_gdbarch_init): Handle optional register sets. Register new hooks. Fix misleading error message. (_initialize_arm_tdep): Call observer_attach_inferior_created. * gdb/arm-tdep.h (ARM_NUM_FP_ARG_REGS, ARM_LAST_FP_ARG_REGNUM, FP_REGISTER_SIZE, NUM_FREGS): Rename ... (ARM_NUM_FPA_ARG_REGS, ARM_LAST_FPA_ARG_REGNUM, FPA_REGISTER_SIZE, NUM_FPA_REGS): ... to this. (NUM_IWMMXT_COP0REGS, NUM_IWMMXT_COP1REGS, NUM_IWMMXT_REGS, IWMMXT_COP0_REGSIZE, IWMMXT_COP1_REGSIZE, NUM_VFP_XREGS, VFP_XREG_SIZE, NUM_VFP_SREGS, VFP_SREG_SIZE, NUM_VFP_PSEUDOS): Define. (struct gdbarch_tdep): Add target_has_iwmmxt_regs, target_has_vfp_regs, first_iwmmxt_regnum, target_iwmmxt_regnum, first_vfp_regnum, first_vfp_pseudo and target_vfp_regnum. * gdb/gdbarch.c (struct gdbarch): Add remote_num_g_packet_regs, sim_available_registers and register_remote_regno. (startup_gdbarch, verify_gdbarch): Ditto. (gdbarch_dump): Dump new fields. (gdbarch_remote_num_g_packet_regs_p, gdbarch_remote_num_g_packet_regs, set_gdbarch_remote_num_g_packet_regs, gdbarch_sim_available_registers_p, gdbarch_sim_available_registers, set_gdbarch_sim_available_registers, gdbarch_register_remote_regno_p, gdbarch_register_remote_regno, set_gdbarch_register_remote_regno): New functions. * gdb/gdbarch.h: Add prototypes. * gdb/gdbarch.sh: Add new fields. (deprecated_current_gdbarch_select_hack): Call flush_cached_frames. * gdb/remote-sim.h (gdbsim_create_inferior): Call observer_notify_inferior_created. (gdbsim_xfer_partial): New function. (init_gdbsim_ops): Use it. * gdb/remote.c (struct remote_state): Add num_g_regs. (init_remote_state): Only consider hard regs. Allow target to provide register mapping. (packet_reg_from_regnum): Don't check pseudo regs. (packet_reg_from_pnum): Ditto. (remote_protocol_qPart_availableRegisters): Add. (set_remote_protocol_qPart_availableRegisters_packet_cmd, show_remote_protocol_qPart_availableRegisters_packet_cmd): New functions. (fetch_register_using_p, store_register_using_P): Handle arbitrary register mappings. (fetch_registers_using_g): New function. (remote_fetch_registers): Use it. (store_registers_using_G): New function. (remote_store_registers): Use it. (remote_xfer_partial): Handle TARGET_OBJECT_AVAILABLE_REGISTERS. (show_remote_cmd): Display availableRegisters. (_initialize_remote): Register qPart_availableRegisters. * gdb/target.h (enum target_object): Add TARGET_OBJECT_AVAILABLE_REGISTERS. * gdb/gdbserver/configure.srv (arm*-*-linux*): set srv_linux_regsets=yes. * gdb/gdbserver/linux-arm-low.c (PTRACE_GETWMMXREGS, PTRACE_SETWMMXREGS): Define. (arm_fill_gregset, arm_store_gregset, arm_fill_wmmxregset, arm_store_wmmxregset, arm_available_registers): New functions. (target_regsets): Add. (the_low_target): Use arm_available_registers. * gdb/gdbserver/linux-low.c (linux_available_registers): New function. (linux_target_op): Use it. * gdb/gdbserver/linux-low.h (gdbserver/linux-low.h): Add available_registers. (use_regsets_p): Declare. * gdb/gdbserver/regcache.c (g_register_bytes): Add. (regcache_invalidate, registers_to_string, registers_from_string): Use it. (set_register_cache): Set g_register_bytes. (supply_register_as_string): New function. * gdb/gdbserver/regcache.h (supply_register_as_string): Add prototype. * gdb/gdbserver/server.c (handle_query): Handle qPart:availableRegisters. (handle_p_packet, handle_P_packet): New functions. (main): Handle 'p' and 'P' packets. * gdb/gdbserver/target.h (struct target_ops): Add available_registers. * gdb/regformats/reg-arm.dat: Add last_g_reg and iWMMXT regs. * gdb/regformats/regdat.sh: Handle last_g_reg. * gdb/regformats/regdef.h (set_register_cache): Update prototype.
* * include/libiberty.h (ffs): Declare.Mark Mitchell2005-03-282-0/+11
|
* * gdb/ser-tcp.c (net_read_prim): Use recv unconditionally.Mark Mitchell2005-03-284-112/+7
| | | | | | (net_write_prim): Use send unconditionally. * gdb/configure.ac: Do not check for send and recv. * gdb/configure: Regenerated.
* * gdb/remote-rdi.c (arm_rdi_insert_breakpoint): Don't callDaniel Jacobowitz2005-03-282-1/+6
| | | | arm_pc_is_thumb_dummy.
* * readline/Makefile.in (RLTTYOBJ): New variable.Mark Mitchell2005-03-2813-532/+1310
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (OBJECTS): Use RLTTYOBJ. * readline/aclocal.m4: Use AC_RTY_LINK to check for mbstate_t. * readline/complete.c (pwd.h): Guard with HAVE_PWD_H. (getpwent): Guard with HAVE_GETPWENT. (rl_username_completion_function): Guard use of getpwent. (endpwent): Likewise. * readline/config.h.in (HAVE_FCNTL): New macro. (HAVE_GETPWENT): Likewise. (HAVE_GETPWNAM): Likewise. (HAVE_GETPWUID): Likewise. (HAVE_PWD_H): Likewise. * readline/configure: Regenerated. * readline/configure.in: Handle MinGW when cross compiling. Check for getpwnam, getpwent, getpwuid, and pwd.h. Set RLTTYOBJ. * readline/display.c (rl_clear_screen): Treat Windows like DOS. (insert_some_chars): Likewise. (delete_chars): Likewise. * readline/rldefs.h (NEW_TTY_DRIVER): Do not define for Windows. * readline/rlnotty.c: New file. * readline/shell.c (pwd.h): Guard with HAVE_PWD_H. (getpwuid): Guard with HAVE_GETPWUID. (sh_unset_nodelay_mode): Guard use of fnctl with HAVE_FNCTL_H. * readline/signals.c (rl_signal_handler): Don't use SIGALRM or SIGQUIT if not defined. Use "raise" rather than "kill". (rl_set_signals): Don't set handlers for SIGQUIT or SIGALRM if they are not defined. (rl_clear_signals): Likewise. * readline/tilde.c (pwd.h): Guard with HAVE_PWD_H. (getpwuid): Guard declaration with HAVE_GETPWUID. (getpwnam): Guard declaration with HAVE_GETPWNAM. (tilde_expand_word): Guard use of getpwnam with HAVE_GETPWNAM.
* Fix typo in ChangeLogMark Mitchell2005-03-281-1/+1
|
* Fix typo in ChangeLogMark Mitchell2005-03-281-0/+1
|
* * gdb/configure.ac: No tgetent on MinGW.Mark Mitchell2005-03-285-3/+89
| | | | | | | | | | | * gdb/event-loop.c (struct gdb_notifier): Add "handles" for Windows. (create_file_handler): On Windows, update handles, rather than check_masks and ready_masks. (delete_file_handler): Likewise. (gdb_wait_for_event): Use WaitForMultipleObjects, not select, on Windows. * gdb/event-top.c (gdb_setup_readline): Put console into character-at-a-time mode under Windows.
* Add missing filesMark Mitchell2005-03-282-6/+188
|
* * gdb/configure.ac: Link with -lws2_32 on mingw.Mark Mitchell2005-03-2810-207/+288
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gdb/configure: Regenerated. * gdb/defs.h (WINAPI): Define, conditionally. * gdb/ser-base.c (winsock2.h): Include it. (fd_event): Use read_prim. (ser_base_wait_for): Moved here from ser-unix.c. (do_ser_base_readchar): Likewise. (generic_readchar): Likewise. (ser_base_readchar): Likewise. * gdb/ser-base.h (generic_readchar): Declare. (ser_base_readchar): Likewise. * gdb/ser-pipe.c (_initialize_ser_pipe): Adjust for name changes. * gdb/ser-tcp.c (winsock2.h): Include it. (ETIMEDOUT): Define on Windows. (closesocket): Define on UNIX. (ioctlsocket): Likewise. (net_open): Adjust for differences in socket functions between Windows and UNIX. (_initialize_ser_tcp): Adjust for name changes. (net_read_prim): New function. (net_write_prim): Likewise. * gdb/ser-unix.c (generic_readchar): Remove. (ser_unix_wait_for): Likewise. (do_unix_readchar): Likewise. (ser_unix_readchar): Likewise. (_initialize_ser_hardwire): Adjust for name changes. (ser_unix_read_prim): New function. (ser_unix_write_prim): New function. * gdb/ser-unix.h (ser_unix_readchar): Remove. (ser_unix_read_prim): Declare. (ser_unix_write_prim): Declare. * gdb/serial.h (struct serial_ops): Add read_prim and write_prim. * gdb/utils.c (winerror.h): Include it. (safe_strerror): Handle winsock errors.
* Backport from mainline:Mark Mitchell2005-03-284-29/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-03-25 Mark Mitchell <mark@codesourcery.com> * ser-base.c (ser_unix_write): Rename to ... (ser_base_write): ... this. (ser_unix_nop_flush_output): Rename to ... (ser_base_flush_output): ... this. (ser_unix_flush_input): Rename to ... (ser_base_flush_input): ... this. (ser_unix_nop_send_break): Rename to ... (ser_base_send_break): ... this. (ser_unix_nop_drain_output): Rename to ... (ser_base_drain_output): ... this. (ser_unix_nop_raw): Rename to ... (ser_base_raw): ... this. (ser_unix_nop_get_tty_state): Rename to ... (ser_base_set_tty_state): ... this. (ser_unix_nop_noflush_set_tty_state): Rename to ... (ser_base_noflush_set_tty_state): ... this. (ser_unix_nop_print_tty_state): Rename to ... (ser_base_print_tty_state): ... this. (ser_unix_nop_setbaudrate): Rename to ... (ser_base_setbaudrate): ... this. (ser_unix_nop_setstopbits): Rename to ... (ser_base_setstopbits): ... this. (ser_unix_async): Rename to ... (ser_base_async): ... this. * ser-base.h (ser_unix_write): Rename to ... (ser_base_write): ... this. (ser_unix_nop_flush_output): Rename to ... (ser_base_flush_output): ... this. (ser_unix_flush_input): Rename to ... (ser_base_flush_input): ... this. (ser_unix_nop_send_break): Rename to ... (ser_base_send_break): ... this. (ser_unix_nop_drain_output): Rename to ... (ser_base_drain_output): ... this. (ser_unix_nop_raw): Rename to ... (ser_base_raw): ... this. (ser_unix_nop_get_tty_state): Rename to ... (ser_base_set_tty_state): ... this. (ser_unix_nop_noflush_set_tty_state): Rename to ... (ser_base_noflush_set_tty_state): ... this. (ser_unix_nop_print_tty_state): Rename to ... (ser_base_print_tty_state): ... this. (ser_unix_nop_setbaudrate): Rename to ... (ser_base_setbaudrate): ... this. (ser_unix_nop_setstopbits): Rename to ... (ser_base_setstopbits): ... this. (ser_unix_async): Rename to ... (ser_base_async): ... this. * ser-pipe.c (_initialize_ser_pipe): Update accordingly. * ser-tcp.c (_initialize_ser_tcp): Likewise. * ser-unix.c (hardwire_flush_input): Likewise. (_initializer_ser_hardwire): Likewise.
* Backport from mainline.Mark Mitchell2005-03-288-323/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-03-22 Mark Mitchell <mark@codesourcery.com> * Makefile.in (SFILES): Add ser-base.c. (ser_base_h): New variable. (ser-base.o): New target. (ser-pipe.o): Depend on $(ser_base_h). (ser-tcp.o): Likewise. (ser-unix.o): Likewise. Do not depend on $(event_loop_h). * configure.ac (SER_HARDWIRE): Include ser-base.o where appropriate. * ser-base.c: New file. (push_event): Move from ser-unix.c. (fd_event): Likewise. (reschedule): Likewise. (ser_unix_write): Likewise. (ser_unix_nop_flush_output): Likewise. (ser_unix_flush_input): Likewise. (ser_unix_nop_send_break): Likewise. (ser_unix_nop_drain_output): Likewise. (ser_unix_nop_raw): Likewise. (ser_unix_nop_get_tty_state): Likewise. (ser_unix_nop_set_tty_state): Likewise. (ser_unix_nop_noflush_set_tty_state): Likewise. (ser_unix_nop_print_tty_state): Likewise. (ser_unix_nop_setbaudrate): Likewise. (ser_unix_nop_setstopbits): Likewise. (ser_unix_async): Likewise. * ser-base.h: New file. * ser-pipe.c (ser-base.h): Include it. * ser-tcp.c (ser-base.h): Likewise. * ser-unix.h (ser_unix_nop_flush_output): Remove. (ser_unix_flush_input): Likewise. (ser_unix_nop_send_break): Likewise. (ser_unix_nop_raw): Likewise. (ser_unix_nop_get_tty_state): Likewise. (ser_unix_nop_set_tty_state): Likewise. (ser_unix_nop_print_tty_state): Likewise. (ser_unix_nop_noflush_set_tty_state): Likewise. (ser_unix_nop_setbaudrate): Likewise. (ser_unix_nop_setstopbits): Likewise. (ser_unix_nop_drain_output): Likewise. (ser_unix_wait_for): Likewise. (ser_unix_write): Likewise. (ser_unix_async): Likewise. * ser-unix.c (event-loop.h): Do not include it. (push_event): Move to ser-base.c. (fd_event): Likewise. (reschedule): Likewise. (ser_unix_write): Likewise. (ser_unix_nop_flush_output): Likewise. (ser_unix_flush_input): Likewise. (ser_unix_nop_send_break): Likewise. (ser_unix_nop_drain_output): Likewise. (ser_unix_nop_raw): Likewise. (ser_unix_nop_get_tty_state): Likewise. (ser_unix_nop_set_tty_state): Likewise. (ser_unix_nop_noflush_set_tty_state): Likewise. (ser_unix_nop_print_tty_state): Likewise. (ser_unix_nop_setbaudrate): Likewise. (ser_unix_nop_setstopbits): Likewise. (ser_unix_async): Likewise. (ser_unix_wait_for): Make it static.
* * gdb/Makefile.in (arm-linux-nat.o): Update dependencies.Daniel Jacobowitz2005-03-255-4/+79
| | | | | | | | | | | * gdb/arm-linux-nat.c: Include "gdb_proc_service.h". (PTRACE_GET_THREAD_AREA): Define. (ps_get_thread_area): New function. * gdb/gdbserver/Makefile.in (linux-arm-low.o): Update dependencies. * gdb/gdbserver/linux-arm-low.c: Include "../gdb_proc_service.h". (PTRACE_GET_THREAD_AREA): Define. (ps_get_thread_area): New function.
* * gdb/configure.tgt: Add default OSABI setting forDaniel Jacobowitz2005-03-258-30/+252
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | arm*-*-linux-gnueabi. * gdb/arm-tdep.c (arm_type_align): New function. (arm_push_dummy_call): Use it. Ensure proper argument alignment. Don't try to align the stack. (arm_frame_align): New function. (arm_extract_struct_value_address): Remove. (arm_use_struct_convention): Rename... (arm_return_in_memory): ... To this. Return nonzero for all small aggregates under the EABI. (arm_return_value): New function. (arm_elf_osabi_sniffer): Add EF_ARM_EABI_VER4 case. Handle GDB_OSABI_ARM_EABI_V4_LINUX. (arm_gdbarch_init): Set different FPU and ABI defaults for EABI objects. Use set_gdbarch_return_value instead of obsolete functions. Call set_gdbarch_frame_align. (arm_init_abi_eabi_v4): New function. (_initialize_arm_tdep): Register GDB_OSABI_ARM_EABI_V4. * gdb/arm-linux-tdep.c (ARM_LINUX_EABI_JB_PC): Define. (arm_linux_eabi_init_abi): New function. (_initialize_arm_linux_tdep): Register GDB_OSABI_ARM_EABI_V4_LINUX. * gdb/arm-tdep.h (enum arm_abi_variant): New. (struct gdbarch_tdep): Add abi field. * gdb/defs.h (enum gdb_osabi): Add GDB_OSABI_ARM_EABI_V4 and GDB_OSABI_ARM_EABI_V4_LINUX. * gdb/osabi.c (gdb_osabi_name): Add "ARM EABI v4" and "ARM EABI v4 GNU/Linux". * gdb/testsuite/gdb.base/long_long.exp: Don't expect FPA format for ARM EABI targets.
* * gdb/arm-linux-nat.c (store_register, store_regs): HandleDaniel Jacobowitz2005-03-252-0/+15
| | | | ARM_PS_REGNUM.
* * gdb/arm-tdep.c (target_is_thumb, caller_is_thumb)Daniel Jacobowitz2005-03-252-36/+7
| | | | | (arm_pc_is_thumb_dummy): Remove. (arm_breakpoint_from_pc): Don't call arm_pc_is_thumb_dummy.
* * gdb/arm-linux-tdep.c (arm_linux_thumb_be_breakpoint)Daniel Jacobowitz2005-03-252-4/+20
| | | | | (arm_linux_thumb_le_breakpoint): New. Update comments. (arm_linux_init_abi): Set Thumb breakpoints also.
* * gdb/Makefile.in (arm-tdep.o): Update dependencies.Daniel Jacobowitz2005-03-253-1/+11
| | | | | * gdb/arm-tdep.c: Include "objfiles.h" and "dwarf2-frame.h". (arm_gdbarch_init): Register dwarf2_frame_sniffer.
* * gdb/elfread.c (elf_symtab_read): Skip symbols which BFD considersDaniel Jacobowitz2005-03-253-6/+16
| | | | special.
* * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserverDaniel Jacobowitz2005-03-25767-139571/+362
| | | | | downloads. * config/gdbserver.exp (gdb_load): Likewise.
* * ser-base.c (ser_unix_write): Rename to ...Mark Mitchell2005-03-256-66/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (ser_base_write): ... this. (ser_unix_nop_flush_output): Rename to ... (ser_base_flush_output): ... this. (ser_unix_flush_input): Rename to ... (ser_base_flush_input): ... this. (ser_unix_nop_send_break): Rename to ... (ser_base_send_break): ... this. (ser_unix_nop_drain_output): Rename to ... (ser_base_drain_output): ... this. (ser_unix_nop_raw): Rename to ... (ser_base_raw): ... this. (ser_unix_nop_get_tty_state): Rename to ... (ser_base_set_tty_state): ... this. (ser_unix_nop_noflush_set_tty_state): Rename to ... (ser_base_noflush_set_tty_state): ... this. (ser_unix_nop_print_tty_state): Rename to ... (ser_base_print_tty_state): ... this. (ser_unix_nop_setbaudrate): Rename to ... (ser_base_setbaudrate): ... this. (ser_unix_nop_setstopbits): Rename to ... (ser_base_setstopbits): ... this. (ser_unix_async): Rename to ... (ser_base_async): ... this. * ser-base.h (ser_unix_write): Rename to ... (ser_base_write): ... this. (ser_unix_nop_flush_output): Rename to ... (ser_base_flush_output): ... this. (ser_unix_flush_input): Rename to ... (ser_base_flush_input): ... this. (ser_unix_nop_send_break): Rename to ... (ser_base_send_break): ... this. (ser_unix_nop_drain_output): Rename to ... (ser_base_drain_output): ... this. (ser_unix_nop_raw): Rename to ... (ser_base_raw): ... this. (ser_unix_nop_get_tty_state): Rename to ... (ser_base_set_tty_state): ... this. (ser_unix_nop_noflush_set_tty_state): Rename to ... (ser_base_noflush_set_tty_state): ... this. (ser_unix_nop_print_tty_state): Rename to ... (ser_base_print_tty_state): ... this. (ser_unix_nop_setbaudrate): Rename to ... (ser_base_setbaudrate): ... this. (ser_unix_nop_setstopbits): Rename to ... (ser_base_setstopbits): ... this. (ser_unix_async): Rename to ... (ser_base_async): ... this. * ser-pipe.c (_initialize_ser_pipe): Update accordingly. * ser-tcp.c (_initialize_ser_tcp): Likewise. * ser-unix.c (hardwire_flush_input): Likewise. (_initializer_ser_hardwire): Likewise.
* * Makefile.in (SFILES): Add ser-base.c.Mark Mitchell2005-03-2510-323/+437
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (ser_base_h): New variable. (ser-base.o): New target. (ser-pipe.o): Depend on $(ser_base_h). (ser-tcp.o): Likewise. (ser-unix.o): Likewise. Do not depend on $(event_loop_h). * configure.ac (SER_HARDWIRE): Include ser-base.o where appropriate. * ser-base.c: New file. (push_event): Move from ser-unix.c. (fd_event): Likewise. (reschedule): Likewise. (ser_unix_write): Likewise. (ser_unix_nop_flush_output): Likewise. (ser_unix_flush_input): Likewise. (ser_unix_nop_send_break): Likewise. (ser_unix_nop_drain_output): Likewise. (ser_unix_nop_raw): Likewise. (ser_unix_nop_get_tty_state): Likewise. (ser_unix_nop_set_tty_state): Likewise. (ser_unix_nop_noflush_set_tty_state): Likewise. (ser_unix_nop_print_tty_state): Likewise. (ser_unix_nop_setbaudrate): Likewise. (ser_unix_nop_setstopbits): Likewise. (ser_unix_async): Likewise. * ser-base.h: New file. * ser-pipe.c (ser-base.h): Include it. * ser-tcp.c (ser-base.h): Likewise. * ser-unix.h (ser_unix_nop_flush_output): Remove. (ser_unix_flush_input): Likewise. (ser_unix_nop_send_break): Likewise. (ser_unix_nop_raw): Likewise. (ser_unix_nop_get_tty_state): Likewise. (ser_unix_nop_set_tty_state): Likewise. (ser_unix_nop_print_tty_state): Likewise. (ser_unix_nop_noflush_set_tty_state): Likewise. (ser_unix_nop_setbaudrate): Likewise. (ser_unix_nop_setstopbits): Likewise. (ser_unix_nop_drain_output): Likewise. (ser_unix_wait_for): Likewise. (ser_unix_write): Likewise. (ser_unix_async): Likewise. * ser-unix.c (event-loop.h): Do not include it. (push_event): Move to ser-base.c. (fd_event): Likewise. (reschedule): Likewise. (ser_unix_write): Likewise. (ser_unix_nop_flush_output): Likewise. (ser_unix_flush_input): Likewise. (ser_unix_nop_send_break): Likewise. (ser_unix_nop_drain_output): Likewise. (ser_unix_nop_raw): Likewise. (ser_unix_nop_get_tty_state): Likewise. (ser_unix_nop_set_tty_state): Likewise. (ser_unix_nop_noflush_set_tty_state): Likewise. (ser_unix_nop_print_tty_state): Likewise. (ser_unix_nop_setbaudrate): Likewise. (ser_unix_nop_setstopbits): Likewise. (ser_unix_async): Likewise. (ser_unix_wait_for): Make it static. * configure: Regenerated.
* * dwarf2-frame.h: Update copyrigh year.csl-arm-20050325-branchpointMark Kettenis2005-03-253-9/+52
| | | | | | | | (enum dwarf2_frame_reg_rule): Add DWARF2_FRAME_REG_RA_OFFSET. * dwarf2-frame.c: Update copyright year. (struct dwarf2_frame_cache): Add member `retaddr_reg'. (dwarf2_frame_cache): Deal with DWARF2_FRAME_REG_RA_OFFSET. (dwarf2_frame_prev_register): Handle DWARF2_FRAME_REG_RA_OFFSET.
* 2005-03-25 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2005-03-253-62/+50
| | | | | * configure.in (RPATH_ENVVAR): Set to DYLD_LIBRARY_PATH on Darwin. * configure: Regenerate.
* merge from gccDJ Delorie2005-03-2512-11/+219
|
* merge from gccDJ Delorie2005-03-251-0/+4
|
* *** empty log message ***gdbadmin2005-03-251-1/+1
|
* 2005-03-24 Eric Christopher <echristo@redhat.com>Eric Christopher2005-03-242-20/+24
| | | | | | | | | | * elfxx-mips.c: Revert previous patch. 2005-03-24 Eric Christopher <echristo@redhat.com> * ld-mips-elf/rel32-n32.d: Revert changes. * ld-mips-elf/rel32-o32.d: Ditto. * ld-mips-elf/rel64.d: Ditto.
* (_bfd_target_vector): Only include the bfd_elf32_ia64_hpux_big_vec vectorNick Clifton2005-03-242-0/+8
| | | | when building a 64-bit BFD with all targets enabled.
* (BFD32_BACKENDS): Delete elf32-ia64.lo.Nick Clifton2005-03-243-2/+12
| | | | (BFD64_BACKENDS): Add elf32-ia64.lo.
* * cris/Makefile.in (stamp-v10fcpu, stamp-v32fcpu): Add kludge toHans-Peter Nilsson2005-03-2421-25/+39
| | | | | | | | | | | include cgen-ops.h in decodev10.c and decodev32.c. * cris/sim-main.h: Don't include cgen-ops.h here. * cris/arch.c, cris/arch.h, cris/cpuall.h, cris/cpuv10.c, cris/cpuv10.h, cris/cpuv32.c, cris/cpuv32.h, cris/cris-desc.c, cris/cris-desc.h, cris/cris-opc.h, cris/decodev10.c, cris/decodev10.h, cris/decodev32.c, cris/decodev32.h, cris/modelv10.c, cris/modelv32.c, cris/semcrisv10f-switch.c, cris/semcrisv32f-switch.c: Regenerate.