+
+ * top.c (catch_errors): Convert PTR to void * in parameters list.
+ (quit_cover): Ditto.
+
+
+ * source.c (find_source_lines): Remove tui test, must be replaced
+ by appropriate warning hook.
+ (print_source_lines): Remove tui hacks, must be replaced by cli.
+ (forward_search_command): Remove tui hacks, can be replaced by
+ appropriate calls to identify_source_line when tui scrolls.
+ (reverse_search_command): Likewise.
+
+
+ * remote.c (init_remote_ops, init_remote_cisco_ops,
+ init_remote_async_ops): Set to_pid_to_str and
+ to_extra_thread_info correctly and in the same order as declared
+ in target.h.
+
+
+ * remote.c: Revert below. Included more than intended.
+
+
+ * remote.c (init_remote_ops, init_remote_cisco_ops,
+ init_remote_async_ops): Set to_pid_to_str and
+ to_extra_thread_info correctly and in the same order as declared
+ in target.h.
+
+
+ * findvar.c (read_var_value): Apply value_as_pointer() to
+ addresses retrieved from the target for LOC_BASEREG and
+ LOC_BASEREG_ARG variables.
+
+
+ * NEWS: New target CRIS.
+
+
+ * top.c (show_commands): Remove extern decl of history_get, it's
+ already in readline/history.h.
+
+
+ * top.c (is_complete_command, init_cmd_lists, init_cli_cmds,
+ execute_user_command, do_setshow_command, get_prompt, init_proc,
+ serial_log_command): Remove extern declarations. Include
+ cli/cli-cmds.h, cli/cli-script.h, cli/cli-setshow.h, serial.h.
+ * gdbcmd.h (execute_user_command): Remove declaration, it's already
+ in cli/cli-script.h.
+ * command.h (do_setshow_command): Remove declaration, it's already
+ in cli/cli-setshow.h.
+ * infrun.c: Include "cli/cli-script.h" for execute_user_command.
+ * Makefile.in (infrun.o): Update dependencies.
+ (top.o): Ditto.
+ * cli/cli-setshow.h: Add comment for do_setshow_command.
+
+
+ * cli/cli-cmds.c (shell_escape) [GLOBAL_CURDIR]: Condition the
+ call to chdir on this symbol rather than on __DJGPP__.
+ (CANT_FORK) [__MSDOS__]: Move from here...
+ * defs.h (CANT_FORK) [__MSDOS__]: ...to here.
+ (GLOBAL_CURDIR) [__MSDOS__]: Define.
+
+
+ * configure.tgt: Recognise the CRIS architecture.
+ * config/cris/cris.mt: New file for CRIS target.
+ * cris-tdep.c: New file for CRIS target.
+
+
+ * top.c (quit_cover, float_handler): Move definition up before use.
+ (gdb_init): Move to end of file, to avoid calls to not yet defined
+ functions.
+ Delete prototypes.
+
+
+ * serial.h (SERIAL_ASYNC): Delete.
+ (DEPRECATED_SERIAL_FD): Delete.
+ (SERIAL_DEBUG): Delete.
+ (SERIAL_DEBUG_P): Delete.
+ (SERIAL_DRAIN_OUTPUT): Delete.
+ (SERIAL_FLUSH_OUTPUT): Delete.
+ (SERIAL_FLUSH_INPUT): Delete.
+ (SERIAL_SEND_BREAK): Delete.
+ (SERIAL_RAW): Delete.
+ (SERIAL_GET_TTY_STATE): Delete.
+ (SERIAL_SET_TTY_STATE): Delete.
+ (SERIAL_PRINT_TTY_STATE): Delete.
+ (SERIAL_NOFLUSH_SET_TTY_STATE): Delete.
+ (SERIAL_SETBAUDRATE): Delete.
+ (SERIAL_SETSTOPBITS): Delete.
+ (SERIAL_CAN_ASYNC_P): Delete.
+ (SERIAL_IS_ASYNC_P): Delete.
+ (SERIAL_UN_FDOPEN): Delete.
+ (SERIAL_READCHAR): Delete.
+ (SERIAL_CLOSE): Delete.
+ (SERIAL_FDOPEN): Delete.
+ (SERIAL_OPEN): Delete.
+ * ser-unix.c: Update.
+ * sparclet-rom.c: Update.
+ * remote-bug.c: Update.
+ * dsrec.c: Update.
+ * xmodem.c: Update.
+ * nindy-share/ttyflush.c: Update.
+ * nindy-share/Onindy.c: Update.
+ * utils.c: Update.
+ * serial.c: Update.
+ * remote-nindy.c: Update.
+ * inflow.c: Update.
+ * sparcl-tdep.c: Update.
+ * sh3-rom.c: Update.
+ * remote.c: Update.
+ * remote-utils.c: Update.
+ * remote-st.c: Update.
+ * remote-sds.c: Update.
+ * remote-rdp.c: Update.
+ * remote-os9k.c: Update.
+ * remote-nrom.c: Update.
+ * remote-mips.c: Update.
+ * remote-es.c: Update.
+ * remote-e7000.c: Update.
+ * remote-array.c: Update.
+ * ocd.c: Update.
+ * nindy-share/nindy.c: Update.
+ * monitor.c: Update.
+
+
+ * mn10200-tdep.c: Replace value_ptr with ``struct value *''.
+ * mcore-tdep.c: Ditto.
+ * sparc-tdep.c: Ditto.
+ * sh-tdep.c: Ditto.
+ * rs6000-tdep.c: Ditto.
+ * ppc-linux-tdep.c: Ditto.
+ * m68hc11-tdep.c: Ditto.
+ * ia64-tdep.c: Ditto.
+ * i386-tdep.c: Ditto.
+ * arm-linux-tdep.c: Ditto.
+ * hppa-tdep.c: Ditto.
+ * h8500-tdep.c: Ditto.
+ * fr30-tdep.c: Ditto.
+ * arm-tdep.c: Ditto.
+ * alpha-tdep.c: Ditto.
+ * d30v-tdep.c: Ditto.
+ * d10v-tdep.c: Ditto.
+ * m32r-tdep.c: Ditto.
+ * mips-tdep.c: Ditto.
+ * v850-tdep.c: Ditto.
+
+
+ * top.c (readline_line_completion_function, noop_completer): Move
+ from here...
+ * completer.c (readline_line_completion_function, noop_completer):
+ ...to here.
+ * gdbcmd.h (readline_line_completion_function, noop_completer):
+ Move declarations from here...
+ * completer.h (readline_line_completion_function, noop_completer):
+ ...to here.
+ * corefile.c: Include completer.h.
+ * source.c: Ditto.
+ * symfile.c: Ditto.
+ * Makefile.in: Update dependencies.
+
+
+ * go32-nat.c (go32_create_inferior): Support command lines longer
+ than 126 characters.
+
+
+ * NEWS: New target 68HC11/68HC12.
+
+
+ * utils.c (query): Remove tui hacks; tui must use the query_hook.
+ * top.c (command_loop): Remove tui insert_mode hacks; don't call
+ tuiCleanUp because this must be made with atexit by tui.
+ * symfile.c (symbol_file_command): Remove call to TUIDO
+ * stack.c (show_and_print_stack_frame_stub): Remove tui check;
+ not necessary when using the selected frame hooks.
+ (print_stack_frame_stub): Likewise.
+ (print_frame_info_base): Likewise.
+ (print_frame_info): Likewise.
+ (up_silently_command): Likewise.
+ (down_silently_command): Likewise.
+ (show_stack_frame): Likewise for TUIDO.
+ (select_frame): Likewise.
+ (select_and_print_frame): Likewise.
+ (stack_publish_stopped_with_no_frame): Remove.
+ (select_and_maybe_print_frame): Remove.
+ * main.c (captured_main): Remove tui_fileopen and tuiInit; tui
+ must use the initialize ui hook.
+ * infrun.c (normal_stop): Remove call to TUIDO; tui must use the
+ selected frame hooks.
+ * event-top.c (command_handler): Remove tui insert_mode hack.
+ * defs.h: Remove TUIDO; Only include tui.h.
+ * breakpoint.c (mention): Remove calls to TUIDO.
+ (delete_breakpoint): Remove tui hacks; tui must install
+ the breakpoint hooks.
+
+
+ * config/i386/xm-linux.h (KERNEL_U_ADDR): Move from here...
+ * config/i386/nm-linux.h: ...to here. Change comments about user
+ area/struct a bit.
+
+ * config/i386/xm-linux.h (HAVE_TERMIOS): Really remove.
+
+ * Makefile.in (ALLDEPFILES): Add i386bsd-nat.c and i386bsd-tdep.c
+ (i386bsd-tdep.o, i386bsd-nat.o): New targets.
+
+
+ * remote-e7000.c (fetch_regs_from_dump): If register set is null,
+ generate an internal error.
+ (e7000_fetch_registers): Initialize variable 'wanted'.
+ (e7000_wait): Initialize variable 'wanted_nopc'.
+ (e7000_store_register): Fix sprintf compiler warnings.
+ (sub2_from_pc): Ditto.
+ (e7000_open): Close the descriptor, not the name.
+ (e7000_load): Fix compiler warnings.
+ (sub2_from_pc): Ditto.
+ * Makefile.in (remote-e7000.o): Can now compile with -Werror.
+
+
+ * i386bsd-nat.c: Include <signal.h>, <stddef.h> and
+ <sys/sysctl.h>.
+ (store_inferior_registers): Wrap long line.
+ (i386bsd_dr_get_status): Fix typo in comment.
+ (_initialize_i386bsd_nat): New function. * i386bsd-tdep.c: New
+ file. * config/i386/tm-fbsd.h (IN_SIGTRAMP): New define.
+ (i386bsd_in_sigtramp): New prototype.
+ (SIGTRAMP_START, SIGTRAMP_END): Redefine in terms...
+ (i386bsd_sigtramp_start, i386bsd_sigtramp_end): ...these new
+ (external) variables.
+ (SIGCONTEXT_PC_OFFSET): Removed.
+ (FRAME_SAVED_PC): New define.
+ (i386bsd_frame_saved_pc): New function. * config/i386/fbsd.mt
+ (TDEPFILES): Add i386bsd-tdep.o.
+
+
+ * mips-linux-tdep.c (_initialize_mips_linux_tdep): Use ISO C
+ definition.
+
+
+ * lin-lwp.c (lin_lwp_wait): Avoid check for resumed LWPs if there
+ are no registered LWPs yet.
+
+
+ * config/i386/nm-linux.h (CANNOT_FETCH_REGISTER): Call the right
+ function.
+ (CANNOT_STORE_REGISTER): Likewise.
+
+
+ * remote-rdp.c: Include "serial.h"
+
+
+ * gdbserver/remote-utils.c (remote_open): Set VMIN to 1
+ in HAVE_TERMIO/HAVE_TERMIOS cases.
+
+
+ * lin-lwp.c (stop_wait_callback): Add support for flushing
+ signals. Use that in favour of the old code to get rid of
+ superfluous SIGINTs.
+ (lin_lwp_wait): Use the new support in stop_wait_callback to
+ flush all but one SIGINT.
+
+ * i386-tdep.c (i386_extract_return_value): Undo 2001-07-11 changes
+ to comment.
+ (i386_store_return_value): Improve comments about storing
+ floating-point return values.
+
+ * config/arm/xm-linux.h, config/i386/xm-linux.h,
+ config/m68k/xm-linux.h, config/powerpc/xm-linux.h,
+ config/sparc/xm-linux.h, config/ia64/xm-linux.h (HAVE_TERMIOS):
+ Removed. Taken care of by autoconf and terminal.h.
+
+
+ * mips-tdep.c (mips_type_needs_double_align): New function.
+ (mips_push_arguments): Align o32 structs to even argument
+ registers if necessary.
+
+
+ * config/djgpp/fnchange.lst: Add entries for
+ mips-linux-nat.c and mips-linux-tdep.c.
+
+
+ * config/powerpc/xm-linux.h: Fix corrupted file.
+
+ * configure.in: Add check for sigsetjmp.
+ * config/m68k/xm-linux.h (HAVE_SIGSETJMP): Removed.
+ * config/xm-sysv4.h (HAVE_SIGSETJMP): Removed.
+ * configure, config.in: Regenerated.
+
+
+ * config/sh/tm-sh.h (struct gdbarch_tdep): Add
+ FLOAT_ARGLAST_REGNUM, RETURN_REGNUM, ARG0_REGNUM, ARGLAST_REGNUM,
+ PR_REGNUM fields.
+
+ * sh-tdep.c (sh_skip_prologue_hard_way): Rename from
+ skip_prologue_hard_way().
+ (skip_prologue_hard_way): Make it a function pointer.
+ (sh_print_register): Use function pointer do_pseudo_register,
+ instead of sh_do_pseudo_register.
+ (sh_do_registers_info): Ditto.
+ (sh_gdbarch_init): Initialize do_pseudo_register.
+ (IS_MOV_TO_R14): Rename from IS_MOV_R14.
+ (skip_prologue_hard_way): Update.
+ (sh_gdbarch_init): Move setting of frame_chain,
+ get_saved_register, init_extra_frame_info, push_arguments,
+ extract_return_value, pop_frame, store_struct_return,
+ extract_struct_value_address, use_struct_convention,
+ init_extra_frame_info to before target specific settings.
+ (sh_gdbarch_init): Initialize new tdep fields
+ FLOAT_ARGLAST_REGNUM, RETURN_REGNUM, ARG0_REGNUM, ARGLAST_REGNUM,
+ PR_REGNUM.
+ (sh_push_arguments): Use new gdbarch_tdep fields
+ {ARG0,ARGLAST}_REGNUM.
+ (sh_saved_pc_after_call, sh_nofp_frame_init_saved_regs,
+ sh_init_extra_frame_info, sh_push_return_address,
+ sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
+ sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs): Update to use
+ gdbarch_tdep->PR_REGNUM.
+ (dr_reg_base_num, fv_reg_base_num): Move to earlier in the file.
+
+
+ * config/mips/tm-linux.h: Include "tm-linux.h" instead of copying
+ from it. Move definitions of REALTIME_LO and REALTIME_HI above
+ include.
+
+
+ * MAINTAINERS: List myself for MIPS/Linux
+ port.
+
+
+ * gdbserver/remote-utils.c (remote_open): Only
+ check for F_SETOWN if we had F_SETFL and FASYNC.
+
+
+
+ * config/m68k/linux.mh: Remove core-regset.o.
+ * m68klinux-nat.c: Fix comment.
+ (supply_gregset): Change argument to elf_gregset_t *.
+ (supply_fpregset): Change argument to elf_fpregset_t *.
+ (fetch_core_registers): New function.
+ (linux_elf_core_fns): Define.
+ (_initialize_m68k_linux_nat): New function.
+
+
+ * configure.tgt: Mark d10v as pure multi-arch.
+ * config/d10v/tm-d10v.h: Delete file.
+ * config/d10v/d10v.mt (TM_FILE): Delete.
+
+
+ * serial.h (typedef serial_t): Delete. Replace all references to
+ serial_t with `struct serial *'.
+ * serial.c: Update.
+ * nindy-share/ttyflush.c: Update.
+ * nindy-share/ttyflush.c: Update.
+ * nindy-share/Onindy.c: Update.
+ * nindy-share/nindy.c: Update.
+ * remote-rdp.c: Update.
+ * remote-sds.c: Update.
+ * remote-st.c: Update.
+ * remote-nindy.c: Update.
+ * remote-mips.c: Update.
+ * remote-e7000.c: Update.
+ * remote-os9k.c: Update.
+ * remote-nrom.c: Update.
+ * remote-es.c: Update.
+ * remote-array.c: Update.
+ * ocd.c: Update.
+ * mon960-rom.c: Update.
+ * dsrec.c: Update.
+ * inflow.c: Update.
+ * ser-e7kpc.c: Update.
+ * sparclet-rom.c: Update.
+ * srec.h: Update.
+ * ser-tcp.c: Update.
+ * ser-go32.c: Update.
+ * sparcl-tdep.c: Update.
+ * w89k-rom.c: Update.
+ * utils.c: Update.
+ * sh3-rom.c: Update.
+ * remote.c: Update.
+ * ser-pipe.c: Update.
+ * ser-unix.c: Update.
+ * ser-unix.h: Update.
+ * xmodem.c: Update.
+ * xmodem.h: Update.
+
+
+ * gdbserver/remote-utils.c (remote_open): Set gdbserver as "owner"
+ of SIGIO.
+ (input_interrupt): Don't block on read, in case we got redundant
+ SIGIO. Don't gripe about redundant SIGIO.
+ * gdbserver/low-hppabsd.c (mywait): Use waitpid(). Enable SIGIO
+ handler while waiting.
+ * gdbserver/low-linux.c (mywait): Likewise.
+ * gdbserver/low-nbsd.c (mywait): Likewise.
+ * gdbserver/low-sparc.c (mywait): Likewise.
+
+
+ * infrun.c (print_stop_reason): Add missing uiout field
+ "reason" for SIGNAL_RECEIVED case.
+
+
+ * config/alpha/nm-linux.h (TARGET_ELF64, PSIGNAL_IN_SIGNAL_H):
+ Remove unused macro's.
+
+ * config/powerpc/nm-linux.h (NO_SYS_REG_H): Remove, it's no longer
+ used.
+
+
+ * go32-nat.c (info_dos_cmdlist): New variable.
+ (go32_info_dos_command): New function.
+ (_initialize_go32_nat): Convert all DOS-specific commands into
+ subcommands of "info dos". Suggested by Andrew Cagney
+
+
+ * config/nm-linux.h: Fix comments.
+
+ * thread-db.c (enable_thread_event_reporting): Correct warning
+ message about getting thread death breakpoint.
+
+ * i386-tdep.c (i386_extract_return_value): "Fix" comment.
+ (i386_store_return_value): Frob FPU status and tag word to make
+ sure the return value is the only value on the FPU stack.
+
+ * config/tm-linux.h: Do not include <signal.h>. Instead provide
+ reasonable defaults for REALTIME_LO and REALTIME_HI if they're not
+ already defined.
+ * config/nm-linux.h: Include <signal.h>.
+ [__SIGRTMIN] (REALTIME_LO, REALTIME_HI): Define to __SIGRTMIN and
+ (__SIGRTMAX + 1) respectively.
+
+
+ * mcore-rom.c: Include "serial.h".
+ * Makefile.in (mcore-rom.o): Depends on "serial.h".
+
+
+ * Makefile.in (remote-bug.o): Depends on serial.h.
+ * remote-bug.c: Include "serial.h".
+ * MAINTAINERS: Mark m88k target as buildable.
+ * TODO: Update.
+
+
+ Clean up the D10V port so that GDB and the target program no
+ longer disagree on how big pointers are.
+ * findvar.c (value_from_register): Remove special case code for D10V.
+ * printcmd.c (print_frame_args): Same.
+ * valops.c (value_at, value_fetch_lazy): Same.
+ * values.c (unpack_long): Same.
+ * gdbarch.sh: Changes to effect the following:
+ * gdbarch.h (GDB_TARGET_IS_D10V, D10V_MAKE_DADDR,
+ gdbarch_d10v_make_daddr_ftype, gdbarch_d10v_make_daddr,
+ set_gdbarch_d10v_make_daddr, D10V_MAKE_IADDR,
+ gdbarch_d10v_make_iaddr_ftype, gdbarch_d10v_make_iaddr,
+ set_gdbarch_d10v_make_iaddr, D10V_DADDR_P,
+ gdbarch_d10v_daddr_p_ftype, gdbarch_d10v_daddr_p,
+ set_gdbarch_d10v_daddr_p, D10V_IADDR_P,
+ gdbarch_d10v_iaddr_p_ftype, gdbarch_d10v_iaddr_p,
+ set_gdbarch_d10v_iaddr_p, D10V_CONVERT_DADDR_TO_RAW,
+ gdbarch_d10v_convert_daddr_to_raw_ftype,
+ gdbarch_d10v_convert_daddr_to_raw,
+ set_gdbarch_d10v_convert_daddr_to_raw, D10V_CONVERT_IADDR_TO_RAW,
+ gdbarch_d10v_convert_iaddr_to_raw_ftype,
+ gdbarch_d10v_convert_iaddr_to_raw,
+ set_gdbarch_d10v_convert_iaddr_to_raw): Delete declarations.
+ * gdbarch.c: Delete the corresponding definitions.
+ (struct gdbarch): Delete members d10v_make_daddr,
+ d10v_make_iaddr, d10v_daddr_p, d10v_iaddr_p,
+ d10v_convert_daddr_to_raw, and d10v_convert_iaddr_to_raw.
+ (startup_gdbarch): Remove initializers for the above.
+ (verify_gdbarch, gdbarch_dump): Don't verify or dump them any
+ more.
+ * d10v-tdep.c (d10v_register_virtual_type): Rather that
+ claiming the stack pointer and PC are 32 bits long (which they
+ aren't), say that the stack pointer is an int16_t, and the
+ program counter is a function pointer. This allows the rest
+ of GDB to make the appropriate conversions between the code
+ pointer format and real addresses.
+ (d10v_register_convertible, d10v_register_convert_to_virtual,
+ d10v_register_convert_to_raw): Delete function; no registers
+ are convertible now, so we use
+ generic_register_convertible_not instead.
+ (d10v_address_to_pointer, d10v_pointer_to_address): New gdbarch
+ methods.
+ (d10v_push_arguments, d10v_extract_return_value): Remove special
+ cases for code and data pointers.
+ (d10v_gdbarch_init): Set gdbarch_ptr_bit to 16, so that GDB and
+ the target agree on how large pointers are. Say that addresses
+ are 32 bits long. Register the address_to_pointer and
+ pointer_to_address conversion functions. Since no registers are
+ convertible now, register generic_register_convertible_not as the
+ gdbarch_register_convertible method instead of
+ d10v_register_convertible. Remove registrations for
+ d10v_register_convert_to_virtual,
+ d10v_register_convert_to_raw, gdbarch_d10v_make_daddr,
+ gdbarch_d10v_make_iaddr, gdbarch_d10v_daddr_p,
+ gdbarch_d10v_iaddr_p, gdbarch_d10v_convert_daddr_to_raw, and
+ gdbarch_d10v_convert_iaddr_to_raw.
+
+ * printcmd.c (print_scalar_formatted): If we are printing an
+ address, remember that TARGET_ADDR_BIT is not always equal to
+ TARGET_PTR_BIT.
+
+ * valops.c (value_cast): When casting a pointer to an integer,
+ don't convert it to an address.
+
+
+ * remote-utils.h (struct serial): Declare as opaque. Remove
+ include of "serial.h".
+ * Makefile.in (remote_utils_h): Update.
+
+ * monitor.h (struct serial): Declare as opaque. Remove include of
+ "serial.h".
+ (struct monitor_ops): Replace serial_t with `struct serial *'.
+ * monitor.c (monitor_desc): Ditto.
+
+
+ * mips-linux-tdep.c: New file.
+ * mips-linux-nat.c: New file.
+ * config/mips/linux.mh: New file.
+ * config/mips/linux.mt: New file.
+ * config/mips/xm-linux.h: New file.
+ * config/mips/nm-linux.h: New file.
+ * config/mips/tm-linux.h: New file.
+ * configure.host: Recognize mips*-*-linux*.
+ * configure.tgt: Likewise.
+ * NEWS: Mention mips*-*-linux* port.
+
+
+ * serial.h (struct serial): Rename `struct _serial_t'.
+ * serial.c (XMALLOC): Define.
+ (serial_open): Update. Use XMALLOC.
+ (serial_fdopen): Ditto.
+
+
+ * gdbtypes.h (builtin_type_void_data_ptr): Rename
+ builtin_type_ptr.
+ * gdbtypes.c (builtin_type_void_data_ptr): Update.
+ (build_gdbtypes): Update.
+ (_initialize_gdbtypes): Update.
+ * values.c (value_as_pointer): Update.
+ * utils.c (host_pointer_to_address): Update.
+ (address_to_host_pointer): Update.
+
+
+ * remote-udi.c (udi_wait): Make type, instead of name, of first
+ parameter a ptid_t.
+
* ser-mac.c: Make obsolete.