+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.
+
+2001-11-15 Jim Blandy <jimb@redhat.com>
+
+ * s390-tdep.c (is_simple_arg): Structs and unions exactly eight
+ bytes long should be handled as DOUBLE_ARGs; don't recognize them
+ as SIMPLE_ARGs.
+
+2001-11-12 Andrew Cagney <ac131313@redhat.com>
+
+ * remote.c (struct packet_reg): Declare.
+ (struct remote_state): Add fields sizeof_g_packet and g_packet.
+ (init_remote_state): Initialize sizeof_g_packet and g_packet.
+ (free_remote_state): Free g_packet.
+ (packet_reg_from_pnum, packet_reg_by_regnum): New functions.
+ (remote_wait): Use above instead of gdbarch methods
+ REGISTER_RAW_SIZE and REGISTER_BYTES.
+ (remote_async_wait): Ditto.
+ (remote_fetch_registers, remote_store_registers): Ditto.
+ (store_register_using_P): Ditto.
+
+2001-11-15 Andrew Cagney <ac131313@redhat.com>
+
+ * remote.c (_initialize_remote): Don't multi-arch swap tty_input.
+ Second attempt.
+
+2001-11-15 Andrew Cagney <ac131313@redhat.com>
+
+ * utils.c (phex_nz): For default case, set str to phex_nz return
+ value.
+ (phex): Ditto.
+
+2001-11-15 Andrew Cagney <ac131313@redhat.com>
+
+ * TODO (register_buffer): Delete.
+ * regcache.c (register_buffer): Make static.
+ (regcache_collect): New function.
+ * regcache.h (register_buffer): Delete declaration.
+ (regcache_collect): Declare.
+ * remote.c (store_register_using_P): Rewrite using
+ regcache_collect.
+ (remote_store_registers): Ditto.
+ * go32-nat.c (store_register): Ditto.
+
+2001-11-14 Andrew Cagney <ac131313@redhat.com>
+
+ * remote.c (struct remote_state): Declare.
+ (get_remote_state): New function.
+ (init_remote_state): New function.
+ (remote_gdbarch_data_handle): New global.
+ (build_remote_packet_sizes): Delete function, moved to
+ init_remote_state.
+ (register_remote_packet_sizes): Delete function.
+ (actual_register_packet_size, remote_packet_size): Moved to
+ ``struct remote_state''.
+ (PBUFSIZE): Delete. Replaced by rs->remote_packet_size.
+ (free_remote_state): New function.
+ (get_memory_packet_size, get_memory_read_packet_size)
+ (set_thread, remote_unpack_thread_info_response)
+ (remote_get_threadinfo, parse_threadlist_response)
+ (remote_get_threadlist, remote_current_thread)
+ (remote_threads_info, remote_threads_extra_info)
+ (extended_remote_restart, get_offsets)
+ (get_offsets, remote_check_symbols, remote_open_1)
+ (remote_async_open_1, remote_detach, remote_async_detach)
+ (remote_resume, remote_async_resume, remote_wait)
+ (remote_async_wait, remote_fetch_registers)
+ (store_register_using_P, remote_store_registers)
+ (check_binary_download, putpkt_binary)
+ (remote_insert_breakpoint, remote_remove_breakpoint)
+ (remote_insert_watchpoint, remote_remove_watchpoint)
+ (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint)
+ (compare_sections_command, remote_query)
+ (remote_rcmd, remote_rcmd, packet_command)
+ (remote_info_process): Update.
+
+2001-11-14 Andrew Cagney <ac131313@redhat.com>
+
+ * remote.c: Include "gdb_assert.h".
+ (tty_input): Wire buffer to 400 bytes.
+ (readsocket): Check tty_input doesn't overflow.
+ (build_remote_gdbarch_data, _initialize_remote): Don't multi-arch
+ tty_input.
+
+2001-11-14 Michael Snyder <msnyder@redhat.com>
+
+ * d10v-tdep.c (d10v_pointer_to_address): Use new type flag
+ TYPE_FLAG_CODE_SPACE to recognize a pointer that has been cast
+ into the instruction address space.
+ * Makefile.in (doublest.o): Add dependency on gdbtypes.h.
+
+2001-11-14 Michael Snyder <msnyder@redhat.com>
+ Add address space identifiers to expression language for types.
+ * c-exp.y (space_identifier, cv_with_space_id,
+ const_or_volatile_or_space_identifier_noopt,
+ const_or_volatile_or_space_identifier): New terminals.
+ (ptype): Accept const_or_volatile_or_space_identifier.
+ (typebase): Accept const_or_volatile_or_space_identifier.
+ * c-typeprint.c (c_type_print_cv_qualifier): Rename to
+ c_type_print_modifier. Handle address space modified types.
+ * gdbtypes.h (TYPE_FLAG_CODE_SPACE, TYPE_FLAG_DATA_SPACE):
+ New type flags.
+ (struct type): Add new field as_type for addr-space qualified types.
+ (TYPE_AS_TYPE): New macro, retrieves the chain of types that are
+ identical to this one except for address-space qualification.
+ * gdbtypes.c (alloc_type): Initialize new field 'as_type'.
+ (address_space_name_to_int): New function.
+ (address_space_int_to_name): New function.
+ (make_type_with_address_space): New function.
+ (make_cv_type): Handle as_type field of new struct type object.
+ * parse.c (check_type_stack_depth): New function.
+ (push_type_address_space): New function.
+ (follow_types): Handle types with address-space qualifier.
+ * parser-defs.h (enum type_pieces): Add enum tp_space_identifier.
+
+2001-11-14 Jim Blandy <jimb@redhat.com>
+
+ * s390-tdep.c (s390_pop_frame_regular): On the S/390, the frame
+ pointer and the SP are often the same, so we can't pop the frame
+ by setting the SP to the FP; we need to get the old SP from
+ saved_regs.
+
+ * s390-tdep.c (s390_extract_return_value): Returned `float' values
+ can simply be copied bitwise from the registers into the value
+ object's buffer.
+
+ * s390-tdep.c (s390_get_frame_info): Initialize SP's element of
+ the frame's saved_regs array correctly.
+
+ * symfile.c (simple_read_overlay_table): Make sure we can find
+ both `_novlys' and `_ovly_table' before we try anything else;
+ print a helpful error message.
+ (simple_overlay_update): No need to print error message here.
+
+2001-11-14 Michael Snyder <msnyder@redhat.com>
+
+ * Makefile.in (doublest.o): Add dependency on gdbtypes.h.
+
+2001-11-10 Andrew Cagney <ac131313@redhat.com>
+
+ * arm-tdep.c (arm_register_type): New function.
+ (arm_register_convertible): Delete.
+ (arm_register_convert_to_virtual): Delete.
+ (arm_register_convert_to_raw): Delete.
+ * config/arm/tm-arm.h (REGISTER_CONVERTIBLE): Delete.
+ (REGISTER_CONVERT_TO_VIRTUAL): Delete.
+ (REGISTER_CONVERT_TO_RAW): Delete.
+ (REGISTER_VIRTUAL_TYPE): Redefine as call to arm_register_type.
+ (arm_register_type): Declare.
+
+2001-11-13 Elena Zannoni <ezannoni@redhat.com>
+
+ From Andrew Cagney <cagney@redhat.com>:
+ * gdbtypes.h (builtin_type_int128, builtin_type_uint128): Declare.
+ * gdbtypes.c (_initialize_gdbtypes, build_gdbtypes): Initialize
+ new builtin types.
+
+2001-11-13 Jim Blandy <jimb@redhat.com>
+
+ * s390-tdep.c: Rewrite inferior function call code. This may
+ break zSeries support; that should be fixed soon.
+ #include "gdb_assert.h".
+ (is_integer_like, is_pointer_like, is_simple_arg,
+ pass_by_copy_ref, extend_simple_arg, is_double_arg, round_up,
+ round_down, alignment_of): New functions.
+ (s390_push_arguments): Rewritten to handle passing large arguments
+ by value, and to make more readable.
+
+ * s390-tdep.c (s390_pop_frame): Call generic_pop_current_frame, to
+ interact correctly with generic dummy frames.
+ (s390_pop_frame_regular): Move the guts of the frame-popping code
+ to here, to be called by generic_pop_current_frame. Use the
+ frame's saved_regs array; this works for `return' as well as
+ inferior function calls.
+
+ * s390-tdep.c (s390_gdbarch_init): Register the function
+ `standard_coerce_float_to_double', since GCC for the S/390 follows
+ the standard rules for passing floats.
+
+ * valops.c (default_coerce_float_to_double,
+ standard_coerce_float_to_double): Doc fixes.
+
+ Patch from Peter Schauer:
+
+ * symtab.c (find_pc_sect_line): If we can't find the function
+ containing PC, we certainly won't have line number information for
+ that location, so return zero immediately.
+
+2001-11-10 Andrew Cagney <ac131313@redhat.com>
+
+ * config/i960/tm-nindy960.h (REGISTER_CONVERTIBLE)
+ (REGISTER_CONVERT_TO_RAW, REGISTER_CONVERT_TO_VIRTUAL): Delete
+ undef.
+ * i960-tdep.c (i960_register_type): New function.
+ * config/i960/tm-i960.h (REGISTER_CONVERTIBLE): Delete.
+ (REGISTER_CONVERT_TO_VIRTUAL): Delete.
+ (REGISTER_CONVERT_TO_RAW): Delete.
+ (REGISTER_VIRTUAL_TYPE): Update. Call i960_register_type.
+
+2001-11-10 Andrew Cagney <ac131313@redhat.com>
+
+ * m88k-tdep.c (m88k_register_type): New function.
+ * config/m88k/tm-m88k.h (REGISTER_CONVERTIBLE): Delete.
+ (REGISTER_CONVERT_TO_VIRTUAL): Delete.
+ (REGISTER_CONVERT_TO_RAW): Delete.
+ (m88k_register_type): Declare.
+ (REGISTER_VIRTUAL_TYPE): Update. Call m88k_register_type.
+
+2001-11-11 Mark Kettenis <kettenis@elgar.my.domain>
+
+ * i386-tdep.h (FPU_REG_RAW_SIZE): Define unconditionally.
+ * i387-nat.c, i387-tdep.c: Unconditionally include "i386-tdep.h".
+ * config/i386/tm-i386.h (FPU_REG_RAW_SIZE): Removed.
+ (SIZEOF_FPU_REGS): Don't use FPU_REG_RAW_SIZE here.
+
+2001-11-12 Jim Blandy <jimb@redhat.com>
+
+ Patch from Andreas Schwab <schwab@suse.de>:
+ * eval.c (evaluate_subexp_standard): Fix memory leak: use alloca
+ instead of xmalloc.
+
+2001-11-12 Jim Blandy <jimb@redhat.com>
+
+ * corefile.c (write_memory_unsigned_integer,
+ write_memory_signed_integer): New functions.
+ (write_memory): Move to be with other write_memory_* functions.
+ * gdbcore.h (write_memory_unsigned_integer,
+ write_memory_signed_integer): New declarations.
+
+2001-11-11 Geoffrey Keating <geoffk@redhat.com>
+
+ * dwarf2read.c (dwarf_decode_lines): Properly deal with
+ unknown standard opcodes.
+
+2001-11-11 Andrew Cagney <ac131313@redhat.com>
+
+ * README (alpha-dec-osf5.1): Mention -DUSE_LDR_ROUTINES.
+ (sparcv9-sun-solars2.8): Mention problem with 64 bit GCC 3.0.x.
+ (i586-sco-sysv5uw7.1.1): Mention problem with threads.
+
+2001-11-11 Andrew Cagney <ac131313@redhat.com>
+
+ From Mark Kettenis <kettenis@gnu.org>:
+ * breakpoint.c (breakpoint_re_set_one): Don't discard SHLIB
+ breakpoints when they fail.
+
+2001-11-10 Andrew Cagney <ac131313@redhat.com>
+
+ * printcmd.c, valprint.c, language.c, linespec.c, infcmd.c,
+ gnu-nat.c, findvar.c, expprint.c, typeprint.c, stack.c, top.c:
+ Replace value_ptr with struct value.
+
+2001-11-10 Andrew Cagney <ac131313@redhat.com>
+
+ * c-valprint.c, ch-lang.c, ch-valprint.c, cp-valprint.c,
+ p-valprint.c, scm-exp.c, scm-lang.c, scm-valprint.c: Replace
+ value_ptr with struct value.
+
+2001-11-10 Andrew Cagney <ac131313@redhat.com>
+
+ * eval.c: Replace most occurances of value_ptr with struct value.
+
+2001-11-09 Jim Blandy <jimb@redhat.com>
+
+ * s390-tdep.c: Don't use a call dummy.
+ (s390_fix_call_dummy, s390_pc_in_call_dummy): Delete.
+ (s390_push_return_address): Put the address of the inferior call
+ breakpoint in r14.
+ (s390_gdbarch_init):
+ - Provide trivial definition of s390_call_dummy_words; register it
+ with the gdbarch appropriately.
+ - Delete S390x_call_dummy_words.
+ - Gather inferior-call-related settings into a group.
+ - Use generic dummy frames.
+ - Put the inferior call breakpoint at the entry point.
+ - Use generic gdbarch methods: pc_in_call_dummy_at_entry_point,
+ generic_push_dummy_frame, generic_fix_call_dummy.
+ - There is a call dummy breakpoint offset; it's zero.
+
+ * s390-tdep.c: (s390_push_arguments): Write a back chain pointer
+ into the dummy frame, to help us get backtraces.
+
+ * values.c (value_as_address): If VAL is a function or method,
+ just return its address; don't let COERCE_ARRAY convert its
+ address to a pointer, and then have unpack_long convert it back to
+ an address.
+
+2001-11-06 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * p-lang.c (is_pascal_string_type): New function to determine if a
+ type is a string type.
+ * p-lang.h: Add prototype for is_pascal_string_type.
+ * p-valprint.c (pascal_val_print) : Use is_pascal_string_type function
+ to display strings nicely.
+
+2001-11-06 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * p-exp.y (yylex): Only change case of expression if symbol is found.
+ Also check for GPC standard name form.
+
+2001-11-08 Andrew Cagney <ac131313@redhat.com>
+
+ * gdb_indent.sh: New file.
+
+2001-11-08 Jim Blandy <jimb@redhat.com>
+
+ * s390-tdep.c (s390_get_frame_info): Initialize got_load_addr and
+ got_load_len, to placate compiler.
+
+2001-11-08 Mark Kettenis <kettenis@gnu.org>
+
+ * i386-tdep.c (i386_gdbarch_init): Fix typo.
+
+2001-11-08 Jim Blandy <jimb@redhat.com>
+
+ * s390-tdep.c (s390_gdbarch_init): Use func_frame_chain_valid, not
+ file_frame_chain_valid.
+
+ * s390-tdep.c (s390_get_frame_info): If the prologue loads r12
+ from the constant pool, but doesn't add in the constant pool's
+ address to it, then this function probably isn't using r12 as a
+ GOT pointer, and that load probably wasn't part of the prologue.
+
+ * s390-tdep.c (s390_gdbarch_init): Use the default
+ prepare_to_proceed function established by config/nm-linux.h;
+ don't try to set it to linuxthreads_prepare_to_proceed.
+
+Wed Nov 7 20:38:14 2001 Andrew Cagney <cagney@redhat.com>
+
+ * i386-tdep.c: Include "i386-tdep.h".
+ (XMALLOC): Define.
+ (i386_gdbarch_init): New function.
+ (_initialize_i386_tdep): Register bfd_arch_i386.
+ * config/i386/tm-i386.h (GDB_MULTI_ARCH): Define as
+ GDB_MULTI_ARCH_PARTIAL.
+ * i386-tdep.h: When partially multi-arch, conditionally define
+ all macros.
+
+Wed Nov 7 20:45:32 2001 Andrew Cagney <cagney@redhat.com>
+
+ * i386-tdep.c (set_disassembly_flavor): Delete function.
+ (set_disassembly_flavor_sfunc): Delete function.
+
+2001-11-07 Elena Zannoni <ezannoni@redhat.com>
+
+ * dbxread.c (set_namestring): New function, replacing the
+ SET_NAMESTRING macro.
+ (SET_NAMESTRING, CUR_SYMBOL_TYPE, CUR_SYMBOL_VALUE,
+ CUR_SYMBOL_STRX, DBXREAD_ONLY, START_PSYMTAB, END_PSYMTAB): Delete
+ definitions.
+ (read_dbx_symtab): Don't include partial-stab.h any more. Don't
+ reuse code in partial-stab.h, include the code directly, instead.
+
+ * Makefile.in (dbxread.o): Remove dependency on partial-stab.h.
+ (HFILES_NO_SRCDIR): Remove partial-stab.h.
+
+ * partial-stab.h: Remove file.
+
+2001-11-07 Andrew Cagney <ac131313@redhat.com>
+
+ * gdbarch.sh: For multi-arch functions, check there is a
+ predefault and use it as the static default.
+ * gdbarch.c: Re-generate.
+
+2001-11-08 Mark Kettenis <kettenis@gnu.org>
+
+ * config/i386/tm-linux.h (I386_LINUX_ORIG_EAX_REGNUM): Define in
+ terms of NUM_GREGS, NUM_FREGS and NUM_SSE_REGS instead of
+ hardcoding the register number.
+
+2001-11-07 Andrew Cagney <ac131313@redhat.com>
+
+ * gdbarch.sh (USE_STRUCT_CONVENTION): Default to
+ generic_use_struct_convention.
+ * gdbarch.h, gdbarch.c: Regenerate.
+ * values.c (USE_STRUCT_CONVENTION): Delete definition, moved to
+ gdbarch.h.
+
+2001-11-06 Andrew Cagney <ac131313@redhat.com>
+
+ * gdbarch.sh (PC_IN_CALL_DUMMY): Require a value.
+ * gdbarch.c: Regenerate.
+
+2001-11-06 Fred Fish <fnf@redhat.com>
+
+ * complaints.c (info_verbose): Remove unneeded decl, is in defs.h.
+ * dbxread.c: Ditto
+ * dwarf2read.c: Ditto.
+ * dwarfread.c: Ditto.
+ * exec.c: Ditto.
+ * hpread.c: Ditto.
+ * hpread.h: Ditto.
+ * mdebugread.c: Ditto.
+ * os9kread.c: Ditto.
+ * stack.c: Ditto.
+ * symfile.c: Ditto.
+ * tracepoint.c: Ditto.
+
+2001-11-06 Andrew Cagney <ac131313@redhat.com>
+
+ * MAINTAINERS: Update Andrew Cagney's responsibilities. Mention
+ David Taylor and Nick Duffek in past maintainers.
+
+2001-11-06 Elena Zannoni <ezannoni@redhat.com>
+
+ * mdebugread.c (CUR_SYMBOL_TYPE, CUR_SYMBOL_VALUE, START_PSYMTAB,
+ END_PSYMTAB, SET_NAMESTRING, HANDLE_RBRAC): Delete definitions.
+ (parse_partial_symbols): Don't include partial-stab.h any
+ more. Don't reuse code in partial-stab.h, include the code
+ directly, instead. Simplify code from partial-stab.h eliminating
+ ifdef DBXREAD_ONLY code.
+
+ * Makefile.in (mdebugread.o): Remove dependency on partial-stab.h.
+
+2001-11-06 Jim Blandy <jimb@redhat.com>
+
+ * s390-nat.c: #include "regcache.h", to get declaration for
+ `supply_register'. (The last change already added the dependency
+ of s390-nat.o on regcache.h. Oops.)
+
+ * Makefile.in (ALLDEPFILES): Add s390-tdep.c and s390-nat.c.
+ (s390-tdep.o, s390-nat.o): New rules.
+
+ * s390-nat.c (s390_register_u_addr): Pass proper arguments to
+ internal_error.
+
+2001-11-06 Andrew Cagney <ac131313@redhat.com>
+
+ * gdbarch.sh (CALL_DUMMY_LOCATION): Require a value.
+ * gdbarch.c: Regenerate.
+
+2001-11-06 Andrew Cagney <ac131313@redhat.com>
+
+ * blockframe.c (get_prev_frame): Replace #ifdef
+ INIT_EXTRA_FRAME_INFO with run-time test.
+
+2001-11-05 Andrew Cagney <ac131313@redhat.com>
+
+ * gdbarch.sh (push_return_address): Change to a function with
+ predicate.
+ * gdbarch.h, gdbarch.c: Re-generate.
+ * valops.c (hand_function_call): Replace #ifdef
+ PUSH_RETURN_ADDRESS with run-time test of PUSH_RETURN_ADDRESS_P.
+
+2001-11-06 Corinna Vinschen <vinschen@redhat.com>
+
+ * arch-utils.c (generic_in_function_epilogue_p): New function.
+ * arch-utils.h (generic_in_function_epilogue_p): Declare extern.
+ * breakpoint.c (watchpoint_check): Add test whether the pc is
+ currently in the epilogue of a function.
+ * gdbarch.c: Autogenerated from gdbarch.sh.
+ * gdbarch.h: Ditto.
+ * gdbarch.sh (function_list): Add `in_function_epilogue_p' definition.
+
+2001-11-05 Jim Blandy <jimb@redhat.com>
+
+ * config/s390/s390.mh (NATDEPFILES): Don't split this across
+ several lines with backslashes; the `sed' command in
+ configure.in's AC_OUTPUT clause that comments out the NATDEPFILES
+ assignment doesn't handle lines extended with backslashes.
+
+ * configure.in (AC_OUTPUT): Handle assignments to NATDEPFILES
+ using `+=' as well as `='.
+ * configure: Regenerated.
+
+2001-11-05 Andrew Cagney <ac131313@redhat.com>
+
+ * gdbarch.sh (init_extra_frame_info): Change to a function with
+ predicate.
+ * gdbarch.h, gdbarch.c: Re-generate.
+ * blockframe.c (create_new_frame): Replace #ifdef
+ INIT_EXTRA_FRAME_INFO with run-time test of
+ INIT_EXTRA_FRAME_INFO_P.
+
+2001-11-05 Andrew Cagney <ac131313@redhat.com>
+
+ * gdbarch.sh (verify_gdbarch): Use a mem_file to accumulate all
+ error messages. Print in a single batch.
+ * gdbarch.c: Re-generate.
+
+2001-11-04 Mark Kettenis <kettenis@gnu.org>
+
+ * i386-linux-nat.c (GETREGS_SUPPLIES, supply_gregset,
+ fill_gregset): Add support for "orig_eax" register.
+
+ Add support for "orig_eax" pseudo register on Linux/x86.
+ * i386-linux-tdep.c: Include "inferior.h".
+ (i386_linux_register_name, i386_linux_register_byte,
+ i386_linux_register_raw_size): New functions.
+ (i386_linux_write_pc): New function.
+ * config/i386/tm-linux.h (I386_LINUX_ORIG_EAX_REGNUM): New define.
+ (NUM_REGS, MAX_NUM_REGS, REGISTER_BYTES, REGISTER_NAME,
+ REGISTER_BYTE, REGISTER_RAW_SIZE): Define to deal with additional
+ register.
+ (i386_linux_register_name, i386_linux_register_byte,
+ i386_linux_register_raw_size): New prototypes.
+ (TARGET_WRITE_PC): New define.
+ (i386_linux_write_pc): New prototype.
+
+ * i386-tdep.c (i386_register_offset): Renamed from
+ i386_register_byte. Made static.
+ (i386_register_size): Renamed from i386_register_raw_size. Made
+ static.
+ (i386_register_virtual_size): Removed.
+ (i386_register_byte, i386_register_raw_size,
+ i386_register_virtual_size): New functions.
+ (_initialize_i386_tdep): Initialize i386_register_offset instead
+ of i386_register_byte. Remove code to initialize
+ i386_register_virtual_size.
+ * config/i386/tm-i386.h (REGISTER_BYTE): Redefine to use
+ i386_register_byte function.
+ (REGISTER_RAW_SIZE): Redefine to use i386_register_raw_size
+ function.
+ (REGISTER_VIRTUAL_SIZE): Redefine to use
+ i386_register_virtual_size function.
+ (i386_register_byte, i386_register_raw_size,
+ i386_register_virtual_size): New functions.
+
+ * Makefile.in (ALLDEPFILES): Add i387-nat.c.
+ (i387-nat.o): Add dependencies.
+
+2001-11-02 Andrew Cagney <ac131313@redhat.com>
+
+ * README: Mention problem with alpha-dec-osf5.1.
+
+2001-11-02 Andrew Cagney <ac131313@redhat.com>
+
+ * utils.c (internal_verror): Restore calls to abort().
+ Fix PR gdb/219.
+
+2001-11-02 Michael Chastain <mec@shout.net>
+
+ * MAINTAINERS: Update my entry.
+
+2001-11-01 Michael Snyder <msnyder@redhat.com>
+
+ * symtab.c (operator_chars): Allow '*' and '[' to be quoted in
+ operator names, to avoid regexp expansion.
+ (search_symbols): Alloca buffer is too small, may get clobbered.
+
+2001-11-01 Fred Fish <fnf@redhat.com>
+
+ * coff-solib.c (coff_solib_add): Add new readsyms arg.
+ * irix5-nat.c (solib_add): Ditto.
+ * osfsolib.c (solib_add): Ditto.
+ * pa64solib.c (pa64_solib_add): Ditto.
+ * pa64solib.c (add_to_solist): Ditto.
+ * pa64solib.c (read_dld_descriptor): Ditto.
+ * solib.c (solib_add): Ditto.
+ * somsolib.c (som_solib_add): Ditto.
+ * win32-nat.c (child_solib_add): Ditto.
+ * xcoffsolib.c (solib_add): Ditto.
+
+ * coff-solib.h (coff_solib_add): Add new readsyms arg to prototype.
+ * pa64solib.c (add_to_solist): Ditto.
+ * pa64solib.c (read_dld_descriptor): Ditto.
+ * pa64solib.h (pa64_solib_add): Ditto.
+ * solib.h (solib_add): Ditto.
+ * somsolib.h (som_solib_add): Ditto.
+ * config/i386/tm-cygwin.h (child_solib_add): Ditto.
+
+ * coff-solib.c (coff_solib_add): If readsyms is zero don't read
+ symbols but do any other needed work for shared libs.
+ * irix5-nat.c: Ditto.
+ * osfsolib.c (solib_add): Ditto.
+ * solib.c (solib_add): Ditto.
+ * win32-nat.c (child_solib_add): Ditto.
+ * xcoffsolib.c (solib_add): Ditto.
+
+ * irix5-nat.c (sharedlibrary_command): Pass 1 as readsyms to
+ solib_add to force reading of shared library symbols.
+ * osfsolib.c (sharedlibrary_command;): Ditto.
+ * pa64solib.c (pa64_solib_sharedlibrary_command): Ditto.
+ * solib.c (sharedlibrary_command): Ditto.
+ * somsolib.c (som_solib_sharedlibrary_command): Ditto.
+ * xcoffsolib.c (sharedlibrary_command): Ditto.
+
+ * coff-solib.c (coff_solib_create_inferior_hook): Call solib_add
+ unconditionally with auto_solib_add.
+ * irix5-nat.c (solib_create_inferior_hook): Ditto.
+ * osfsolib.c (solib_create_inferior_hook): Ditto.
+ * solib.c (solib_create_inferior_hook): Ditto.
+ * solib-osf.c (osf_solib_create_inferior_hook): Ditto.
+ * solib-svr4.c (enable_break): Ditto.
+ * solib-sunos.c (sunos_solib_create_inferior_hook): Ditto.
+
+ * corelow.c (solib_add_stub): Add auto_solib_add to args passed
+ via SOLIB_ADD.
+ * sol-thread.c (sol_thread_attach): Ditto.
+ * config/rs6000/nm-rs6000.h (SOLIB_ADD): Ditto.
+
+ * infcmd.c (attach_command): Remove auto_solib_add decl.
+ Call SOLIB_ADD directly with auto_solib_add.
+ * infrun.c (handle_inferior_event): Ditto.
+
+ * coff-solib.h (SOLIB_ADD): Add readsyms arg.
+ * pa64solib.h (SOLIB_ADD): Ditto.
+ * solib.h (SOLIB_ADD): Ditto.
+ * somsolib.h (SOLIB_ADD): Ditto.
+ * config/i386/tm-cygwin.h (SOLIB_ADD): Ditto.
+
+ * fork-child.c (clone_and_follow_inferior): Remove unused
+ auto_solib_add decl.
+
+ * pa64solib.c (pa64_solib_add): Call add_to_solist with readsyms.
+ (read_dld_descriptor): Ditto.
+ (pa64_solib_add): Call read_dld_descriptor with readsyms.
+ (pa64_solib_in_dynamic_linker): Ditto.
+
+ * corelow.c (symfile.h): Need this for auto_solib_add declaration.
+ * sol-thread.c (symfile.h): Ditto.
+
+2001-10-31 Andrew Cagney <ac131313@redhat.com>
+
+ * s390-nat.c (s390_remove_watchpoint): Use xfree.
+ (s390_insert_watchpoint): Use xmalloc.
+
+2001-10-31 Andrew Cagney <ac131313@redhat.com>
+
+ * varobj.c: Replace value_ptr with ``struct value *''.
+
+2001-10-31 Andrew Cagney <ac131313@redhat.com>
+
+ * varobj.c: Re-indent.
+
+2001-10-31 Andrew Cagney <ac131313@redhat.com>
+
+ * x86-64-tdep.c (value_push, x86_64_push_arguments): Replace
+ ``value_ptr'' with ``struct value *''.
+ * s390-tdep.c (s390_push_arguments): Ditto.
+
+2001-10-30 Andrew Cagney <ac131313@redhat.com>
+
+ * ppc-tdep.h: Add #ifndef wrapper. Replace value_ptr with
+ ``struct value *''.
+ (struct frame_info, struct value): Add opaque declarations.
+
+2001-10-31 Corinna Vinschen <vinschen@redhat.com>
+
+ * arch-utils.c (generic_in_solib_call_trampoline): New function.
+ * arch-utils.h (generic_in_solib_call_trampoline): Extern declaration.
+ * gdbarch.c: Regenerated from gdbarch.sh.
+ * gdbarch.h: Ditto.
+ * gdbarch.sh (function_list): Add `IN_SOLIB_CALL_TRAMPOLINE' definition.
+ * infrun.c (IN_SOLIB_CALL_TRAMPOLINE): Remove macro.
+
+2001-10-31 Andrew Cagney <ac131313@redhat.com>
+
+ From DJ Barrow.
+ * s390-tdep.c: (s390_gdbarch_init): Don't initialize
+ find_solib_trampoline_target.
+
+2001-10-31 Andrew Cagney <ac131313@redhat.com>
+
+ * remote-vx.c (net_wait): Fix typo from PIDGET change.
+
+2001-10-31 Mark Kettenis <kettenis@gnu.org>
+
+ * config/i386/tm-i386.h (REGISTER_NAMES): Remove.
+ (REGISTER_NAME): New define.
+ (i386_register_name): New prototype.
+ * i386-tdep.c (i386_register_names): New variable.
+ (i386_register_name): New function.
+ * config/i386/tm-i386os9k.h, config/i386/tm-ptx.h,
+ config/i386/tm-symmetry.h: Undefine REGISTER_NAME instead of
+ REGISTER_NAMES.
+
+2001-10-31 Christopher Faylor <cgf@redhat.com>
+
+ * win32-nat.c (register_loaded_dll): Attempt to ensure that the case of
+ the loaded DLL matches the on-disk case since the debugging API does
+ not seem to ensure this. Calculate max name length here.
+ (handle_load_dll): Move max name length calculation to
+ register_loaded_dll.
+
+2001-10-31 Daniel Jacobowitz <drow@mvista.com>
+
+ * arm-linux-nat.c: Include <asm/ptrace.h> explicitly.
+
+2001-10-30 Keith Seitz <keiths@redhat.com>
+
+ * wrapper.h (gdb_value_struct_elt): New function.
+ * wrapper.c (gdb_value_struct_elt): Ditto.
+ (do_captured_value_struct_elt): Ditto.
+
+2001-10-30 Andrew Cagney <ac131313@redhat.com>
+
+ * README, NEWS: Update for 5.1.
+
+2001-10-30 Andrew Cagney <ac131313@redhat.com>
+
+ * configure.in (WERROR_CFLAGS): Use AC_TRY_COMPILE to test the
+ -W... flags.
+ * configure: Re-generate.
+
+2001-10-30 Fred Fish <fnf@redhat.com>
+
+ * somsolib.c (som_solib_add): A megabyte is 1024*1024 bytes.
+ * pa64solib.c (add_to_solist): Ditto.
+ * win32-nat.c (_initialize_inftarg): Remove unnecessary
+ initialization of auto_solib_add, it defaults to 1.
+
+2001-10-27 Fred Fish <fnf@redhat.com>
+
+ * symfile.c (auto_solib_add): Update comment to note that
+ this variable is now just used as a boolean to control shlib
+ autoloading, and clarify when it is used.
+ * symfile.h (auto_solib_add): Ditto.
+
+ * symfile.c (auto_solib_limit): New variable that holds the
+ autoloading threshold instead of overloading auto_solib_add.
+ * symfile.h (auto_solib_limit): Ditto.
+
+ * irix5-nat.c (_initialize_solib): Change auto-solib-add
+ variable from var_zinteger to var_boolean and update help.
+ * osfsolib.c (_initialize_solib): Ditto.
+ * pa64solib.c (_initialize_pa64_solib): Ditto.
+ * solib.c (_initialize_solib): Ditto.
+ * somsolib.c (_initialize_som_solib): Ditto.
+ * xcoffsolib.c (_initialize_solib): Ditto.
+
+ * pa64solib.c (pa64_solib_total_st_size): Update comment to
+ note that the new auto_solib_limit variable is used instead
+ of overloading auto_solib_add variable.
+ (_initialize_pa64_solib): Ditto.
+ * somsolib.c (som_solib_total_st_size): Ditto.
+ (_initialize_som_solib): Ditto.
+
+ * pa64solib.c (_initialize_pa64_solib): Add new set/show
+ commands for auto-solib-limit variable.
+ * somsolib.c (_initialize_som_solib): Ditto
+
+ * pa64solib.c (add_to_solist): Check that auto_solib_add is
+ set and use auto_solib_limit as the threshold size instead
+ of auto_solib_add.
+ * somsolib.c (som_solib_add): Ditto, and also change warning
+ text about size threshold exceeded.
+
+2001-10-21 Mark Kettenis <kettenis@gnu.org>
+
+ * config/i386/tm-i386v.h: Don't include "regcache.h".
+ (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, FRAME_CHAIN,
+ FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_NUM_ARGS):
+ Remove macros. The versions from "tm-i386.h" should work fine
+ (and in most cases even better).
+
+2001-10-30 Mark Kettenis <kettenis@gnu.org>
+
+ * i386-tdep.c (i386_extract_return_value): Use
+ convert_typed_floating to extract floating-point value from
+ register buffer.
+ (i386_store_return_value): Use convert_typed_floating to store
+ floating-point return balue in register buffer
+ (i386_register_virtual_type): Change type of floating-point
+ registers to builtin_type_i387_ext.
+ (i386_register_convert_to_virtual): Use convert_typed_floating to
+ do the conversion.
+ (i386_register_convert_to_raw): Likewise.
+
+2001-10-29 Mark Kettenis <kettenis@gnu.org>
+
+ * doublest.h (convert_typed_floating): New prototype.
+ * doublest.c (convert_typed_floating): New function.
+
+2001-10-28 Mark Kettenis <kettenis@gnu.org>
+
+ * doublest.c: Improve comments a bit.
+ (floatformat_from_length): New function.
+ (NAN): Define to 0.0 if not already defined.
+ (extract_floating): Rewrite to use floatformat_from_length. Warn
+ instead of error if LEN doesn't match a known floating-point type,
+ and return NaN (or 0.0 if NaN isn't available) in that case.
+ (store_floating): Likewise, but zero out the target byte-stream if
+ LEN doesn't match a known floating-point type.
+ (extract_typed_floating): Reformat a bit.
+ (store_typed_floating): Reformat a bit. Add comment about zeroing
+ out padding in the target buffer.
+ * doublest.h (extract_floating, store_floating): Fix comment about
+ deprecation of these functions. Add parameter names to prototypes.
+
+2001-10-28 Mark Kettenis <kettenis@gnu.org>
+
+ * i387-tdep.c (print_i387_value): Use extract_typed_floating to
+ convert RAW to a DOUBLEST instead of extract_floating.
+
+ * gdbtypes.c (_initialize_gdbtypes): Set floating-point type for
+ builtin_type_i387_ext to floatformat_i387_ext.
+
+2001-10-24 Daniel Jacobowitz <drow@mvista.com>
+
+ * arm-linux-nat.c (fill_gregset): Do not check register_valid[].
+ (fill_fpregset): Likewise.
+
+2001-10-26 Orjan Friberg <orjanf@axis.com>
+
+ * cris-tdep.c (constraint): Loop through the whole cris_spec_regs
+ struct, not just the NUM_SPECREGS first entries.
+ (bdap_prefix): Read PC before autoincrement.
+
+2001-10-24 Corinna Vinschen <vinschen@redhat.com>
+
+ * win32-nat.c (DebugSetProcessKillOnExit): New static function
+ pointer to Windows' DebugSetProcessKillOnExit() function.
+ (DebugActiveProcessStop): Ditto for DebugActiveProcessStop().
+ (has_detach_ability): New function.
+ (child_attach): If system has detach ability, enable it.
+ (child_detach): If system has detach ability, actually
+ detach from process.
+ Change tty output to Linux format.
+
+2001-10-23 Jim Blandy <jimb@redhat.com>
+
+ Isolate STABS readers' use of the `textlow' and `texthigh' fields
+ of `struct partial_symtab' to only a few locations. This change
+ is not supposed to affect the way the values are computed, only
+ where they live.
+
+ * dbxread.c (struct symloc): Add `textlow' and `texthigh' fields
+ to the reader-specific structure.
+ * mdebugread.c (struct symloc): Same.
+ * dbxread.c (TEXTLOW, TEXTHIGH): New accessor macros.
+ * mdebugread.c (TEXTLOW, TEXTHIGH): Same.
+ * dbxread.c (dbx_symfile_read): After we've built all our partial
+ symbol tables, set each partial symtab's `textlow' and `texthigh'
+ fields from our reader-specific structure.
+ * mdebugread.c (mdebug_build_psymtabs): Same.
+ * dbxread.c (start_psymtab): Initialize the reader-specific
+ structure's `textlow' and `texthigh' from the new psymtab's.
+ * mdebugread.c (parse_partial_symbols, new_psymtab): Same.
+ * dbxread.c (read_dbx_symtab, end_psymtab, read_ofile_symtab): Use
+ the reader-specific `textlow' and `texthigh', not the generic
+ psymtab fields.
+ * mdebugread.c (parse_lines, parse_partial_symbols,
+ psymtab_to_symtab_1): Same.
+ * partial-stab.h: Same.
+
+Tue Oct 23 18:59:42 2001 Andrew Cagney <cagney@redhat.com>
+
+ * hp-psymtab-read.c, hppah-nat.c, hppa-tdep.c: Fix -Wformat
+ problems.
+
+Tue Oct 23 14:16:10 2001 Andrew Cagney <cagney@redhat.com>
+
+ * somsolib.c (som_solib_add): Use core_addr_to_host_pointer.
+ (som_solib_desire_dynamic_linker_symbols): Compare integers with
+ zero not NULL.
+ * hp-psymtab-read.c (hpread_call_pxdb): Make parameter constant.
+
+2001-10-21 Andrew Cagney <ac131313@redhat.com>
+
+ * top.c (print_gdb_version): Do not print ``(MI_OUT)''. MI
+ interface is always enabled.
+
+2001-10-21 Andrew Cagney <ac131313@redhat.com>
+
+ * Makefile.in: Replace top.h with $(top_h). Replace expression.h
+ with $(expression_h). Replace command.h with $(command_h).
+ (language_h): Define. Replace language.h with $(language_h).
+ Replace call-cmds.h with $(call_cmds_h). Replace varobj.h with
+ $(varobj_h).
+ (wrapper_h, valprint_h, objfiles_h, complaints_h): Ditto.
+ (serial_h, hpread_h, buildsym_h, stabsread_h): Ditto.
+ (xcoffsolib_h, gdb_stabs_h, linespec_h): Ditto.
+ (bcache_h, gdb_events_h, monitor_h): Ditto.
+ (ser_unix_h, source_h): Ditto.
+ (varobj_h): Update list.
+
+ * call-cmds.h: Add CALL_CMDS_H macro wrapper.
+ * solist.h: Add SOLIST_H macro wrapper.
+ * monitor.h: Add MONITOR_H macro wrapper.
+ * typeprint.h: Add TYPEPRINT_H macro wrapper.
+ * xcoffsolib.h: Add XCOFFSOLIB_H macro wrapper.
+ * valprint.h: Add VALPRINT_H macro wrapper.
+ * top.h: Add TOP_H macro wrapper.
+
+2001-10-21 Andrew Cagney <ac131313@redhat.com>
+
+ * config/a29k/tm-vx29k.h, i386-tdep.c: Include "value.h".
+ * arm-tdep.c, exec.c, ia64-tdep.c, infrun.c: Ditto.
+ * ppc-linux-tdep.c, remote-es.c, remote.c: Ditto.
+ * rs6000-tdep.c, s390-tdep.c, x86-64-tdep.c: Ditto.
+ * Makefile.in (arm-tdep.o, exec.o, i386-tdep.o, ia64-tdep.o)
+ (infrun.o, ppc-linux-tdep.o, remote.o, rs6000-tdep.o)
+ (x86-64-tdep.o): Update dependencies.
+ * gdbarch.sh [!GDB_MULTI_ARCH]: Include "value.h".
+ * gdbarch.h, gdbarch.c: Re-generate.
+
+2001-10-21 Mark Kettenis <kettenis@gnu.org>
+
+ * infptrace.c (child_xfer_memory): Fix a few coding standards
+ violations.
+
+2001-10-21 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * config/djgpp/README: Fix a typo and tweak for GDB 5.1.
+
+2001-10-20 Andrew Cagney <ac131313@redhat.com>
+
+ * jv-lang.h: Add #ifndef JV_LANG_H wrapper.
+ (struct value): Add opaque declaration. Replace value_ptr with
+ ``struct value *''.
+ * jv-valprint.c, jv-lang.c: Replace value_ptr with equivalent
+ struct.
+
+ * wrapper.h (struct value): Add opaque declaration. Replace
+ value_ptr with ``struct value *''.
+ * wrapper.c: Replace value_ptr with ``struct value *''.
+ * breakpoint.h, breakpoint.c: Ditto.
+ * cp-abi.h, hpacc-abi.c, gnu-v2-abi.c, cp-abi.c: Ditto.
+
+2001-10-20 Andrew Cagney <ac131313@redhat.com>
+
+ * alpha-nat.c: Include <alpha/coreregs.h> instead of
+ <machine/reg.h>.
+ (fetch_osf_core_registers): Define core_reg_mapping in a way that
+ works on OSF5 as well as previous OSF versions.
+
+2001-10-20 Christopher Faylor <cgf@redhat.com>
+
+ * win32-nat.c (handle_load_dll): Avoid strlwr'ing loaded DLLs or cygwin
+ may not be able to read them in certain situations.
+
+2001-10-18 Andrew Cagney <ac131313@redhat.com>
+
+ * config/powerpc/nbsd.mt (SIM_OBS, SIM): Define.
+ * config/powerpc/linux.mt (SIM, SIM_OBS): Ditto
+
+2001-10-18 Andrew Cagney <ac131313@redhat.com>
+
+ * README: Mention problems with HP/UX.
+
+2001-10-16 Andrew Cagney <ac131313@redhat.com>
+
+ Based on code by John Moore <jmore@redhat.com>:
+
+ * utils.c (core_addr_to_string): New function for conversion of
+ CORE_ADDR to string.
+ (string_to_core_addr): New function to convert from string to
+ CORE_ADDR.
+ * defs.h: Added extern statements for the above.
+
+2001-10-17 Jason Molenda (jason-cl@molenda.com)
+
+ * symtab.c (lookup_block_symbol): Break out of linear search
+ if we're past the range of possible matches.
+
+2001-10-16 Christopher Faylor <cgf@redhat.com>
+
+ * win32-nat.c (safe_symbol_file_add_stub): Improve logic for avoiding
+ load of already loaded DLL.
+ (register_loaded_dll): Convert loaded DLL name to "posix" format or it
+ will confuse subsequent opening of the filename due to dos paths.
+ (dll_symbol_command): Pass from_tty parameter to safe_symbol_file_add.
+
+2001-10-15 Elena Zannoni <ezannoni@redhat.com>
+
+ * symtab.c (lookup_block_symbol): Update comment.
+
+2001-10-15 Andrew Cagney <ac131313@redhat.com>
+
+ * value.h (value_as_address): Rename value_as_pointer.
+ * eval.c, findvar.c, gnu-v2-abi.c, gnu-v3-abi.c, jv-lang.c,
+ jv-valprint.c, printcmd.c, stack.c, top.c, valarith.c, valops.c,
+ values.c: Update.
+
+202001-10-15 Jim Ingham <jingham@inghji.apple.com>
+
+ * valarith.c (value_sub): Don't pass a raw type to
+ value_from_pointer, it has to go through check_typedef first.
+
+2001-10-15 Andrew Cagney <ac131313@redhat.com>
+
+ * gdbarch.sh (fallbackdefault): Set to one when predefault is
+ empty.
+ * gdbarch.h: Regenerate.
+
+2001-10-15 Andrew Cagney <ac131313@redhat.com>
+
+ * mips-tdep.c (mips_integer_to_address): New function.
+ (mips_gdbarch_init): Initialize pointer_to_address,
+ address_to_pointer and integer_to_address.
+
+ * config/mips/tm-mips.h (POINTER_TO_ADDRESS): Delete
+ (ADDRESS_TO_POINTER): Delete.
+
+ * d10v-tdep.c (d10v_integer_to_address): New function.
+ (d10v_gdbarch_init): Initialize integer_to_address.
+
+ * values.c (value_as_pointer): Use INTEGER_TO_ADDRESS when
+ available.
+
+ * gdbarch.sh (INTEGER_TO_ADDRESS): New predicate and function.
+ * gdbarch.h, gdbarch.c: Regenerate.
+
+2001-10-14 Mark Kettenis <kettenis@gnu.org>
+
+ * config/s390/nm-linux.h: Don't include <signal.h>.
+ (lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals,
+ GET_THREAD_SIGNAL): Remove.
+
+ * config/nm-linux.h (struct objfile): Remove forward declaration.
+ (linuxthreads_new_objfile): Remove prototype.
+ (linuxthreads_pid_to_str): Remove prototype.
+ (PREPARE_TO_PROCEED): Redefine in terms of
+ lin_lwp_prepare_to_proceed.
+ (struct target_waitstatus): Forward declaration.
+ (child_wait): New prototype.
+ (CHILD_WAIT): Define.
+ (lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals,
+ GET_THREAD_SIGNAL): Moved here from arch-specific files.
+ * config/alpha/nm-linux.h, config/arm/nm-linux.h,
+ config/ia64/nm-linux.h, config/mips/nm-linux.h,
+ config/powerpc/nm-linux.h: Don't include <signal.h>.
+ (lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals,
+ GET_THREAD_SIGNAL): Remove.
+ * config/i386/nm-linux.h: Likewise.
+ (struct target_waitstatus, child_wait, CHILD_WAIT): Remove.
+ * config/m68k/linux.mh, config/sparc/linux.mh (NATDEPFILES):
+ Remove linux-thread.o. Add proc-service.o, thread-db.o and
+ lin-lwp.o.
+ (LOADLIBES): New variable.
+
+ * sparc-nat.c (fetch_core_registers): Remove redundant prototype.
+
+ * proc-service.c (BUILD_LWP): Redefine in terms of ptid_build.
+
+ Fix attaching to cloned processes. This fixes PR gdb/61.
+ * lin-lwp.c (struct lwp_info): Add new member `cloned'.
+ (is_cloned) Removed.
+ (lin_lwp_attach_lwp): Don't call stop_wait_callback. Instead call
+ waitpid explicitly. Mark the LWP as cloned if waitpid fails and
+ retry with __WCLONE flag.
+ (lin_lwp_attach): Likewise. Warn if attaching to a cloned process.
+ (detach_callback): Replace use of is_cloned with explicit check on
+ LWP id and process id.
+ (stop_wait_callback): Replace use of is_cloned with check if LWP
+ is marked as cloned.
+ [CHILD_WAIT] (child_wait): New function.
+ (lin_lwp_wait): Replace use of is_cloned with check if LWP is
+ marked as cloned. Mark newly detected LWPs as cloned if detected
+ by waitpid with __WCLONE flag.
+ (kill_wait_callback): Replace use of is_cloned with check if LWP
+ is marked as cloned.
+ * config/i386/nm-linux.h (struct target_waitstatus): Add forward
+ declaration.
+ (child_wait): Add prototype.
+ (CHILD_WAIT): Define.
+
+2001-10-13 Andrew Cagney <ac131313@redhat.com>
+
+ S/390 31 & 64 bit target and GNU/Linux native support.
+ Contributed by D.J. Barrow <djbarrow@de.ibm.com> of IBM.
+ * s390-nat.c, s390-tdep.c: New file.
+ * config/s390/nm-linux.h, config/s390/s390.mh: New file.
+ * config/s390/s390.mt, config/s390/s390x.mt: New file.
+ * config/s390/tm-linux.h, config/s390/tm-s390.h: New file.
+ * config/s390/xm-linux.h: New file.
+ * NEWS: Update.
+ * MAINTAINERS: Update.
+
+2001-10-13 Andrew Cagney <ac131313@redhat.com>
+
+ From 2001-07-09 D.J. Barrow <djbarrow@de.ibm.com>:
+ * gdbarch.sh: Fixed CALL_DUMMY_BREAKPOINT_OFFSET to check
+ CALL_DUMMY_BREAKPOINT_OFFSET_P.
+ * gdbarch.c: Regenerate.
+
+2001-10-13 Mark Kettenis <kettenis@gnu.org>
+
+ * thread-db.c: Fix a few formatting mistakes.
+
+2001-10-12 Christopher Faylor <cgf@redhat.com>
+
+ * win32-nat.c (safe_symbol_file_add_stub): Properly initialize linked
+ list pointer to beginning rather than one beyond beginning.
+
+2001-10-12 Daniel Jacobowitz <drow@mvista.com>
+
+ * symtab.h (struct block): (ALL_BLOCK_SYMBOLS): New macro.
+
+ * symtab.c (find_pc_sect_symtab): Use ALL_BLOCK_SYMBOLS.
+ (make_symbol_completion_list): Likewise.
+ (make_symbol_overload_list): Likewise.
+ * buildsym.c (finish_block): Likewise.
+ * breakpoint.c (get_catch_sals): Likewise.
+ * mdebugread.c (mylookup_symbol): Likewise.
+ * objfiles.c (objfile_relocate): Likewise.
+ * printcmd.c (print_frame_args): Likewise.
+ * stack.c (print_block_frame_locals): Likewise.
+ (print_block_frame_labels): Likewise.
+ (print_frame_arg_vars): Likewise.
+ * symmisc.c (dump_symtab): Likewise.
+ * tracepoint.c (add_local_symbols): Likewise.
+ (scope_info): Likewise.
+
+2001-10-12 Daniel Jacobowitz <drow@mvista.com>
+
+ * minsyms.c (msymbol_hash): Use better hash function.
+ (msymbol_hash_iw): Likewise. Terminate loop at '(' properly.
+
+ * objfiles.h: Increase MINIMAL_SYMBOL_HASH_SIZE to match modern
+ binaries.
+
+2001-10-12 Daniel Jacobowitz <drow@mvista.com>
+
+ * printcmd.c (print_frame_args): Move symbol iteration explicitly
+ inside the func != NULL block.
+
+2001-10-12 Fernando Nasser <fnasser@redhat.com>
+
+ * MAINTAINERS (Misc): Add Ian Roxborough as tcl/, tk/ and itcl/
+ maintainer.
+
+2001-10-12 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * config/i386/tm-cygwin.h: Include tm-i386.h instead of tm-i386v.h.
+ This fixes errors in "long long" handling for 'finish' and 'return'
+ commands.
+
+2001-10-12 Christopher Faylor <cgf@redhat.com>
+
+ * win32-nat.c (safe_symbol_file_add_stub): Avoid adding a shared
+ library if it has already been loaded.
+ (safe_symbol_file_add_cleanup): Don't mess with stderr or we won't see
+ any error messages.
+ (safe_symbol_file_add): Ditto.
+ (solib_symbols_add): Make static. Accept 'from_tty' parameter. Pass
+ it to safe_symbol_file_add.
+ (core_dll_symbols_add): Accomodate extra solib_symbols_add parameter.
+ (child_solib_add): Ditto.
+
+ * win32-nat.c (handle_exception): Don't print "first chance"
+ exceptions.
+ (get_child_debug_event): Continue from exceptions if !handle_exception.
+
+2001-10-11 Tom Tromey <tromey@redhat.com>
+
+ * symtab.c (lookup_symtab): Removed.
+ (lookup_symtab_1): Renamed to lookup_symtab.
+
+2001-10-10 Christopher Faylor <cgf@redhat.com>
+
+ * win32-nat.c (get_child_debug_event): Close file handles created after
+ process creation and DLL load.
+ (child_create_inferior): Close unneeded process/thread handle after
+ thread creation.
+
+2001-10-10 Jim Blandy <jimb@redhat.com>
+
+ * mn10300-tdep.c (mn10300_analyze_prologue): Doc fixes.
+
+2001-10-10 Keith Seitz <keiths@redhat.com>
+
+ * varobj.c (cplus_value_of_child): Deal with a failure
+ to dereference a pointer object.
+
+2001-10-08 J. Brobecker <brobecker@gnat.com>
+
+ * hpux-thread.c: rewrite find_active_thread() and find_tcb()
+ to use ptid_t, instead of overloading the thread and the pid
+ into the same 32-bit value. Make associated necessary adaptations.
+ Also remove unused variable cached_active_thread.
+
+2001-10-08 Nicholas Duffek <nsd@redhat.com>
+
+ * MAINTAINERS (powerpc, SCO/Unixware, Solaris/x86): Remove my
+ entries.
+
+2001-10-06 Mark Kettenis <kettenis@beast.freebsd.org>
+
+ * config/alpha/tm-fbsd.h (FRAME_CHAIN_VALID): Define.
+
+2001-10-04 Tom Tromey <tromey@redhat.com>
+
+ * main.c (enable_external_editor): Don't declare.
+ (captured_main): Don't set enable_external_editor.
+
+2001-10-02 Kevin Buettner <kevinb@redhat.com>
+
+ * Makefile.in (ALLDEPFILES): Add solib-svr4.c and solib-sunos.c
+ to this list.
+ (solib-sunos.o): Add dependencies.
+ (solib-svr4.o): Revise dependencies.
+ * solib-svr4.c: Remove SunOS shared library support.
+ * solib-sunos.c: New file, created from solib-svr4.c, which still
+ contains SunOS shared library support, but no SVR4 support.
+
+ * config/i386/nbsd.mh (NATDEPFILES): Remove solib-svr4.o and
+ solib-legacy.o from this list. Add solib-sunos.o.
+ * config/i386/sun386.mt (TDEPFILES): Likewise.
+ * config/m68k/nbsd.mh (NATDEPFILES): Likewise.
+ * config/m68k/sun2os4.mt (TDEPFILES): Likewise.
+ * config/m68k/sun3os4.mt (TDEPFILES): Likewise.
+ * config/ns32k/nbsd.mh (NATDEPFILES): Likewise.
+ * config/sparc/nbsd.mh (NATDEPFILES): Likewise.
+ * config/sparc/sun4os4.mt (TDEPFILES): Likewise.
+
+2001-10-01 Elena Zannoni <ezannoni@redhat.com>
+
+ * Makefile.in (mipsread.o): Remove old dependency on partial-stab.h.
+
+2001-10-01 Elena Zannoni <ezannoni@redhat.com>
+
+ * xcoffread.c (N_UNDF, N_ABS, N_TEXT, N_DATA, N_BSS, N_COMM, N_FN,
+ N_EXT, N_INDR, N_SETA, N_SETT, N_SETD, N_SETB, N_SETV,
+ CUR_SYMBOL_TYPE, CUR_SYMBOL_VALUE, START_PSYMTAB, END_PSYMTAB,
+ SET_NAMESTRING): Delete definitions.
+ Don't include language.h any more.
+ Don't include partial-stab.h any more.
+ (scan_xcoff_symtab): Don't jump through hoops to reuse code in
+ partial-stab.h, include the code directly, instead.
+
+ * Makefile.in (xcoffread.o): Remove dependency on partial-stab.h.
+
+2001-10-01 Andrew Cagney <ac131313@redhat.com>
+
+ * infcmd.c (do_registers_info): Delete code dumping large
+ registers. Handled by val_print.
+
+2001-09-30 Andrew Cagney <ac131313@redhat.com>
+
+ * gdbarch.sh (gdbarch_alloc): Name the new architecture
+ ``current_gdbarch'' so that it, and not the identically named
+ global is refered to by macros.
+ * gdbarch.c: Regenerate.
+
+2001-09-29 Andrew Cagney <ac131313@redhat.com>
+
+ * cli/cli-decode.c (add_set_boolean_cmd): Define.
+ * cli/cli-decode.h (add_set_boolean_cmd): Declare.
+ * command.h (add_set_boolean_cmd): Ditto.
+ * remote.c (_initialize_remote): Use add_set_boolean_cmd for "set
+ remotebreak"
+
+2001-09-29 Andrew Cagney <ac131313@redhat.com>
+
+ * gdbarch.sh (gdbarch_dump): Sort output.
+ * gdbarch.c: Regenerate.
+
+2001-09-29 Andrew Cagney <ac131313@redhat.com>
+
+ * rs6000-tdep.c (rs6000_gdbarch_init): Don't use the previous
+ architecture to infer the wordsize. Previous architecture may not
+ be a PowerPC.
+
+2001-09-27 J. Brobecker <brobecker@gnat.com>
+
+ * infttrace.c (kill_inferior): Issue a TT_PROC_EXIT request rather
+ than a TT_PROC_STOP request to kill the inferior and its child
+ processes. Otherwise, the inferior is not killed on HPUX 11.0.
+ Removed the code that detaches the child processes since we just
+ killed them.
+
+2001-09-26 Andrew Cagney <ac131313@redhat.com>
+
+ * serial.c (serial_set_cmdlist, serial_show_cmdlist): New
+ variables.
+ (serial_set_cmd, serial_show_cmd): New functions.
+ (_initialize_serial): Add "set/show serial" command.
+
+2001-09-26 Andrew Cagney <ac131313@redhat.com>
+
+ * CONTRIBUTE: Update.
+
2001-09-26 Kevin Buettner <kevinb@redhat.com>
* solib-svr4.h (set_solib_svr4_fetch_link_map_offsets): Add
8-byte wide watchpoints.
(i386_show_dr): Debug message format string change.
+2001-09-21 Michael Snyder <msnyder@redhat.com>
+
+ * c-exp.y (typebase): Accept (signed long long) as a type expr.
+
+2001-09-20 Michael Snyder <msnyder@redhat.com>
+ Changes by Daniel Berlin <dan@cgsoftware.com>, to support
+ better parsing of const and volatile type expressions.
+ * c-exp.y (const_and_volatile, const_or_volatile_noopt,
+ const_or_volatile): New non-terminals.
+ (ptype): Use new rule for const_or_volatile.
+ (typebase): Use new rule for const_or_volatile_noopt.
+ * parser-defs.h (enum type_pieces): New values tp_const, tp_volatile.
+ * parse.c (follow_types): Handle tp_const and tp_volatile on the
+ type stack: call make_cv_type to create new const/volatile type.
+
2001-09-20 Kevin Buettner <kevinb@redhat.com>
* solib-svr4.c (fetch_link_map_offsets): Add comment.