* lin-lwp.c (child_wait): Call linux_record_stopped_pid.
[binutils-gdb.git] / gdb / ChangeLog
index cd4da94c518ad67b5c7870230fae506148fd619a..fe047c668ffacce80ddfbd7b26554ea6ba7b4367 100644 (file)
@@ -1,3 +1,131 @@
+2003-08-17  Daniel Jacobowitz  <drow@mvista.com>
+
+       * lin-lwp.c (child_wait): Call linux_record_stopped_pid.
+
+2003-08-17  Daniel Jacobowitz  <drow@mvista.com>
+
+       * Makefile.in (i386-linux-nat.o): Update dependencies.
+       * config/i386/nm-linux.h (LINUX_CHILD_POST_STARTUP_INFERIOR): Define.
+       * config/nm-linux.h (CHILD_POST_STARTUP_INFERIOR, CHILD_POST_ATTACH)
+       (CHILD_FOLLOW_FORK, KILL_INFERIOR): Define.
+       * i386-linux-nat.c: Include "linux-nat.h".
+       (child_post_startup_inferior): New function.
+       * i386-nat.c (child_post_startup_inferior): Wrap in #ifdef.
+       * infptrace.c (kill_inferior): Wrap in #ifdef.
+       * lin-lwp.c (lin_lwp_attach_lwp): Call child_post_attach after
+       attaching to each LWP.
+       (child_wait, lin_lwp_wait): Call linux_handle_extended_wait.
+       (init_lin_lwp_ops): Fill in some more operations.
+       * linux-nat.h (linux_enable_event_reporting)
+       (linux_handle_extended_wait, linux_child_post_startup_inferior): New
+       prototypes.
+       * linux-nat.c (linux_enable_event_reporting): New function.
+       (child_post_attach, linux_child_post_startup_inferior)
+       (child_post_startup_inferior, child_follow_fork)
+       (linux_handle_extended_wait, kill_inferior): New functions.
+
+2003-08-16  Andrew Cagney  <cagney@redhat.com>
+
+       * gdbarch.sh: Delete all #if not GDB_MULTI_ARCH code.
+       * gdbarch.h, gdbarch.c: Re-generate.
+
+2003-08-16  Mark Kettenis  <kettenis@gnu.org>
+
+       * config/alpha/nm-fbsd.h (SVR4_SHARED_LIBS): Remove define.
+
+2003-08-16  Andrew Cagney  <cagney@redhat.com>
+
+       * NEWS: Mention that "set prompt-escape-char" was deleted.
+       * top.c (get_prompt_1): Delete function.
+       (gdb_prompt_escape):
+       (init_main): Do not clear "gdb_prompt_escape".  Delete "set
+       prompt-escape-char" command.
+       (MAX_PROMPT_SIZE): Delete macro.
+       (get_prompt): Simplify, do not call get_prompt_1.
+
+2003-08-16  Andrew Cagney  <cagney@redhat.com>
+
+       * Makefile.in (printcmd.o, valprint.o): Do not try to build with
+       -Werror.  -Wformat-nonliteral problems.
+
+2003-08-15  J. Brobecker  <brobecker@gnat.com>
+
+       Further multiarching work mostly for hppa64-*-hpux11:
+       * hppa-tdep.h: New file.
+       * hppa-tdep.c: #include hppa-tdep.c.
+       (hppa32_num_regs): Renamed from hppa_num_regs.
+       (hppa64_num_regs): New constant.
+       (hppa64_call_dummy_breakpoint_offset): New constant.
+       (hppa32_call_dummy_length): New constant.
+       (hppa64_call_dummy_length): New constant.
+       (hppa32_stack_align): Make name 32bit explicit.
+       (hppa32_register_virtual_type): Likewise.
+       (hppa32_extract_return_value): Likewise.
+       (hppa32_use_struct_convention): Likewise.
+       (hppa32_store_return_value): Likewise.
+       (hppa64_register_virtual_type): New function.
+       (hppa64_extract_return_value): New function.
+       (hppa64_use_struct_convention): New function.
+       (hppa64_store_return_value): New function.
+       (hppa_frame_locals_address): Remove declaration, function does
+       not exist anymore.
+       (hppa_register_byte): Add support for PA64 ABI.
+       (hppa_gdbarch_init): Add support for PA64 ABI.
+       * hppa-hpux-tdep.c (hppa32_hpux_frame_saved_pc_in_sigtramp):
+       Make name 32bit explicit.
+       (hppa32_hpux_frame_base_before_sigtramp): Likewise.
+       (hppa32_hpux_frame_find_saved_regs_in_sigtramp): Likewise.
+       (hppa64_hpux_frame_saved_pc_in_sigtramp): New function.
+       (hppa64_hpux_frame_base_before_sigtramp): New function.
+       (hppa64_hpux_frame_find_saved_regs_in_sigtramp): New function.
+       * config/pa/tm-hppa64.h: Remove macros that are no longer
+       necessary now that the gdbarch vector is properly setup.
+       Transform some macros into function calls. Some minor cleanup. 
+       * config/pa/tm-hppah.h: Update function calls in macros
+       following the function renaming in hppa-hpux-tdep.c.
+       * Makefile.in (hppa_tdep_h): New variable.
+       (hppa-tdep.o): Add dependency over hppa_tdep_h.
+
+2003-08-14  Michael Snyder  <msnyder@redhat.com>
+
+       * disasm.c (gdb_disassemble_info): Set info->insn_sets to zero.
+
+2003-08-13  J. Brobecker  <brobecker@gnat.com>
+
+       * hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Use the correct
+       bfd arch_info when registering the GDB_OSABI_HPUX_ELF initialization
+       routine.
+
+2003-08-13  Michael Snyder  <msnyder@redhat.com>
+
+       * frv-tdep.c (frv_push_arguments): Use deprecated ftype.
+       (frv_saved_pc_after_call): Use deprecated ftype.
+       (stupid_useless_init_extra_frame_info): Remove orphan prototype.
+       (frv_remote_translate_xfer_address): Remove.
+       (frv_gdbarch_init): Use generic_remote_translate_xfer_address.
+
+2003-08-13  J. Brobecker  <brobecker@gnat.com>
+
+       * hppa-tdep.c (hppa_gdbarch_init): Perform the ABI-specific gdbarch
+       initialization after the common gdbarch initialization, not before.
+
+2003-08-13  J. Brobecker  <brobecker@gnat.com>
+
+       * config/pa/tm-hppa64.h (HPUX_1100): Remove, not used.
+       (ADDR_BITS_REMOVE): Remove, redundant.
+
+2003-08-13  J. Brobecker  <brobecker@gnat.com>
+
+       * hppa-tdep.c (hppa_gdbarch_init): Set the addr_bits_remove
+       gdbarch method to clear the 2 low bits of text addresses.
+
+2003-08-12  Andrew Cagney  <cagney@redhat.com>
+
+       * Makefile.in (dsrec.o): Update dependencies.
+       * dsrec.c: Include "gdb_assert.h".
+       (make_srec): Use snprintf instead of sprintf, use a literal format
+       string.
+
 2003-08-12  Andrew Cagney  <cagney@redhat.com>
 
        * frame.c (deprecated_frame_xmalloc): Use XMALLOC, instead of