Add check for vfork() to configure.in. Cleanup uses.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 5750b57aba91c9692ec258a1912f2434f6287ef9..6e05b5e017a1dc38317d01a8d46c31a1cc3224c0 100644 (file)
@@ -1,3 +1,356 @@
+Sun Dec  3 02:28:26 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * ser-pipe.c (pipe_open): Only use vfork when available.
+       * fork-child.c (fork_inferior): Fix #ifdef HAVE_VFORK test.
+       (clone_and_follow_inferior): Ditto.
+
+       * configure.in (AC_CHECK_FUNCS): Check for vfork.
+       * configure, config.in: Regenerate.
+
+Sun Dec  3 01:54:49 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * ser-unix.c (wait_for): Initialize the FD_SET before every select
+       call.
+       (ser_unix_wait_for): Ditto.
+
+Sun Dec  3 01:01:02 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * Makefile.in (varobj.o): Delete special .c.o rule supressing
+       -Werror flag.
+
+Sun Dec  3 00:29:31 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * m32r-rom.c (m32r_load_section): Update to match
+       bfd_map_over_sections's ``func'' arg.
+
+Thu Nov 30 01:24:37 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * mips-tdep.c (struct upk_mips16): Delete fields ``inst'' and
+       ``fmt''.  Make ``offset'' a CORE_ADDR.
+       (print_unpack): Delete.
+       (extended_offset): Construct and return a CORE_ADDR.
+       (fetch_mips_16): Return an int.  Don't assume short is 16 bits.
+       (unpack_mips16): Rewrite.  Add ``extension'' parameter instead of
+       incorrectly guessing if the instruction had an extension.
+       (map16): Delete array.
+       (mips16_op): Delete macro.
+       (extended_mips16_next_pc): Rewrite of old mips16_next_pc function.
+       When an extended instruction do a recursive call.
+       (mips16_next_pc): Call extended_mips16_next_pc.
+       (mips_next_pc): Cleanup.
+       
+Sat Dec  2 10:40:16 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * ser-e7kpc.c (e7000pc_setstopbits): New function.
+       (e7000pc_ops): Add e7000pc_setstopbits.
+
+       * remote-e7000.c (e7000_detach, e7000_resume,
+       e7000_xfer_inferior_memory, e7000_files_info, e7000_files_info,
+       e7000_insert_breakpoint, e7000_remove_breakpoint, e7000_kill):
+       Update function signature to match target vector.
+
+       * h8300-tdep.c (h8300_command, h8300h_command, h8300s_command):
+       h8500-tdep.c (small_command, big_command, medium_command,
+       compact_command): Update function signature to match add_cmd.
+
+2000-12-01  Fernando Nasser  <fnasser@redhat.com>
+
+       * p-exp.y: Define strncasecmp as strnicmp for MSVC.
+       (yylex): Use strncasecmp, not strnicmp.
+
+2000-12-01  Fernando Nasser  <fnasser@redhat.com>
+
+       * cli/cli-decode.c: New file. Handle lists of commands, their decoding
+       and documentation.
+       (add_cmd, deprecate_cmd, add_abbrev_cmd, add_alias_cmd, add_prefix_cmd,
+       add_abbrev_prefix_cmd, not_just_help_class_command, empty_sfunc,
+       add_set_cmd, add_set_enum_cmd, add_set_auto_boolean_cmd,
+       add_show_from_set, delete_cmd, apropos_cmd, help_cmd, help_list,
+       help_all, print_doc_line, help_cmd_list, find_cmd, lookup_cmd_1,
+       undef_cmd_error, lookup_cmd, deprecated_cmd_warning,
+       lookup_cmd_composition, complete_on_cmdlist, complete_on_enum):
+       Moved here from command.c.
+       (add_info, add_info_alias, add_com, add_com_alias): Moved here from
+       top.c.
+       * cli/cli-decode.h: Definitions/declarations for the above.
+       * cli/cli-cmds.c: New file.  GDB CLI commands.
+       (error_no_arg, info_command, show_command, help_command, show_version, 
+       quit_command, pwd_command, cd_command, echo_command, shell_escape,
+       make_command, show_user, set_debug, show_debug, init_cmd_lists):
+       Moved here from top.c.
+       (apropos_command): Moved here from command.c.
+       (complete_command, source_command): Moved here (part) from top.c.
+       (is_complete_command): New function. Checks if a command is the
+       "complete" command.
+       (init_cli_cmds): New function. Add commands to the CLI (from code
+       previously in top.c.
+       * cli/cli-cmds.h: Definitions/declarations for the above.
+       * cli/cli-script.c: New file. GDB CLI command scripting.
+       (build_command_line, get_command_line, print_command_lines,
+       print_command_line, execute_user_command, execute_control_command,
+       while_command, if_command, arg_cleanup, setup_user_args, locate_arg,
+       insert_args, realloc_body_list, read_next_line,
+       recurse_read_control_structure, read_command_lines, free_command_lines,
+       do_free_command_lines_cleanup, make_cleanup_free_command_lines,
+       validate_comname, user_defined_command, define_command,
+       document_command, source_cleanup_lines, do_fclose_cleanup,
+       show_user_1): Moved here from top.c.
+       (script_from_file): New function. Implements execution of a script
+       contained in a file (part of code for the source_command() that used
+       to exist in top.c).
+       * cli/cli-script.h: Definitions/declarations for the above.
+       * cli/cli-setshow.c: New file. Handle set and show GDB CLI commands.
+       (parse_auto_binary_operation, parse_binary_operation,
+       do_setshow_command, cmd_show_list): Moved here from command.c.
+       * cli/cli-setshow.h: Definitions/declarations for the above.
+       * top.c: Remove all CLI code, except the command loop.
+       (gdb_init): Call init_cli_cmds().
+       * command.c: Remove obsolete file.
+       * command.h: Mark as DEPRECATED.
+       * gdbcmd.h: Ditto.
+       * call-cmds.h: Ditto.
+       * Makefile.in (SFILES): Remove command.c.
+       (COMMON_OBS): Remove command.o.
+       (command.o): Remove obsolete target.
+       (cli_decode_h, cli_cmds_h, cli_script_h, cli_setshow_h): New macros.
+       Refer to CLI header files.
+       (cli-decode.o, cli-cmds.o, cli-setshow.o, cli-script.o): New targets.
+       (SUBDIR_CLI_OBS, SUBDIR_CLI_SRCS, SUBDIR_CLI_DEPS, SUBDIR_CLI_INITS,
+       SUBDIR_CLI_LDFLAGS, SUBDIR_CLI_CFLAGS, SUBDIR_CLI_ALL, SUBDIR_CLI_CLEAN,
+       SUBDIR_CLI_INSTALL, SUBDIR_CLI_UNINSTALL): New macros for new cli
+       subdirectory.
+       * configure.in (enable_gdbcli): New option. Include the CLI in the
+       executable (cannot be disabled yet).
+       (CONFIG_OBS, CONFIG_DEPS, CONFIG_SRCS, CONFIG_INITS, ENABLE_CFLAGS,
+       CONFIG_ALL, CONFIG_CLEAN, CONFIG_INSTALL, CONFIG_UNINSTALL): Add
+       the corresponding SUBDIR_CLI_* macros if CLI requested.
+       * configure: Regenerate.
+
+2000-10-27  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * p-exp.y (yylex): avoid problem with symbol name 
+       starting as a operator name.
+
+2000-11-30  Fernando Nasser  <fnasser@redhat.com>
+
+       * linespec.h: New file. Declarations for linespec.c.
+       * linespec.c, alpha-tdep.c, breakpoint.c, parse.c, source.c,
+       symtab.c, tracepoint.c: Include the above.
+       * completer.c: New file. Line completion stuff for GDB.
+       (get_gdb_completer_word_break_characters,
+       get_gdb_completer_quote_characters): New functions. Accessors for
+       useful completer internal data.
+       (filename_completer, line_completion_function, skip_quoted): Moved
+       here from top.c.
+       * completer.h: New file. Declarations for the above.
+       * linespec.c (decode_line_1): Use
+       get_gdb_completer_word_break_characters and
+        get_gdb_completer_quote_characters.
+       * top.c: Include completer.h.
+       (filename_completer, line_completion_function, skip_quoted):
+       Moved to completer.c.
+       * corefile.c, exec.c, source.c, symfile.c, linespec.c: Include
+       completer.h.
+       * Makefile.in (SFILES): Add completer.c.
+       (COMMON_OBS): Add completer.o.
+       (completer.o): New target.
+       (linespec.o, alpha-tdep.o, breakpoint.o, parse.o, source.o,
+        symtab.o, tracepoint.o): Add linespec.h to dependencies list.
+       (corefile.o, exec.o, source.o, symfile.o, linespec.o): Add completer.h
+       to dependencies list.
+
+Thu Nov 30 13:19:16 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gdbarch.c: Regenerate.
+
+Thu Nov 30 01:14:21 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * varobj.c (varobj_create): Initialize ``old_fi''.
+       (varobj_update): Initialize ``templist''.
+
+       * kod-cisco.c (cisco_kod_request): Simplify allocation of
+       ``sync_ids'' eliminating uninitialized variable.
+
+2000-11-28  Mark Salter  <msalter@redhat.com>
+
+       * MAINTAINERS: Add Mark Salter to Write After Approval list.
+
+Tue Nov 28 12:24:43 2000  Christopher Faylor <cgf@cygnus.com>
+
+       * win32-nat.c (dll_code_sections_add): strdup -> xstrdup.
+
+Mon Nov 27 11:45:52 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * remote.c (remote_write_bytes): Add default case to switch
+       initializing ``todo''. Ditto for ``nr_bytes''.
+       * top.c (catch_errors): Always initialize ``val''.
+       * solib.c (info_sharedlibrary_command): Handle bfd_get_arch_size
+       returning an unknown size.
+       * gdbtypes.c (count_virtual_fns): Always initialize ``vfuncs''.
+       * breakpoint.c (break_at_finish_at_depth_command_1): Initialise
+       extra_args to NULL.
+       (break_at_finish_command_1): Ditto.
+Mon Nov 27 11:27:06 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * TODO: Add GFDL updates to 5.1 release criteria.
+
+2000-11-26  Nick Clifton  <nickc@redhat.com>
+
+        * configure.tgt (xscale-*): Add.
+        * configure.host (xscale-*): Add.
+
+2000-11-24  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * m68hc11-tdep.c  (gdb_print_insn_m68hc11): New function.
+       (_initialize_m68hc11_tdep): Install it. Register bfd_arch_m68hc12.
+
+2000-11-24  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * m68hc11-tdep.c (gdbarch_tdep): Move stack_correction global to here.
+       (STACK_CORRECTION): Get stack correction using gdbarch_tdep.
+       (m68hc11_saved_pc_after_call): Use STACK_CORRECTION.
+       (m68hc11_frame_chain): Likewise.
+       (m68hc11_frame_init_saved_regs): Likewise.
+       (m68hc11_init_extra_frame_info): Likewise.
+       (m68hc11_push_arguments): Likewise.
+       (m68hc11_push_arguments): Likewise.
+       (m68hc11_store_struct_return): Likewise.
+       (m68hc11_push_return_address): Likewise.
+       (m68hc11_gdbarch_init): Setup stack_correction according to arch.
+
+Mon Nov 20 13:59:29 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure.in: Add support for configure option
+       --enable-gdb-build-warnings. Mention need to update doco.
+       * configure: Regenerate.
+
+2000-11-21  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
+
+       * target.h (TARGET_SIGNAL_REALTIME_64):  Added for IRIX 6.
+       * target.c (target_signal_from_host, do_target_signal_to_host):
+       Handle TARGET_SIGNAL_REALTIME_64.
+
+2000-11-21  Kevin Buettner  <kevinb@redhat.com>
+
+       * solib.c (solib_open): Handle the case where
+       solib_absolute_prefix is NULL.
+
+2000-11-20  Michael Snyder  <msnyder@cleaver.cygnus.com>
+
+       * solist.h: Declare new function solib_open.
+       * solib.c (solib_open): New function.  Abstracts some of the
+       code from solib_map_sections, for finding the binary solib file.
+       (solib_map_sections): Call solib_open.
+       * solib-svr4.c (enable_break): Call solib_open.
+
+2000-11-20  J.T. Conklin  <jtc@redback.com>
+
+       * gdbserver/low-nbsd.c (fetch_inferior_registers,
+       store_inferior_registers): Support older NetBSD/powerpc systems
+       from before fp reg support was added.  Adapt to register number
+       changes caused when powerpc target was multi-arched.
+
+2000-11-20  H.J. Lu  <hjl@gnu.org>
+
+       * ia64-tdep.c (gdbarch_tdep): Change reference from
+       ELFOSABI_MONTEREY to ELFOSABI_AIX.
+
+2000-11-20  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
+
+       * c-valprint.c (print_function_pointer_address):  New function
+       to automatically dereference a function pointer for printing
+       if necessary.
+       (c_val_print):  Use print_function_pointer_address when printing
+       function pointer addresses.
+
+2000-11-20  J.T. Conklin  <jtc@redback.com>
+
+       * gdbserver/low-nbsd.c: Fix typos.
+
+2000-11-20  Jeffrey A Law  (law@cygnus.com)
+
+        * pa64solib.c (add_to_solib): Pass TARGET to pa64_solib_load_symbols.
+
+Mon Nov 20 23:21:53 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * MAINTAINERS: Peter Schauer and Kevin Buettner maintain AIX.  Jim
+       Blandy, Kevin Buettner and Peter Schauer share shared libs.
+
+       From Nick Duffek:
+       * MAINTAINERS: Share responsibility for
+       Solaris/x86 between co-maintainers.
+
+       * MAINTAINERS: Add linespec as a separate component.
+       
+Mon Nov 20 14:29:39 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * command.h (error_no_arg): Add noreturn attribute to declaration.
+
+Fri Nov 17 16:07:23 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * utils.c (xvasprintf, xasprintf): New functions.
+       * defs.h (xvasprintf, xasprintf): Add declarations.
+
+       * remote.c (add_packet_config_cmd): Use function xasprintf instead
+       of asprintf.
+       * utils.c (vfprintf_maybe_filtered, vfprintf_unfiltered): Use
+       function xvasprintf instead of vasprintf.
+
+       * TODO (xasprintf): Update.
+
+Mon Nov 20 12:22:32 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * TODO: Mention ``extern'' and ``STREQ'' cleanups.
+
+2000-11-19  Jim Blandy  <jimb@redhat.com>
+
+       * symtab.c (no_symtab_msg): Remove definition.
+       (sources_info): Replace use of no_symtab_msg with the string
+       itself.
+       * linespec.c (no_symtab_msg): Remove declaration.
+       (decode_line_1): Replace uses of no_symtab_msg with the string
+       itself.
+
+2000-11-17  Kevin Buettner  <kevinb@redhat.com>
+
+       * rs6000-tdep.c (refine_prologue_limit): New function.
+       (skip_prologue): When zero, attempt to obtain value for
+       lim_pc by calling refine_prologue_limit().  Also, fix
+       fencepost error regarding the limit in the loop.
+
+       From Peter Schauer:
+       * rs6000-tdep.c (skip_prologue):  Handle optimizer code motions into
+       the prologue by continuing the prologue search, if we have no valid
+       frame yet or if the return address is not yet saved in the frame.
+
+2000-11-17  Kevin Buettner  <kevinb@redhat.com>
+
+       * wrapper.c (gdb_value_assign, wrap_value_assign): Protoize.
+
+2000-11-16  Christopher Faylor  <cgf@redhat.com>
+
+       * thread.c (thread_apply_all_command): Save the command before
+       executing it because it may be modified.  Restore the saved command so
+       that the same command is executed on next thread.
+       (thread_apply_command): Same correction.
+
+2000-11-16  Michael Snyder  <msnyder@cleaver.cygnus.com>
+
+       * regcache.c (read_register_bytes): Failing to set register_valid
+       is not necessarily an error, if the register is a pseudo-register.
+       Some pseudo-registers are never marked as valid, so that they will
+       be read anew every time.  Determining if a pseudo-register is valid
+       (or should be marked invalid) may be difficult, whereas just 
+       recomputing it may be cheap.
+
+Thu Nov 16 09:47:57 2000  David Taylor  <taylor@redhat.com>
+
+       * tracepoint.c (trace_find_tracepoint_command): Replace call to
+       parse_and_eval_address with a call to parse_and_eval_long as
+       we are evaluating an integer, not an address.
+       * top.c (show_commands): Ditto.
+
 2000-11-15  Kevin Buettner  <kevinb@redhat.com>
 
        * xcoffread.c (arrange_linetable, xcoff_initial_scan): Protoize.
@@ -39,8 +392,10 @@ Wed Nov 15 00:29:46 2000  Andrew Cagney  <cagney@b1.cygnus.com>
        Move to linespec.c.
        * linespec.c: New file. Routines that handle linespecs, formerly
        in symtab.c.
-       * symtab.h: Export find_line_symtab and find_function_start_sal,
-       * Makefile.in: Add linespec.c.
+       * symtab.h: Export find_line_symtab and find_function_start_sal.
+       * Makefile.in (SFILES): Add linespec.c.
+       (COMMON_OBS): Add linespec.o.
+       (linespec.o): New target.
 
 2000-11-10  Christopher Faylor <cgf@cygnus.com>
 
This page took 0.051726 seconds and 4 git commands to generate.