+2002-02-13 Elena Zannoni <ezannoni@redhat.com>
+
+ * linux-proc.c: Add include of regcache.h.
+ * Makefile.in (linux-proc.o): Add dependency on regcache.h.
+
+2002-02-13 Andrew Cagney <ac131313@redhat.com>
+
+ From 2002-01-18 Greg McGary <greg@mcgary.org>:
+ * memattr.c (create_mem_region): Disallow useless empty region. Regions
+ are half-open intervals, so allow [A..B) [B..C) as non-overlapping.
+
+2002-02-13 Michael Chastain <mec@shout.net>
+
+ * defs.h: Kill CONST_PTR.
+ * c-lang.h (c_builtin_types): Change CONST_PTR to simple "const".
+ * c-lang.c (c_builtin_types): Likewise.
+ * ch-lang.c (ch_builtin_types): Likewise.
+ * f-lang.c (f_builtin_types): Likewise.
+ * language.c (unknown_builtin_types): Likewise.
+ * m2-lang.c (m2_builtin_types): Likewise.
+ * p-lang.c (pascal_builtin_types): Likewise.
+ * scm-lang.c (c_builtin_types): Likewise.
+
+2002-02-13 Keith Seitz <keiths@redhat.com>
+
+ * arm-tdep.h (arm_get_next_pc): Add declaration.
+
+2002-02-13 Richard Earnshaw <rearnsha@arm.com>
+
+ * arm-tdep.c (arm_use_struct_convention): Make static. Move to be
+ with other related struct-returning functions.
+ (arm_extract_struct_value_address): New function.
+ (arm_gdbarch_init): Initialize the above in multi-arch vector. Also
+ initialize float_format, double_format and long_double_format as
+ appropriate to the endianness of the target.
+ * config/arm/tm-arm.h (TARGET_DOUBLE_FORMAT): Delete.
+ (arm_use_struct_convention): Delete declaration.
+ (USE_STRUCT_CONVENTION, EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
+
+2002-02-13 Keith Seitz <keiths@redhat.com>
+
+ * defs.h (core_addr_to_string_nz): New function.
+
+2002-02-13 Mark Kettenis <kettenis@gnu.org>
+
+ Apply missing bits of 2002-01-15 patch.
+ * i386v4-nat.c (supply_fpregset): Use i387_supply_fsave.
+ (fill_fpregset): Use i387_fill_fsave.
+
+2002-02-12 Keith Seitz <keiths@redhat.com>
+
+ * utils.c (core_addr_to_string): Use phex instead of phex_nz.
+ (core_addr_to_string_nz): New function.
+
+2002-02-11 Richard Earnshaw <rearnsha@arm.com>
+
+ * arm-linux-nat.c: Really include arm-tdep.h.
+ * config/arm/tm-linux.h (struct type, struct value): Declare.
+
+2002-02-11 Richard Earnshaw <rearnsha@arm.com>
+
+ * arm-tdep.h: New file.
+ * arm-tdep.c: Include arm-tdep.h.
+ (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
+ (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
+ (arm_print_float_info, arm_register_type, convert_to_extended)
+ (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
+ (arm_extract_return_value, arm_register_name): Make static.
+ (arm_software_single_step): Similarly. Fix types in declaration.
+ (arm_register_byte, arm_register_raw_size, arm_register_virtual_size)
+ (arm_store_return_value, arm_store_struct_return): New functions.
+ (arm_gdbarch_init): Register the above functions. Also register
+ call_dummy_start_offset, sizeof_call_dummy_words,
+ function_start_offset, inner_than, decr_pc_after_break, fp_regnum,
+ sp_regnum, pc_regnum, register_bytes, num_regs, max_register_raw_size,
+ max_register_virtual_size, register_size. Set up
+ prologue_cache.saved_regs here, rather than ...
+ (_initialize_arm_tdep): ... here.
+ * config/arm/tm-arm.h (struct type, struct value): Delete forward
+ declarations.
+ (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
+ (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
+ (arm_print_float_info, arm_register_type, convert_to_extended)
+ (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
+ (arm_extract_return_value, arm_register_name): Delete declarations.
+ (SMASH_TEXT_ADDRESS, ADDR_BITS_REMOVE, FUNCTION_START_OFFSET)
+ (SKIP_PROLOGUE, SAVED_PC_AFTER_CALL, INNER_THAN, BREAKPOINT_FROM_PC)
+ (DECR_PC_AFTER_BREAK, PRINT_FLOAT_INFO, REGISTER_SIZE, NUM_REGS)
+ (REGISTER_NAME, REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE)
+ (REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE)
+ (MAX_REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN)
+ (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, CALL_DUMMY_WORDS)
+ (SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_START_OFFSET, FIX_CALL_DUMMY)
+ (SOFTWARE_SINGLE_STEP_P, SOFTWARE_SINGLE_STEP)
+ (ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL) Delete.
+ (arm_pc_is_thumb, arm_pc_is_thumb_dummy, thumb_get_next_pc)
+ (arm_get_next_pc): No-longer static -- these are needed by the RDI
+ interface.
+ * arm-linux-nat.c arm-linux-tdep.c armnbsd-nat.c: Include arm-tdep.h.
+ * remote-rdi.c remote-rdp.c: Likewise.
+ * Makefile.in (arm-linux-nat.o, arm-linux-tdep.o arm-tdep.o)
+ (armnbsd-nat.o, remote-rdi.o, remote_rdp.o): Update dependencies.
+ * config/arm/tm-nbsd.h (SOFTWARE_SINGLE_STEP_P): Delete bogus
+ definition.
+
+ * arm-tdep.h (ARM_A1_REGNUM, ARM_A4_REGNUM, ARM_AP_REGNUM)
+ (ARM_SP_REGNUM, ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_F0_REGNUM)
+ (ARM_F3_REGNUM, ARM_F7_REGNUM, ARM_FPS_REGNUM, ARM_PS_REGNUM): Renamed
+ from non-ARM_ prefixed definitions.
+ * arm-tdep.c armnbsd-nat.c arm-linux-nat.c arm-linux-tdep.c: Update
+ all uses of above.
+ * remote-rdi.c remote-rdp.c: Likewise.
+ * arm-linux-nat.c (ARM_CPSR_REGNUM): Renamed from CPSR_REGNUM.
+
+2002-02-11 Richard Earnshaw <rearnsha@arm.com>
+
+ * arm-tdep.c (arm_frameless_function_invocation)
+ (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args)
+ (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc)
+ (arm_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame)
+ (arm_pop_frame, arm_get_next_pc): Make static.
+ (arm_gdbarch_init): Register above in gdbarch structure.
+ (arm_read_fp): Renamed from arm_target_read_fp.
+ (arm_pc_is_thumb, arm_pc_is_thumb_dummy): Make static.
+ * config/arm/tm-arm.h (arm_frameless_function_invocation)
+ (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args)
+ (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc)
+ (arm_target_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame)
+ (arm_pop_frame, arm_get_next_pc, arm_pc_is_thumb)
+ (arm_pc_is_thumb_dummy): Delete declarations.
+ (INIT_EXTRA_FRAME_INFO, TARGET_READ_FP, FRAME_CHAIN)
+ (FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_ARGS_ADDRESS)
+ (FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, FRAME_ARGS_SKIP)
+ (FRAME_INIT_SAVED_REGS, PUSH_DUMMY_FRAME, POP_FRAME): Delete.
+
+2002-02-10 Daniel Jacobowitz <drow@mvista.com>
+
+ * symtab.c (compare_search_syms): New function.
+ (sort_search_symbols): New function.
+ (search_symbols): Sort symbols after searching rather than
+ before.
+
+2002-02-10 Andrew Cagney <ac131313@redhat.com>
+
+ * NEWS: Linux -> GNU/Linux.
+
+2002-02-10 Andrew Cagney <ac131313@redhat.com>
+
+ * gdbarch.sh: For for level one methods, disallow a definition
+ when partially multi-arched. Add comments explaining rationale.
+ * gdbarch.h: Re-generate.
+
+2002-02-10 Andrew Cagney <ac131313@redhat.com>
+
+ * gdbarch.sh (EXTRA_STACK_ALIGNMENT_NEEDED): Don't require when
+ multi-arch partial.
+
+2002-02-10 Andrew Cagney <ac131313@redhat.com>
+
+ * gdbarch.sh: Map LEVEL onto a symbolic GT_LEVEL. Exit on bad
+ field. Use diff -u.
+ * gdbarch.c: Re-generate.
+
+2002-02-10 Andrew Cagney <ac131313@redhat.com>
+
+ * config/mips/tm-mips.h (CALL_DUMMY_LOCATION): Delete.
+ * gdbarch.sh (PUSH_RETURN_ADDRESS): Don't require when multi-arch
+ partial.
+
+2002-02-10 Andrew Cagney <ac131313@redhat.com>
+
+ * gdbarch.sh (REGISTER_CONVERTIBLE): Don't require when
+ multi-arch partial.
+ (PUSH_ARGUMENTS): Switch to using predefault.
+ * gdbarch.c: Regenerate.
+
+2002-02-10 Andrew Cagney <ac131313@redhat.com>
+
+ * valops.c (PUSH_ARGUMENTS): Delete definition.
+ * gdbarch.sh (PUSH_ARGUMENTS): Don't require when multi-arch
+ partial. Default to default_push_arguments.
+ * gdbarch.h, gdbarch.c: Regenerate.
+
+2002-02-09 Andrew Cagney <ac131313@redhat.com>
+
+ * defs.h (throw_exception): Rename return_to_top_level. Update
+ comments.
+ * utils.c (error_stream, internal_verror, quit): Ditto.
+ * top.c (throw_exception, catcher): Ditto.
+ * sparclet-rom.c (sparclet_load): Ditto.
+ * remote.c (interrupt_query, minitelnet): Ditto.
+ * remote-sds.c (interrupt_query): Ditto.
+ * remote-mips.c (mips_error, mips_kill): Ditto.
+ * ocd.c (interrupt_query): Ditto.
+ * monitor.c (monitor_interrupt_query): Ditto.
+ * m3-nat.c (suspend_all_threads, thread_resume_command): Ditto.
+ * target.h: Update comment.
+
+ * m3-nat.c, ocd.c, sparclet-rom.c: Update copyright.
+
+2002-02-09 Andrew Cagney <ac131313@redhat.com>
+
+ * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Default to
+ default_double_format.
+ * gdbarch.h, gdbarch.c: Re-generate.
+ * findvar.c (floatformat_unknown): Delete variable definition.
+ * doublest.h (floatformat_unknown): Delete variable declaration.
+
+2002-02-09 Jim Blandy <jimb@redhat.com>
+
+ * stabsread.c (read_type): Add code to parse Sun's syntax for
+ prototyped function types.
+
+2002-02-09 Andrew Cagney <ac131313@redhat.com>
+
+ * Makefile.in (SUBDIR_CLI_INITS): Set to SUBDIR_CLI_SRCS.
+ (SUBDIR_MI_INITS): Set to SUBDIR_MI_SRCS.
+
+2002-02-09 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
+
+ * xcoffsolib.c (_initialize_xcoffsolib): Renamed from
+ _initialize_solib. Fixes name clash with solib.c:_initialize_solib,
+ now _initialize_xcoffsolib gets called again and overrides the
+ commands from solib.c in a native configuration.
+
+2002-02-09 Mark Kettenis <kettenis@gnu.org>
+
+ * doublest.c (store_typed_floating): Don't try to return a value.
+ Fixes PR gdb/290.
+
+2002-02-08 Jim Blandy <jimb@redhat.com>
+
+ * c-typeprint.c (c_type_print_varspec_suffix): If a function type
+ is prototyped and has no arguments, print its argument list as
+ `(void)'.
+
+2002-02-08 Chris Demetriou <cgd@broadcom.com>
+
+ * MAINTAINERS (write-after-approval): Add myself.
+ (paper-trail): I've escaped!
+
+2002-02-08 Christopher Faylor <cgf@redhat.com>
+
+ * win32-nat.c (cygwin_pid_to_str): Revert 2002-02-08 change xasprintf
+ changes.
+ (_initialize_check_for_gdb_ini): Ditto.
+
+2002-02-08 Martin M. Hunt <hunt@redhat.com>
+
+ * win32-nat.c (cygwin_pid_to_str): Fix typo.
+ xaprintf -> xasprintf.
+
+2002-02-08 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * win32-nat.c: Remove use of printf and sprintf functions.
+
+2002-02-08 Richard Earnshaw <rearnsha@arm.com>
+
+ * arm-tdep.c (arm_frame_chain_valid): Make static.
+ (arm_push_arguments): Likewise.
+ (arm_gdbarch_init): New function.
+ (_initialize_arm_tdep): Call it.
+ * config/arm/tm-arm.h (GDB_MULTI_ARCH): Set to 1.
+ (TARGET_DOUBLE_FORMAT): Test TARGET_BYTE_ORDER, not target_byte_order.
+ (FRAME_CHAIN_VALID): Delete.
+ (arm_frame_chain_valid): Delete declaration.
+ (PUSH_ARGUMENTS): Delete.
+ (arm_push_arguments): Delete declaration.
+ (CALL_DUMMY_P): Delete.
+
+2002-02-08 Andrew Cagney <ac131313@redhat.com>
+ Corinna Vinschen <vinschen@redhat.com>
+
+ * gdbtypes.c (build_gdbtypes): Disable setting a specific float format
+ on builtin float types.
+
+2002-02-08 Daniel Jacobowitz <drow@mvista.com>
+
+ * utils.c: Include <curses.h> before "bfd.h".
+ * tui/tui-hooks.c: Likewise.
+ * tui/tui.c: Likewise.
+ * tui/tuiCommand.c: Likewise.
+ * tui/tuiData.c: Likewise.
+ * tui/tuiDataWin.c: Likewise.
+ * tui/tuiDisassem.c: Likewise.
+ * tui/tuiGeneralWin.c: Likewise.
+ * tui/tuiIO.c: Likewise.
+ * tui/tuiLayout.c: Likewise.
+ * tui/tuiRegs.c: Likewise.
+ * tui/tuiSource.c: Likewise.
+ * tui/tuiSourceWin.c: Likewise.
+ * tui/tuiStack.c: Likewise.
+ * tui/tuiWin.c: Likewise.
+
+2002-02-07 Elena Zannoni <ezannoni@redhat.com>
+
+ * sh-tdep.c (sh_nofp_frame_init_saved_regs): Extend where[] array
+ to include space for pseudoregs as well. Update loops accordingly.
+ (sh_fp_frame_init_saved_regs): Ditto.
+ (sh_init_extra_frame_info, sh_pop_frame): Split long lines.
+
+2002-02-07 Andrew Cagney <ac131313@redhat.com>
+
+ * MAINTAINERS: Andreas Schwab is GNU/Linux m68k maintainer.
+ Add Richard Earnshaw to Arm maintainers.
+
+2002-02-07 Andrew Cagney <ac131313@redhat.com>
+
+ * defs.h (warning_begin): Delete declaration.
+
+ * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT):
+ Delete macro.
+
+2002-02-07 Michael Snyder <msnyder@redhat.com>
+
+ * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
+ Logic bug, remove misplaced else.
+
+2002-02-07 Klee Dienes <klee@apple.com>
+
+ * fork-inferior.c (fork_inferior): Add '!' to the list of
+ characters that need to be quoted when building a string for the
+ shell. Quote '!' specifically with a backslash, since CSH chokes
+ when trying to evaluate "str!str".
+
+2002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * rdi-share/host.h: Only provide a typedef for bool if it is not
+ defined.
+
+2002-02-04 Michael Snyder <msnyder@redhat.com>
+
+ * breakpoint.h (enum bptype): Add new overlay event bp type.
+ (enable_overlay_breakpoints, disable_overlay_breakpoints): Export.
+
+ * breakpoint.c (create_internal_breakpoint): New function.
+ (internal_breakpoint_number): Moved into create_internal_breakpoint.
+ (create_longjmp_breakpoint): Use create_internal_breakpoint.
+ (create_thread_event_breakpoint): Ditto.
+ (create_solib_event_breakpoint): Ditto.
+ (create_overlay_event_breakpoint): New function.
+ (enable_overlay_breakpoints, disable_overlay_breakpoints): New funcs.
+ (update_breakpoints_after_exec): Delete and re-initialize
+ overlay event breakpoints after an exec. Add FIXME comment
+ about longjmp breakpoint.
+ (print_it_typical): Ignore overlay event breakpoints.
+ (print_one_breakpoint): Ditto.
+ (mention): Ditto.
+ (bpstat_what): Do not stop for overlay event breakpoints.
+ (delete_breakpoint): Don't delete overlay event breakpoints.
+ (breakpoint_re_set_one): Delete the overlay event breakpoint.
+ (breakpoint_re_set): Re-create overlay event breakpoint.
+
+ * symfile.c (overlay_auto_command): Enable overlay breakpoints.
+ (overlay_manual_command): Disable overlay breakpoints.
+ (overlay_off_command): Disable overlay breakpoints.
+
+2002-02-06 Richard Earnshaw <rearnsha@arm.com>
+
+ * arm-tdep.c: Include elf-bfd.h and coff/internal.h.
+ (MSYMBOL_SET_SPECIAL, MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Move defines
+ to here from config/tm-arm.h.
+ (coff_sym_is_thumb): Make static.
+ (arm_elf_make_msymbol_special): New function.
+ (arm_coff_make_msymbol_special): New function.
+ * config/arm/tm-arm.h (MSYMBOL_SET_SPECIAL): Delete definition.
+ (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Likewise.
+ (coff_sym_is_thumb): Delete declaration.
+ (arm_elf_make_msymbol_special): Declare.
+ (arm_coff_make_msymbol_special): Declare.
+ (ELF_MAKE_MSYMBOL_SPECIAL): Call arm_elf_make_msymbol_special.
+ (COFF_MAKE_MSYMBOL_SPECIAL): Call arm_coff_make_msymbol_special.
+
+2002-02-06 Richard Earnshaw <rearnsha@arm.com>
+
+ * arm-tdep.c (arm_software_single_step): ANSIfy function declaration.
+
+2002-02-06 Richard Earnshaw <rearnsha@arm.com>
+
+ * gdbarch.sh (PRINT_FLOAT_INFO): Add rule.
+ * gdbarch.c gdbarch.h: Regenerate.
+ * arch-utils.c (default_print_float_info): New function.
+ * arch-utils.h (default_print_float_info): Prototype it.
+ * infcmd.c (float_info): Call PRINT_FLOAT_INFO.
+ * doc/gdbint.texinfo (FLOAT_INFO): Mark as deprecated.
+ (PRINT_FLOAT_INFO): Document it.
+
+ * arm-tdep.c (arm_print_float_info): Renamed from arm_float_info.
+ * config/arm/tm-arm.h (FLOAT_INFO): Delete.
+ (PRINT_FLOAT_INFO): Define.
+
+2002-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * win32-nat.c (_initialize_check_for_gdb_ini):
+ Add typecast to sprintf argument to suppress a warning.
+
+2002-02-05 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * win32-nat.c (last_sig): Changed type of variable to target_signal,
+ to allow easier handling of pass state.
+ (DEBUG_EXCEPTION_SIMPLE): New macro, used in handle_exception,
+ that gives exception name and address.
+ (handle_exception): Use DEBUG_EXCEPTION_SIMPLE macro
+ and set last_sig value to ourstatus->value.sig. Some missing
+ exceptions added.
+ (child_continue): Correctly report continue_status.
+ (get_child_debug_event,do_initial_child_stuff): Set last_sig to
+ TARGET_SIGNAL_0 (new default value).
+ (child_resume): consider sig argument passed to decide if
+ the exception should be passed to debuggee or not.
+
+2002-02-05 Michael Snyder <msnyder@redhat.com>
+
+ * regcache.c (fetch_register): Call target_fetch_register
+ only if we don't call FETCH_PSEUDO_REGISTER.
+ (store_register): Call target_store_register only if we
+ don't call STORE_PSEUDO_REGISTER.
+
+2002-02-05 Elena Zannoni <ezannoni@redhat.com>
+
+ * gdbarch.sh: Add definitions for COFF_MAKEMSYMBOL_SPECIAL and
+ ELF_MAKE_MSYMBOL_SPECIAL.
+ * gdbarch.c, gdbarch.h: Regenerate.
+ * arch-utils.c (default_make_msymbol_special): New function.
+ * arch-utils.h (default_make_msymbol_special): Export.
+ * elfread.c (elf_symtab_read): Compile use of
+ ELF_MAKE_MSYMBOL_SPECIAL unconditionally because it is now
+ multiarched.
+ * coffread.c (coff_symtab_read): Ditto, for
+ COFF_MAKE_MSYMBOL_SPECIAL.
+
+2002-02-05 Jim Blandy <jimb@redhat.com>
+
+ * solib-svr4.c (svr4_truncate_ptr): New function.
+ (svr4_relocate_section_addresses): Do the address arithmetic with
+ the appropriate truncation for target addresses, even when
+ CORE_ADDR is larger than a target address.
+
+2002-02-05 Daniel Jacobowitz <drow@mvista.com>
+
+ * gdbserver/linux-low.c (mywait): Cast second argument of waitpid
+ to (int *).
+
+2002-02-05 Daniel Jacobowitz <drow@mvista.com>
+
+ * gdbserver/linux-low.c (kill_inferior): Remove commented out
+ code.
+
+2002-02-05 Daniel Jacobowitz <drow@mvista.com>
+
+ * c-valprint.c (c_val_print): Handle TYPE_CODE_COMPLEX.
+
+2002-02-05 Daniel Jacobowitz <drow@mvista.com>
+
+ * gdbserver/linux-low.c: Remove unused include files.
+
+2002-02-05 Daniel Jacobowitz <drow@mvista.com>
+
+ * gdbserver/linux-low.c: Define PTRACE_ARG3_TYPE.
+ (read_inferior_memory): Use it.
+ (write_inferior_memory): Likewise.
+
+2002-02-05 Daniel Jacobowitz <drow@mvista.com>
+
+ * gdbserver/linux-low.c (create_inferior): Call strerror instead of
+ grubbing through sys_errlist.
+
+2002-02-05 Daniel Jacobowitz <drow@mvista.com>
+
+ * gdbserver/linux-low.c: New file, copied exactly from low-linux.c.
+
+2002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
+ * win32-nat.c (handle_exception): Handle Ctrl-Break exception.
+
+2002-02-04 Andrew Cagney <ac131313@redhat.com>
+
+ * cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions.
+ (do_sfunc, set_cmd_sfunc): New functions.
+
+ * command.h (struct cmd_list_element): Add field func.
+ * cli/cli-decode.h (struct cmd_list_element): Ditto.
+ * command.h (set_cmd_sfunc, set_cmd_cfunc): Declare.
+ * cli/cli-decode.h: Ditto.
+
+ * cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc.
+ (help_all, help_cmd_list): Ditto.
+ (find_cmd, complete_on_cmdlist): Ditto.
+ * top.c (execute_command): Ditto.
+
+ * cli/cli-setshow.c (do_setshow_command): Call func instead of
+ function.sfunc.
+
+ * infcmd.c (notice_args_read): Fix function signature.
+
+ * cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc.
+ * cli/cli-decode.c (add_set_cmd): Ditto.
+ * utils.c (initialize_utils): Ditto.
+ * maint.c (_initialize_maint_cmds): Ditto.
+ * infrun.c (_initialize_infrun): Ditto.
+ * demangle.c (_initialize_demangler): Ditto.
+ * remote.c (add_packet_config_cmd): Ditto.
+ * mips-tdep.c (_initialize_mips_tdep): Ditto.
+ * cris-tdep.c (_initialize_cris_tdep): Ditto.
+ * proc-api.c (_initialize_proc_api): Ditto.
+ * kod.c (_initialize_kod): Ditto.
+ * valprint.c (_initialize_valprint): Ditto.
+ * top.c (init_main): Ditto.
+ * infcmd.c (_initialize_infcmd): Ditto.
+ * corefile.c (_initialize_core): Ditto.
+ * arm-tdep.c (_initialize_arm_tdep): Ditto.
+ * arch-utils.c (initialize_current_architecture): Ditto.
+ (_initialize_gdbarch_utils): Ditto.
+ * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
+
+ * cli/cli-decode.c (add_cmd): Use set_cmd_cfunc.
+ * wince.c (_initialize_inftarg): Ditto.
+ * symfile.c (_initialize_symfile): Ditto.
+ * mips-tdep.c (_initialize_mips_tdep): Ditto.
+ * language.c (_initialize_language): Ditto.
+ * arc-tdep.c (_initialize_arc_tdep): Ditto.
+
+2002-02-04 Michael Snyder <msnyder@redhat.com>
+
+ * memattr.c (_initialize_mem): Elaborate the help for 'mem' command.
+
2002-02-04 Daniel Jacobowitz <drow@mvista.com>
* gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS.
2002-01-30 Andrew Cagney <ac131313@redhat.com>
* defs.h (vwarning): Declare.
- (warning_begin): Delete declaration.
* utils.c (vwarning): New function.
(warning): Call vwarning.
(warning_begin): Delete function.
(target_byte_order): Initialize to BFD_ENDIAN_BIG.
(initialize_current_architecture): Update target_byte_order using
information from BFD.
- * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT):
* config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT):
* config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete.