X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=976e927aa07f33c53e64e556e3186b0f9598d9d3;hb=39d4ef0921acdfe6433b9630a37e3fc957b6d797;hp=f6ac92ab330caa5d733068cdb7d1d5c8e4f09c3c;hpb=0150732f4e40a1ce339f7773c34cb4a6f078839b;p=binutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f6ac92ab330..976e927aa07 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,431 @@ +2001-08-07 Andrew Cagney + + * target.h (TARGET_VIRTUAL_FRAME_POINTER): Delete, multi-arched. + * gdbarch.sh (TARGET_VIRTUAL_FRAME_POINTER): Add. + * gdbarch.h, gdbarch.c: Regenerate. + + * arch-utils.h (legacy_virtual_frame_pointer): Declare. + * arch-utils.c: Include "gdb_assert.h". + (legacy_virtual_frame_pointer): Define. + * Makefile.in (arch-utils.o): Depends on gdb_assert.h. + + * tracepoint.c (encode_actions): Make frame_reg an int. Make + frame_offset a LONGEST. + * ax-gdb.c (gen_frame_args_address): Ditto. + (gen_frame_locals_address): Ditto. + * mn10300-tdep.c (mn10300_gdbarch_init): Initialize + virtual_frame_pointer. + (mn10300_virtual_frame_pointer): Make static. Update parameter + list to match function signature. + * config/mn10300/tm-mn10300.h (TARGET_VIRTUAL_FRAME_POINTER): Delete. + +2001-08-10 Keith Seitz + + * gdb-events.sh: Add architecture_changed event. + * gdbarch.sh: Include gdb-event.h. + (gdbarch_update_p): Notify UIs when architecture changes. + * gdb-events.h: Regenerated. + * gdb-events.c: Regenerated. + * gdbarch.c: Regenerated. + +2001-08-10 Michael Snyder + + * regcache.c (legacy_write_register_gen): Don't 'optimize out' + a write_register to a pseudo-reg. Target_store_pseudo_register + needs to get called, because these regs may be computed and may + have side-effects. + +2001-08-10 Keith Seitz + + * gdb-events.sh: Deal with event notifications with no + arguments. + +2001-08-10 Orjan Friberg + + * remote.c (read_frame): Correct off-by-one error in condition. + +2001-08-08 Don Howard + + * stabsread.c (read_type): Add support for const and volatile + modifiers. + +2001-08-02 Daniel Jacobowitz + + * core-regset.c (fetch_core_registers): Remove HAVE_GREGSET_T + and HAVE_FPREGSET_T checks. Use gdb_gregset_t and gdb_fpregset_t. + +2001-08-02 Keith Seitz + + * defs.h (SLASH_STRING): If not defined, set + to "/", regardless of _WIN32, __CYGWIN__, or + whatnot. + +2001-08-02 Mark Kettenis + + * cli/cli-decode.h: Include "gdb_regex.h" instead of + "gnu-regex.h". + + * NEWS: Update. + +2001-08-02 Eli Zaretskii + + * config/i386/xm-go32.h: Include xm-i386.h. + (HOST_BYTE_ORDER, HOST_LONG_DOUBLE_FORMAT): Remove definitions. + +2001-08-02 Eli Zaretskii + + The following changes avoid polluting global namespace with the + `enable' and `disable' identifiers, because some platforms define + in their system headers symbols with global scope that go by those + names. + + * breakpoint.h (enum enable_state): Rename from `enum enable'. + Also rename all the enum members to have the "bp_" prefix. + (struct breakpoint): Rename the `enable' member to `enable_state'. + (enum bpdisp): Rename all members to have the "disp_" prefix. + + * breakpoint.c: All users of `enum enable' and `enum bpdisp' + changed. + (args_for_catchpoint_enable): Rename the `enable' member to + `enable_p'. All users changed. + + * tracepoint.h (enum enable): Remove. + (struct tracepoint): The member `enabled' is now `int enabled_p'. + + * tracepoint.c: All users of the `enabled' member changed. + + * printcmd.c (struct display): The `status' member is now an int. + + * memattr.h (struct mem_region): Rename the `status' member to + `enabled_p'. + (enum enable): Remove. + + * memattr.c: Change all users of the `status' member of struct + mem_region to use `enabled_p' instead. + + * infcmd.c (run_stack_dummy): Use disp_del instead of del. + + * go32-nat.c: Remove the kludgey work-around for conflicts between + and "breakpoint.h". + +2001-08-02 Corinna Vinschen + + * MAINTAINERS: Add myself to the write-after-approval list. + * ser-tcp.c (tcp_open): Use `localhost' as default host if no + hostname is given. + +2001-08-01 Andrew Cagney + + * doublest.h (store_floating, floatformat_to_doublest): Make IN + paramter a const void pointer. + (floatformat_from_doublest): Make IN const, Make OUT a void + pointer. + * doublest.c (floatformat_to_doublest): Update. + (floatformat_from_doublest): Update. + (extract_floating): Update. + +2001-07-31 Andrew Cagney + + * defs.h (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT) + (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT) + (HOST_LONG_DOUBLE_FORMAT, DOUBLEST) + (floatformat_to_doublest, floatformat_from_doublest) + (floatformat_is_negative, floatformat_is_nan) + (floatformat_mantissa, store_floating) + (extract_floating): Move declaration from here. + * doublest.h: To here. New file. + * utils.c (get_field, floatformat_to_doublest, put_field) + (ldfrexp, floatformat_from_doublest, floatformat_is_negative) + (floatformat_is_nan, floatformat_mantissa) + (FLOATFORMAT_CHAR_BIT): Move from here. + * doublest.c: To here. New file. + * findvar.c (store_floating, extract_floating): Move from here. + * doublest.c: To here. + * Makefile.in (SFILES): Add doublest.c. + (COMMON_OBS): Add doublest.o. + (doublest.o): Specify dependencies. + (doublest_h): Define. + + * config/m88k/tm-m88k.h: Include "doublest.h". + * config/i960/tm-i960.h: Ditto. + * config/i386/tm-symmetry.h: Ditto. + * rs6000-tdep.c, valarith.c: Ditto. + * valprint.c, stabsread.c, sh-tdep.c: Ditto. + * ia64-tdep.c, i387-tdep.c, i386-tdep.c: Ditto. + * values.c, arm-tdep.c, arm-linux-tdep.c: Ditto. + * alpha-tdep.c, ax.h, expression.h: Ditto. + * sh-tdep.c, parse.c, top.c, value.h: Ditto. + + * Makefile.in (arm-tdep.o): Add $(doublest_h). + (i386-tdep.o, i387-tdep.o, ia64-tdep.o): Ditto. + (rs6000-tdep.o, stabsread.o, valarith.o): Ditto. + (values.o, valprint.o, arm-linux-tdep.o): Ditto. + (alpha-tdep.o, ax_h, parse.o, top.o, value_h): Ditto. + (parser_defs_h): Ditto. + (expression_h): Add $(doublest_h) and $(symtab_h). + +2001-08-01 Andrew Cagney + + * Makefile.in: Sort header definitions. + (parser_defs_h, dis_asm_h, annotate_h, gdbthread_h): Define. + Replace parser-defs.h with $(parser_defs_h). Replace $(dis-asm_h) + and $(dis-asm.h) with $(dis_asm_h). Replace annotate.h with + $(annotate_h). Replace target.h with $(target_h). Replace + gdbthread.h with $(gdb_thread_h). Replace symfile.h with $(symfile_h). + +2001-07-31 Mark Kettenis + + * config/i386/xm-i386.h: New file. + * config/i386/xm-fbsd.h: Removed. + * config/i386/xm-linux.h: Removed. + * config/i386/fbsd.mh: Reorganize a bit. + (XM_FILE): Set to xm-i386.h instead of xm-fbsd.h. + * config/i386/linux.mh (XM_FILE): Set to xm-i386.h insread of + xm-linux.h. + +2001-07-30 Jim Blandy + + * dwarf2read.c (dwarf2_build_psymtabs_hard): Doc fix. + +2001-07-27 Daniel Jacobowitz + + * configure.in: Only invoke AC_FUNC_SETPGRP if not cross-compiling. + Check for SETPGRP_VOID separately if cross-compiling and ISO C + headers are available. + +2001-07-30 Mark Kettenis + + * config/i386/tm-i386sol2.h (STAB_REG_TO_REGNUM): Redefine to call + i386_dwarf_reg_to_regnum. + + * i386-tdep.c (i386_register_convert_to_virtual): Replace + assertion with a warning if we're asked to convert towards a + non-floating-point type. Zero out the the buffer where the data + is supposed to be stored in that case. + +2001-07-29 Eli Zaretskii + + * config/djgpp/djconfig.sh: Unset CDPATH. + + * go32-nat.c (get_cr3): Temporary disable support for page tables + in UMBs, as it is incomplete. + + 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 + + Fix some PID/TPID fallout for HP/UX. + From 2001-07-22 Rodney Brown : + * infttrace.c (ptrace_wait): Match external declaration, + and match target_post_wait declaration. + +2001-07-28 Andrew Cagney + + * MAINTAINERS: Add Orjan Friberg as cris target maintainer. + (cris): Set --enable-gdb-build-warnings flag to -w. + +2001-07-28 Andrew Cagney + + From 2001-07-23 Andreas Schwab : + * 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 + + * 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 + + * 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 + + * MAINTAINERS: Update e-mail address of active @cygnus.com + maintainers to @redhat.com. + +2001-07-28 Andrew Cagney + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * README: Mention how to make gdb.pdf. + + * NEWS: Update. + +2001-07-24 Stephen P. Smith + + * MAINTAINERS (Stephen P. Smith): Added to write after approval + list. + +2001-07-23 Andrew Cagney + + * mips-tdep.c (mips_push_arguments): Add comment explaining + problem with LE o32 GCC. + +2001-07-23 Elena Zannoni + + * config/powerpc/aix.mh (MH_LDFLAGS): Don't set these, the Gnu linker + doesn't understand them. + +2001-07-23 Elena Zannoni + + * memattr.c (mem_info_command): Reformat output to look more like + 'info break' output. + (_initialize_mem): Improve help. + +2001-07-23 Mark Kettenis + + * 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 + + * 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 + + * 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 + + * Makefile.in (ALLDEPFILES): Add m68hc11-tdep.c. + (m68hc11-tdep.o): Define dependencies. + +2001-07-22 Stephane Carrez + + * m68hc11-tdep.c (m68hc11_gdbarch_init): Define int at 16-bits. + +2001-07-21 Stephane Carrez + + * 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 + + * i386bsd-nat.c: Do not include . + (_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 * signals.c: New file. @@ -1251,7 +1679,7 @@ 2001-06-13 Eli Zaretskii * config/i386/xm-go32.h (SLASH_P, ROOTED_P, SLASH_CHAR) - (SLASH_STRING): Remove unised definitions. + (SLASH_STRING): Remove unused definitions. * config/i386/xm-cygwin.h: Likewise. 2001-06-12 Andrew Cagney