Fix for PR gdb/209, PR gdb/156:
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index a5b337645eb60885bf21aa404373a8d3994df14c..2b0a1c2999106de176c02ef3cdb92683c3340160 100644 (file)
@@ -1,3 +1,189 @@
+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.
This page took 0.024903 seconds and 4 git commands to generate.