+
+ * rs6000-tdep.c (rs6000_gdbarch_init): Don't set tm_print_insn;
+ it's no longer required.
+
+
+ * Makefile.in (gdbtk-wrapper.o): Add missing dependencies.
+
+
+ * rs6000-tdep.c (rs6000_software_single_step): Use
+ rs6000_breakpoint_from_pc() to fetch breakpoint instruction
+ and size. Use target_insert_breakpoint() and
+ target_remove_breakpoint() to insert and remove breakpoints
+ instead of explicit memory reads and writes.
+
+
+ * config/powerpc/tm-ppc-eabi.h (ELF_OBJECT_FORMAT): Delete.
+ * rs6000-tdep.c (rs6000_push_arguments): Eliminate
+ ELF_OBJECT_FORMAT ifdef.
+
+
+ * rs6000-tdep.c (rs6000_gdbarch_init): Use set_gdbarch_print_insn().
+
+
+ * rs6000-tdep.c (rs6000_fix_call_dummy): Delete unused macro
+ definitions for TOC_ADDR_OFFSET and TARGET_ADDR_OFFSET.
+
+
+ * fbsd-proc.c (child_pid_to_exec_file, fbsd_find_memory_regions):
+ s/asprintf/xasprintf/.
+ (fbsd_make_corefile_notes): s/strdup/xstrdup/.
+
+
+ I believe Jeff Law denies responsability for this one:
+ * config/pa/hpux11w.mh (MH_CFLAGS): Add -Dvfork=fork.
+ * config/pa/hpux11.mh (MH_CFLAGS): Add -Dvfork=fork.
+ * config/pa/hpux1020.mh (MH_CFLAGS): Add -Dvfork=fork.
+ Work-around for PR gdb/366.
+
+
+ * remote-e7000.c (write_small, e7000_read_inferior_memory,
+ e7000_read_inferior_memory_large, e7000_insert_breakpoint,
+ e7000_remove_breakpoint): Use paddr_nz() to print addresses.
+
+
+ * sh-tdep.c (sh_fp_frame_init_saved_regs,
+ sh_nofp_frame_init_saved_regs): Use alloca() for 'where'
+ information.
+
+
+ * MAINTAINERS (Misc): List Daniel Jacobowitz as the GDBSERVER
+ maintainer.
+
+
+ * README (Reporting Bugs in GDB): Document the bug web page as the
+ prefered way of submitting bugs.
+ Fix PR gdb/402.
+
+
+ * gdbarch.sh (FP_REGNUM, PC_REGNUM, SP_REGNUM): Allow default of
+ -1. Update comment.
+ * gdbarch.h, gdbarch.c: Re-generate.
+
+
+ * m68klinux-nat.c (fill_fpregset): Properly pass address of
+ buffer to regcache_collect.
+
+
+ * gdbarch.sh (PS_REGNUM): Add. Document. Default to -1.
+ * gdbarch.c, gdbarch.h: Re-generate.
+
+
+ * symtab.c (lookup_symtab): Remove ``const'' from ``rp''
+ declaration. Fix -Werror.
+
+
+ * gdbarch.sh (initialize_non_multiarch): Call init_gdbarch_swap.
+ * gdbarch.c: Regenerate.
+
+
+ * cli/cli-dump.c (restore_section_callback): Use paddr_nz.
+
+
+ * solib-svr4.c (bkpt_names): Add "__start".
+
+
+ * sparc-tdep.c (sparc_push_dummy_frame): Use GDB_TARGET_IS_SPARC64
+ as test for 64 bit target.
+
+
+ * h8500-tdep.c (h8500_write_fp): Delete function.
+ * dwarf2cfi.c (cfi_write_fp): Document as not used.
+ * mips-tdep.c (mips_gdbarch_init): Do not set write_fp.
+ * ia64-tdep.c (ia64_gdbarch_init): Do not set write_fp.
+ * m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set write_fp.
+ * rs6000-tdep.c (rs6000_gdbarch_init): Do not set write_fp.
+ * s390-tdep.c (s390_gdbarch_init): Do not set write_fp.
+ (s390_write_fp):
+ * sh-tdep.c (sh_gdbarch_init): Do not set write_fp.
+ * x86-64-tdep.c (i386_gdbarch_init): Do not set write_fp.
+ * d10v-tdep.c (d10v_gdbarch_init): Do not set write_fp.
+ (d10v_write_fp): Delete function.
+ * inferior.h (write_fp, generic_target_write_fp): Delete
+ declarations.
+ * regcache.c (generic_target_write_fp): Delete function.
+ (write_fp): Delete function.
+ * gdbarch.sh (TARGET_WRITE_FP): Delete.
+ * gdbarch.h, gdbarch.c: Regenerate.
+ * config/v850/tm-v850.h (TARGET_WRITE_FP): Delete macro.
+ * config/sparc/tm-sp64.h (TARGET_WRITE_FP): Delete macro.
+ (sparc64_write_fp): Delete declaration.
+ * config/h8500/tm-h8500.h (TARGET_WRITE_FP): Delete macro.
+ (h8500_write_fp): Delete declaration.
+
+
+ * sparc-tdep.c (sparc64_write_fp): Delete.
+ (sparc_push_dummy_frame): Replace write_fp call with code to store
+ the FP directly.
+ (sparc_gdbarch_init): Do not initialize write_fp.
+
+
+ * rs6000-tdep.c (skip_prologue): Eliminate unused/unreachable
+ clause.
+
+
+ * stack.c (get_selected_block): Add new argument `addr_in_block',
+ used to return the exact code address we used to select the block,
+ not just the block.
+ * blockframe.c (get_frame_block, get_current_block): Same.
+ * frame.h (get_frame_block, get_current_block,
+ get_selected_block): Update declarations.
+ * linespec.c, stack.c, blockframe.c, breakpoint.c, findvar.c,
+ linespec.c, varobj.c, printcmd.c, symtab.c: Callers changed.
+
+
+ * breakpoint.c (insert_breakpoints): Change 'hw' to 'hardware in
+ warning message.
+
+
+ * utils.c (xfullpath): New function.
+ * defs.h (xfullpath): Add declaration.
+ * source.c (openp): Use xfullpath in place of gdb_realpath to
+ avoid resolving the basename part of filenames when the
+ associated file is a symbolic link. This fixes a potential
+ inconsistency between the filenames known to GDB and the
+ filenames it prints in the annotations.
+ * symtab.c (lookup_symtab): Use the new xfullpath function, in order
+ to be able to match a filename with either the real filename, or
+ the name of any symbolic link to this file.
+ (lookup_partial_symtab): Ditto.
+
+
+ * breakpoint.c: Add support for hardware breakpoints in overlays.
+ (overlay_events_enabled): New state variable.
+ (insert_breakpoints): Use overlay_events_enabled to decide
+ whether to attempt to set a breakpoint at the overlay load addr.
+ Handle bp_hardware_breakpoint as well as bp_breakpoint.
+ (remove_breakpoint): Use overlay_events_enabled to decide
+ whether breakpoints need to be removed from overlay load addr.
+ Handle bp_hardware_breakpoint as well as bp_breakpoint.
+ (bpstat_stop_status): Handle bp_hardware_breakpoint in overlays.
+ (create_overlay_event_breakpoint, enable_overlay_breakpoints,
+ disable_overlay_breakpoints): Update overlay_events_enabled.
+
+
+ * dwarf2read.c (struct function_range): New.
+ (cu_first_fn, cu_last_fn, cu_cached_fn): New.
+ (check_cu_functions): New.
+ (read_file_scope): Initialize global function lists.
+ Call dwarf_decode_line after processing children.
+ (read_func_scope): Add to global function list.
+ (dwarf_decode_lines): Call check_cu_functions everywhere
+ record_line is called. Call record_line with a linenumber
+ of 0 to mark sequence ends.
+
+
+ * x86-64-linux-nat.c (child_xfer_memory): x86-64 ptrace() ABI
+ change sync with glibc.
+
+
+ * configure.in: Call AC_C_INLINE.
+ * configure: Regenerated.
+
+
+ * rs6000-tdep.c: Change #include of "bfd/libcoff.h"
+ and "bfd/libbfd.h" to "libcoff.h" and "libbfd.h".
+
+
+ * NEWS: Mention gcore support on FreeBSD/i386.
+
+ * fbsd-proc.c: New file.
+ * config/i386/nm-fbsd.h (CHILD_PID_TO_EXEC_FILE): Define.
+ * config/i386/fbsd.mh (NATDEPFILES): Add gcore.o and fbsd-proc.o.
+
+ * lin-lwp.c (child_wait): Check SAVE_ERRNO instead of ERRNO in
+ while statement.
+
+
+ * cli/cli-dump.c (_initialize_cli_dump): Older GCC's tolerate
+ unescaped newlines in string literals, but newer ones don't. So
+ escape them.
+
+
+ * cli/cli-dump.c: New file. Dump memory to file,
+ restore file to memory.
+ * cli/cli-dump.h: New file.
+ * Makefile.in: Add rules, dependencies for cli-dump.o.
+ * NEWS: Mention new commands.
+
+
+ * symfile.c (symbol_file_add): Move test for null symbols to later.
+
+
+ From veksler at il.ibm.com:
+ * utils.c (gdb_realpath): If canonicalize_file_name fails, return
+ the xstrduped original path.
+ Fix PR gdb/417.
+
+
+ * breakpoint.c (_initialize_breakpoint): Clean up help string.
+ * infcmd.c (_initialize_infcmd): Ditto.
+ * language.c (_initialize_language): Ditto.
+ * symfile.c (_initialize_symfile): Ditto.
+ * top.c (_init_main): Ditto.
+ * cli/cli-cmds.c (init_cli_cmds): Ditto.
+
+
+ * rs6000-tdep.c (struct rs6000_framedata): Add fields for AltiVec
+ vector registers handling.
+ (skip_prologue): Handle new AltiVec instructions. Fill in new
+ fields of frame data.
+ (frame_get_saved_regs): Fill in information for AltiVec registers.
+
+
+ * symtab.h (SYMBOL_INIT_MANGLED_NAME): Turn this macro's body into
+ a function; leave this macro here to invoke that function.
+ (symbol_init_mangled_name): Declaration for that function.
+ * symtab.c (symbol_init_mangled_name): New function.
+
+
+ * valarith.c: Replace strerror with safe_strerror.
+ * tracepoint.c: Ditto.
+ * lin-lwp.c: Ditto.
+ * go32-nat.c: Ditto.
+ * inflow.c: Ditto.
+ * gnu-nat.c: Ditto.
+
+
+ * event-top.c (command_line_handler): Remove useless if.
+
+
+ * dwarf2cfi.c: Give credit to Daniel Berlin, reformat copyright
+ comment.
+
+
+ * x86-64-tdep.h (X86_64_NUM_REGS, X86_64_NUM_GREGS): Delete #defines.
+ (x86_64_num_regs, x86_64_num_gregs): Added extern variables.
+ * x86-64-linux-nat.c (x86_64_regmap): Swapped RBX <> RDX, added DS, ES, FS, GS.
+ (x86_64_linux_dr_get_status, supply_gregset),
+ (fill_gregset): Changed X86_64_NUM_GREGS to x86_64_num_gregs.
+ * x86-64-tdep.c (x86_64_register_raw_size_table): Delete.
+ (x86_64_register_info_table): Add.
+ (X86_64_NUM_REGS, X86_64_NUM_GREGS): Add.
+ (x86_64_register_raw_size, x86_64_register_virtual_type),
+ (x86_64_register_name, _initialize_x86_64_tdep): Changed to reflect new
+ general x86_64_register_info_table.
+ (i386_gdbarch_init): gdbarch_register_bytes is now set
+ dynamicaly during initialization.
+ * regformats/reg-x86-64.dat: Synced with changes to registers above.
+ * gdbserver/linux-x86-64-low.c: Ditto.
+
+
+ * gdbserver/server.c (main): Call target_signal_to_host_p
+ and target_signal_to_host on signals received from the remote.
+ * gdbserver/remote-utils.c (prepare_resume_reply): Call
+ target_signal_from_host on signals sent to the remote.
+ * gdbserver/server.h: Add prototypes. Include "gdb/signals.h".
+ * gdbserver/Makefile.in: Add signals.o. Add -I${INCLUDE_DIR}.
+
+
+ * signals/signals.c: Include "server.h" in gdbserver build.
+ (target_signal_from_name): Don't use STREQ.
+ (_initialize_signals): Likewise. Don't include function in
+ gdbserver build.
+
+
+ * signals.c: Moved to...
+ * signals/signals.c: Here.
+ * Makefile (signals.o): Update.
+
+
+ * somread.c (som_symtab_read): Remove some commented out code and
+ updated related comments. Do not set the minimal symbol table to
+ mst_solib_trampoline for ST_ENTRY symbols with SS_LOCAL scope
+ in a dynamic executable.
+ * hppa-tdep.c (find_proc_framesize): Sanely handle the case
+ where we are unable to find the minimal symbol for the given
+ PC value.
+
+
+ * linux-proc.c (read_mapping): Scan up to end of line for filename.
+
+
+ * x86-64-tdep.c (x86_64_skip_prologue): Rewritten from scratch.
+
+
+ * command.h: Update copyright.
+ (struct cmd_list_element): Replace definition with opaque
+ declaration.
+ (enum cmd_types): Document that it will eventually be moved to
+ cli/cli-decode.h
+ (CMD_DEPRECATED, DEPRECATED_WARN_USER): Delete macros.
+ (MALLOCED_REPLACEMENT): Delete macro.
+ * Makefile.in (cli_decode_h): Add $(command_h).
+ (top.o, completer.o, maint.o): Add dependency on $(cli_decode_h).
+ * top.c: Include "cli/cli-decode.h".
+ * completer.c: Include "cli/cli-decode.h".
+ * maint.c: Include "cli/cli-decode.h".
+ * cli/cli-decode.h: Include "command.h".
+ (enum command_class): Delete.
+ (enum cmd_types): Comment out.
+ (enum cmd_auto_boolean): Delete.
+ (enum var_types): Delete.
+
+
+ * cli/cli-decode.c: Include "gdb_assert.h".
+ (add_set_or_show_cmd): New static function.
+ (add_set_cmd): Rewrite. Use add_set_or_show_cmd.
+ (add_show_from_set): Rewrite. Use add_set_or_show_cmd. Don't copy
+ all fields, such as func, from the set command.
+
+
+ * MAINTAINERS (sh-elf): Change warning flag to -w.
+
+
+ * defs.h (error): Add printf format attribute.
+ * thread-db.c (thread_from_lwp): Fix error format string.
+ * stack.c (parse_frame_specification): Ditto.
+ * cli/cli-decode.c (undef_cmd_error): Ditto.
+ * scm-lang.c (scm_lookup_name): Ditto.
+ * tracepoint.c (trace_error): Ditto.
+ * remote-utils.c (usage): Ditto.
+ * remote.c (compare_sections_command): Ditto.
+ Fix PR gdb/328.
+
+
+ * gdbtypes.c (append_composite_type_field): New function.
+ (init_composite_type): New function.
+ * gdbtypes.h (append_composite_type_field): Declare.
+ (init_composite_type): Ditto.
+
+
+ * ppc-linux-tdep.c (ppc_sysv_abi_use_struct_convention): New
+ function.
+ * ppc-tdep.h (ppc_sysv_abi_use_struct_convention): Export.
+ * rs6000-tdep.c (rs6000_gdbarch_init): Use different
+ structure returning convention for SYSV ABI case, but not
+ for GNU/Linux, FreeBSD, or NetBSD.
+
+
+ * symtab.h (lookup_block_symbol): Add mangled_name argument
+ to prototype.
+
+ * symmisc.c (maintenance_check_symtabs): Call lookup_block_symbol
+ with new mangled_name argument.
+ * linespec.c (decode_line_1): Likewise.
+ * valops (value_of_this): Likewise.
+ * symtab.c (lookup_transparent_type): Likewise.
+ (lookup_symbol_aux): Likewise. Accept new mangled_name argument.
+ (lookup_symbol): If we are given a mangled name, pass it down
+ to lookup_symbol_aux.
+ (lookup_block_symbol): If we are given a mangled name to check
+ against, only return symbols which match it.
+
+
+ * win32-nat.c (child_create_inferior): Check for proper shell to use
+ here, in case the user changes it on the fly.
+ (_initialize_inftarg): Remove shell path considerations.
+
+
+ * rs6000-tdep.c (rs6000_gdbarch_init): Use correct max size value
+ for gdbarch_max_register_raw_size and max_register_virtual_size.
+ Adjust copyright year.
+
+
+ * dbxread.c (process_one_symbol): Extend the first N_SLINE
+ in a function to cover the entire beginning of the function
+ as well if it does not already.
+
+
+ * rs6000-nat.c (rs6000_ptrace32): Renamed from ptrace32.
+ (rs6000_ptrace64): Renamed from ptrace64.
+
+
+ * gdbserver/remote-utils.c (remote_open): Don't call
+ getprotobyname, we're all using TCP here so just use
+ IPPROTO_TCP.
+ * gdbserver/gdbreplay.c (remote_open): Ditto.
+
+
+ * regcache.c (_initialize_regcache): No need to call
+ build_regcache() at this time; it gets called whenever
+ the gdbarch changes.
+
+
+ * sparc-nat.c: Include sys/param.h where possible.
+
+
+ Fix PR gdb/422.
+ * c-lang.c (c_create_fundamental_type): Handle FT_COMPLEX,
+ FT_DBL_PREC_COMPLEX, and FT_EXT_PREC_COMPLEX.
+ * dwarf2read.c (read_base_type): Set TYPE_TARGET_TYPE for
+ complex types.
+ * stabsread.c (rs6000_builtin_type): Likewise.
+ (read_sun_floating_type): Likewise.
+
+
+ * stabsread.c (read_member_functions): Remove skip code for duplicate
+ constructor/destructor methods. Use standard parsing for these
+ methods and just do not chain them to the list of methods after
+ parsing.
+
+
+ * coffread.c: Remove redundant static declarations. Replace
+ occurrences of `PTR' with `void *'.
+ * elfread.c, mdebugread.c, minsyms.c, mipsread.c: Likewise.
+ * top.h (quit_cover): Likewise.
+ * defs.h (catch_errors): Likewise.
+
+
+ * defs.h (XMALLOC): Define.
+ * gdb-events.sh (XMALLOC): Delete macro.
+ * gdb-events.c, gdb-events.h: Regenerate.
+ * gdbarch.sh (XMALLOC): Delete macro.
+ * gdbarch.c: Regenerate.
+ * serial.c (XMALLOC): Delete macro.
+ * ui-file.c (XMALLOC): Ditto.
+ * ser-unix.h (XMALLOC): Ditto.
+ * sh-tdep.c (XMALLOC): Ditto.
+ * ui-out.c (XMALLOC): Ditto.
+ * utils.c (XMALLOC): Ditto.
+ * i386-tdep.c (XMALLOC): Ditto.
+ * gdb-events.c (XMALLOC): Ditto.
+ * d10v-tdep.c (XMALLOC): Ditto.
+ * cli-out.c (XMALLOC): Ditto.
+
+ * cli-out.c, d10v-tdep.c, gdb-events.c: Update copyright.
+ * gdb-events.sh, i386-tdep.c, ser-unix.h, serial.c: Ditto.
+ * ui-file.c, ui-out.c: Ditto.
+
+
+ * command.h (struct cmd_list_element): Add field context.
+ (set_cmd_context, get_cmd_context): Declare.
+ * cli/cli-decode.h: Ditto.
+ * cli/cli-decode.c (get_cmd_context): New function.
+ (set_cmd_context): New function.
+ (add_cmd): Initialize context.
+ Part of fixing PR gdb/145 and PR gdb/146.
+
+ * cli/cli-decode.c (cmd_type): New function.
+ * command.h (cmd_type): Declare.
+ * infrun.c (set_schedlock_func): Call function cmd_type.
+ * kod.c (kod_set_os): Call cmd_type.
+ * cris-tdep.c (cris_version_update): Use function cmd_type.
+ (cris_mode_update, cris_abi_update): Ditto.
+
* command.h: (execute_cmd_post_hook): Declare.
(execute_cmd_pre_hook): Declare.
* cli/cli-script.c (clear_hook_in_cleanup): New function.
* MAINTAINERS: Add myself to write-after-approval.
+
+ * symfile.c (syms_from_objfile): Return immediately if no syms.
+ (symbol_file_add): Return immediately if no syms.
+ (find_sym_fns): Return immediately if no syms.
+
* gdbserver/remote-util.c (remote_open): Print remote-side's
IP address when remote debugging over the network.
-
+
* config/sparc/fbsd.mh: Fix copyright.
* x86-64-tdep.h (sys/reg.h, x86_64_regmap): Moved to x86-64-linux-nat.c
- * x86-64-linux-nat.c (sys/reg.h, x86_64_regmap): Moved here
+ * x86-64-linux-nat.c (sys/reg.h, x86_64_regmap): Moved here
from x86-64-tdep.h
* symfile.c (symfile_bfd_open): Ditto.
* solib.c (solib_map_sections): Ditto.
Fix PR gdb/354.
-
+
* remote.c (_initialize_remote): By default, disable ``e'' and
* config/sparc/nm-linux.h, config/sparc/tm-linux.h: Ditto.
* config/sparc/tm-sp64linux.h, config/sparc/xm-linux.h: Ditto.
Fix PR gdb/378.
-
+
* lin-thread.c: Delete file.
* config.in, configure: Regenerated.
* utils.c: (gdb_realpath) If HAVE_CANONICALIZE_FILE_NAME is
defined use canonicalize_file_name.
-
+
* MAINTAINERS: Remove Michael Chastain from "paper trail" list.