+
+ * TODO: List known problems with TUI.
+
+
+ * MAINTAINERS: Jimmy Guo stepped down as a maintiner (TUI,
+ gdb.hp).
+
+
+ * remote.c (remote_cisco_section_offsets): Do not cast result from
+ bfd_get_section_name.
+ (compare_sections_command): Ditto.
+ (remote_cisco_section_offsets): Make ``p'' a const pointer.
+ (compare_sections_command): Ditto for ``sectname''.
+
+
+ * valops.c (hand_function_call): Simplify computation of the
+ address of the pushed argument.
+
+
+ * p-exp.y (parse_number): Avoid shift overflow when ``long''.
+ Code copied from c-exp.y.
+
+
+ * acconfig.h (HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS)
+ (HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS)
+ (HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS): New configure macros.
+ * configure.in (HAVE_STRUCT_LINK_MAP32): Move this test out
+ of the Solaris procfs testing section. Instead, group with...
+ (HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS)
+ (HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS)
+ (HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS): New <link.h> tests.
+ * configure: Regenerate.
+ * config.in: Regenerate.
+
+ * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Use
+ new configure macros to choose which (if any) code to
+ compile in. Added code to explicitly handle *BSD systems;
+ these systems were previously handled only through macro
+ redefinition. Also, due to the way the autoconf tests are set
+ up, this function will no longer return a non-zero value when
+ GDB is configured as a cross debugger. I.e, cross debuggers
+ will no longer be able to "accidentally" get the host system's
+ link map offsets.
+
+
+ * config/i386/nbsd.mh (NATDEPFILES): List all files on the same
+ line to avoid build problem on NetBSD 1.4.
+
+
+ * win32-nat.c (child_attach): check args for NULL before passing
+ to strtoul. This fixes PR gdb/43.
+
+
+ * i387-nat.h: Doc Fix.
+
+ * i386-tdep.c: Fix formatting.
+ (i386_get_frame_setup, i386_follow_jump, codestream_read,
+ codestream_seek, codestream_fill, skip_trampoline_code,
+ gdb_print_insn_i386, _initialize_i386_tdep): Remove redundant
+ prototypoes.
+
+
+ * config/i386/tm-linux.h (TARGET_ANALYZE_FLOATING): Remove. It's
+ no longer used. Also remove associated FIXME.
+
+
+ * gdbarch.sh: Add classes ``m'' and ``M'' for pure multi-arch. Do
+ not generate macro wrappers for multi-arch functions or
+ predicates.
+ (class_is_info_p, class_is_predicate_p): Update.
+ (class_is_function_p, class_is_variable_p): Ditto.
+ (class_is_multiarch_p): New class function.
+
+
+ * config/h8300/tm-h8300.h (FRAME_ARGS_ADDRESS): Changed to use
+ h8300_frame_args_address from frame_args_address.
+ (FRAME_LOCALS_ADDRESS): Changed to use h8300_frame_locals_address
+ from frame_locals_address.
+ (PRINT_REGISTER_HOOK): Changed to use h8300_print_register_hook
+ from print_register_hook.
+ (h8300_frame_args_address): Declare.
+ (h8300_frame_find_saved_regs): Declare.
+ (h8300_frame_locals_address): Declare.
+ (h8300_frame_saved_pc): Declare.
+ (h8300_pop_frame): Declare.
+ (h8300_print_register_hook): Declare.
+ * h8300-tdep.c (h8300_frame_find_saved_regs): Removed declaration.
+ (h8300_frame_args_address): Renamed from frame_args_address.
+ (h8300_frame_locals_address): Renamed from frame_locals_address.
+ (h8300_pop_frame): Renamed from pop_frame.
+ (h8300_print_register_hook): Renamed from print_register_hook.
+
+
+ * solib-svr4.c (bfd_lookup_symbol): Change type of
+ ``storage_needed'' from unsigned int to long in order to
+ match return type of bfd_get_symtab_upper_bound() and
+ bfd_get_dynamic_symtab_upper_bound().
+ * solib-aix5.c (bfd_lookup_symbol): Likewise. Also, eliminate
+ REASONABLE_LIMIT hack which had been added to work around this
+ problem.
+
+
+ * solib-aix5.c (bfd_lookup_symbol, build_so_list_from_mapfile)
+ (aix5_relocate_main_executable, aix5_clear_solib): Replace calls
+ to free() with calls to xfree().
+ (bfd_lookup_symbol): Eliminate use of PTR.
+ (build_so_list_from_mapfile): Use xasprintf() instead of sprintf().
+
+
+ * linespec.c (decode_line_1): Remove trailing quote
+ when parsing double quotes.
+
+
+ * uw-thread.c (read_thr_debug, read_map, read_lwp, thread_iter)
+ (libthread_stub, libthread_init): Pass NULL for the mem_attrib
+ argument in the to_xfer_memory calls.
+
+
+ * MAINTAINERS: Fix typo - w65 not w64. Still doesn't build.
+ * TODO (GDB 5.1 - Cleanups): Add status of targets being obsoleted.
+
+
+ * wince.c (child_xfer_memory): Add attrib parameter.
+ * symm-nat.c (child_xfer_memory): Ditto.
+ * mac-nat.c (child_xfer_memory): Ditto.
+ * infttrace.c (child_xfer_memory): Ditto.
+ * procfs.c (procfs_xfer_memory): Ditto.
+ * lin-thread.c (thread_db_xfer_memory): Ditto.
+ * gnu-nat.c (gnu_xfer_memory): Ditto.
+
+
+ * NEWS: Mention that Harris/CXUX m88k is obsolete.
+
+
+ * config/mips/tm-mips.h: Include "regcache.h" for macros refering
+ to regcache functions.
+ * config/m68k/tm-m68k.h: Ditto.
+ * config/i386/tm-i386v.h: Ditto.
+ * config/mcore/tm-mcore.h: Ditto.
+ * config/m88k/tm-m88k.h: Ditto.
+ * config/m68k/tm-news.h: Ditto.
+ * config/m68k/tm-linux.h: Ditto.
+ * config/m68k/tm-delta68.h: Ditto.
+ * config/m68k/nm-sun3.h: Ditto.
+ * config/m32r/tm-m32r.h: Ditto.
+ * config/i386/tm-symmetry.h: Ditto.
+ * config/i386/tm-sun386.h: Ditto.
+ * config/i386/tm-i386.h: Ditto.
+ * config/i386/nm-symmetry.h: Ditto.
+ * config/i386/nm-sun386.h: Ditto.
+ * config/i386/nm-ptx4.h: Ditto.
+ * config/i386/nm-i386mach.h: Ditto.
+ * config/h8500/tm-h8500.h: Ditto.
+ * config/h8300/tm-h8300.h: Ditto.
+ * config/fr30/tm-fr30.h: Ditto.
+ * config/d30v/tm-d30v.h: Ditto.
+ * config/arm/tm-arm.h: Ditto.
+ * config/arc/tm-arc.h: Ditto.
+ * config/alpha/tm-alpha.h: Ditto.
+ * config/a29k/tm-vx29k.h: Ditto.
+ * config/a29k/tm-a29k.h: Ditto.
+ * config/w65/tm-w65.h: Ditto.
+ * config/vax/tm-vax.h: Ditto.
+ * config/v850/tm-v850.h: Ditto.
+ * config/tic80/tm-tic80.h: Ditto.
+ * config/sparc/tm-sparclite.h: Ditto.
+ * config/sparc/tm-sparclet.h: Ditto.
+ * config/sparc/tm-sparc.h: Ditto.
+ * config/sparc/nm-sun4sol2.h: Ditto.
+ * config/sparc/nm-sun4os4.h: Ditto.
+ * config/sparc/nm-nbsd.h: Ditto.
+ * config/powerpc/nm-solaris.h: Ditto.
+ * config/pa/tm-hppao.h: Ditto.
+ * config/pa/tm-hppa.h: Ditto.
+ * config/pa/nm-hppab.h: Ditto.
+ * config/ns32k/tm-umax.h: Ditto.
+ * config/ns32k/tm-merlin.h: Ditto.
+ * config/nm-m3.h: Ditto.
+ * config/nm-gnu.h: Ditto.
+
+
+ * MAINTAINERS: Update list of targets. Mark arm-* and v850-elf as
+ broken. Mark sh-*, ia64-linux and ns32k-netbsd as buildable.
+ Specify an m88k target. Include sample GAWK script to generate
+ target list. Delete non-existant romp target.
+ * TODO (GDB 5.1 - Cleanups): Update.
+
+
+ * linespec.c (decode_line_1): Skip argptr over a leading
+ double quote. Prevents alloc of 0 bytes and memcpy of -1 bytes.
+
+
+ * config/djgpp/fnchange.lst (ia64-aix-nat.c): Add entry.
+
+
+ * ui-out.h: Remove #if __STDC__, assume an ISO-C compiler.
+ * m3-nat.c: Ditto.
+ * p-lang.h: Ditto.
+ * printcmd.c (printf_command): Ditto.
+ * ch-exp.c (match_integer_literal): Ditto.
+ * scm-tags.h: Ditto.
+ * ser-go32.c: Ditto.
+ * hppa-tdep.c (unwind_command): Ditto.
+ * defs.h (volatile): Delete macro definition. Assume __STDC__.
+ * remote-adapt.c (volatile): Ditto.
+ * remote-eb.c (volatile): Ditto.
+ * remote-mm.c (volatile): Ditto.
+ * defs.h (alloca): Assume __STDC__, declare returning void *.
+
+
+ * inferior.h (ARCH_NUM_REGS): Delete definition.
+ * stack.c (frame_info): Use NUM_REGS, not ARCH_NUM_REGS.
+ * regcache.c (registers_changed): Ditto.
+ (registers_fetched): Ditto.
+ * infptrace.c (fetch_inferior_registers): Ditto.
+ (store_inferior_registers): Ditto.
+ * infcmd.c (do_registers_info): Ditto.
+ (registers_info): Ditto.
+ * i386-linux-nat.c (old_fetch_inferior_registers): Ditto.
+ (old_store_inferior_registers): Ditto.
+ * gdbserver/low-linux.c (register_addr): Ditto.
+ * gdbserver/low-hppabsd.c (register_addr): Ditto.
+ * core-aout.c: Don't include "inferior.h".
+ (fetch_core_registers): Use NUM_REGS not ARCH_NUM_REGS.
+ (register_addr): Ditto.
+
+
+ * cli/cli-script.c (define_command): Fix setting of post hooks.
+
+
+ * i386-linux-tdep.c: Fix formatting and clarify comments.
+ (i386_linux_svr4_fetch_link_map_offsets): Use NULL instead of 0
+ where appropriate.
+
+
+ * gnu-nat.c: Include "gdb_assert.h" instead of <assert.h>.
+ (proc_update_sc): Use gdb_assert instead of assert.
+ (proc_abort): Ditto.
+ (inf_set_step_thread): Ditto.
+ (gnu_wait): Ditto.
+ (S_exception_raise_request): Ditto.
+ (gnu_terminal_init_inferior): Ditto.
+
+
+ * Makefile.in (solib-svr4.o): Depend on solib-svr4.c, not solib.c.
+ (solib-legacy.o): New makefile target.
+ * solib-legacy.c: New file.
+ * solib-svr4.h (SVR4_FETCH_LINK_MAP_OFFSETS): Delete.
+ (default_svr4_fetch_link_map_offsets): Delete.
+ (set_solib_svr4_fetch_link_map_offsets): Declare.
+ (legacy_svr4_fetch_link_map_offsets_hook): Declare.
+ * solib-svr4.c (elf/common.h): Include.
+ (link.h): Only include for SunOS shared library support.
+ (_SYSCALL32): Don't define.
+ (SVR4_FETCH_LINK_MAP_OFFSETS): Define.
+ (default_svr4_fetch_link_map_offsets): Made static; added forward
+ declaration.
+ (fetch_link_map_offsets): New static global.
+ (legacy_svr4_fetch_link_map_offsets_hook): New global variable.
+ (default_svr4_fetch_link_map_offsets): Rewritten. The guts
+ of what used to be in this function now reside in
+ legacy_svr4_fetch_link_map_offsets() in solib-legacy.c.
+ (open_symbol_file_object): Fix declaration in SunOS section
+ of the code.
+ (set_solib_svr4_fetch_link_map_offsets): New extern function.
+ (init_fetch_link_map_offsets): New static function.
+ (_initialize_svr4_solib): Put static global fetch_link_map_offsets
+ under multiarch control.
+
+ * config/alpha/alpha-linux.mt (TDEPFILES): Add solib-legacy.o to
+ list.
+ * config/alpha/fbsd.mh (NATDEPFILES): Likewise.
+ * config/arm/linux.mt (TDEPFILES): Likewise.
+ * config/i386/fbsd.mh (NATDEPFILES): Likewise.
+ * config/i386/i386dgux.mh (NATDEPFILES): Likewise.
+ * config/i386/i386gnu.mh (NATDEPFILES): Likewise.
+ * config/i386/i386sco5.mh (NATDEPFILES): Likewise.
+ * config/i386/i386sol2.mt (TDEPFILES): Likewise.
+ * config/i386/i386v4.mh (NATDEPFILES): Likewise.
+ * config/i386/i386v42mp.mh (NATDEPFILES): Likewise.
+ * config/i386/linux.mt (TDEPFILES): Likewise.
+ * config/i386/nbsd.mh (NATDEPFILES): Likewise.
+ * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
+ * config/i386/ncr3000.mt (TDEPFILES): Likewise.
+ * config/i386/ptx4.mh (XDEPFILES): Likewise.
+ * config/i386/sun386.mt (TDEPFILES): Likewise.
+ * config/ia64/linux.mt (TDEPFILES): Likewise.
+ * config/m68k/linux.mt (TDEPFILES): Likewise.
+ * config/m68k/m68kv4.mh (NATDEPFILES): Likewise.
+ * config/m68k/nbsd.mh (NATDEPFILES): Likewise.
+ * config/m68k/sun2os4.mt (TDEPFILES): Likewise.
+ * config/m68k/sun3os4.mt (TDEPFILES): Likewise.
+ * config/m88k/delta88v4.mh (NATDEPFILES): Likewise.
+ * config/mips/mipsv4.mh (NATDEPFILES): Likewise.
+ * config/ns32k/nbsd.mh (NATDEPFILES): Likewise.
+ * config/powerpc/linux.mt (TDEPFILES): Likewise.
+ * config/powerpc/nbsd.mh (NATDEPFILES): Likewise.
+ * config/powerpc/solaris.mh (NATDEPFILES): Likewise.
+ * config/sh/linux.mt (TDEPFILES): Likewise.
+ * config/sparc/linux.mt (TDEPFILES): Likewise.
+ * config/sparc/nbsd.mh (NATDEPFILES): Likewise.
+ * config/sparc/nbsdelf.mh (NATDEPFILES): Likewise.
+ * config/sparc/sp64linux.mt (TDEPFILES): Likewise.
+ * config/sparc/sun4os4.mt (TDEPFILES): Likewise.
+ * config/sparc/sun4sol2.mh (NATDEPFILES): Likewise.
+
+
+ * utils.c (xmrealloc, xcalloc): Return NULL for zero-sized requests.
+
+
+ * MAINTAINERS (Write After Approval): Update Philip Blundell.
+
+
+ * MAINTAINERS: Add myself to write after approval list.
+
+
+ * i387-tdep.c (print_i387_status_word): Fix printing of Stack
+ fault flag. It is bit 6 of the x87 FPU status word, not bit 7.
+
+
+ * configure.host (m88*-harris-cxux*): Mark as obsolete.
+ * configure.tgt: Ditto.
+ * config/m88k/xm-cxux.h: Ditto.
+ * config/m88k/tm-cxux.h: Ditto.
+ * config/m88k/nm-cxux.h: Ditto.
+ * config/m88k/cxux.mt: Ditto.
+ * config/m88k/cxux.mh: Ditto.
+
+
+ * Makefile.in: Delete rules for obsolete files.
+
+
+ * stack.c (parse_frame_specification): For one argument case,
+ handle the situation where the argument is an integer, not an
+ address -- arguably the most common case. This matters on
+ targets where pointers and addresses are different.
+
+
+ * TODO: Revise 5.1 list. Delete PARAMS task. Add coding standard
+ review. Clarify GNU/LINUX/sparc. Move other tasks to 5.2 or
+ general.
+
+
+ * TODO (GDB 5.1 Known Problems): Document problem of building GDB
+ with SID on Solaris 8.
+
+
+ * defs.h: Provide prototypes for floatformat_is_negative,
+ floatformat_is_nan and floatformat_mantissa.
+ * utils.c: Include "gdb_assert.h".
+ (floatformat_is_negative): New function.
+ (floatformat_is_nan): New function.
+ (floatformat_mantissa): New function.
+ * valprint.c: Include "floatformat.h".
+ (print_floating): Get rid of the Linux-specific
+ TARGET_ANALYZE_FLOATING macro and rewrite NaN detection with the
+ help these new functions. Print NaN's in a format conforming to
+ ISO C99.
+
+
+ * top.c (init_main): Make `set history file name' complete on file
+ names.
+
+ * Makefile.in (LINTFLAGS): Update to contain all of the macros
+ which define include paths used when compiling.
+
+ * util.c (savestring, msavestring): Change type of length argument.
+ * defs.h (savestring, msavestring): Update to match.
+
* symtab.h (decode_line_1): Removed declaration.
* symfile.c (#include <assert.h>): Removed.