2000-12-11 Michael Snyder <msnyder@cleaver.cygnus.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index d52df9cb7b3b19790ba0c7c5463637f1b47b6571..5bcc1e7dda6281d9233723431ad3ab94c75b4339 100644 (file)
@@ -1,3 +1,318 @@
+2000-12-11  Michael Snyder  <msnyder@cleaver.cygnus.com>
+
+       * sh-tdep.c (sh_extract_struct_value_address): Protoize.
+
+2000-12-11  Michael Snyder  <msnyder@mvstp600e.cygnus.com>
+
+       * blockframe.c (get_prev_frame): Add missing paren omitted in 
+       last check-in.
+
+2000-12-11  Fernando Nasser  <fnasser@redhat.com>
+
+        * Makefile.in (SUBDIR_GDBTK_OBS, SUBDIR_GDBTK_SRCS,
+       SUBDIR_GDBTK_DEPS, SUBDIR_GDBTK_INITS, SUBDIR_GDBTK_LDFLAGS,
+       SUBDIR_GDBTK_CFLAGS): New macros.  For gdbtk subdir.
+       * configure.in: Fix typo.  It is CONFIG_OBS not CONFIG_OJS.
+       Use the SUBDIR_GDBTK_* macros instead of hard coded file names.
+       * configure: Regenerate.
+
+2000-12-11  Michael Snyder  <msnyder@mvstp600e.cygnus.com>
+
+       * blockframe.c (get_prev_frame): Zero all fields of prev by
+       default using memset (instead of one at a time).
+
+2000-12-11  Michael Snyder  <msnyder@cleaver.cygnus.com>
+
+       * sh-tdep.c (sh_extract_struct_value_address): For consistancy,
+       change decl from "CORE_ADDR static" to "static CORE_ADDR".
+
+2000-12-11  Fernando Nasser  <fnasser@redhat.com>
+
+       * configure.in: Fix typos.  It is CONFIG_SRCS not CONFIG_SRS.
+       * configure: Regenerate.
+
+2000-12-11  Fernando Nasser  <fnasser@redhat.com>
+
+       * configure.in: Fix a couple of typos in the handling of the
+       enable_gdbcli option.  Make it check enableval for the result
+       of AC_ARG_ENABLE.
+       * configure: Regenerate.
+
+2000-12-08  Michael Snyder  <msnyder@mvstp600e.cygnus.com>
+
+       * dwarf2read.c (DWARF2_REG_TO_REGNUM): New macro.  Provide default
+       definition.  Will be used to translate between the compiler's
+       register numbering and GDB's (for register variables etc).
+       (new_symbol): Use DWARF2_REG_TO_REGNUM to translate register ids.
+       * alpha-tdep.c: Fix typo in comment.
+       * dbxread.c: Fix typo in comment.
+       * fr30-tdep.c: Fix typo: newline missing after comment.
+       * mcore-tdep.c: Fix typo in comment.    
+
+2000-12-07  J.T. Conklin  <jtc@redback.com>
+
+       * gdbserver/low-hppabsd.c (buf2, environ, quit, quit_flag):
+       Removed unused variables and declarations.
+       * gdbserver/low-linux.c (buf2, environ, query, quit, quit_flag):
+       Likewise.
+       * gdbserver/low-nbsd.c (buf2, environ, quit, quit_flag):
+       Likewise.
+       * gdbserver/low-sparc.c (buf2, environ, query, quit, quit_flag):
+       Likewise.
+       * gdbserver/low-sun.c (buf2, environ, query, quit, quit_flag):
+       Likewise.
+
+       * gdbserver/low-hppabsd.c, gdbserver/low-linux.c,
+       gdbserver/low-nbsd.c, gdbserver/low-sparc.c, gdbserver/low-sun3.c
+       (create_inferior): Update comment.
+
+       * gdbserver/low-nbsd.c (initialize_arch, fetch_inferior_registers,
+       store_inferior_registers): Provide implementations for the m68k 
+       and ns32k.
+       * config/m68k/nbsd.mt (GDBSERVER_DEPFILES): Add low-nbsd.o
+       * config/ns32k/nbsd.mt (GDBSERVER_DEPFILES): Likewise.
+       * configure.tgt (m68*-*-netbsd*, ns32k-*-netbsd*): Add gdbserver
+       to configdirs.
+
+2000-12-07  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
+
+       * config/sh/tm-sh.h (struct gdbarch_tdep): Rename fields
+       {FP15,DR14,FV12}_REGNUM to {FP,DR,FV}_LAST_REGNUM.
+       * sh-tdep.c (sh_sh3e_register_virtual_type,
+       sh_sh4_register_virtual_type, sh_do_registers_info,
+       sh_gdbarch_init, sh_sh4_register_byte, sh_sh4_register_raw_size,
+       sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual,
+       sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register,
+       sh_store_pseudo_register, sh_do_pseudo_register): Ditto.
+
+       * sh-tdep.c (sh_gdbarch_init): Use a function pointer to set the
+       disassembly print function.
+       (_initialize_sh_tdep): Initialize tm_print_insn using the function
+       pointer.
+
+2000-12-07  Mark Kettenis  <kettenis@gnu.org>
+
+       From Richard Henderson <rth@twiddle.net>:
+       * alpha-nat.c (supply_gregset, fill_gregset): Use gdb_gregset_t.
+       (supply_fpregset, fill_fpregset): Use gdb_fpregset_t.
+
+2000-12-06  Fernando Nasser  <fnasser@redhat.com>
+
+       * cli/cli-decode.c (add_abbrev_cmd): Reinstate. Add comment saying
+       that is not currently used.
+
+2000-12-06  Fernando Nasser  <fnasser@redhat.com>
+
+       * cli/cli-decode.c (lookup_cmd): Change disabled code into comment.
+
+2000-12-06  Fernando Nasser  <fnasser@redhat.com>
+
+       * cli/cli-decode.c (lookup_cmd): Remove old stale copy of this routine
+       which was not being used for quite some time.
+
+2000-12-05  Mark Kettenis  <kettenis@gnu.org>
+
+       * gdb-stabs.h (SECT_OFF_MAX): Increase to 64.
+       * symfile.h (MAX_SECTIONS): Increase to 64.
+
+2000-12-05  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
+
+       * config/sh/tm-sh.h (struct gdbarch_tdep): Get rid of
+       DR{2,4,6,8,10,12}_REGNUM, FV{4,8}_REGNUM, they are not used
+       anywhere.
+       * sh-tdep.c (sh_gdbarch_init): Don't initialize
+       DR{2,4,6,8,10,12}_REGNUM, FV{4,8}_REGNUM.
+
+2000-12-04  Michael Snyder  <msnyder@cleaver.cygnus.com>
+
+       * utils.c (internal_verror): Fix typo in error msg.
+
+2000-12-03  Mark Kettenis  <kettenis@gnu.org>
+
+       * Makefile.in (symfile.o): Add gdb-stabs.h to dependencies list.
+
+2000-12-04  Kevin Buettner  <kevinb@redhat.com>
+
+       * elfread.c (record_minimal_symbol_and_info): Don't guess
+       at the section index; instead just always use the bfd index.
+       (elf_symtab_read): Handle weak symbols appearing in data
+       sections.
+
+Mon Dec  4 14:36:39 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gdbarch.sh (STAB_REG_TO_REGNUM, ECOFF_REG_TO_REGNUM,
+       DWARF_REG_TO_REGNUM, SDB_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM):
+       Add.
+       * gdbarch.h, gdbarch.c: Regenerate.
+       * arch-utils.c (no_op_reg_to_regnum): New function.
+       * arch-utils.h (no_op_reg_to_regnum): Declare.
+
+       * dwarfread.c (DWARF_REG_TO_REGNUM), coffread.c
+       (SDB_REG_TO_REGNUM), stabsread.h (STAB_REG_TO_REGNUM),
+       mdebugread.c (ECOFF_REG_TO_REGNUM): Delete macro.
+
+       * config/mips/tm-mips.h (ECOFF_REG_TO_REGNUM, STAB_REG_TO_REGNUM):
+       Delete.  Moved to mips-tdep.c.
+       * mips-tdep.c (mips_ecoff_reg_to_regnum, mips_stab_reg_to_regnum):
+       New functions.
+       (mips_gdbarch_init): Add ``mips_ecoff_reg_to_regnum'' and
+       ``mips_stab_reg_to_regnum'' to multi-arch vector.
+
+2000-12-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * m68hc11-tdep.c (m68hc11_gdbarch_init): Remove elf_flags, cleanup.
+       (gdbarch_tdep): Likewise.
+
+2000-12-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * m68hc11-tdep.c (SOFT_D1_REGNUM): Soft registers start at 14.
+       (m68hc11_register_names): Add null for register 13.
+
+2000-12-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * m68hc11-tdep.c (m68hc11_frame_args_address): Fix args address
+       computation.
+       (m68hc11_frame_init_saved_regs): Frame pointer is saved only if
+       the symbol exist.
+       (m68hc11_analyze_instruction): New function.
+       (m6811_prologue, m6812_prologue): New prologue description tables.
+       (m68hc11_guess_from_prologue): Use the above.
+       (m68hc11_gdbarch_init): Setup gdbarch_tdep for the prologue
+       descriptions.
+
+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.
@@ -32,8 +347,6 @@ Thu Nov 30 13:19:16 2000  Andrew Cagney  <cagney@b1.cygnus.com>
 
 Thu Nov 30 01:14:21 2000  Andrew Cagney  <cagney@b1.cygnus.com>
 
-       * Makefile.in (varobj.o): Delete special compile rule
-       suppressing -Werror flag.
        * varobj.c (varobj_create): Initialize ``old_fi''.
        (varobj_update): Initialize ``templist''.
 
This page took 0.028172 seconds and 4 git commands to generate.