Support for stepping through longjmp in DJGPP programs:
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index dbe12a4e933086473f786ddb83e3ec0ce53663c7..0c59dbe3468e42c5ce8c866277821bd373923adf 100644 (file)
@@ -1,3 +1,470 @@
+2001-07-29  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       Support for stepping through longjmp in DJGPP programs:
+
+       * config/i386/tm-go32.h (JB_ELEMENT_SIZE, JB_PC): New macros.
+       (GET_LONGJMP_TARGET): Define to call get_longjmp_target.
+       (get_longjmp_target): Add prototype.
+
+2001-07-28  Andrew Cagney  <ac131313@redhat.com>
+
+       Fix some PID/TPID fallout for HP/UX.
+       From 2001-07-22 Rodney Brown <rbrown64@csc.com.au>:
+       * infttrace.c (ptrace_wait): Match external declaration,
+       and match target_post_wait declaration.
+
+2001-07-28  Andrew Cagney  <ac131313@redhat.com>
+
+       * MAINTAINERS: Add Orjan Friberg as cris target maintainer.
+       (cris): Set --enable-gdb-build-warnings flag to -w.
+
+2001-07-28  Andrew Cagney  <ac131313@redhat.com>
+
+       From 2001-07-23 Andreas Schwab <schwab@suse.de>:
+       * config/m68k/tm-m68k.h (TARGET_LONG_DOUBLE_FORMAT): Define.
+       (TARGET_LONG_DOUBLE_BIT): Define.
+       (REGISTER_VIRTUAL_SIZE): Return 12 for floating point registers.
+       (MAX_REGISTER_VIRTUAL_SIZE): Increase to 12.
+       (REGISTER_VIRTUAL_TYPE): Return builtin_type_long_double for
+       floating point registers.
+       (REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL)
+       (REGISTER_CONVERT_TO_RAW): Remove.
+       * config/m68k/xm-linux.h (HOST_LONG_DOUBLE_FORMAT): Define.
+
+2001-07-26  Andrew Cagney  <ac131313@redhat.com>
+
+       * thread.c, breakpoint.c: Include "gdb.h".
+       * Makefile.in (gdb_h): Define.
+       (HFILES_NO_SRCDIR): Add gdb.h.
+       (mi-cmd-break.o, mi-main.o, thread.o)
+       (breakpoint.o): Add dependency on $(gdb_h).
+
+       * defs.h (enum gdb_rc, gdb_breakpoint_query)
+       (gdb_breakpoint, gdb_thread_select)
+       (gdb_list_thread_ids): Move declaration from here ...
+       * gdb.h: To here.  New file.
+
+2001-07-28  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * Makefile.in (SUBDIR_TUI_OBS): Add tui-out.o, tui-hooks.o.
+       (SUBDIR_TUI_SRCS): Add tui-out.c tui-hooks.c
+       (SFILES): Likewise.
+       (tui-out.o): Define dependencies.
+       (tui-hooks.o): Likewise.
+
+2001-07-28  Andrew Cagney  <ac131313@redhat.com>
+
+       * MAINTAINERS: Update e-mail address of active @cygnus.com
+       maintainers to @redhat.com.
+
+2001-07-28  Andrew Cagney  <ac131313@redhat.com>
+
+       * README (Known bugs): Delete section.
+       (Kernel debugging): Delete section.
+       (Languages other than C): Delete section.
+       (Host/target specific installation notes) New section.
+
+2001-07-28  Mark Kettenis  <kettenis@gnu.org>
+
+       * config/i386/tm-i386.h (STAB_REG_TO_REGNUM, SDB_REG_TO_REGNUM,
+       DWARF_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM): New defines.
+       (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum): New
+       prototypes.
+       * config/i386/tm-fbsd.h, config/i386/tm-i386gnu.h,
+       config/i386/tm-linux.h (STAB_REG_TO_REGNUM): Redefine to call
+       i386_dwarf_reg_to_regnum.
+       * i386-tdep.c (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum):
+       New functions.
+
+       * i386-tdep.c: Include "gdb_assert.h"
+       (i386_register_convert_to_virtual): Fix such that it can handle
+       conversion to any floating-point type.  Assert that we are dealing
+       with a floating-point first.
+       (i386_register_convert_to_raw): Assert that TYPE is a
+       floating-point type with length 12.
+
+2001-07-27  John R. Moore  <jmoore@redhat.com>
+
+       * configure.in: Added dependency of gdb on tcl/tk libraries.
+       * Makefile.in: Likewise.
+       * configure: Regenerated with the above using autoconf.
+
+2001-07-26  Elena Zannoni  <ezannoni@redhat.com>
+
+       * sh-tdep.c (sh_gdbarch_init): Use SH_DEFAULT_NUM_REGS instead of
+       NUM_REGS.
+       (SH_DEFAULT_NUM_REGS): Define.
+
+2001-07-26  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * go32-nat.c (read_memory_region): Make sure the segment limit was
+       indeed set, to work around a Windows 2000 bug.
+
+2001-07-25  Daniel Jacobowitz  <drow@mvista.com>
+
+       * infptrace.c (child_xfer_memory): Add cast to CORE_ADDR.
+       * infttrace.c (child_xfer_memory): Likewise.
+       * symm-nat.c (child_xfer_memory): Likewise.
+       * gdbserver/low-hppabsd.c (read_inferior_memory): Likewise.
+       (write_inferior_memory): Likewise.
+       * gdbserver/low-linux.c (read_inferior_memory): Likewise.
+       (write_inferior_memory): Likewise.
+       * gdbserver/low-lynx.c (read_inferior_memory): Likewise.
+       (write_inferior_memory): Likewise.
+       * gdbserver/low-nbsd.c (read_inferior_memory): Likewise.
+       (write_inferior_memory): Likewise.
+       * gdbserver/low-sparc.c (read_inferior_memory): Likewise.
+       (write_inferior_memory): Likewise.
+       * gdbserver/low-sun3.c (read_inferior_memory): Likewise.
+       (write_inferior_memory): Likewise.
+
+2001-07-25  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * README: Mention how to make gdb.pdf.
+
+       * NEWS: Update.
+
+2001-07-24  Stephen P. Smith <ischis2@home.com>
+
+       * MAINTAINERS (Stephen P. Smith): Added to write after approval 
+       list.
+
+2001-07-23  Andrew Cagney  <ac131313@redhat.com>
+
+       * mips-tdep.c (mips_push_arguments): Add comment explaining
+       problem with LE o32 GCC.
+
+2001-07-23  Elena Zannoni  <ezannoni@redhat.com>
+
+       * config/powerpc/aix.mh (MH_LDFLAGS): Don't set these, the Gnu linker
+       doesn't understand them.
+
+2001-07-23  Elena Zannoni  <ezannoni@redhat.com>
+
+       * memattr.c (mem_info_command): Reformat output to look more like
+       'info break' output.
+       (_initialize_mem): Improve help.
+
+2001-07-23  Mark Kettenis  <kettenis@gnu.org>
+
+       * configure.in (AC_CHECK_FUNCS): Add setpggrp.
+       (AC_FUNC_SETPGRP): Add.
+       * aclocal.m4, configure, config.in: Regenerated.
+       * inflow.c (gdb_setpgid): Get rid of NEED_POSIX_SETPGID and
+       SETPGRP_ARGS.  Always use setpgid if it is available, fall back on
+       setpgrp if it isn't.  Use SETPGRP_VOID (defined by autoconf) to
+       distinguish between the two setpgrp flavours.
+       * config/xm-sysv4.h, config/arm/xm-linux.h,
+       config/i386/xm-i386aix.h, config/i386/xm-sco.h,
+       config/i386/xm-linux.h, config/i386/xm-ptx.h,
+       config/m68k/xm-linux.h, config/powerpc/xm-linux.h,
+       config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h,
+       config/ia64/xm-linux.h (NEED_POSIX_SETPGID): Remove.
+       * config/rs6000/xm-rs6000.h (SETPGRP_ARGS): Remove.
+
+2001-07-23  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * go32-nat.c (read_memory_region): Set the granularity bit of the
+       allocated segment according to its size, and adjust the limit to
+       be page-aligned if the segment is page-granular.
+
+       * (get_cr3, get_pde, get_pte, display_ptable_entry, go32_pde) 
+       (display_page_table, go32_pte, go32_pte_for_address): New functions.
+       (_initialize_go32_nat): Initialize and document them.
+
+2001-07-22  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386gnu-nat.c: Include "i387-nat.h".
+       (struct env387): Removed.
+       (reg_offset): Fix comment.
+       (fetch_fpregs): Use FCTRL_REGNUM and FOP_REGNUM instead of
+       FIRST_FPU_CONTROL_REGNUM and LAST_FPU_CONTROL_REGNUM.  Rewrite to
+       use i387_supply_fsave.
+       (gnu_fetch_registers): Remove spurious whitespace.
+       (convert_to_env387): Remove.
+       (store_fpregs): Add argument regno.  Use i387_fill_fsave instead
+       of convert_to_env387.
+       (gnu_store_registers): Remove spurious whitespace.  Pass REGNO to
+       store_fpregs.
+       * config/i386/i386gnu.mt (TDEPFILES): Add i387-tdep.o.
+       * config/i386/i386gnu.mh (XDEPFILES): Remove i387-tdep.o.
+       (NATDEPFILES): Add i387-nat.o.
+
+2001-07-22  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * Makefile.in (ALLDEPFILES): Add m68hc11-tdep.c.
+       (m68hc11-tdep.o): Define dependencies.
+
+2001-07-22  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * m68hc11-tdep.c (m68hc11_gdbarch_init): Define int at 16-bits.
+
+2001-07-21  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * utils.c (init_page_info): Use tui_get_command_dimension.
+       * printcmd.c (disassemble_command): Simplify tui specific code,
+       use tui_is_window_visible, tui_show_assembly.
+
+2001-07-21  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386bsd-nat.c: Do not include <sys/sysctl.h>.
+       (_initialize_i386bsd_nat) [KERN_PS_STRINGS]: Move FreeBSD-specific
+       code to ...
+       * i386fbsd-nat.c: ... here.  New file.
+       * config/i386/fbsd.mh (NATDEPFILES): Add i386-fbsd.o.
+       * config/i386/nm-fbsd.h (CHILD_RESUME): Define.
+       * Makefile.in (ALLDEPFILES): Add i386fbsd-nat.c.
+       (i386fbsd-nat.o): Add dependencies.
+       
+2001-07-19  Daniel Jacobowitz  <drow@mvista.com>
+
+       * signals.c: New file.
+       * Makefile.in: Add signals.o.
+       * target.c (struct signals, target_signal_to_name)
+       (target_signal_from_name, target_signal_from_host)
+       (do_target_signal_to_host, target_signal_to_host_p)
+       (target_signal_to_host, target_signal_from_command): Move to
+       signals.c.
+       (initialize_targets): Move check of struct signals to...
+       * signals.c (_initialize_signals): Here.
+
+2001-07-19  Andrew Cagney  <ac131313@redhat.com>
+
+       * MAINTAINERS: Add Michael Chastain as C++ testsuite maintainer.
+
+2001-07-19  Andrew Cagney  <ac131313@redhat.com>
+
+       From Stephen Smith:
+       * configure.tgt (i*86-*-pe*): New target.
+
+2001-07-19  Andrew Cagney  <ac131313@redhat.com>
+
+       From 2001-07-16 Rodney Brown <rbrown64@csc.com.au>:
+       * infttrace.c (child_thread_alive): Fix gdb_tid typo.
+       * somsolib.c (no_shared_libraries): Provide stub.
+       * xcoffsolib.c (no_shared_libraries): Provide stub.
+
+2001-07-18  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * Makefile.in (COMMON_OBS): Remove tui-file.o.
+       (SUBDIR_TUI_OBS): Add it here.
+       (SUBDIR_TUI_SRCS): Move tui-file.c and tui-file.h here.
+       (main.o): Remove dependency with tui-file.h.
+
+2001-07-17  Elena Zannoni  <ezannoni@redhat.com>
+
+       * Makefile.in (tui-file.o): Update dependencies.
+
+2001-07-17  Elena Zannoni  <ezannoni@redhat.com>
+
+       * top.c (catch_errors): Convert PTR to void * in parameters list.
+       (quit_cover): Ditto.
+
+2001-07-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * source.c (find_source_lines): Remove tui test, must be replaced
+       by appropriate warning hook.
+       (print_source_lines): Remove tui hacks, must be replaced by cli.
+       (forward_search_command): Remove tui hacks, can be replaced by
+       appropriate calls to identify_source_line when tui scrolls.
+       (reverse_search_command): Likewise.
+
+2001-07-16  Nick Duffek  <nsd@redhat.com>
+
+       * remote.c (init_remote_ops, init_remote_cisco_ops,
+       init_remote_async_ops): Set to_pid_to_str and
+       to_extra_thread_info correctly and in the same order as declared
+       in target.h.
+
+2001-07-16  Andrew Cagney  <ac131313@redhat.com>
+
+       * remote.c: Revert below.  Included more than intended.
+
+2001-07-16  Nick Duffek  <nsd@redhat.com>
+
+       * remote.c (init_remote_ops, init_remote_cisco_ops,
+       init_remote_async_ops): Set to_pid_to_str and
+       to_extra_thread_info correctly and in the same order as declared
+       in target.h.
+
+2001-07-16  Nick Duffek  <nsd@redhat.com>
+
+       * findvar.c (read_var_value): Apply value_as_pointer() to
+       addresses retrieved from the target for LOC_BASEREG and
+       LOC_BASEREG_ARG variables.
+
+2001-07-16  Orjan Friberg  <orjanf@axis.com>
+
+       * NEWS: New target CRIS.
+
+2001-07-16  Elena Zannoni  <ezannoni@redhat.com>
+
+        * top.c (show_commands): Remove extern decl of history_get, it's
+       already in readline/history.h.
+       
+2001-07-16  Elena Zannoni  <ezannoni@redhat.com>
+
+        * top.c (is_complete_command, init_cmd_lists, init_cli_cmds,
+        execute_user_command, do_setshow_command, get_prompt, init_proc,
+        serial_log_command): Remove extern declarations.  Include
+        cli/cli-cmds.h, cli/cli-script.h, cli/cli-setshow.h, serial.h.
+        * gdbcmd.h (execute_user_command): Remove declaration, it's already
+        in cli/cli-script.h.
+        * command.h (do_setshow_command): Remove declaration, it's already
+        in cli/cli-setshow.h.
+        * infrun.c: Include "cli/cli-script.h" for execute_user_command.
+        * Makefile.in (infrun.o): Update dependencies.
+        (top.o): Ditto.
+        * cli/cli-setshow.h: Add comment for do_setshow_command.
+
+2001-07-16  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * cli/cli-cmds.c (shell_escape) [GLOBAL_CURDIR]: Condition the
+       call to chdir on this symbol rather than on __DJGPP__.
+       (CANT_FORK) [__MSDOS__]: Move from here...
+       * defs.h (CANT_FORK) [__MSDOS__]: ...to here.
+       (GLOBAL_CURDIR) [__MSDOS__]: Define.
+
+2001-07-16  Orjan Friberg  <orjanf@axis.com>
+
+       * configure.tgt: Recognise the CRIS architecture.
+       * config/cris/cris.mt: New file for CRIS target.
+       * cris-tdep.c: New file for CRIS target.
+       
+2001-07-15  Elena Zannoni  <ezannoni@redhat.com>
+
+       * top.c (quit_cover, float_handler): Move definition up before use.
+       (gdb_init): Move to end of file, to avoid calls to not yet defined
+       functions.  
+       Delete prototypes.
+       
+2001-07-14  Andrew Cagney  <ac131313@redhat.com>
+
+       * serial.h (SERIAL_ASYNC): Delete.
+       (DEPRECATED_SERIAL_FD): Delete.
+       (SERIAL_DEBUG): Delete.
+       (SERIAL_DEBUG_P): Delete.
+       (SERIAL_DRAIN_OUTPUT): Delete.
+       (SERIAL_FLUSH_OUTPUT): Delete.
+       (SERIAL_FLUSH_INPUT): Delete.
+       (SERIAL_SEND_BREAK): Delete.
+       (SERIAL_RAW): Delete.
+       (SERIAL_GET_TTY_STATE): Delete.
+       (SERIAL_SET_TTY_STATE): Delete.
+       (SERIAL_PRINT_TTY_STATE): Delete.
+       (SERIAL_NOFLUSH_SET_TTY_STATE): Delete.
+       (SERIAL_SETBAUDRATE): Delete.
+       (SERIAL_SETSTOPBITS): Delete.
+       (SERIAL_CAN_ASYNC_P): Delete.
+       (SERIAL_IS_ASYNC_P): Delete.
+       (SERIAL_UN_FDOPEN): Delete.
+       (SERIAL_READCHAR): Delete.
+       (SERIAL_CLOSE): Delete.
+       (SERIAL_FDOPEN): Delete.
+       (SERIAL_OPEN): Delete.
+       * ser-unix.c: Update.
+       * sparclet-rom.c: Update.
+       * remote-bug.c: Update.
+       * dsrec.c: Update.
+       * xmodem.c: Update.
+       * nindy-share/ttyflush.c: Update.
+       * nindy-share/Onindy.c: Update.
+       * utils.c: Update.
+       * serial.c: Update.
+       * remote-nindy.c: Update.
+       * inflow.c: Update.
+       * sparcl-tdep.c: Update.
+       * sh3-rom.c: Update.
+       * remote.c: Update.
+       * remote-utils.c: Update.
+       * remote-st.c: Update.
+       * remote-sds.c: Update.
+       * remote-rdp.c: Update.
+       * remote-os9k.c: Update.
+       * remote-nrom.c: Update.
+       * remote-mips.c: Update.
+       * remote-es.c: Update.
+       * remote-e7000.c: Update.
+       * remote-array.c: Update.
+       * ocd.c: Update.
+       * nindy-share/nindy.c: Update.
+       * monitor.c: Update.
+       
+2001-07-14  Andrew Cagney  <ac131313@redhat.com>
+
+       * mn10200-tdep.c: Replace value_ptr with ``struct value *''.
+       * mcore-tdep.c: Ditto.
+       * sparc-tdep.c: Ditto.
+       * sh-tdep.c: Ditto.
+       * rs6000-tdep.c: Ditto.
+       * ppc-linux-tdep.c: Ditto.
+       * m68hc11-tdep.c: Ditto.
+       * ia64-tdep.c: Ditto.
+       * i386-tdep.c: Ditto.
+       * arm-linux-tdep.c: Ditto.
+       * hppa-tdep.c: Ditto.
+       * h8500-tdep.c: Ditto.
+       * fr30-tdep.c: Ditto.
+       * arm-tdep.c: Ditto.
+       * alpha-tdep.c: Ditto.
+       * d30v-tdep.c: Ditto.
+       * d10v-tdep.c: Ditto.
+       * m32r-tdep.c: Ditto.
+       * mips-tdep.c: Ditto.
+       * v850-tdep.c: Ditto.
+
+2001-07-15  Elena Zannoni  <ezannoni@redhat.com>
+       * top.c (readline_line_completion_function, noop_completer): Move
+       from here...  
+       * completer.c (readline_line_completion_function, noop_completer):
+       ...to here.
+       * gdbcmd.h (readline_line_completion_function, noop_completer):
+       Move declarations from here...  
+       * completer.h (readline_line_completion_function, noop_completer):
+       ...to here.
+       * corefile.c: Include completer.h.
+       * source.c: Ditto.
+       * symfile.c: Ditto.
+       * Makefile.in: Update dependencies.
+
+2001-07-15  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * go32-nat.c (go32_create_inferior): Support command lines longer
+       than 126 characters.
+
+2001-07-14  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * NEWS: New target 68HC11/68HC12.
+
+2001-07-14  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * utils.c (query): Remove tui hacks; tui must use the query_hook.
+       * top.c (command_loop): Remove tui insert_mode hacks; don't call
+       tuiCleanUp because this must be made with atexit by tui.
+       * symfile.c (symbol_file_command): Remove call to TUIDO
+       * stack.c (show_and_print_stack_frame_stub): Remove tui check;
+       not necessary when using the selected frame hooks.
+       (print_stack_frame_stub): Likewise.
+       (print_frame_info_base): Likewise.
+       (print_frame_info): Likewise.
+       (up_silently_command): Likewise.
+       (down_silently_command): Likewise.
+       (show_stack_frame): Likewise for TUIDO.
+       (select_frame): Likewise.
+       (select_and_print_frame): Likewise.
+       (stack_publish_stopped_with_no_frame): Remove.
+       (select_and_maybe_print_frame): Remove.
+       * main.c (captured_main): Remove tui_fileopen and tuiInit; tui
+       must use the initialize ui hook.
+       * infrun.c (normal_stop): Remove call to TUIDO; tui must use the
+       selected frame hooks.
+       * event-top.c (command_handler): Remove tui insert_mode hack.
+       * defs.h: Remove TUIDO; Only include tui.h.
+       * breakpoint.c (mention): Remove calls to TUIDO.
+       (delete_breakpoint): Remove tui hacks; tui must install
+       the breakpoint hooks.
+
 2001-07-14  Mark Kettenis  <kettenis@gnu.org>
 
        * config/i386/xm-linux.h (KERNEL_U_ADDR): Move from here...
This page took 0.027565 seconds and 4 git commands to generate.