* sparc-nat.c (fetch_inferior_registers): Don't rely
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index fc02819e8b58322277ac7c26bd8a8e0aa191e64b..5828b50c065ce122bd4e78d1afffde9c881cdac7 100644 (file)
@@ -1,3 +1,316 @@
+2001-11-26  Jakub Jelinek  <jakub@redhat.com>
+
+       * sparc-nat.c (fetch_inferior_registers): Don't rely
+       on CORE_ADDR being 32-bit.
+       (store_inferior_registers): Likewise.
+
+2001-11-25  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * config/djgpp/config.sed: Fix an error in etc/ at "make install"
+       time on non-LFN systems where standards*.inf* expands to nothing.
+
+       * go32-nat.c (save_npx): Avoid a warning from GCC 3.x.
+
+2001-11-24  Pierre Muller  <muller@ics.u-strasbg.fr>
+           Christopher Faylor  <cgf@redhat.com>
+
+       * win32-nat.c (struct so_stuff): Add objfile *objfile field needed to
+       be able to remove the DLL when unloaded.  Remove unused last field.
+       (handle_unload_dll): New function to handle unloading of DLL.
+       (solib_symbols_add): Change return type to struct objfile *.
+       (get_child_debug_event): Call handle_unload_dll function.
+
+2001-11-24  Christopher Faylor  <cgf@redhat.com>
+
+       * win32-nat.c (_initialize_check_for_gdb_ini): New function.
+       * config/i386/xm-cygwin.h: Remove obsolete handling of __CYGWIN32__.
+       (GDBINIT_FILENAME): Remove.
+
+2001-11-23  Mark Kettenis  <kettenis@gnu.org>
+
+       Add x86 OpenBSD native configuration.
+       * config/i386/obsd.mt, config/i386/tm-obsd.h, config/i386/obsd.mh,
+       config/i386/nm-obsd.h: New files.
+       * configure.host (i[3456]86-*-openbsd*): New host.
+       * configure.tgt (i[3456]86-*-openbsd*): New target.
+       * NEWS: Update.
+
+2001-11-21  GDB Administrator  <gdbadmin@sourceware.cygnus.com>
+
+       * GDB 5.1 was released.
+       
+2001-11-21  Tom Tromey  <tromey@redhat.com>
+
+       Fix for PR gdb/209, PR gdb/156:
+       * gdbarch.c, gdbarch.h: Rebuilt.
+       * gdbarch.sh: Added `construct_inferior_arguments'.
+       * cli/cli-decode.h (cmd_list_element): Added pre_show_hook.
+       Typo fix.
+       * cli/cli-setshow.c (do_setshow_command): Call the pre_show_hook.
+       * infcmd.c (_initialize_infcmd): Set sfunc on `set args' command.
+       (inferior_argc, inferior_argv): New globals.
+       (notice_args_set): New function.
+       (set_inferior_args): Clear inferior_argc and inferior_argv.
+       (set_inferior_args_vector): New function.
+       (get_inferior_args): Handle inferior argument vector.
+       (run_command): Use get_inferior_args().
+       (notice_args_read): New function.
+       (_initialize_infcmd): Don't call set_inferior_args.
+       * command.h: Typo fix.
+       (cmd_list_element): Added pre_show_hook.
+       * main.c (captured_main): Added --args option.
+       (print_gdb_help): Document --args.
+       * inferior.h (construct_inferior_arguments): Declare.
+       (set_inferior_args_vector): Likewise.
+       * fork-child.c (construct_inferior_arguments): New function.
+
+2001-11-21  Kevin Buettner  <kevinb@redhat.com>
+
+       * lin-lwp.c (lin_lwp_attach_lwp): Make sure SIGCHLD is in set of
+       blocked signals.
+
+       * lin-lwp.c (lin_lwp_attach_lwp): Mark main thread as stopped.
+
+2001-11-20  Jim Blandy  <jimb@redhat.com>
+
+       * target.h (TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT): Delete
+       default definition; this is never used.
+
+2001-11-20  Keith Seitz  <keiths@redhat.com>
+
+       * varobj.c (c_value_of_child): Release memory for "name" when
+       finshed using it.
+       (c_type_of_child): Likewise.
+       (cplus_value_of_child): Isolate the use of name_of_child to
+       one case that needs it.
+       Release memory for "name" when finished using it.
+
+2001-11-20  Keith Seitz  <keiths@redhat.com>
+
+       * top.c (gdb_init): Call init_ui_hook before initializing
+       the default UI.
+
+2001-11-19  Elena Zannoni  <ezannoni@redhat.com>
+
+       * config/powerpc/nm-linux.h (ppc_register_u_addr): Add extern 
+        declaration.
+
+2001-11-19  Elena Zannoni  <ezannoni@redhat.com>
+
+       * ppc-linux-nat.c (COPY_REG): Use regcache_collect instead of
+       accessing registers[].
+       (fill_fpregset): Ditto.
+
+2001-11-19  Elena Zannoni  <ezannoni@redhat.com>
+
+       * infptrace.c (fetch_register): Dynamically allocate buffer for
+       register.
+       (store_register): Use regcache_collect, instead of accessing the
+       register buffer directly.
+
+2001-11-19  Daniel Jacobowitz  <drow@mvista.com>
+
+       * mips-tdep.c (find_proc_desc): Add cur_frame argument.  Pass
+       cur_frame to heuristic_proc_desc.
+       (heuristic_proc_desc): Add cur_frame argument.  Do not read SP
+       if cur_frame == 0.
+       (after_prologue): Pass cur_frame == 0 to find_proc_desc.
+       (mips_frame_chain): Pass cur_frame == 1 to find_proc_desc.
+       (mips_init_extra_frame_info): Likewise.
+
+2001-11-19  Andrew Cagney  <ac131313@redhat.com>
+
+       * defs.h (return_to_top_level): Comment.
+
+Mon Nov 19 14:58:52 2001  Andrew Cagney  <cagney@redhat.com>
+
+       * remote.c (remote_open_1, remote_async_open_1): Use ISO C string
+       concatenation for error parameter.
+       (remote_cisco_open): Ditto.
+
+2001-11-19  Keith Seitz  <keiths@redhat.com>
+
+       * varobj.c (c_value_of_child): Use the wrapper function,
+       gdb_value_struct_elt.
+       (cplus_value_of_child): Likewise.
+
+2001-11-18  Andrew Cagney  <ac131313@redhat.com>
+
+       * i386-tdep.c (i386_gdbarch_init): Initialize num_regs.
+       * config/i386/tm-i386.h (NUM_REGS): Delete.
+
+2001-11-18  Kevin Buettner  <kevinb@redhat.com>
+
+       * i386-linux-nat.c (fill_gregset): Fix botched regcache_collect()
+       conversion for I386_LINUX_ORIG_EAX_REGNUM.
+
+2001-11-18  Andrew Cagney  <ac131313@redhat.com>
+
+       * config/i386/embed.mt (TM_FILE): Set to tm-i386.h.
+       * config/i386/tm-embed.h: Delete.
+
+2001-11-17  Andrew Cagney  <ac131313@redhat.com>
+
+       * Makefile.in (distclean): Explicitly delete Makefile et.al. in
+       gdbserver sub directory.
+
+2001-11-17  Andrew Cagney  <ac131313@redhat.com>
+
+       * README: Mention need for alloca().  Mention problems with
+       alpha-dec-osf4.0e.  Clarify that comments refer to GDB 5.1.
+
+2001-11-17  Kevin Buettner  <kevinb@redhat.com>
+
+       * i386-linux-nat.c (fill_gregset): Use regcache_collect() instead
+       of accessing registers[] directly.
+
+2001-11-17  Kevin Buettner  <kevinb@redhat.com>
+
+       * i386-linux-nat.c (fill_gregset): Don't invoke read_register_gen()
+       when fetching ORIG_EAX.
+
+2001-11-17  Daniel Jacobowitz  <drow@mvista.com>
+
+       * arm-linux-nat.c: Don't include <asm/ptrace.h>.
+       (fetch_register): Use elf_gregset_t instead of struct pt_regs.
+       (fetch_regs): Likewise.
+       (store_register): Likewise.
+       (store_regs): Likewise.
+
+2001-11-17  Daniel Jacobowitz  <drow@mvista.com>
+
+       * sparc-linux-nat.c (fill_gregset): Replace read_register_gen
+       with regcache_collect.
+       (fill_fpregset): Likewise.
+
+2001-11-17  Daniel Jacobowitz  <drow@mvista.com>
+
+       * Makefile.in: Add mips-linux-nat.c, mips-linux-tdep.c,
+       and sparc-linux-nat.c to ALLDEPFILES.  Add dependencies.
+       * config/sparc/linux.mh: Add sparc-linux-nat.o to NATDEPFILES.
+       * sparc-linux-nat.c: New file, from Mark Kettenis.
+
+2001-11-16  Jakub Jelinek  <jakub@redhat.com>
+
+       * dwarf2read.c (dwarf_str_buffer): New.
+       (struct dwarf2_pinfo): Add dwarf_str_buffer and dwarf_str_size.
+       (DWARF_STR_BUFFER, DWARF_STR_SIZE): Define.
+       (dwarf2_has_info): Clear dwarf_str_offset.
+       (dwarf2_build_psymtabs): Read .debug_str section if present.
+       (dwarf2_build_psymtabs_hard): Save DWARF_STR_BUFFER and
+       DWARF_STR_SIZE.
+       (psymtab_to_symtab_1): Restore DWARF_STR_BUFFER and DWARF_STR_SIZE.
+       (read_attribute): Handle DW_FORM_strp.
+       (read_n_bytes, read_string): Remove HOST_CHAR_BIT != 8
+       handling code.
+       (read_indirect_string): New.
+       (dump_die): Handle DW_FORM_strp.
+
+2001-11-16  Jim Blandy  <jimb@redhat.com>
+
+       * s390-tdep.c: Tweak argument-passing to match GCC bugs.
+       (is_float_singleton, is_struct_like, is_float_like): New
+       functions, that isolate the weirdness.
+       (is_double_or_float, is_simple_arg, pass_by_copy_ref,
+       is_double_arg): Use is_struct_like and is_float_like, rather than
+       testing the type codes ourselves.
+       (s390_push_arguments): When passing args on the stack, align each
+       on to a four-byte boundary, regardless of what the type itself
+       needs.
+
+2001-11-16  Ben Harris  <bjh21@netbsd.org>
+
+       * Makefile.in (os9kread.o): Replace $< with autoconf-approved
+       $(srcdir)/....
+       (procfs.o): Ditto.
+       (z8k-tdep.o): Ditto.
+
+2001-11-16  Ben Harris  <bjh21@netbsd.org>
+
+       * MAINTAINERS (write-after-approval): Add self.
+
+2001-11-15  Jim Blandy  <jimb@redhat.com>
+
+       * s390-tdep.c (is_simple_arg): Structs and unions exactly eight
+       bytes long should be handled as DOUBLE_ARGs; don't recognize them
+       as SIMPLE_ARGs.
+
+2001-11-12  Andrew Cagney  <ac131313@redhat.com>
+
+       * remote.c (struct packet_reg): Declare.
+       (struct remote_state): Add fields sizeof_g_packet and g_packet.
+       (init_remote_state): Initialize sizeof_g_packet and g_packet.
+       (free_remote_state): Free g_packet.
+       (packet_reg_from_pnum, packet_reg_by_regnum): New functions.
+       (remote_wait): Use above instead of gdbarch methods
+       REGISTER_RAW_SIZE and REGISTER_BYTES.
+       (remote_async_wait): Ditto.
+       (remote_fetch_registers, remote_store_registers): Ditto.
+       (store_register_using_P): Ditto.
+       
+2001-11-15  Andrew Cagney  <ac131313@redhat.com>
+
+       * remote.c (_initialize_remote): Don't multi-arch swap tty_input.
+       Second attempt.
+
+2001-11-15  Andrew Cagney  <ac131313@redhat.com>
+
+       * utils.c (phex_nz): For default case, set str to phex_nz return
+       value.
+       (phex): Ditto.
+
+2001-11-15  Andrew Cagney  <ac131313@redhat.com>
+
+       * TODO (register_buffer): Delete.
+       * regcache.c (register_buffer): Make static.
+       (regcache_collect): New function.
+       * regcache.h (register_buffer): Delete declaration.
+       (regcache_collect): Declare.
+       * remote.c (store_register_using_P): Rewrite using
+       regcache_collect.
+       (remote_store_registers): Ditto.
+       * go32-nat.c (store_register): Ditto.
+
+2001-11-14  Andrew Cagney  <ac131313@redhat.com>
+
+       * remote.c (struct remote_state): Declare.
+       (get_remote_state): New function.
+       (init_remote_state): New function.
+       (remote_gdbarch_data_handle): New global.
+       (build_remote_packet_sizes): Delete function, moved to
+       init_remote_state.
+       (register_remote_packet_sizes): Delete function.
+       (actual_register_packet_size, remote_packet_size): Moved to
+       ``struct remote_state''.
+       (PBUFSIZE): Delete. Replaced by rs->remote_packet_size.
+       (free_remote_state): New function.
+       (get_memory_packet_size, get_memory_read_packet_size)
+       (set_thread, remote_unpack_thread_info_response)
+       (remote_get_threadinfo, parse_threadlist_response)
+       (remote_get_threadlist, remote_current_thread)
+       (remote_threads_info, remote_threads_extra_info)
+       (extended_remote_restart, get_offsets)
+       (get_offsets, remote_check_symbols, remote_open_1)
+       (remote_async_open_1, remote_detach, remote_async_detach)
+       (remote_resume, remote_async_resume, remote_wait)
+       (remote_async_wait, remote_fetch_registers)
+       (store_register_using_P, remote_store_registers)
+       (check_binary_download, putpkt_binary)
+       (remote_insert_breakpoint, remote_remove_breakpoint)
+       (remote_insert_watchpoint, remote_remove_watchpoint)
+       (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint)
+       (compare_sections_command, remote_query)
+       (remote_rcmd, remote_rcmd, packet_command)
+       (remote_info_process): Update.
+
+2001-11-14  Andrew Cagney  <ac131313@redhat.com>
+
+       * remote.c: Include "gdb_assert.h".
+       (tty_input): Wire buffer to 400 bytes.
+       (readsocket): Check tty_input doesn't overflow.
+       (build_remote_gdbarch_data, _initialize_remote): Don't multi-arch
+       tty_input.
+
 2001-11-14  Michael Snyder  <msnyder@redhat.com>
 
        * d10v-tdep.c (d10v_pointer_to_address): Use new type flag
This page took 0.02832 seconds and 4 git commands to generate.