166e63ce3Schristos2006-12-31 Daniel Jacobowitz <dan@codesourcery.com> 266e63ce3Schristos 366e63ce3Schristos * linux-nat.c (lin_lwp_attach_lwp): Return a status. Do not 466e63ce3Schristos add the LWP to our list until we are attached. Warn instead 566e63ce3Schristos of erroring if the attach fails. 666e63ce3Schristos * linux-nat.h (lin_lwp_attach_lwp): New prototype. 766e63ce3Schristos * linux-thread-db.c (attach_thread): Call lin_lwp_attach_lwp 866e63ce3Schristos directly. Do not add the thread to our list until we are 966e63ce3Schristos successfully attached. 1066e63ce3Schristos * config/nm-linux.h (lin_lwp_attach_lwp, ATTACH_LWP): Delete. 1166e63ce3Schristos 1266e63ce3Schristos2006-12-31 Daniel Jacobowitz <dan@codesourcery.com> 1366e63ce3Schristos 1466e63ce3Schristos * configure.ac: Add tests for TD_VERSION and TD_NOTLS. 1566e63ce3Schristos * linux-thread-db.c (thread_db_err_str): Recognize TD_NOTALLOC, 1666e63ce3Schristos TD_VERSION, and TD_NOTLS. 1766e63ce3Schristos * configure, config.in: Regenerated. 1866e63ce3Schristos 1966e63ce3Schristos2006-12-31 Joel Brobecker <brobecker@adacore.com> 2066e63ce3Schristos 2166e63ce3Schristos * i386-tdep.c (i386_analyze_stack_align): Add handling of two 2266e63ce3Schristos other possible code sequences that perform a stack realignment. 2366e63ce3Schristos 2466e63ce3Schristos2006-12-31 Mark Kettenis <kettenis@gnu.org> 2566e63ce3Schristos 2666e63ce3Schristos * sparc64-tdep.h (SPARC64_PSTATE_AG, SPARC64_PSTATE_IE) 2766e63ce3Schristos (SPARC64_PSTATE_PRIV, SPARC64_PSTATE_AM, SPARC64_PSTATE_PEF) 2866e63ce3Schristos (SPARC64_PSTATE_RED, SPARC64_PSTATE_TLE, SPARC64_PSTATE_CLE) 2966e63ce3Schristos (SPARC64_PSTATE_PID0, SPARC64_PSTATE_PID1): New defines. 3066e63ce3Schristos * sparc64nbsd-nat.c: Include "gdbcore.h". 3166e63ce3Schristos (sparc64nbsd_supply_pcb): Get %pc from stack if necessary. Supply 3266e63ce3Schristos processor state register. 3366e63ce3Schristos * sparc64obsd-tdep.c (sparc64obsd_trapframe_cache) 3466e63ce3Schristos (sparc64obsd_trapframe_this_id) 3566e63ce3Schristos (sparc64obsd_trapframe_prev_register) 3666e63ce3Schristos (sparc64obsd_trapframe_sniffer): New functions. 3766e63ce3Schristos (sparc64obsd_trapframe_unwind): New variable. 3866e63ce3Schristos (sparc64obsd_init_abi): Append trapframe unwinder. 3966e63ce3Schristos * Makefile.in (sparc64nbsd-nat.o): Update dependencies. 4066e63ce3Schristos 4166e63ce3Schristos2006-12-30 Daniel Jacobowitz <dan@codesourcery.com> 4266e63ce3Schristos 4366e63ce3Schristos * infrun.c (handle_inferior_event): Don't call 4466e63ce3Schristos ENSURE_VFORKING_PARENT_REMAINS_STOPPED. 4566e63ce3Schristos * target.h (ENSURE_VFORKING_PARENT_REMAINS_STOPPED): Delete. 4666e63ce3Schristos (RESUME_EXECD_VFORKING_CHILD_TO_GET_PARENT_VFORK): Delete. 4766e63ce3Schristos 4866e63ce3Schristos2006-12-29 Mark Kettenis <kettenis@gnu.org> 4966e63ce3Schristos 5066e63ce3Schristos * sparc-tdep.c (sparc_psr_type, sparc_fsr_type): New variables. 5166e63ce3Schristos (sparc_init_types): New function. 5266e63ce3Schristos (sparc32_register_type): Use appropriate flag types for %fsr and 5366e63ce3Schristos %prs. 5466e63ce3Schristos (_initialize_sparc_tdep): Call sparc_init_types. 5566e63ce3Schristos 5666e63ce3Schristos * memory-map.c (memory_map_end_element): Move variable 5766e63ce3Schristos declarations to the begining of the block. 5866e63ce3Schristos 5966e63ce3Schristos2006-12-28 Daniel Jacobowitz <dan@codesourcery.com> 6066e63ce3Schristos 6166e63ce3Schristos * ia64-tdep.c (get_kernel_table): Correct signedness in check 6266e63ce3Schristos for a negative return value. 6366e63ce3Schristos 6466e63ce3Schristos2006-12-27 Gary Funck <gary@intrepid.com> 6566e63ce3Schristos 6666e63ce3Schristos * dwarf2read.c (dwarf_attr_name, dwarf_cfi_name) 6766e63ce3Schristos (dwarf_stack_op_name, dwarf_tag_name) 6866e63ce3Schristos (dwarf_type_encoding_name): Decode additional DWARF 2 6966e63ce3Schristos and DWARF 3 codes into their corresponding string names. 7066e63ce3Schristos 7166e63ce3Schristos * MAINTAINERS (Write After Approval): Add myself. 7266e63ce3Schristos 7366e63ce3Schristos2006-12-26 Joel Brobecker <brobecker@adacore.com> 7466e63ce3Schristos 7566e63ce3Schristos * sparc64-tdep.c (sparc64_extract_return_value): Add handling 7666e63ce3Schristos for array types. 7766e63ce3Schristos (sparc64_store_return_value): Likewise. 7866e63ce3Schristos 7966e63ce3Schristos2006-12-18 Daniel Jacobowitz <dan@codesourcery.com> 8066e63ce3Schristos 8166e63ce3Schristos * breakpoint.c (watchpoint_check): Double-check the found frame. 8266e63ce3Schristos 8366e63ce3Schristos2006-12-17 Nick Hudson <skrll@netbsd.org> 8466e63ce3Schristos Mark Kettenis <kettenis@gnu.org> 8566e63ce3Schristos 8666e63ce3Schristos * i386nbsd-nat.c: Include "nbsd-nat.h". 8766e63ce3Schristos (_initialize_i386nbsd_nat): Update target vector to use 8866e63ce3Schristos nbsd_pid_to_exec_file. 8966e63ce3Schristos * config/i386/nbsdelf.mh (NATDEPFILES): Add nbsd-nat.o. 9066e63ce3Schristos * config/i386/nbsdaout.mh (NATDEPFILES): Add nbsd-nat.o. 9166e63ce3Schristos * nbsd-nat.c: New file. 9266e63ce3Schristos * nbsd-nat.h: New file. 9366e63ce3Schristos * Makefile.in (ALLDEPFILES): Add nbsd-nat.c. 9466e63ce3Schristos (nbsd_nat_h): New variable. 9566e63ce3Schristos (nbsd-nat.o): New dependency. 9666e63ce3Schristos 9766e63ce3Schristos2006-12-16 Daniel Jacobowitz <dan@codesourcery.com> 9866e63ce3Schristos 9966e63ce3Schristos * Makefile.in (ALLDEPFILES): Remove mipsv4-nat.c. 10066e63ce3Schristos (mipsv4-nat.o): Delete. 10166e63ce3Schristos * mipsv4-nat.c: Delete. 10266e63ce3Schristos 10366e63ce3Schristos2006-12-16 Daniel Jacobowitz <dan@codesourcery.com> 10466e63ce3Schristos 10566e63ce3Schristos * dve3900-rom.c: Delete file. 10666e63ce3Schristos * Makefile.in (dve3900-rom.o): Delete. 10766e63ce3Schristos 10866e63ce3Schristos2006-12-16 Daniel Jacobowitz <dan@codesourcery.com> 10966e63ce3Schristos 11066e63ce3Schristos * vx-share/README: Delete file. 11166e63ce3Schristos 11266e63ce3Schristos2006-12-16 Mark Kettenis <kettenis@gnu.org> 11366e63ce3Schristos 11466e63ce3Schristos * i386obsd-nat.c: Include "gdbcore.h", "regcache.h", "target.h", 11566e63ce3Schristos <machine/frame.h>, <machine/pcb.h>, "i386bsd-nat.h" and 11666e63ce3Schristos "bsd-kvm.h". 11766e63ce3Schristos (i386obsd_supply_pcb): New function. 11866e63ce3Schristos (_initialize_i386obsd_nat): Construct and add target 11966e63ce3Schristos vector. Enable libkvm interface. 12066e63ce3Schristos * Makefile.in (i386obsd-nat.o): Update dependencies. 12166e63ce3Schristos * config/i386/obsd.mh (NATDEPFILES): Remove i386nbsd-nat.c 12266e63ce3Schristos 12366e63ce3Schristos * sparcobsd-tdep.c: Fix typo. 12466e63ce3Schristos 12566e63ce3Schristos Add OpenBSD/sh native support. 12666e63ce3Schristos * NEWS (New native configurations): Mention OpenBSD/sh. 12766e63ce3Schristos * configure.host: Add sh*-*-openbsd*. 12866e63ce3Schristos * shnbsd-nat.c: Include "inf-ptrace.h". 12966e63ce3Schristos (shnbsd_fetch_inferior_registers): Rename from 13066e63ce3Schristos fetch_inferior_registers. Make static. 13166e63ce3Schristos (shnbsd_store_inferior_registers): Rename from 13266e63ce3Schristos store_inferior_registers. Make static. 13366e63ce3Schristos (_initialize_shnbsd_nat): New function. 13466e63ce3Schristos * Makefile.in (shnbsd-nat.o): Update dependencies. 13566e63ce3Schristos * config/sh/nbsd.mh (NAT_CLIBS, NAT_FILE): Remove. 13666e63ce3Schristos (NATDEPFILES): Remove infptrace.o and inftarg.o. Add 13766e63ce3Schristos inf-ptrace.o. 13866e63ce3Schristos 13966e63ce3Schristos Add OpenBSD/sh support. 14066e63ce3Schristos * NEWS (New targets): Mention OpenBSD/sh. 14166e63ce3Schristos * configure.tgt: Add sh*-*-openbsd*. 14266e63ce3Schristos * shnbsd-tdep.c (_initialize_shnbsd_tdep): Register handler for 14366e63ce3Schristos GDB_OSABI_OPENBSD_ELF. 14466e63ce3Schristos * config/sh/obsd.mt: New file. 14566e63ce3Schristos 14666e63ce3Schristos * ppcnbsd-tdep.c: Fix typo in comment. 14766e63ce3Schristos 14866e63ce3Schristos2006-12-15 Mark Kettenis <kettenis@gnu.org> 14966e63ce3Schristos 15066e63ce3Schristos * remote-fileio.c (remote_fileio_mode_to_target): Use 15166e63ce3Schristos S_ISREG/S_ISDIR/S_ISCHR macros instead of S_IFREG/S_IFDIR/S_IFCHR. 15266e63ce3Schristos 15366e63ce3Schristos2006-12-15 Daniel Jacobowitz <dan@codesourcery.com> 15466e63ce3Schristos 15566e63ce3Schristos * breakpoint.c (insert_bp_location): Add newline to note. 15666e63ce3Schristos 15766e63ce3Schristos2006-12-15 Alan Modra <amodra@bigpond.net.au> 15866e63ce3Schristos 15966e63ce3Schristos * spu-linux-nat.c (spu_bfd_iovec_stat): New function. 16066e63ce3Schristos (spu_bfd_open): Adjust bfd_openr_iovec call. 16166e63ce3Schristos 16266e63ce3Schristos2006-12-13 Jim Blandy <jimb@codesourcery.com> 16366e63ce3Schristos 16466e63ce3Schristos * value.c (value_copy): Copy the full 'location' contents, instead 16566e63ce3Schristos of assuming that copying ADDRESS will bring over everything in the 16666e63ce3Schristos union. 16766e63ce3Schristos 16866e63ce3Schristos2006-12-13 Markus Deuling <deuling@de.ibm.com> 16966e63ce3Schristos 17066e63ce3Schristos * spu-tdep.c (spu_init_vector_type): New function. 17166e63ce3Schristos (spu_builtin_type_vec128.): New static variable. 17266e63ce3Schristos (spu_register_type): Return spu_builtin_type_vec128 as default. 17366e63ce3Schristos (_initialize_spu_tdep): Call spu_init_vector_type. 17466e63ce3Schristos 17566e63ce3Schristos2006-12-09 Corinna Vinschen <vinschen@redhat.com> 17666e63ce3Schristos 17766e63ce3Schristos * win32-nat.c (env_sort): Remove. 17866e63ce3Schristos (win32_create_inferior): Remove code which creates a Windows 17966e63ce3Schristos environment. Use Cygwin function call instead. Propagate 18066e63ce3Schristos current environment to inferior process. 18166e63ce3Schristos 18266e63ce3Schristos2006-12-09 Nick Roberts <nickrob@snap.net.nz> 18366e63ce3Schristos 18466e63ce3Schristos * varobj.c (varobj_update): Ensure frame is restored when 18566e63ce3Schristos variable object is out of scope. 18666e63ce3Schristos 18766e63ce3Schristos2006-12-08 Eli Zaretskii <eliz@gnu.org> 18866e63ce3Schristos 18966e63ce3Schristos * MAINTAINERS: Clarify the meaning of an ``obvious fix'' in the 19066e63ce3Schristos docs. 19166e63ce3Schristos 19266e63ce3Schristos2006-12-08 Vladimir Prus <vladimir@codesourcery.com> 19366e63ce3Schristos 19466e63ce3Schristos * varobj.c (varobj_create): Don't call release_value. 19566e63ce3Schristos (varobj_set_value): Likewise. 19666e63ce3Schristos (install_new_value): Call coerce_ref and release_value 19766e63ce3Schristos on the value. Add asserts. 19866e63ce3Schristos 19966e63ce3Schristos2006-12-08 Nick Roberts <nickrob@snap.net.nz> 20066e63ce3Schristos 20166e63ce3Schristos * mi/mi-cmd-var.c (mi_cmd_var_update): Fix memory leak. 20266e63ce3Schristos 20366e63ce3Schristos2006-12-06 Jim Blandy <jimb@codesourcery.com> 20466e63ce3Schristos 20566e63ce3Schristos * gdbtypes.c: Revert 2006-12-05 change, and explain why. 20666e63ce3Schristos 20766e63ce3Schristos2006-12-06 Andrew Stubbs <andrew.stubbs@st.com> 20866e63ce3Schristos 20966e63ce3Schristos * event-top.c (command_handler): On EOF, print 'quit' and run quit 21066e63ce3Schristos command via execute_command such that hooks and trace work. 21166e63ce3Schristos * utils.c (defaulted_query): On EOF, print default answer and newline. 21266e63ce3Schristos 21366e63ce3Schristos2006-12-06 Vladimir Prus <vladimir@codesourcery.com> 21466e63ce3Schristos 21566e63ce3Schristos * varobj.c (cplus_value_of_child): When accessing 21666e63ce3Schristos base suboject, don't specially process references. 21766e63ce3Schristos 21866e63ce3Schristos2006-12-05 Adam Nemet <anemet@caviumnetworks.com> 21966e63ce3Schristos 22066e63ce3Schristos * MAINTAINERS (Write After Approval): Add myself. 22166e63ce3Schristos 22266e63ce3Schristos2006-12-05 Jim Blandy <jimb@codesourcery.com> 22366e63ce3Schristos 22466e63ce3Schristos * gdbtypes.c (built_gdbtypes): Don't set builtin_type_void here. 22566e63ce3Schristos (_initialize_gdbtypes): Do it here, and don't swap it when the 22666e63ce3Schristos architecture changes. 22766e63ce3Schristos 22866e63ce3Schristos2006-12-05 Daniel Jacobowitz <dan@codesourcery.com> 22966e63ce3Schristos 23066e63ce3Schristos * cp-valprint.c, p-valprint.c: Revert last change. 23166e63ce3Schristos 23266e63ce3Schristos2006-12-05 Daniel Jacobowitz <dan@codesourcery.com> 23366e63ce3Schristos 23466e63ce3Schristos * NEWS: Mention MIPS remote autodetection, mips64 gdbserver, 23566e63ce3Schristos "set mem inaccessible-by-default", and "set breakpoint auto-hw". 23666e63ce3Schristos 23766e63ce3Schristos2006-12-05 H.J. Lu <hongjiu.lu@intel.com> 23866e63ce3Schristos 23966e63ce3Schristos * cp-valprint.c (cp_print_value_fields): Initialize tmp_obstack. 24066e63ce3Schristos (cp_print_value): Likewise. 24166e63ce3Schristos * p-valprint.c (pascal_object_print_value_fields): Likewise. 24266e63ce3Schristos (pascal_object_print_value): Likewise. 24366e63ce3Schristos 24466e63ce3Schristos2006-12-05 Adam Nemet <anemet@caviumnetworks.com> 24566e63ce3Schristos 24666e63ce3Schristos * target.c (debug_to_remove_watchpoint): Call 24766e63ce3Schristos to_remove_watchpoint. Print target_remove_watchpoint. 24866e63ce3Schristos 24966e63ce3Schristos2006-12-01 Daniel Jacobowitz <dan@codesourcery.com> 25066e63ce3Schristos 25166e63ce3Schristos * elfread.c (elf_symtab_read): Treat weak functions as global. 25266e63ce3Schristos 25366e63ce3Schristos2006-11-30 Jim Blandy <jimb@codesourcery.com> 25466e63ce3Schristos 25566e63ce3Schristos * ada-lang.c (value_subscript_packed): Don't bother to set the 25666e63ce3Schristos lvalue type of the returned value here; 25766e63ce3Schristos ada_value_primitive_packed_val takes care of that. 25866e63ce3Schristos 25966e63ce3Schristos2006-11-30 Nick Roberts <nickrob@snap.net.nz> 26066e63ce3Schristos 26166e63ce3Schristos * mi/mi-cmd-var.c (mi_cmd_var_list_children): Remove unused 26266e63ce3Schristos variable. 26366e63ce3Schristos 26466e63ce3Schristos2006-07-29 Vladimir Prus <vladimir@codesourcery.com> 26566e63ce3Schristos 26666e63ce3Schristos * mi/mi-cmd-var.c (print_varobj): New function. 26766e63ce3Schristos (mi_cmd_var_create): Use the above. 26866e63ce3Schristos (mi_cmd_var_list_children): Likewise. 26966e63ce3Schristos 27066e63ce3Schristos2006-07-29 Vladimir Prus <vladimir@codesourcery.com> 27166e63ce3Schristos 27266e63ce3Schristos * MAINTAINERS (Write After Approval): Add myself. 27366e63ce3Schristos 27466e63ce3Schristos2006-11-29 Andrew Stubbs <andrew.stubbs@st.com> 27566e63ce3Schristos 27666e63ce3Schristos * solib.c (solib_open): Treat bare file names as relative paths. 27766e63ce3Schristos 27866e63ce3Schristos2006-11-29 Vladimir Prus <vladimir@codesourcery.com> 27966e63ce3Schristos 28066e63ce3Schristos * varobj.c (varobj_set_value): Don't compare the old 28166e63ce3Schristos and the new value here. Don't assign new value here. 28266e63ce3Schristos Instead, call install_new_value. 28366e63ce3Schristos 28466e63ce3Schristos2006-11-28 Daniel Jacobowitz <dan@codesourcery.com> 28566e63ce3Schristos 28666e63ce3Schristos * regformats/reg-mips64.dat: New file. 28766e63ce3Schristos 28866e63ce3Schristos2006-11-28 Daniel Jacobowitz <dan@codesourcery.com> 28966e63ce3Schristos 29066e63ce3Schristos * Makefile.in (mips-tdep.o, target-descriptions.o): Update. 29166e63ce3Schristos * target-descriptions.c (struct property): New. 29266e63ce3Schristos (struct target_desc): Add properties member. 29366e63ce3Schristos (tdesc_property, set_tdesc_property): New. 29466e63ce3Schristos * target-descriptions.h (tdesc_property, set_tdesc_property): 29566e63ce3Schristos Declare. 29666e63ce3Schristos * mips-tdep.c (PROPERTY_GP32, PROPERTY_GP64): New constants. 29766e63ce3Schristos (struct gdbarch_tdep): Add register_size_valid_p and register_size. 29866e63ce3Schristos (mips_isa_regsize): Use them. 29966e63ce3Schristos (mips_register_g_packet_guesses): New. 30066e63ce3Schristos (mips_gdbarch_init): Call it. If a target description is supplied, 30166e63ce3Schristos check for internal properties. Check for register size mismatches. 30266e63ce3Schristos * remote.c (send_g_packet, process_g_packet): New functions, split 30366e63ce3Schristos out from fetch_registers_using_g. 30466e63ce3Schristos (fetch_registers_using_g): Use them. 30566e63ce3Schristos (struct remote_g_packet_guess, remote_g_packet_guess_s) 30666e63ce3Schristos (struct remote_g_packet_data, remote_g_packet_data_handle) 30766e63ce3Schristos (remote_g_packet_data_init, register_remote_g_packet_guess) 30866e63ce3Schristos (remote_read_description): New. 30966e63ce3Schristos (init_remote_ops, init_remote_async_ops): Set to_read_description. 31066e63ce3Schristos (_initialize_remote): Register remote_g_packet_data_handle. 31166e63ce3Schristos * remote.h (register_remote_g_packet_guess): Declare. 31266e63ce3Schristos 31366e63ce3Schristos2006-11-28 Daniel Jacobowitz <dan@codesourcery.com> 31466e63ce3Schristos 31566e63ce3Schristos * Makefile.in (SFILES): Add new and missed files. 31666e63ce3Schristos (target_descriptions_h): New. 31766e63ce3Schristos (COMMON_OBS): Add target-descriptions.o. 31866e63ce3Schristos (arch-utils.o, infcmd.o, remote.o, target.o): Update. 31966e63ce3Schristos (target-descriptions.o): New. 32066e63ce3Schristos * arch-utils.c (gdbarch_info_fill): Check for a target 32166e63ce3Schristos description. 32266e63ce3Schristos * target-descriptions.c, target-descriptions.h: New files. 32366e63ce3Schristos * gdbarch.sh: Add target_desc to info. Declare it in gdbarch.h. 32466e63ce3Schristos Correct typos. 32566e63ce3Schristos (gdbarch_list_lookup_by_info): Check target_desc. 32666e63ce3Schristos * gdbarch.c, gdbarch.h: Regenerated. 32766e63ce3Schristos * target.c (update_current_target): Mention to_read_description. 32866e63ce3Schristos (target_pre_inferior): Call target_clear_description. 32966e63ce3Schristos (target_read_description): New. 33066e63ce3Schristos * target.h (struct target_ops): Add to_read_description. 33166e63ce3Schristos (target_read_description): New prototype. 33266e63ce3Schristos * infcmd.c (post_create_inferior): Call target_find_description. 33366e63ce3Schristos * remote.c (remote_open_1): Likewise. 33466e63ce3Schristos (extended_remote_create_inferior): Add a comment. 33566e63ce3Schristos (extended_remote_async_create_inferior): Likewise. 33666e63ce3Schristos 33766e63ce3Schristos2006-11-29 Nick Roberts <nickrob@snap.net.nz> 33866e63ce3Schristos 33966e63ce3Schristos * linux-thread-db.c: Include <signal.h>. 34066e63ce3Schristos 34166e63ce3Schristos2006-11-28 Ulrich Weigand <uweigand@de.ibm.com> 34266e63ce3Schristos 34366e63ce3Schristos * config/tm-linux.h: Delete file. 34466e63ce3Schristos * config/alpha/alpha-linux.mt (DEPRECATED_TM_FILE): Set to tm-alpha.h. 34566e63ce3Schristos * config/alpha/tm-alphalinux.h: Delete file. 34666e63ce3Schristos * config/arm/linux.mt (DEPRECATED_TM_FILE): Set to tm-arm.h 34766e63ce3Schristos * config/arm/tm-linux.h: Delete file. 34866e63ce3Schristos * config/i386/tm-linux.h: Do not include "config/tm-linux.h". 34966e63ce3Schristos * config/ia64/tm-linux.h: Do not include "config/tm-linux.h". 35066e63ce3Schristos * config/m32r/linux.mt (DEPRECATED_TM_FILE): Remove. 35166e63ce3Schristos * config/mips/tm-linux.h: Do not include "config/tm-linux.h". 35266e63ce3Schristos * config/pa/linux.mt (DEPRECATED_TM_FILE): Set to tm-hppa.h. 35366e63ce3Schristos * config/pa/tm-linux.h: Delete file. 35466e63ce3Schristos * config/powerpc/tm-linux.h: Do not include "config/tm-linux.h". 35566e63ce3Schristos * config/s390/linux.mt (DEPRECATED_TM_FILE): Remove. 35666e63ce3Schristos * config/sh/linux.mt (DEPRECATED_TM_FILE): Set to tm-sh.h. 35766e63ce3Schristos * config/sh/tm-linux.h: Delete file. 35866e63ce3Schristos * alpha-linux-tdep.c: Include "symtab.h". 35966e63ce3Schristos (alpha_linux_init_abi): Call set_gdbarch_skip_trampoline_code. 36066e63ce3Schristos * i386-linux-tdep.c: Include "symtab.h". 36166e63ce3Schristos (i386_linux_init_abi): Call set_gdbarch_skip_trampoline_code. 36266e63ce3Schristos * ia64-linux-tdep.c: Include "symtab.h". 36366e63ce3Schristos (ia64_linux_init_abi): Call set_gdbarch_skip_trampoline_code. 36466e63ce3Schristos * m32r-linux-tdep.c: Include "symtab.h". 36566e63ce3Schristos (m32r_linux_init_abi): Call set_gdbarch_skip_trampoline_code. 36666e63ce3Schristos * mips-linux-tdep.c: Include "symtab.h". 36766e63ce3Schristos (mips_linux_init_abi): Call set_gdbarch_skip_trampoline_code. 36866e63ce3Schristos * sh-linux-tdep.c: Include "symtab.h". 36966e63ce3Schristos (sh_linux_init_abi): Call set_gdbarch_skip_trampoline_code. 37066e63ce3Schristos * s390-tdep.c (s390_gdbarch_init): Call 37166e63ce3Schristos set_gdbarch_skip_trampoline_code. 37266e63ce3Schristos * s390-nat.c: Do not include "tm.h". 37366e63ce3Schristos * Makefile.in (alpha-linux-tdep.o): Add dependency on $(symtab_h). 37466e63ce3Schristos (i386-linux-tdep.o): Likewise. 37566e63ce3Schristos (ia64-linux-tdep.o): Likewise. 37666e63ce3Schristos (m32r-linux-tdep.o): Likewise. 37766e63ce3Schristos (mips-linux-tdep.o): Likewise. 37866e63ce3Schristos (sh-linux-tdep.o): Likewise. 37966e63ce3Schristos (s390-nat.o): Remove dependency on $(tm_h). 38066e63ce3Schristos 38166e63ce3Schristos2006-11-28 Ulrich Weigand <uweigand@de.ibm.com> 38266e63ce3Schristos 38366e63ce3Schristos * config/nm-linux.h: Do not include <signal.h>. 38466e63ce3Schristos (REALTIME_LO, REALTIME_HI): Do not define. 38566e63ce3Schristos * signals/signals.c (REALTIME_HI): Fix off-by-one bug. 38666e63ce3Schristos 38766e63ce3Schristos2006-11-28 Vladimir Prus <vladimir@codesourcery.com> 38866e63ce3Schristos 38966e63ce3Schristos * mi/mi-cmd-var.c (mi_cmd_var_create): Fix cleanup 39066e63ce3Schristos handlers. Free expression. 39166e63ce3Schristos 39266e63ce3Schristos2006-11-28 Ulrich Weigand <uweigand@de.ibm.com> 39366e63ce3Schristos 39466e63ce3Schristos * config/tm-linux.h (REALTIME_LO, REALTIME_HI): Do not define. 39566e63ce3Schristos * config/mips/tm-linux.h (REALTIME_LO, REALTIME_HI): Likewise. 39666e63ce3Schristos 39766e63ce3Schristos * config/rs6000/tm-rs6000ly.h (REALTIME_LO, REALTIME_HI): Move to ... 39866e63ce3Schristos * config/nm-lynx.h (REALTIME_LO, REALTIME_HI): ... here. 39966e63ce3Schristos 40066e63ce3Schristos * config/i386/nto.mh (NAT_FILE): Define. 40166e63ce3Schristos * config/i386/nto.mt (DEPRECATED_TM_FILE): Remove. 40266e63ce3Schristos * config/i386/tm-nto.h: Delete file. 40366e63ce3Schristos * config/tm-nto.h: Delete file. 40466e63ce3Schristos * config/nm-nto.h: New file. 40566e63ce3Schristos 40666e63ce3Schristos * Makefile.in (nto-tdep.o): Add dependency on $(objfiles_h). 40766e63ce3Schristos * nto-tdep.c: Include "objfiles.h" and <string.h>. 40866e63ce3Schristos 40966e63ce3Schristos * coff-solib.h (SOLIB_UNLOADED_LIBRARY_PATHNAME): Define as "". 41066e63ce3Schristos * xcoffread.c (read_xcoff_symtab): Initialize fcn_stab_saved. 41166e63ce3Schristos * config/rs6000/rs6000lynx.mt (TDEPFILES): Add xcoffread.o. 41266e63ce3Schristos 41366e63ce3Schristos2006-11-28 Daniel Jacobowitz <dan@codesourcery.com> 41466e63ce3Schristos 41566e63ce3Schristos * dwarf2-frame.c (decode_frame_entry_1): Skip unknown augmentations 41666e63ce3Schristos without skipping the CIE. 41766e63ce3Schristos 41866e63ce3Schristos2006-11-28 Vladimir Prus <vladimir@codesourcery.com> 41966e63ce3Schristos 42066e63ce3Schristos Fetch varobj values from memory in a single place, 42166e63ce3Schristos and only fetch the values that are really needed. 42266e63ce3Schristos * varobj.c (struct varobj): Clarify comment. 42366e63ce3Schristos (my_value_equal): Remove. 42466e63ce3Schristos (install_new_value): New function. 42566e63ce3Schristos (type_of_child): Remove. 42666e63ce3Schristos (varobj_create): Use install_new_value. 42766e63ce3Schristos (varobj_set_value): Use value_contents_equal, not 42866e63ce3Schristos my_value_equal. 42966e63ce3Schristos (varobj_update): Use install_new_value. 43066e63ce3Schristos (create_child): Likewise. Inline type_of_child here. 43166e63ce3Schristos (value_of_child): Don't fetch the value. 43266e63ce3Schristos (c_value_of_root): Likewise. 43366e63ce3Schristos (c_value_of_variable): Likewise. 43466e63ce3Schristos (type_changeable): Improve comments. 43566e63ce3Schristos 43666e63ce3Schristos2006-11-28 Daniel Jacobowitz <dan@codesourcery.com> 43766e63ce3Schristos 43866e63ce3Schristos * remote.c (struct remote_arch_state): Doc fix. 43966e63ce3Schristos (compare_pnums): New function. 44066e63ce3Schristos (init_remote_state): Only allocate packet_reg structures for raw 44166e63ce3Schristos registers. Define the g/G packet format separately from creating 44266e63ce3Schristos packet_reg. Don't use DEPRECATED_REGISTER_BYTE. 44366e63ce3Schristos (packet_reg_from_regnum, packet_reg_from_pnum): Only iterate over 44466e63ce3Schristos raw registers. 44566e63ce3Schristos (register_bytes_found): Delete. 44666e63ce3Schristos (fetch_register_using_p): Take a struct packet_reg. Handle disabled 44766e63ce3Schristos 'p' packet here. Use packet_ok. 44866e63ce3Schristos (fetch_registers_using_g): New function, split out of 44966e63ce3Schristos remote_fetch_registers. Check the 'g' packet more strictly. Save 45066e63ce3Schristos its actual size and contents. Eliminate BUF. Only iterate over 45166e63ce3Schristos raw registers. 45266e63ce3Schristos (remote_fetch_registers): Use the new functions for 'p' and 'g'. 45366e63ce3Schristos Mark unavailable registers. 45466e63ce3Schristos (store_register_using_P): Likewise to fetch_register_using_p. 45566e63ce3Schristos (store_registers_using_G): New function, split out of 45666e63ce3Schristos remote_store_registers. Only iterate over raw registers. Don't 45766e63ce3Schristos use register_bytes_found. 45866e63ce3Schristos (remote_store_registers): Likewise to remote_fetch_registers. 45966e63ce3Schristos 46066e63ce3Schristos2006-11-28 Pedro Alves <pedro_alves@portugalmail.pt> 46166e63ce3Schristos 46266e63ce3Schristos * coffread.c (cs_to_bfd_section): New function. 46366e63ce3Schristos (cs_to_section): Use cs_to_bfd_section. 46466e63ce3Schristos (record_minimal_symbol): Take the coff_symbol* parameter instead 46566e63ce3Schristos of the symbol's name as a char*. 46666e63ce3Schristos Add 'int section' parameter. Call prim_record_minimal_symbol_and_info 46766e63ce3Schristos instead of prim_record_minimal_symbol_and_info. 46866e63ce3Schristos Change return type to struct minimal_symbol *. 46966e63ce3Schristos (coff_symtab_read): Adapt to new record_minimal_symbol's signature. 47066e63ce3Schristos Make all minimal symbol creations go through record_minimal_symbol. 47166e63ce3Schristos 47266e63ce3Schristos2006-11-28 Daniel Jacobowitz <dan@codesourcery.com> 47366e63ce3Schristos 47466e63ce3Schristos * symtab.c (find_pc_sect_line): Do not return a line before 47566e63ce3Schristos the start of a symtab. 47666e63ce3Schristos 47766e63ce3Schristos2006-11-24 Ulrich Weigand <uweigand@de.ibm.com> 47866e63ce3Schristos 47966e63ce3Schristos * NEWS: SPU target is already supported in GDB 6.6. 48066e63ce3Schristos 48166e63ce3Schristos2006-11-24 Ulrich Weigand <uweigand@de.ibm.com> 48266e63ce3Schristos 48366e63ce3Schristos * Makefile.in (mips-linux-tdep.o) Add $(solib_h) dependency. 48466e63ce3Schristos (nto-procfs.o): Likewise. 48566e63ce3Schristos * mips-linux-tdep.c: Include "solib.h". 48666e63ce3Schristos * nto-procfs.c: Likewise. 48766e63ce3Schristos * config/nm-linux.h: Do not include "solib.h". 48866e63ce3Schristos * config/nm-nbsd.h: Likewise. 48966e63ce3Schristos * config/tm-linux.h: Likewise. 49066e63ce3Schristos * config/alpha/nm-osf.h: Likewise. 49166e63ce3Schristos * config/frv/tm-frv.h: Likewise. 49266e63ce3Schristos * config/i386/nm-fbsh.h: Likewise. 49366e63ce3Schristos * config/i386/nm-i386gnu.h: Likewise. 49466e63ce3Schristos * config/i386/nm-i386sco5.h: Likewise. 49566e63ce3Schristos * config/i386/nm-i386sol2.h: Likewise. 49666e63ce3Schristos * config/i386/nm-i386v4.h: Likewise. 49766e63ce3Schristos * config/i386/nm-i386v42mp.h: Likewise. 49866e63ce3Schristos * config/i386/tm-i386sol2.h: Likewise. 49966e63ce3Schristos * config/i386/tm-nto.h: Likewise. 50066e63ce3Schristos * config/mips/nm-irix5.h: Likewise. 50166e63ce3Schristos * config/mips/tm-nbsd.h: Likewise. 50266e63ce3Schristos * config/pa/tm-hppah.h: Likewise. 50366e63ce3Schristos * config/powerpc/tm-ppc-eabi.h: Likewise. 50466e63ce3Schristos * config/rs6000/tm-rs6000.h: Likewise. 50566e63ce3Schristos * config/sh/tm-nbsd.h: Likewise. 50666e63ce3Schristos * config/sparc/nm-sol2.h: Likewise. 50766e63ce3Schristos * config/sparc/tm-sol2.h: Likewise. 50866e63ce3Schristos * config/arm/nbsdaout.mh: Remove NAT_FILE. 50966e63ce3Schristos * config/i386/nbsdaout.mh: Likewise. 51066e63ce3Schristos * config/i386/nbsdelf.mh: Likewise. 51166e63ce3Schristos * config/i386/obsdaout.mh: Likewise. 51266e63ce3Schristos * config/m68k/nbsdaout.mh: Likewise. 51366e63ce3Schristos * config/m68k/obsd.mh: Likewise. 51466e63ce3Schristos * config/sparc/nbsdaout.mh: Likewise. 51566e63ce3Schristos * config/cris/cris.mt: Remove DEPRECATED_TM_FILE. 51666e63ce3Schristos * config/i386/linux64.mt: Likewise. 51766e63ce3Schristos * config/m68k/linux.mt: Likewise. 51866e63ce3Schristos * config/m68k/nbsd.mt: Likewise. 51966e63ce3Schristos * config/sparc/linux.mt: Likewise. 52066e63ce3Schristos * config/sparc/linux64.mt: Likewise. 52166e63ce3Schristos * config/vax/nbsd.mt: Likewise. 52266e63ce3Schristos 52366e63ce3Schristos2006-11-22 Ulrich Weigand <uweigand@de.ibm.com> 52466e63ce3Schristos 52566e63ce3Schristos * NEWS: New port to Cell Broadband Engine SPU. 52666e63ce3Schristos * MAINTAINERS: Add myself as spu maintainer. 52766e63ce3Schristos 52866e63ce3Schristos2006-11-22 Daniel Jacobowitz <dan@codesourcery.com> 52966e63ce3Schristos 53066e63ce3Schristos * Makefile.in (arm-tdep.o): Update dependencies. 53166e63ce3Schristos * arm-tdep.c (thumb_skip_prologue): Remove. 53266e63ce3Schristos (thumb_analyze_prologue): New function. 53366e63ce3Schristos (arm_skip_prologue): Use thumb_analyze_prologue. 53466e63ce3Schristos (thumb_scan_prologue): Ditto. 53566e63ce3Schristos 53666e63ce3Schristos2006-11-22 Ulrich Weigand <uweigand@de.ibm.com> 53766e63ce3Schristos 53866e63ce3Schristos * configure.tgt: Enable gdbserver for SPU target. 53966e63ce3Schristos * configure.ac: Build gdbserver when gdb_native is yes. 54066e63ce3Schristos * configure: Regenerate. 54166e63ce3Schristos * regformats/reg-spu.dat: New file. 54266e63ce3Schristos 54366e63ce3Schristos2006-11-22 Daniel Jacobowitz <dan@codesourcery.com> 54466e63ce3Schristos 54566e63ce3Schristos * osabi.c (gdbarch_lookup_osabi): Do not return 54666e63ce3Schristos GDB_OSABI_UNINITIALIZED. 54766e63ce3Schristos 54866e63ce3Schristos2006-11-22 Ulrich Weigand <uweigand@de.ibm.com> 54966e63ce3Schristos 55066e63ce3Schristos * config/powerpc/spu-linux.mh: New file. 55166e63ce3Schristos * config/spu/spu.mt: New file. 55266e63ce3Schristos * configure.ac: Provide gdb_native configuration variable. 55366e63ce3Schristos * configure: Regenerate. 55466e63ce3Schristos * configure.host: Support powerpc64 to spu 'pseudo-native' mode. 55566e63ce3Schristos * configure.tgt: Add "spu" target_cpu and "spu*-*-*" target. 55666e63ce3Schristos * Makefile.in (spu_tdep_h): New variable. 55766e63ce3Schristos (ALLDEPFILES): Add spu-linux-nat.c and spu-tdep.c 55866e63ce3Schristos (spu-linux-nat.o, spu-tdep.o): Add dependencies. 55966e63ce3Schristos * spu-linux-nat.c: New file. 56066e63ce3Schristos * spu-tdep.c: New file. 56166e63ce3Schristos * spu-tdep.h: New file. 56266e63ce3Schristos 56366e63ce3Schristos2006-11-22 Ulrich Weigand <uweigand@de.ibm.com> 56466e63ce3Schristos 56566e63ce3Schristos * findvar.c (address_from_register): New function. 56666e63ce3Schristos * value.h (address_from_register): Add prototype. 56766e63ce3Schristos * dwarf2loc.c (dwarf_expr_read_reg): Use address_from_register. 56866e63ce3Schristos 56966e63ce3Schristos2006-11-22 Vladimir Prus <vladimir@codesourcery.com> 57066e63ce3Schristos 57166e63ce3Schristos * breakpoint.c: Include "memattr.h". 57266e63ce3Schristos (automatic_hardware_breakpoints): New. 57366e63ce3Schristos (show_automatic_hardware_breakpoints): New. 57466e63ce3Schristos (insert_bp_location): Automatically use 57566e63ce3Schristos hardware breakpoints. 57666e63ce3Schristos (_initialize_breakpoint): Register the "auto-hw" 57766e63ce3Schristos variable. 57866e63ce3Schristos * Makefile.in (breakpoint.o): Update dependencies. 57966e63ce3Schristos 58066e63ce3Schristos2006-11-21 Vladimir Prus <vladimir@codesourcery.com> 58166e63ce3Schristos 58266e63ce3Schristos * memattr.h (enum mem_access_mode): New value 58366e63ce3Schristos MEM_NONE. 58466e63ce3Schristos * memattr.c (unknown_mem_attrib): New. 58566e63ce3Schristos (inaccessible_by_default): New. 58666e63ce3Schristos (show_inaccessible_by_default): New. 58766e63ce3Schristos (lookup_mem_region): Check inaccessible_by_default. 58866e63ce3Schristos (dummy_cmd): New. 58966e63ce3Schristos (mem_set_cmdlist, mem_show_cmdlist): New. 59066e63ce3Schristos (_initialize_mem): Register new "set" and "show" 59166e63ce3Schristos commands. 59266e63ce3Schristos * target.c (memory_xfer_partial): If memory type 59366e63ce3Schristos is MEM_NONE, return an error. 59466e63ce3Schristos Clip to region size when calling to_xfer_partial. 59566e63ce3Schristos If upper limit of memory range is 0, don't clip 59666e63ce3Schristos anything. 59766e63ce3Schristos 59866e63ce3Schristos2006-11-20 Joel Brobecker <brobecker@adacore.com> 59966e63ce3Schristos 60066e63ce3Schristos * README: Remove obsolete information. 60166e63ce3Schristos 60266e63ce3Schristos2006-11-20 Andrew Cagney <cagney@redhat.com> 60366e63ce3Schristos 60466e63ce3Schristos * linux-nat.h: Refer to GNU/Linux or Linux kernel. 60566e63ce3Schristos * linux-nat.c (lin_lwp_attach_lwp, linux_nat_thread_alive): Ditto. 60666e63ce3Schristos * infcmd.c (attach_command): Ditto. 60766e63ce3Schristos * hppa-linux-tdep.c (hppa_linux_regset): Ditto. 60866e63ce3Schristos * mn10300-linux-tdep.c: Ditto. Update copyright year. 60966e63ce3Schristos * frv-linux-tdep.c: Ditto. Update copyright year. 61066e63ce3Schristos 61166e63ce3Schristos2006-11-19 Joel Brobecker <brobecker@adacore.com> 61266e63ce3Schristos 61366e63ce3Schristos * NEWS: Add a new section for changes since GDB 6.6. Rename 61466e63ce3Schristos the section "Changes since GDB 6.5" into "Changes in GDB 6.6". 61566e63ce3Schristos Move a couple of items into the new section as they did not 61666e63ce3Schristos make it to 6.6. 61766e63ce3Schristos 61866e63ce3Schristos2006-11-19 Joel Brobecker <brobecker@adacore.com> 61966e63ce3Schristos 62066e63ce3Schristos GDB 6.6 branch created (branch timestamp: 2006-11-15 12:00) 62166e63ce3Schristos * version.in: Bump version to 6.6.50.20061119-cvs. 62266e63ce3Schristos 62366e63ce3Schristos2006-11-18 Pedro Alves <pedro_alves@portugalmail.pt> 62466e63ce3Schristos 62566e63ce3Schristos * prologue-value.c (clear_entries): Fix memory leak. 62666e63ce3Schristos 62766e63ce3Schristos2006-11-18 Pedro Alves <pedro_alves@portugalmail.pt> 62866e63ce3Schristos 62966e63ce3Schristos * parse.c (write_exp_msymbol): Check SYMBOL_BFD_SECTION before 63066e63ce3Schristos dereferencing it. 63166e63ce3Schristos 63266e63ce3Schristos2006-11-17 Daniel Jacobowitz <dan@codesourcery.com> 63366e63ce3Schristos 63466e63ce3Schristos * utils.c (string_to_core_addr): Use error instead of 63566e63ce3Schristos internal_error. 63666e63ce3Schristos * mi/mi-main.c (mi_execute_command): Check for a NULL message. 63766e63ce3Schristos 63866e63ce3Schristos2006-11-17 Daniel Jacobowitz <dan@codesourcery.com> 63966e63ce3Schristos 64066e63ce3Schristos * NEWS: Mention QPassSignals. 64166e63ce3Schristos 64266e63ce3Schristos2006-11-16 Maxim Grigoriev <maxim2405@gmail.com> 64366e63ce3Schristos 64466e63ce3Schristos * MAINTAINERS (Responsible Maintainers): Add myself for Xtensa. 64566e63ce3Schristos (Write After Approval): Add myself. 64666e63ce3Schristos 64766e63ce3Schristos2006-11-16 Daniel Jacobowitz <dan@codesourcery.com> 64866e63ce3Schristos 64966e63ce3Schristos * remote.c (PACKET_QPassSignals): New. 65066e63ce3Schristos (last_pass_packet, remote_pass_signals): New. 65166e63ce3Schristos (remote_protocol_features): Add QPassSignals. 65266e63ce3Schristos (remote_query_supported): Correct an infinite loop. 65366e63ce3Schristos (remote_open_1): Reset last_pass_packet. 65466e63ce3Schristos (remote_resume): Call remote_pass_signals. 65566e63ce3Schristos (_initialize_remote): Register "set remote pass-signals". 65666e63ce3Schristos 65766e63ce3Schristos2006-11-14 Maxim Grigoriev <maxim@tensilica.com> 65866e63ce3Schristos 65966e63ce3Schristos * NEWS: New port to Xtensa. 66066e63ce3Schristos * Makefile.in: Add dependencies for Xtensa files. 66166e63ce3Schristos * configure.tgt (xtensa*, xtensa*-*-elf*): New. 66266e63ce3Schristos * configure.host (xtensa*-*-elf*): New. 66366e63ce3Schristos * config/xtensa/xtensa.mt: New file. 66466e63ce3Schristos * xtensa-config.c: New file. 66566e63ce3Schristos * xtensa-tdep.h: New file. 66666e63ce3Schristos * xtensa-tdep.c: New file. 66766e63ce3Schristos 66866e63ce3Schristos2006-11-14 Daniel Jacobowitz <dan@codesourcery.com> 66966e63ce3Schristos 67066e63ce3Schristos * remote.c (set_remote_cmd): Call help_list. 67166e63ce3Schristos (show_remote_cmd): Skip legacy aliases. Handle non-show_cmd 67266e63ce3Schristos entries. Add missed cleanup. 67366e63ce3Schristos * cli/cli-setshow.c (cmd_show_list): Handle non-show_cmd entries. 67466e63ce3Schristos 67566e63ce3Schristos2006-11-13 Paul Gilliam <pgilliam@us.ibm.com> 67666e63ce3Schristos 67766e63ce3Schristos * ppc-linux-tdep.c (ppc_linux_sigtramp_cache): Don't futz with 67866e63ce3Schristos the floating point registers if there aren't any. 67966e63ce3Schristos 68066e63ce3Schristos2006-11-12 Ben Harris <bjh21@NetBSD.org> 68166e63ce3Schristos 68266e63ce3Schristos * arm-tdep.c (arm_unwind_pc): Use arm_addr_bits_remove. 68366e63ce3Schristos 68466e63ce3Schristos2006-11-10 Daniel Jacobowitz <dan@codesourcery.com> 68566e63ce3Schristos 68666e63ce3Schristos * frame.c (frame_register_unwind_location): New function. 68766e63ce3Schristos (get_prev_frame_1): Check for UNWIND_NO_SAVED_PC. 68866e63ce3Schristos (frame_stop_reason_string): Handle UNWIND_NO_SAVED_PC. 68966e63ce3Schristos * frame.h (enum unwind_stop_reason): Add UNWIND_NO_SAVED_PC. 69066e63ce3Schristos 69166e63ce3Schristos2006-11-10 Daniel Jacobowitz <dan@codesourcery.com> 69266e63ce3Schristos 69366e63ce3Schristos * arch-utils.c (target_byte_order_user): Renamed from 69466e63ce3Schristos target_byte_order. 69566e63ce3Schristos (target_byte_order_auto, selected_byte_order): Removed. 69666e63ce3Schristos (show_endian): Check target_byte_order_user. 69766e63ce3Schristos (set_endian): Always update the architecture. Set 69866e63ce3Schristos target_byte_order_user after success. 69966e63ce3Schristos (target_architecture_auto): Removed. 70066e63ce3Schristos (target_architecture_user): New. 70166e63ce3Schristos (selected_architecture_name, show_architecture): Check it. 70266e63ce3Schristos (set_architecture): Set target_architecture_user after success. 70366e63ce3Schristos (gdbarch_from_bfd): Check the argument. 70466e63ce3Schristos (default_byte_order): New. 70566e63ce3Schristos (initialize_current_architecture): Set the global default 70666e63ce3Schristos architecture and endianness. 70766e63ce3Schristos (gdbarch_info_fill): Remove GDBARCH argument. Do not check the 70866e63ce3Schristos previous architecture. Use exec_bfd, global selected architecture 70966e63ce3Schristos and endianness, and global defaults. 71066e63ce3Schristos * arch-utils.h (selected_byte_order): Remove prototype. 71166e63ce3Schristos (gdbarch_info_fill): Update. 71266e63ce3Schristos * exec.c (exec_file_attach): Update the architecture after removing 71366e63ce3Schristos the current file. 71466e63ce3Schristos * gdbarch.sh: Update comments. 71566e63ce3Schristos (find_arch_by_info): Remove OLD_GDBARCH argument. Update call to 71666e63ce3Schristos gdbarch_info_fill. 71766e63ce3Schristos (gdbarch_find_by_info): Update call to find_arch_by_info. 71866e63ce3Schristos * gdbarch.h, gdbarch.c: Regenerated. 71966e63ce3Schristos * remote-sim.c (gdbsim_open): Use TARGET_BYTE_ORDER. 72066e63ce3Schristos 72166e63ce3Schristos2006-11-09 Joel Brobecker <brobecker@adacore.com> 72266e63ce3Schristos 72366e63ce3Schristos * sparc-tdep.c (sparc_fetch_instruction): Read instruction 72466e63ce3Schristos using read_memory_nobpt. 72566e63ce3Schristos 72666e63ce3Schristos2006-11-06 Jim Blandy <jimb@codesourcery.com> 72766e63ce3Schristos 72866e63ce3Schristos * dwarf2loc.c (dwarf_expr_read_reg): Use frame_register_read 72966e63ce3Schristos instead of frame_register. Doc fix. 73066e63ce3Schristos 73166e63ce3Schristos2006-11-04 Vladimir Prus <vladimir@codesourcery.com> 73266e63ce3Schristos 73366e63ce3Schristos * serial.c (serial_open): Strip leading spaces from program 73466e63ce3Schristos name when opening pipe. 73566e63ce3Schristos 73666e63ce3Schristos2006-11-03 Jim Blandy <jimb@codesourcery.com> 73766e63ce3Schristos 73866e63ce3Schristos * dwarf2loc.c (dwarf_expr_read_reg): Use frame_unwind_register 73966e63ce3Schristos instead of frame_register. Doc fix. 74066e63ce3Schristos 74166e63ce3Schristos2006-11-02 Daniel Jacobowitz <dan@codesourcery.com> 74266e63ce3Schristos 74366e63ce3Schristos * dwarf2read.c (struct dwarf2_per_cu_data): Update comment. 74466e63ce3Schristos (load_full_comp_unit): Take OBJFILE argument and use it. 74566e63ce3Schristos (dwarf2_build_psymtabs_hard): Skip partial units. 74666e63ce3Schristos (process_queue): Pass OBJFILE to load_full_comp_unit. Check 74766e63ce3Schristos type_hash for read in CUs. Test psymtab for NULL. 74866e63ce3Schristos 74966e63ce3Schristos2006-11-02 Daniel Jacobowitz <dan@codesourcery.com> 75066e63ce3Schristos 75166e63ce3Schristos * arm-tdep.c (arm_gdbarch_init): Handle EF_ARM_EABI_VER5. 75266e63ce3Schristos 75366e63ce3Schristos2006-10-31 Vladimir Prus <vladimir@codesourcery.com> 75466e63ce3Schristos 75566e63ce3Schristos * commands.h (enum command_class): Use different 75666e63ce3Schristos values for class_deprecated and class_run. 75766e63ce3Schristos * cli/cli-decode.c: (print_help_for_command): New. 75866e63ce3Schristos (apropos_cmd): Use the above. 75966e63ce3Schristos (help_list): Mention 'help all' 76066e63ce3Schristos and 'apropos' when printing top-level help. 76166e63ce3Schristos (help_all): Print the class name before printing 76266e63ce3Schristos commands in that class. Don't print prefix commands 76366e63ce3Schristos here, instead pass recurse flag to help_cmd_list. 76466e63ce3Schristos Print list of unclassified commands at the end. 76566e63ce3Schristos (help_cmd_list): When recursing, use all_commands class. 76666e63ce3Schristos Recurse only if the class of the command matches. 76766e63ce3Schristos 76866e63ce3Schristos2006-10-27 Andreas Schwab <schwab@suse.de> 76966e63ce3Schristos 77066e63ce3Schristos * gdbcmd.h (detachlist): Declare. 77166e63ce3Schristos * infcmd.c (_initialize_infcmd): Define "detach" as prefix 77266e63ce3Schristos command. 77366e63ce3Schristos * linux-fork.c (_initialize_linux_fork): Rename 77466e63ce3Schristos "detach-checkpoint" to "detach checkpoint" and "detach-fork" to 77566e63ce3Schristos "detach fork". 77666e63ce3Schristos * cli/cli-cmds.c (detachlist): Define. 77766e63ce3Schristos (init_cmd_lists): Initialize it. 77866e63ce3Schristos * cli/cli-cmds.h (detachlist): Declare. 77966e63ce3Schristos 78066e63ce3Schristos2006-10-25 Jim Blandy <jimb@codesourcery.com> 78166e63ce3Schristos 78266e63ce3Schristos * p-valprint.c (pascal_object_print_value): Add 'static' keyword 78366e63ce3Schristos to function definition, to match declaration earlier in file. 78466e63ce3Schristos 78566e63ce3Schristos2006-10-21 Paul Brook <paul@codesourcery.com> 78666e63ce3Schristos 78766e63ce3Schristos * remote.c (remote_fetch_registers): Fix error message. 78866e63ce3Schristos 78966e63ce3Schristos2006-10-20 Daniel Jacobowitz <dan@codesourcery.com> 79066e63ce3Schristos 79166e63ce3Schristos * gcore.c (MAX_COPY_BYTES): Define. 79266e63ce3Schristos (gcore_copy_callback): Use it to limit allocation. 79366e63ce3Schristos 79466e63ce3Schristos2006-10-19 Ulrich Weigand <uweigand@de.ibm.com> 79566e63ce3Schristos 79666e63ce3Schristos * linux-thread-db.c (check_for_thread_db): Don't attempt to use 79766e63ce3Schristos thread_db for remote targets. 79866e63ce3Schristos * remote.c (remote_new_objfile): Always call predecessor on 79966e63ce3Schristos new_objfile event chain. 80066e63ce3Schristos 80166e63ce3Schristos2006-10-19 Joel Brobecker <brobecker@adacore.com> 80266e63ce3Schristos 80366e63ce3Schristos * solib.c (libpthread_solib_p): New function. 80466e63ce3Schristos (solib_add): Always read the symbols from the libpthread library. 80566e63ce3Schristos 80666e63ce3Schristos2006-10-19 Andrew Stubbs <andrew.stubbs@st.com> 80766e63ce3Schristos 80866e63ce3Schristos * breakpoint.c (describe_other_breakpoints): Add thread parameter. 80966e63ce3Schristos Annotate display with thread number where appropriate. 81066e63ce3Schristos (create_breakpoints): Add thread parameter to call to 81166e63ce3Schristos describe_other_breakpoints. 81266e63ce3Schristos 81366e63ce3Schristos2006-10-18 Jim Blandy <jimb@codesourcery.com> 81466e63ce3Schristos Daniel Jacobowitz <dan@codesourcery.com> 81566e63ce3Schristos 81666e63ce3Schristos * utils.c (query): Use defaulted_query. 81766e63ce3Schristos (defaulted_query): Handle having no default answer. Print out 81866e63ce3Schristos messages even if we have no terminal. Prevent memory corruption. 81966e63ce3Schristos 82066e63ce3Schristos2006-10-18 Daniel Jacobowitz <dan@codesourcery.com> 82166e63ce3Schristos 82266e63ce3Schristos * frame.c (struct frame_info): Add stop_reason. 82366e63ce3Schristos (get_prev_frame_1): Set stop_reason. Don't call error for 82466e63ce3Schristos stop reasons. 82566e63ce3Schristos (get_frame_unwind_stop_reason, frame_stop_reason_string): New. 82666e63ce3Schristos * frame.h (enum unwind_stop_reason): New. 82766e63ce3Schristos (get_frame_unwind_stop_reason, frame_stop_reason_string): New 82866e63ce3Schristos prototypes. 82966e63ce3Schristos * stack.c (frame_info): Print the stop reason. 83066e63ce3Schristos (backtrace_command_1): Print the stop reason for errors. 83166e63ce3Schristos 83266e63ce3Schristos2006-10-18 Daniel Jacobowitz <dan@codesourcery.com> 83366e63ce3Schristos 83466e63ce3Schristos * inferior.h (start_remote): Update prototype. 83566e63ce3Schristos * infrun.c (start_remote): Take FROM_TTY. Call 83666e63ce3Schristos post_create_inferior. 83766e63ce3Schristos * monitor.c (monitor_open): Update call to start_remote. 83866e63ce3Schristos * remote-sds.c (sds_start_remote, sds_open): Likewise. 83966e63ce3Schristos * remote.c (remote_start_remote): Likewise. 84066e63ce3Schristos (remote_start_remote_dummy): Removed. 84166e63ce3Schristos (remote_open): Update call to remote_start_remote. Do not call 84266e63ce3Schristos post_create_inferior here. 84366e63ce3Schristos 84466e63ce3Schristos2006-10-18 Daniel Jacobowitz <dan@codesourcery.com> 84566e63ce3Schristos 84666e63ce3Schristos * solib-svr4.c (debug_loader_offset_p, debug_loader_offset) 84766e63ce3Schristos (debug_loader_name, svr4_default_sos): New. 84866e63ce3Schristos (svr4_current_sos): Call svr4_default_sos. 84966e63ce3Schristos (enable_break): Add a comment about AT_BASE. Set the new 85066e63ce3Schristos variables and retry solib_add. 85166e63ce3Schristos (svr4_clear_solib): Clear the new variables. 85266e63ce3Schristos 85366e63ce3Schristos2006-10-18 Daniel Jacobowitz <dan@codesourcery.com> 85466e63ce3Schristos 85566e63ce3Schristos * NEWS: Mention support for TLS without debugging information. 85666e63ce3Schristos 85766e63ce3Schristos2006-10-17 Daniel Jacobowitz <dan@codesourcery.com> 85866e63ce3Schristos 85966e63ce3Schristos * remote-sim.c (gdbsim_kill): Call target_mourn_inferior. 86066e63ce3Schristos (gdbsim_load): Don't bother to adjust inferior_ptid here. 86166e63ce3Schristos (gdbsim_create_inferior): Mark the simulator as running. 86266e63ce3Schristos (gdbsim_open): Don't bother fetching registers. Mark 86366e63ce3Schristos the target as not running. 86466e63ce3Schristos (gdbsim_xfer): When the program is not running, pass memory 86566e63ce3Schristos requests down. 86666e63ce3Schristos (gdbsim_mourn_inferior): Mark the target as not running. 86766e63ce3Schristos * target.c (target_mark_running, target_mark_exited): New. 86866e63ce3Schristos * target.h (target_has_execution): Update the comment. 86966e63ce3Schristos (target_mark_running, target_mark_exited): New prototypes. 87066e63ce3Schristos 87166e63ce3Schristos2006-10-17 Joel Brobecker <brobecker@adacore.com> 87266e63ce3Schristos 87366e63ce3Schristos * breakpoint.c (free_valchain): Minor reformatting. 87466e63ce3Schristos 87566e63ce3Schristos2006-10-17 Daniel Jacobowitz <dan@codesourcery.com> 87666e63ce3Schristos 87766e63ce3Schristos * solib-svr4.c (LM_ADDR_CHECK): Suggest shared library mismatch. 87866e63ce3Schristos 87966e63ce3Schristos2006-10-17 Daniel Jacobowitz <dan@codesourcery.com> 88066e63ce3Schristos 88166e63ce3Schristos * Makefile.in (symtab.o): Update. 88266e63ce3Schristos * symtab.h (matching_bfd_sections): New prototype. 88366e63ce3Schristos * symtab.c (matching_bfd_sections): New. 88466e63ce3Schristos (find_pc_sect_psymbol, find_pc_sect_symtab): Use it. 88566e63ce3Schristos * minsyms.c (lookup_minimal_symbol_by_pc_section): Likewise. 88666e63ce3Schristos * printcmd.c (sym_info): Ignore separate debug objfiles. 88766e63ce3Schristos 88866e63ce3Schristos2006-10-17 Daniel Jacobowitz <dan@codesourcery.com> 88966e63ce3Schristos 89066e63ce3Schristos * remote.c (remote_pid_to_str): Capitalize "Thread". 89166e63ce3Schristos 89266e63ce3Schristos2006-10-15 Daniel Jacobowitz <dan@codesourcery.com> 89366e63ce3Schristos 89466e63ce3Schristos PR remote/2158 89566e63ce3Schristos * remote.c (remote_write_bytes): Throttle packet alignment 89666e63ce3Schristos for small packets. 89766e63ce3Schristos 89866e63ce3Schristos2006-10-16 Jeff Johnston <jjohnstn@redhat.com> 89966e63ce3Schristos 90066e63ce3Schristos * linux-thread-db.c (thread_db_wait): Don't bother continuing if 90166e63ce3Schristos the wait result indicates the program terminated with a 90266e63ce3Schristos signal (from gdb-6.3-ia64-sigill-20051115.patch, a patch for 90366e63ce3Schristos Fedora Core 5). 90466e63ce3Schristos 90566e63ce3Schristos2006-10-11 Daniel Jacobowitz <dan@codesourcery.com> 90666e63ce3Schristos 90766e63ce3Schristos * dwarf2read.c (dwarf_decode_lines): Call record_line upon 90866e63ce3Schristos encountering a different subfile. 90966e63ce3Schristos 91066e63ce3Schristos2006-10-11 Denis Pilat <denis.pilat@st.com> 91166e63ce3Schristos 91266e63ce3Schristos * tui/tui-source.c (tui_set_source_content): handle source 91366e63ce3Schristos files that contain non unix end-of-line. 91466e63ce3Schristos 91566e63ce3Schristos2006-10-10 Daniel Jacobowitz <dan@codesourcery.com> 91666e63ce3Schristos 91766e63ce3Schristos * ser-mingw.c (free_pipe_state, pipe_wait_handle): Update 91866e63ce3Schristos for changes to pipe_select_thread. 91966e63ce3Schristos (pipe_done_wait_handle): New. 92066e63ce3Schristos (_initialize_ser_windows): Reference it. 92166e63ce3Schristos 92266e63ce3Schristos2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com> 92366e63ce3Schristos Daniel Jacobowitz <dan@codesourcery.com> 92466e63ce3Schristos 92566e63ce3Schristos * Makefile.in (expprint.o, parse.o, target.o): Update. 92666e63ce3Schristos * dwarf2loc.c (dwarf_expr_tls_address): Move body to 92766e63ce3Schristos target_translate_tls_address. Call it. 92866e63ce3Schristos * eval.c (evaluate_subexp_standard): Handle UNOP_MEMVAL_TLS. 92966e63ce3Schristos * expprint.c (print_subexp_standard): Likewise. 93066e63ce3Schristos (op_name_standard, dump_subexp_body_standard): Likewise. 93166e63ce3Schristos * expression.h (enum exp_opcode): Add UNOP_MEMVAL_TLS. 93266e63ce3Schristos (union exp_element): Add objfile. 93366e63ce3Schristos * parse.c (write_exp_elt_objfile): New function. 93466e63ce3Schristos (msym_tls_symbol_type): New. 93566e63ce3Schristos (write_exp_msymbol): Handle TLS. 93666e63ce3Schristos (operator_length_standard): Handle UNOP_MEMVAL_TLS. 93766e63ce3Schristos (build_parse): Initialize msym_tls_symbol_type. 93866e63ce3Schristos * parser-defs.h (write_exp_elt_objfile): New prototype. 93966e63ce3Schristos * target.c (target_translate_tls_address): New. 94066e63ce3Schristos * target.h (target_translate_tls_address): Add prototype. 94166e63ce3Schristos 94266e63ce3Schristos2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com> 94366e63ce3Schristos 94466e63ce3Schristos * solib.c (solib_open): Handle an empty solib_absolute_prefix like a 94566e63ce3Schristos missing one. 94666e63ce3Schristos 94766e63ce3Schristos2006-10-09 Daniel Jacobowitz <dan@codesourcery.com> 94866e63ce3Schristos 94966e63ce3Schristos * solib.c (solib_read_symbols): Stop if the file was not found. 95066e63ce3Schristos 95166e63ce3Schristos2006-10-09 Paul Pluzhnikov <ppluzhnikov@charter.net> 95266e63ce3Schristos 95366e63ce3Schristos PR c++/2116 95466e63ce3Schristos * valops.c (find_overload_match): Check for a NULL name. 95566e63ce3Schristos 95666e63ce3Schristos2006-10-06 Joel Brobecker <brobecker@adacore.com> 95766e63ce3Schristos 95866e63ce3Schristos Fix PR symtab/2018 95966e63ce3Schristos * dwarf2read.c (read_array_type): Set the type name if the name 96066e63ce3Schristos attribute is present. 96166e63ce3Schristos 96266e63ce3Schristos2006-10-05 Joel Brobecker <brobecker@adacore.com> 96366e63ce3Schristos 96466e63ce3Schristos * blockframe.c (block_innermost_frame): Rewrite frame search logic. 96566e63ce3Schristos 96666e63ce3Schristos2006-10-05 Daniel Jacobowitz <dan@codesourcery.com> 96766e63ce3Schristos 96866e63ce3Schristos * Makefile.in (gdb_expat_h): New. 96966e63ce3Schristos (xml_support_h): Add gdb_expat.h dependency. 97066e63ce3Schristos (memory-map.o, xml-support.o): Likewise. 97166e63ce3Schristos * gdb_expat.h: New file. 97266e63ce3Schristos * xml-support.h: Include it. 97366e63ce3Schristos * memory-map.c, xml-support.c: Likewise. Remove XML_STATUS_OK 97466e63ce3Schristos definitions. 97566e63ce3Schristos 97666e63ce3Schristos2006-10-05 Daniel Jacobowitz <dan@codesourcery.com> 97766e63ce3Schristos 97866e63ce3Schristos * remote.c (get_remote_state_raw): Renamed from get_remote_state. 97966e63ce3Schristos (get_remote_state): New function. 98066e63ce3Schristos (init_remote_state, _initialize_remote): Use get_remote_state_raw. 98166e63ce3Schristos 98266e63ce3Schristos2006-10-04 Fred Fish <fnf@specifix.com> 98366e63ce3Schristos 98466e63ce3Schristos * vec.c: Include defs.h first. This pulls in config.h which can 98566e63ce3Schristos affect other includes. 98666e63ce3Schristos 98766e63ce3Schristos2006-10-04 Joel Brobecker <brobecker@adacore.com> 98866e63ce3Schristos 98966e63ce3Schristos * somread.c (som_symtab_read): Avoid using alloca for potentially 99066e63ce3Schristos large buffers. 99166e63ce3Schristos 99266e63ce3Schristos2006-10-04 Daniel Jacobowitz <dan@codesourcery.com> 99366e63ce3Schristos 99466e63ce3Schristos * arch-utils.h (gdbarch_info_fill): Remove duplicate prototype. 99566e63ce3Schristos 99666e63ce3Schristos2006-10-03 Daniel Jacobowitz <dan@codesourcery.com> 99766e63ce3Schristos 99866e63ce3Schristos * memory-map.c (XML_STATUS_OK, XML_STATUS_ERROR): Provide default 99966e63ce3Schristos definitions. 100066e63ce3Schristos * xml-support.c (XML_STATUS_OK, XML_STATUS_ERROR): Likewise. 100166e63ce3Schristos 100266e63ce3Schristos2006-09-22 Daniel Jacobowitz <dan@codesourcery.com> 100366e63ce3Schristos 100466e63ce3Schristos * remote.c (remote_write_bytes_aux): Doc fix. 100566e63ce3Schristos 100666e63ce3Schristos2006-09-21 Vladimir Prus <vladimir@codesourcery.com> 100766e63ce3Schristos Daniel Jacobowitz <dan@codesourcery.com> 100866e63ce3Schristos 100966e63ce3Schristos * Makefile.in (SFILES): Add target-memory.c. 101066e63ce3Schristos (COMMON_OBS): Add target-memory.o. 101166e63ce3Schristos * memattr.c (lookup_mem_region): Adjust handling for 101266e63ce3Schristos the top of memory. Improve comments. 101366e63ce3Schristos * remote.c (packet_check_result): New function, split out 101466e63ce3Schristos from packet_ok. Recognize "E." as an error prefix. 101566e63ce3Schristos (packet_ok): Use it. 101666e63ce3Schristos (remote_write_bytes_aux): New function, renamed from 101766e63ce3Schristos remote_write_bytes. Take packet header, packet format, 101866e63ce3Schristos and length flag as arguments. 101966e63ce3Schristos (remote_write_bytes): Rewrite to use remote_write_bytes_aux. 102066e63ce3Schristos (remote_send_printf, restore_remote_timeout) 102166e63ce3Schristos (remote_flash_timeout, remote_flash_erase, remote_flash_write) 102266e63ce3Schristos (remote_flash_done): New. 102366e63ce3Schristos (remote_xfer_partial): Handle flash writes. 102466e63ce3Schristos (init_remote_ops, init_remote_async_ops): Set to_flash_erase 102566e63ce3Schristos and to_flash_done. 102666e63ce3Schristos * symfile.c (struct load_section_data): Include a pointer to 102766e63ce3Schristos the cumulative stats and a request queue. Move most members 102866e63ce3Schristos to other types. 102966e63ce3Schristos (struct load_progress_data, struct load_progress_section_data): New 103066e63ce3Schristos types. 103166e63ce3Schristos (load_progress): Handle a NULL baton and zero bytes. Update for 103266e63ce3Schristos type changes. 103366e63ce3Schristos (load_section_callback): Create memory write requests instead of 103466e63ce3Schristos writing to memory. Don't print the progress message here. 103566e63ce3Schristos (clear_memory_write_data): New function. 103666e63ce3Schristos (generic_load): Use target_write_memory_blocks. 103766e63ce3Schristos * target-memory.c: New file. 103866e63ce3Schristos * target.c (update_current_target): Mention new uninherited methods. 103966e63ce3Schristos (memory_xfer_partial): Issue an error for flash writes. 104066e63ce3Schristos (target_flash_erase, target_flash_done): New functions. 104166e63ce3Schristos (target_write_with_progress): Call the progress callback at the 104266e63ce3Schristos start also. 104366e63ce3Schristos * target.h (enum target_object): Add TARGET_OBJECT_FLASH. 104466e63ce3Schristos (target_write_with_progress): Update comment. 104566e63ce3Schristos (struct target_ops): Add to_flash_erase and to_flash_done. 104666e63ce3Schristos (target_flash_erase, target_flash_done, struct memory_write_request) 104766e63ce3Schristos (memory_write_request_s, enum flash_preserve_mode) 104866e63ce3Schristos (target_write_memory_blocks): New, including a vector type 104966e63ce3Schristos for memory_write_request_s. 105066e63ce3Schristos 105166e63ce3Schristos2006-09-21 Vladimir Prus <vladimir@codesourcery.com> 105266e63ce3Schristos Daniel Jacobowitz <dan@codesourcery.com> 105366e63ce3Schristos Nathan Sidwell <nathan@codesourcery.com> 105466e63ce3Schristos 105566e63ce3Schristos * Makefile.in (SFILES): Add memory-map.c and xml-support.c. 105666e63ce3Schristos (memory_map_h, xml_support_h): New. 105766e63ce3Schristos (target_h): Add vec_h dependency. 105866e63ce3Schristos (COMMON_OBS): Add memory-map.o and xml-support.o. 105966e63ce3Schristos (memory-map.o, xml-support.o): New rules. 106066e63ce3Schristos (remote.o): Update. 106166e63ce3Schristos * exceptions.h (enum errors): Add XML_PARSE_ERROR. 106266e63ce3Schristos * infcmd.c (run_command_1, attach_command): Call target_pre_inferior. 106366e63ce3Schristos * memattr.c (default_mem_attrib): Initialize blocksize. 106466e63ce3Schristos (target_mem_region_list, mem_use_target) 106566e63ce3Schristos (target_mem_regions_valid, mem_region_cmp, mem_region_init) 106666e63ce3Schristos (require_user_regions, require_target_regions) 106766e63ce3Schristos (invalidate_target_mem_regions): New. 106866e63ce3Schristos (create_mem_region): Use mem_region_init. 106966e63ce3Schristos (mem_clear): Move higher. 107066e63ce3Schristos (lookup_mem_region): Use require_target_regions. 107166e63ce3Schristos (mem_command): Implement "mem auto". 107266e63ce3Schristos (mem_info_command): Handle target-supplied regions and flash 107366e63ce3Schristos attributes. 107466e63ce3Schristos (mem_enable_command, mem_disable_command, mem_delete_command): Use 107566e63ce3Schristos require_user_regions. 107666e63ce3Schristos (_initialize_mem): Mention "mem auto" in help. 107766e63ce3Schristos * memattr.h (enum mem_access_mode): Add MEM_FLASH. 107866e63ce3Schristos (struct mem_attrib): Add blocksize. 107966e63ce3Schristos (invalidate_target_mem_regions, mem_region_init, mem_region_cmp): New 108066e63ce3Schristos prototypes. 108166e63ce3Schristos * remote.c: Include "memory-map.h". 108266e63ce3Schristos (PACKET_qXfer_memory_map): New enum value. 108366e63ce3Schristos (remote_protocol_features): Add qXfer:memory-map:read. 108466e63ce3Schristos (remote_xfer_partial): Handle memory maps. 108566e63ce3Schristos (remote_memory_map): New. 108666e63ce3Schristos (init_remote_ops, init_remote_async_ops): Set to_memory_map. 108766e63ce3Schristos (_initialize_remote): Register qXfer:memory-map:read. 108866e63ce3Schristos * target.c (update_current_target): Mention to_memory_map. 108966e63ce3Schristos (target_memory_map, target_pre_inferior): New. 109066e63ce3Schristos (target_preopen): Call target_pre_inferior. 109166e63ce3Schristos * target.h: Include "vec.h". 109266e63ce3Schristos (enum target_object): Add TARGET_OBJECT_MEMORY_MAP. 109366e63ce3Schristos (struct target_ops): Add to_memory_map. 109466e63ce3Schristos (target_memory_map, target_pre_inferior): New prototypes. 109566e63ce3Schristos * memory-map.c, memory-map.h, xml-support.c, xml-support.h: New files. 109666e63ce3Schristos 109766e63ce3Schristos2006-09-21 Daniel Jacobowitz <dan@codesourcery.com> 109866e63ce3Schristos 109966e63ce3Schristos * ada-lex.l (HIGH_BYTE_POSN, is_digit_in_base, digit_to_int) 110066e63ce3Schristos (strtoulst): Moved to ... 110166e63ce3Schristos * utils.c (HIGH_BYTE_POSN, is_digit_in_base, digit_to_int) 110266e63ce3Schristos (strtoulst): ... here. Enhanced to behave more similarly 110366e63ce3Schristos to strtoul. 110466e63ce3Schristos * defs.h (strtoulst): New prototype. 110566e63ce3Schristos 110666e63ce3Schristos2006-09-21 Daniel Jacobowitz <dan@codesourcery.com> 110766e63ce3Schristos 110866e63ce3Schristos * Makefile.in (memattr_h, memattr.o): Update. 110966e63ce3Schristos * memattr.h: Include "vec.h". 111066e63ce3Schristos (struct mem_region): Remove linked list pointer. 111166e63ce3Schristos (mem_region_s): New typedef and corresponding vector. 111266e63ce3Schristos * memattr.c: Include "vec.h". 111366e63ce3Schristos (mem_region_chain): Delete. 111466e63ce3Schristos (mem_region_list): New vector pointer. 111566e63ce3Schristos (mem_region_lessthan): New function. 111666e63ce3Schristos (create_mem_region): Remove unused return value. Use vector 111766e63ce3Schristos operations. Remove linear search. 111866e63ce3Schristos (delete_mem_region): Delete. 111966e63ce3Schristos (lookup_mem_region): Use vector operations. Add a FIXME. 112066e63ce3Schristos (mem_info_command): Update to work with vectors. 112166e63ce3Schristos (mem_enable, mem_enable_command, mem_disable, mem_disable_command) 112266e63ce3Schristos (mem_free, mem_delete): Likewise. 112366e63ce3Schristos 112466e63ce3Schristos2006-09-21 Nathan Sidwell <nathan@codesourcery.com> 112566e63ce3Schristos 112666e63ce3Schristos * vec.h: New file. 112766e63ce3Schristos * vec.c: New file. 112866e63ce3Schristos * Makefile.in (SFILES): Add vec.c. 112966e63ce3Schristos (vec_h): New. 113066e63ce3Schristos (COMMON_OBJS): Add vec.o. 113166e63ce3Schristos (vec.o): New target. 113266e63ce3Schristos 113366e63ce3Schristos2006-09-20 Daniel Jacobowitz <dan@codesourcery.com> 113466e63ce3Schristos 113566e63ce3Schristos PR remote/2154 113666e63ce3Schristos * remote.c (remote_thread_alive): Remove local buf. 113766e63ce3Schristos (remote_get_threadinfo): Remove local threadinfo_pkt. 113866e63ce3Schristos (remote_get_threadlist): Remove unused threadlist_packet. 113966e63ce3Schristos (remote_current_thread): Remove local buf. 114066e63ce3Schristos (remote_threads_info): Set bufp after getpkt. 114166e63ce3Schristos (remote_threads_extra_info): Remove local bufp. 114266e63ce3Schristos (get_offsets): Set buf after getpkt. 114366e63ce3Schristos (remote_check_symbols): Set reply after getpkt. 114466e63ce3Schristos (remote_vcont_probe): Set buf after getpkt. 114566e63ce3Schristos (remote_resume): Set buf after set_thread. 114666e63ce3Schristos (remote_wait, remote_async_wait): Set buf after getpkt. 114766e63ce3Schristos (fetch_register_using_p): Set buf after remote_send. 114866e63ce3Schristos (remote_fetch_registers): Likewise. 114966e63ce3Schristos (store_register_using_P): Don't use buf after remote_send. 115066e63ce3Schristos (check_binary_download, remote_write_bytes) 115166e63ce3Schristos (remote_read_bytes, remote_rcmd): Remove local buf. 115266e63ce3Schristos 115366e63ce3Schristos2006-09-17 Vladimir Prus <vladimir@codesourcery.com> 115466e63ce3Schristos 115566e63ce3Schristos * mi/mi-cmd-stack.c (mi_cmd_stack_list_args): Don't emit error 115666e63ce3Schristos if high requested frame number is larger than number of available 115766e63ce3Schristos frames. 115866e63ce3Schristos 115966e63ce3Schristos2006-09-16 Nick Roberts <nickrob@snap.net.nz> 116066e63ce3Schristos 116166e63ce3Schristos * linux-nat.c (linux_test_for_tracefork): Don't leave zombie 116266e63ce3Schristos process. 116366e63ce3Schristos 116466e63ce3Schristos2006-09-16 Andrzej Zaborowski <balrog@zabor.org> 116566e63ce3Schristos 116666e63ce3Schristos * interps.c (interpreter_exec_cmd): Restore interpreter properties. 116766e63ce3Schristos 116866e63ce3Schristos2006-09-10 Daniel Jacobowitz <dan@codesourcery.com> 116966e63ce3Schristos 117066e63ce3Schristos PR threads/2149 117166e63ce3Schristos * infrun.c (handle_inferior_event): Context switch after fork 117266e63ce3Schristos and exec events. 117366e63ce3Schristos 117466e63ce3Schristos2006-09-10 Daniel Jacobowitz <dan@codesourcery.com> 117566e63ce3Schristos 117666e63ce3Schristos * infcall.c (call_function_by_hand): Check for function pointer 117766e63ce3Schristos types. 117866e63ce3Schristos 117966e63ce3Schristos2006-09-10 Andreas Schwab <schwab@suse.de> 118066e63ce3Schristos 118166e63ce3Schristos * m68k-tdep.c (m68k_analyze_register_saves): Fix decoding of 118266e63ce3Schristos `move.l %R,-(%sp)'. 118366e63ce3Schristos 118466e63ce3Schristos2006-09-07 Vladimir Prus <vladimir@codesourcery.com> 118566e63ce3Schristos 118666e63ce3Schristos * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Don't emit 118766e63ce3Schristos error if high requested frame number is larger then number 118866e63ce3Schristos of available frames. 118966e63ce3Schristos 119066e63ce3Schristos2006-09-07 Joel Brobecker <brobecker@adacore.com> 119166e63ce3Schristos 119266e63ce3Schristos From Stephan Springl <springl-gdb@bfw-online.de> 119366e63ce3Schristos * fork-child.c (fork_inferior): Fix typo. 119466e63ce3Schristos 119566e63ce3Schristos2006-08-28 DJ Delorie <dj@redhat.com> 119666e63ce3Schristos 119766e63ce3Schristos * m32c-tdep.c (m32c_decode_srcdest4): Initialize fields in sd 119866e63ce3Schristos that may not be initialized elsewhere. 119966e63ce3Schristos (m32c_decode_sd23): Likewise. 120066e63ce3Schristos 120166e63ce3Schristos2006-08-25 Daniel Jacobowitz <dan@codesourcery.com> 120266e63ce3Schristos 120366e63ce3Schristos * buildsym.c (finish_block): Don't adjust the boundaries of 120466e63ce3Schristos nested functions. 120566e63ce3Schristos 120666e63ce3Schristos2006-08-24 Andreas Schwab <schwab@suse.de> 120766e63ce3Schristos 120866e63ce3Schristos * symfile.c (add_symbol_file_command): Fix off-by-one when 120966e63ce3Schristos extending sect_opts. 121066e63ce3Schristos 121166e63ce3Schristos2006-08-24 Nick Roberts <nickrob@snap.net.nz> 121266e63ce3Schristos 121366e63ce3Schristos * mi/gdb-mi.el: Refer to next release of Emacs as 22.1. 121466e63ce3Schristos 121566e63ce3Schristos2006-08-23 Nick Roberts <nickrob@snap.net.nz> 121666e63ce3Schristos 121766e63ce3Schristos * mi/gdb-mi.el (gdbmi): Remove gdb-force-update, initialize 121866e63ce3Schristos other variables. 121966e63ce3Schristos (gdbmi-send): Ensure any text properties can be removed. 122066e63ce3Schristos (gdbmi-prompt1): Update to gdb-ui.el 122166e63ce3Schristos (gud-gdbmi-marker-filter): Defer setting of gud-running. 122266e63ce3Schristos Keep gdb-done-regexp for partial-output-buffer. 122366e63ce3Schristos (gdb-stack-list-frames-handler): Add face to function names. 122466e63ce3Schristos 122566e63ce3Schristos2006-08-22 Mark Kettenis <kettenis@gnu.org> 122666e63ce3Schristos 122766e63ce3Schristos * valprint.c (val_print_type_code_flags): Fix GNU coding standards 122866e63ce3Schristos violation. 122966e63ce3Schristos 123066e63ce3Schristos * alpha-tdep.c (alpha_register_to_value, alpha_value_to_register) 123166e63ce3Schristos (alpha_push_dummy_call, alpha_extract_return_value) 123266e63ce3Schristos (alpha_breakpoint_from_pc, alpha_read_insn) 123366e63ce3Schristos (alpha_get_longjmp_target, alpha_supply_int_regs) 123466e63ce3Schristos (alpha_fill_int_regs, alpha_supply_fp_regs, alpha_fill_fp_regs) 123566e63ce3Schristos (alpha_next_pc): Use gdb_byte instead of (unsigned) char where 123666e63ce3Schristos appropriate. 123766e63ce3Schristos 123866e63ce3Schristos * sparc64-tdep.c (sparc64_pstate_type, sparc64_fsr_type) 123966e63ce3Schristos (sparc64_fprs_type): New variables. 124066e63ce3Schristos (sparc64_init_types): New function.: 124166e63ce3Schristos (sparc64_register_info): Use appropriate flag types for %fsr and 124266e63ce3Schristos %fprs. 124366e63ce3Schristos (sparc64_pseudo_register_info): Use appropriate type for %pstate. 124466e63ce3Schristos (_initialize_sparc64_tdep): New function. 124566e63ce3Schristos 124666e63ce3Schristos * valprint.c (val_print_type_code_flags): Fix for bitfields larger 124766e63ce3Schristos than 32 bits. 124866e63ce3Schristos 124966e63ce3Schristos * gdbtypes.c (init_flags_type): Set all fields to zero instead of 125066e63ce3Schristos just the first one. 125166e63ce3Schristos 125266e63ce3Schristos2006-08-22 Daniel Jacobowitz <dan@codesourcery.com> 125366e63ce3Schristos 125466e63ce3Schristos * Makefile.in (INTERNAL_CPPFLAGS): New. 125566e63ce3Schristos (INTERNAL_CFLAGS_BASE): Use it. 125666e63ce3Schristos 125766e63ce3Schristos2006-08-22 Michael Snyder <Michael.Snyder@PalmSource.com> 125866e63ce3Schristos 125966e63ce3Schristos * MAINTAINERS: Update my email address. 126066e63ce3Schristos 126166e63ce3Schristos2006-08-19 Daniel Jacobowitz <dan@codesourcery.com> 126266e63ce3Schristos 126366e63ce3Schristos * Makefile.in (amd64_linux_tdep_h): New. 126466e63ce3Schristos (amd64-linux-nat.o, amd64-linux-tdep.o): Update. 126566e63ce3Schristos * amd64-linux-nat.c (amd64_linux_gregset64_reg_offset): Add 126666e63ce3Schristos ORIG_RAX. 126766e63ce3Schristos (_initialize_amd64_linux_nat): Set amd64_native_gregset64_num_regs. 126866e63ce3Schristos * amd64-linux-tdep.c (amd64_linux_register_name) 126966e63ce3Schristos (amd64_linux_register_type, amd64_linux_register_reggroup_p) 127066e63ce3Schristos (amd64_linux_write_pc): New. 127166e63ce3Schristos (amd64_linux_init_abi): Use them, and update num_regs. 127266e63ce3Schristos * amd64-linux-tdep.h: New file. 127366e63ce3Schristos * amd64-tdep.c (amd64_register_name, amd64_register_type): Make 127466e63ce3Schristos public. 127566e63ce3Schristos * amd64-tdep.h (amd64_register_name, amd64_register_type): New 127666e63ce3Schristos prototypes. 127766e63ce3Schristos 127866e63ce3Schristos * regformats/reg-x86-64-linux.dat: New file. 127966e63ce3Schristos 128066e63ce3Schristos2006-08-18 Daniel Jacobowitz <dan@codesourcery.com> 128166e63ce3Schristos 128266e63ce3Schristos * infrun.c (handle_inferior_event): Check the current frame ID 128366e63ce3Schristos before unwinding to the previous frame. 128466e63ce3Schristos 128566e63ce3Schristos2006-08-18 Daniel Jacobowitz <dan@codesourcery.com> 128666e63ce3Schristos 128766e63ce3Schristos * dwarf2read.c (quirk_gcc_member_function_pointer): Add GCC PR 128866e63ce3Schristos number in a comment. 128966e63ce3Schristos 129066e63ce3Schristos2006-08-18 Mark Kettenis <kettenis@gnu.org> 129166e63ce3Schristos 129266e63ce3Schristos * sparc-nat.c (sparc_xfer_wcookie): Signal EOF. Tweak comment. 129366e63ce3Schristos 129466e63ce3Schristos2006-08-18 Daniel Jacobowitz <dan@codesourcery.com> 129566e63ce3Schristos 129666e63ce3Schristos * dwarf2read.c (quirk_gcc_member_function_pointer): New. 129766e63ce3Schristos (read_structure_type): Call it. 129866e63ce3Schristos 129966e63ce3Schristos2006-08-16 Daniel Jacobowitz <dan@codesourcery.com> 130066e63ce3Schristos 130166e63ce3Schristos * NEWS: Mention "set trust-readonly-sections" fix. 130266e63ce3Schristos 130366e63ce3Schristos2006-08-16 Daniel Jacobowitz <dan@codesourcery.com> 130466e63ce3Schristos 130566e63ce3Schristos * remote.c, target.c: Strip trailing whitespace. 130666e63ce3Schristos 130766e63ce3Schristos2006-08-15 Daniel Jacobowitz <dan@codesourcery.com> 130866e63ce3Schristos 130966e63ce3Schristos PR remote/1966 131066e63ce3Schristos * dcache.c (dcache_write_line): Use target_write. 131166e63ce3Schristos (dcache_read_line): Use target_read. 131266e63ce3Schristos * mi/mi-main.c (mi_cmd_data_read_memory): Use target_read. 131366e63ce3Schristos * symfile.c (struct load_section_data): Add new per-section 131466e63ce3Schristos members. 131566e63ce3Schristos (load_progress): New function. 131666e63ce3Schristos (load_section_callback): Pass load_progress to the new 131766e63ce3Schristos target_write_with_progress. 131866e63ce3Schristos * target.c (current_xfer_partial, memory_xfer_partial): New. 131966e63ce3Schristos (target_xfer_partial): New prototype. 132066e63ce3Schristos (target_xfer_memory, target_xfer_partial_p, xfer_using_stratum) 132166e63ce3Schristos (do_xfer_memory, target_xfer_memory_partial) 132266e63ce3Schristos (target_read_memory_partial, target_write_memory_partial): Delete. 132366e63ce3Schristos (trust_readonly): Move higher in the file. 132466e63ce3Schristos (update_current_target): Use current_xer_partial. 132566e63ce3Schristos (target_xfer_partial): Use memory_xfer_partial. Handle 132666e63ce3Schristos TARGET_OBJECT_RAW_MEMORY specially. 132766e63ce3Schristos (target_read_memory): Use target_read. 132866e63ce3Schristos (target_write_memory): Use target_write. 132966e63ce3Schristos (default_xfer_partial): Call to_xfer_partial directly. 133066e63ce3Schristos (target_write_with_progress): New function, based on target_write. 133166e63ce3Schristos (target_write): Call it. 133266e63ce3Schristos * target.h (enum target_object): Add TARGET_OBJECT_RAW_MEMORY. 133366e63ce3Schristos (target_write_with_progress): New prototype. 133466e63ce3Schristos (do_xfer_memory, target_read_memory_partial) 133566e63ce3Schristos (target_write_memory_partial): Delete prototypes. 133666e63ce3Schristos 133766e63ce3Schristos2006-08-15 Daniel Jacobowitz <dan@codesourcery.com> 133866e63ce3Schristos 133966e63ce3Schristos * remote.c (remote_write_bytes): Take a const buffer argument. 134066e63ce3Schristos Do the checks from remote_xfer_memory. 134166e63ce3Schristos (remote_read_bytes): Do the checks from remote_xfer_memory. 134266e63ce3Schristos (remote_xfer_memory): Remove checks pushed into lower level 134366e63ce3Schristos functions. 134466e63ce3Schristos (remote_xfer_partial): Call remote_write_bytes and remote_read_bytes 134566e63ce3Schristos directly. 134666e63ce3Schristos * remote.h (remote_write_bytes): Update prototype. 134766e63ce3Schristos 134866e63ce3Schristos2006-08-11 Andrew Stubbs <andrew.stubbs@st.com> 134966e63ce3Schristos 135066e63ce3Schristos * NEWS: Add 'set trace-commands' command. 135166e63ce3Schristos 135266e63ce3Schristos2006-08-10 Andrew Stubbs <andrew.stubbs@st.com> 135366e63ce3Schristos 135466e63ce3Schristos * cli/cli-script.c (execute_user_command): Update command_next_depth 135566e63ce3Schristos on user-command call. 135666e63ce3Schristos 135766e63ce3Schristos2006-08-09 Joel Brobecker <brobecker@adacore.com> 135866e63ce3Schristos 135966e63ce3Schristos * NEWS: Add entry for new substitute-path commands. 136066e63ce3Schristos 136166e63ce3Schristos2006-08-08 Joel Brobecker <brobecker@adacore.com> 136266e63ce3Schristos 136366e63ce3Schristos * source.c: #include gdb_assert.h. 136466e63ce3Schristos (substitute_path_rule): New struct. 136566e63ce3Schristos (substitute_path_rules): New static global variable. 136666e63ce3Schristos (substitute_path_rule_matches): New function. 136766e63ce3Schristos (get_substitute_path_rule): New function. 136866e63ce3Schristos (rewrite_source_path): New function. 136966e63ce3Schristos (find_and_open_source): Add source path rewriting support. 137066e63ce3Schristos (strip_trailing_directory_separator): New function. 137166e63ce3Schristos (find_substitute_path_rule): New function. 137266e63ce3Schristos (add_substitute_path_rule): New function. 137366e63ce3Schristos (delete_substitute_path_rule): New function. 137466e63ce3Schristos (show_substitute_path_command): New function. 137566e63ce3Schristos (unset_substitute_path_command): New function. 137666e63ce3Schristos (set_substitute_path_command): New function. 137766e63ce3Schristos (_initialize_source): Add new substitute-path commands. 137866e63ce3Schristos * Makefile.in (source.o): Add dependency on gdb_assert.h. 137966e63ce3Schristos 138066e63ce3Schristos2006-08-08 Joel Brobecker <brobecker@adacore.com> 138166e63ce3Schristos 138266e63ce3Schristos * i386-tdep.c (i386_follow_jump): Use read_memory_nobpt to read 138366e63ce3Schristos instructions. 138466e63ce3Schristos (i386_analyze_struct_return): Likewise. 138566e63ce3Schristos (i386_skip_probe): Likewise. 138666e63ce3Schristos (i386_match_insn): Likewise. 138766e63ce3Schristos (i386_analyze_frame_setup): Likewise. 138866e63ce3Schristos (i386_analyze_register_saves): Likewise. 138966e63ce3Schristos (i386_skip_prologue): Likewise. 139066e63ce3Schristos 139166e63ce3Schristos2006-08-08 Joel Brobecker <brobecker@adacore.com> 139266e63ce3Schristos 139366e63ce3Schristos * gdbcore.h (read_memory_nobpt): New function name instead of 139466e63ce3Schristos deprecated_read_memory_nobpt. 139566e63ce3Schristos * breakpoint.c (read_memory_nobpt): New function name instead 139666e63ce3Schristos of deprecated_read_memory_nobpt. 139766e63ce3Schristos Adjust calls to old deprecated_read_memory_nobpt accordingly. 139866e63ce3Schristos * alpha-tdep.c: Adjust calls to deprecated_read_memory_nobpt 139966e63ce3Schristos accordingly. 140066e63ce3Schristos * alphanbsd-tdep.c: Likewise. 140166e63ce3Schristos * frame.c: Likewise. 140266e63ce3Schristos * frv-tdep.c: Likewise. 140366e63ce3Schristos * hppa-linux-tdep.c: Likewise. 140466e63ce3Schristos * hppa-tdep.c: Likewise. 140566e63ce3Schristos * i386-linux-nat.c: Likewise. 140666e63ce3Schristos * m68klinux-tdep.c: Likewise. 140766e63ce3Schristos * mips-tdep.c: Likewise. 140866e63ce3Schristos * s390-tdep.c: Likewise. 140966e63ce3Schristos 141066e63ce3Schristos2006-08-08 Daniel Jacobowitz <dan@codesourcery.com> 141166e63ce3Schristos 141266e63ce3Schristos * configure.ac: Check for expat. 141366e63ce3Schristos * acinclude.m4: Include AC_LIB_HAVE_LINKFLAGS dependencies. 141466e63ce3Schristos * Makefile.in (LIBEXPAT): New. 141566e63ce3Schristos (CLIBS): Include $(LIBEXPAT). 141666e63ce3Schristos * README: Mention expat. 141766e63ce3Schristos * configure, config.in: Regenerated. 141866e63ce3Schristos 141966e63ce3Schristos2006-08-08 Joel Sherrill <joel.sherrill@oarcorp.com> 142066e63ce3Schristos 142166e63ce3Schristos * config/sparc/embed.mt: New file. 142266e63ce3Schristos * configure.tgt (sparc-*-rtems*): Use embed.mt. 142366e63ce3Schristos 142466e63ce3Schristos2006-08-08 Daniel Jacobowitz <dan@codesourcery.com> 142566e63ce3Schristos 142666e63ce3Schristos * Makefile.in (objfiles.o, symfile.o): Update. 142766e63ce3Schristos * objfiles.c: Include "expression.h" and "parser-defs.h". 142866e63ce3Schristos (free_objfile): Clear global blocks. 142966e63ce3Schristos * symfile.c: Include "parser-defs.h". 143066e63ce3Schristos (clear_symtab_users): Clear global blocks. 143166e63ce3Schristos 143266e63ce3Schristos2006-08-08 Thiemo Seufer <ths@mips.com> 143366e63ce3Schristos 143466e63ce3Schristos * breakpoint.c (update_breakpoints_after_exec): Fix type mismatch. 143566e63ce3Schristos 143666e63ce3Schristos2006-08-08 Vladimir Prus <vladimir@codesourcery.com> 143766e63ce3Schristos 143866e63ce3Schristos * symfile.c (download_write_size): Remove. 143966e63ce3Schristos (show_download_write_size): Remove. 144066e63ce3Schristos (load_section_callback): Don't use download_write_size. 144166e63ce3Schristos (_initialize_symfile): Don't register download_write_size. 144266e63ce3Schristos * NEWS: Mention 'download-write-size' removal. 144366e63ce3Schristos 144466e63ce3Schristos2006-08-06 Daniel Jacobowitz <dan@codesourcery.com> 144566e63ce3Schristos 144666e63ce3Schristos * expprint.c (print_subexp_standard, dump_subexp_body_standard): Add 144766e63ce3Schristos support for member pointers. 144866e63ce3Schristos 144966e63ce3Schristos2006-08-02 Mark Kettenis <kettenis@gnu.org> 145066e63ce3Schristos 145166e63ce3Schristos * arm-tdep.h: Add multiple inclusion protection. 145266e63ce3Schristos (struct gdbarch): Add forward declaration. 145366e63ce3Schristos (armobsd_regset_from_core_section): New prototype. 145466e63ce3Schristos * armbsd-tdep.c: New file. 145566e63ce3Schristos * armobsd-tdep.c: Include "gdb_string.h". 145666e63ce3Schristos (armobsd_init_abi): Set regset_from_core_section. 145766e63ce3Schristos (armobsd_core_osabi_sniffer): New function. 145866e63ce3Schristos (_initialize_armobsd_tdep): Register armobsd_core_osabi_sniffer. 145966e63ce3Schristos * Makefile.in (ALLDEPFILES): Add armbsd-tdep.c. 146066e63ce3Schristos (armbsd-tdep.o): New dependency. 146166e63ce3Schristos (armnbsd-tdep.o): Update dependencies. 146266e63ce3Schristos * config/arm/obsd.mt (TDEPFILES): Add armbsd-tdep.o and corelow.o. 146366e63ce3Schristos 146466e63ce3Schristos2006-08-02 Thiemo Seufer <ths@mips.com> 146566e63ce3Schristos 146666e63ce3Schristos * linux-thread-db.c (thread_db_get_thread_local_address): Fix type 146766e63ce3Schristos mismatch. 146866e63ce3Schristos * tui/tui-stack.c (tui_show_frame_info): Likewise. 146966e63ce3Schristos 147066e63ce3Schristos2006-08-01 Daniel Jacobowitz <dan@codesourcery.com> 147166e63ce3Schristos 147266e63ce3Schristos * c-exp.y (type): Remove incorrect pointer to member case. 147366e63ce3Schristos * objc-exp.y (type): Likewise. 147466e63ce3Schristos * p-exp.y (type): Likewise. 147566e63ce3Schristos 147666e63ce3Schristos2006-08-01 Mark Kettenis <kettenis@gnu.org> 147766e63ce3Schristos 147866e63ce3Schristos * arm-tdep.h (enum struct_return): New. 147966e63ce3Schristos (struct gdbarch_tdep): Add struct_return member. 148066e63ce3Schristos * arm-tdep.c (arm_return_value): Return 148166e63ce3Schristos RETURN_VALUE_STRUCT_CONVENTION for aggregates when the ABI uses 148266e63ce3Schristos pcc_struct_return. 148366e63ce3Schristos (arm_gdbarch_init): Default to reg_struct_return. 148466e63ce3Schristos * armobsd-tdep.c (armobsd_init_abi): Set pcc_struct_return. 148566e63ce3Schristos 148666e63ce3Schristos2006-07-31 Mark Kettenis <kettenis@gnu.org> 148766e63ce3Schristos 148866e63ce3Schristos * alpha-tdep.h (ALPHA_S0_REGNUM): New define. 148966e63ce3Schristos * alphabsd-nat.c: Include <sys/types.h>, <sys/signal.h>, 149066e63ce3Schristos <machine/pcb.h> and "bsd-kvm.h". 149166e63ce3Schristos (alphabsd_supply_pcb): New function. 149266e63ce3Schristos (_initialize_alphabsd_nat): Enable libkvm interface. 149366e63ce3Schristos * Makefile.in (alphabsd-nat.o): Update dependencies. 149466e63ce3Schristos * config/alpha/fbsd.mh (NATDEPFILES): Add bsd-kvm.o. 149566e63ce3Schristos (LOADLIBES): New variable. 149666e63ce3Schristos * config/alpha/nbsd.mh (NATDEPFILES): Add bsd-kvm.o. 149766e63ce3Schristos (LOADLIBES): New variable. 149866e63ce3Schristos 149966e63ce3Schristos2006-07-31 Fred Fish <fnf@specifix.com> 150066e63ce3Schristos 150166e63ce3Schristos * arm-tdep.c (arm_make_prologue_cache): Use FRAME_OBSTACK_ZALLOC 150266e63ce3Schristos instead of calling frame_obstack_zalloc directly. 150366e63ce3Schristos (arm_make_stub_cache): Ditto. 150466e63ce3Schristos * frame-unwind.h: Ditto. 150566e63ce3Schristos * frame.c (create_new_frame): Ditto. 150666e63ce3Schristos 150766e63ce3Schristos2006-07-27 Bob Wilson <bob.wilson@acm.org> 150866e63ce3Schristos 150966e63ce3Schristos * MAINTAINERS (Write After Approval): Add myself. 151066e63ce3Schristos 151166e63ce3Schristos2006-07-27 Bob Wilson <bob.wilson@acm.org> 151266e63ce3Schristos 151366e63ce3Schristos * main.c (captured_main): Print a newline after calling 151466e63ce3Schristos print_gdb_version instead of waiting until after the symbol file 151566e63ce3Schristos has been read. Adjust error_pre_print, quit_pre_print, and 151666e63ce3Schristos warning_pre_print values. 151766e63ce3Schristos 151866e63ce3Schristos2006-07-27 Roger Sayle <roger@eyesopen.com> 151966e63ce3Schristos Daniel Jacobowitz <dan@codesourcery.com> 152066e63ce3Schristos 152166e63ce3Schristos * irix5-nat.c (fetch_core_registers): Simplify and correct logic. 152266e63ce3Schristos 152366e63ce3Schristos2006-07-27 Daniel Jacobowitz <dan@codesourcery.com> 152466e63ce3Schristos 152566e63ce3Schristos * target.h (target_read_stralloc): New prototype. 152666e63ce3Schristos * target.c (target_read_alloc_1): Renamed from target_read_alloc. 152766e63ce3Schristos Take new PADDING argument. 152866e63ce3Schristos (target_read_alloc): Use it. 152966e63ce3Schristos (target_read_stralloc): New function. 153066e63ce3Schristos 153166e63ce3Schristos2006-07-26 Daniel Jacobowitz <dan@codesourcery.com> 153266e63ce3Schristos 153366e63ce3Schristos * remote.c (remote_protocol_features): Correct qPart to qXfer. 153466e63ce3Schristos 153566e63ce3Schristos2006-07-25 Daniel Jacobowitz <dan@codesourcery.com> 153666e63ce3Schristos 153766e63ce3Schristos * eval.c (evaluate_subexp_for_address): Don't incorrectly discard 153866e63ce3Schristos calls to C++ operator*. 153966e63ce3Schristos 154066e63ce3Schristos2006-07-24 Roger Sayle <roger@eyesopen.com> 154166e63ce3Schristos Daniel Jacobowitz <dan@codesourcery.com> 154266e63ce3Schristos 154366e63ce3Schristos * solib-irix.c (gdb_int32_bytes): Use gdb_byte instead of char. 154466e63ce3Schristos (gdb_int64_bytes): Likewise. 154566e63ce3Schristos (fetch_lm_info): Use .b fields of gdb_int32_bytes and gdb_int64_bytes 154666e63ce3Schristos as first argument to extract_unsigned_integer to silence compiler 154766e63ce3Schristos warnings. 154866e63ce3Schristos 154966e63ce3Schristos2006-07-24 Frederic Riss <frederic.riss@st.com> 155066e63ce3Schristos 155166e63ce3Schristos * dwarf2read.c (struct dwarf2_per_objfile): Add has_section_at_zero 155266e63ce3Schristos field. 155366e63ce3Schristos (dwarf2_locate_sections): Initialize 155466e63ce3Schristos dwarf2_per_objfile->has_section_at_zero. 155566e63ce3Schristos (dwarf2_get_pc_bounds): Use dwarf2_per_objfile->has_section_at_zero 155666e63ce3Schristos instead of HAS_RELOC test. 155766e63ce3Schristos (read_partial_die): Ditto. 155866e63ce3Schristos 155966e63ce3Schristos2006-07-24 Daniel Jacobowitz <dan@codesourcery.com> 156066e63ce3Schristos 156166e63ce3Schristos * corefile.c (reopen_exec_file): Only check for an open exec file. 156266e63ce3Schristos Use exec_file_attach. 156366e63ce3Schristos * exec.c (exec_open): Make static. 156466e63ce3Schristos (exec_file_command): Don't use target_preopen. Query directly about 156566e63ce3Schristos changing the file. 156666e63ce3Schristos * gdbcore.h (exec_open): Remove prototype. 156766e63ce3Schristos 156866e63ce3Schristos2006-07-24 Frederic Riss <frederic.riss@st.com> 156966e63ce3Schristos 157066e63ce3Schristos * regcache.c (struct regcache): Make register_valid_p a signed char 157166e63ce3Schristos array. 157266e63ce3Schristos 157366e63ce3Schristos2006-07-24 Jan Kratochvil <jan.kratochvil@redhat.com> 157466e63ce3Schristos Daniel Jacobowitz <dan@codesourcery.com> 157566e63ce3Schristos 157666e63ce3Schristos * linux-thread-db.c (thread_db_wait): Remove libthread_db 157766e63ce3Schristos after exec events. 157866e63ce3Schristos 157966e63ce3Schristos2006-07-24 Daniel Jacobowitz <dan@codesourcery.com> 158066e63ce3Schristos 158166e63ce3Schristos * NEWS: Mention Windows cross debugging support. 158266e63ce3Schristos 158366e63ce3Schristos2006-07-23 Daniel Jacobowitz <dan@codesourcery.com> 158466e63ce3Schristos 158566e63ce3Schristos * linux-nat.c (linux_nat_add_target): Remove extern. 158666e63ce3Schristos * linux-nat.h (thread_db_init): New prototype. 158766e63ce3Schristos 158866e63ce3Schristos2006-07-22 Daniel Jacobowitz <dan@codesourcery.com> 158966e63ce3Schristos 159066e63ce3Schristos * configure.tgt: Build gdbserver for Cygwin and mingw32. 159166e63ce3Schristos 159266e63ce3Schristos2006-07-22 Daniel Jacobowitz <dan@codesourcery.com> 159366e63ce3Schristos 159466e63ce3Schristos * config/i386/cygwin.mt (DEPRECATED_TM_FILE): Delete. 159566e63ce3Schristos * config/i386/nm-cygwin.h: Add contents of tm-cygwin.h. 159666e63ce3Schristos * config/i386/tm-cygwin.h: Delete file. 159766e63ce3Schristos 159866e63ce3Schristos2006-07-22 Jan Kratochvil <jan.kratochvil@redhat.com> 159966e63ce3Schristos 160066e63ce3Schristos * infrun.c (handle_inferior_event): Typo. 160166e63ce3Schristos 160266e63ce3Schristos2006-07-21 Andrew Stubbs <andrew.stubbs@st.com> 160366e63ce3Schristos 160466e63ce3Schristos * cli/cli-cmds.c (source_verbose, trace_commands): New variables. 160566e63ce3Schristos (source_script): New function. 160666e63ce3Schristos (source_verbose_cleanup): New function. 160766e63ce3Schristos (source_command): Move old contents to source_script. 160866e63ce3Schristos Make function static. Parse -v option and call source_script. 160966e63ce3Schristos (init_cli_cmds): Update source command help. 161066e63ce3Schristos Add 'set trace-commands' command. 161166e63ce3Schristos * cli/cli-script.c (command_next_depth): New static variable. 161266e63ce3Schristos (suppress_next_print_command_trace): New static variable. 161366e63ce3Schristos (reset_command_nest_depth): New function. 161466e63ce3Schristos (print_command_trace): New function. 161566e63ce3Schristos (execute_control_command): Split the continue_control and break_control 161666e63ce3Schristos cases, add calls to print_command_trace and count the nest depth. 161766e63ce3Schristos (while_command): Set suppress_next_print_command_trace. 161866e63ce3Schristos (if_command): Likewise. 161966e63ce3Schristos * top.c (execute_command): Call print_command_trace. 162066e63ce3Schristos * cli/cli-cmds.h (source_verbose, trace_commands): New extern variables. 162166e63ce3Schristos (source_command): Change to source_script. 162266e63ce3Schristos * main.c (captued_main): Use source_script instead of source_command. 162366e63ce3Schristos * top.h (source_command): Change to source_script. 162466e63ce3Schristos * event-top.c (display_gdb_prompt): Call reset_command_nest_depth. 162566e63ce3Schristos * cli/cli-script.h (print_command_trace): Export. 162666e63ce3Schristos (reset_command_nest_depth): Likewise. 162766e63ce3Schristos 162866e63ce3Schristos2006-07-20 Daniel Jacobowitz <dan@codesourcery.com> 162966e63ce3Schristos 163066e63ce3Schristos * eval.c (evaluate_struct_tuple): Skip static fields. 163166e63ce3Schristos 163266e63ce3Schristos2006-07-19 Mark Kettenis <kettenis@gnu.org> 163366e63ce3Schristos 163466e63ce3Schristos * alphaobsd-tdep.c: Include "obsd-tdep.h". 163566e63ce3Schristos (alphaobsd_init_abi): Set skip_solib_resolver. 163666e63ce3Schristos * Makefile.in (alphaobsd-tdep.o): Update dependencies. 163766e63ce3Schristos * config/alpha/obsd.mt (TDEPFILES): Add obsd-tdep.o. 163866e63ce3Schristos 163966e63ce3Schristos * arm-tdep.c (arm_gdbarch_init): Get default floating-point model 164066e63ce3Schristos from ELF flags for binaries produced by the GNU toolchain. 164166e63ce3Schristos 164266e63ce3Schristos2006-07-18 Nathan Sidwell <nathan@codesourcery.com> 164366e63ce3Schristos 164466e63ce3Schristos * remote-fileio.c (remote_fileio_func_rename): Reorder to process 164566e63ce3Schristos input buffer before reading memory. 164666e63ce3Schristos (remote_fileio_func_stat): Likewise. 164766e63ce3Schristos 164866e63ce3Schristos2006-07-18 Daniel Jacobowitz <dan@codesourcery.com> 164966e63ce3Schristos 165066e63ce3Schristos * blockframe.c (find_pc_partial_function): Use the minimal symbol 165166e63ce3Schristos size to control the cache entry, if available. 165266e63ce3Schristos * minsyms.c (lookup_minimal_symbol_by_pc_section): Handle minimal 165366e63ce3Schristos symbols with zero and non-zero sizes differently. 165466e63ce3Schristos 165566e63ce3Schristos2006-07-18 Daniel Jacobowitz <dan@codesourcery.com> 165666e63ce3Schristos 165766e63ce3Schristos * linux-thread-db.c (td_thr_getfpregs_p, td_thr_getgregs_p) 165866e63ce3Schristos (td_thr_setfpregs_p, td_thr_setgregs_p, thread_db_get_info) 165966e63ce3Schristos (thread_db_fetch_registers, thread_db_store_registers) 166066e63ce3Schristos (thread_db_thread_alive, thread_db_state_str): Delete. 166166e63ce3Schristos (thread_db_load): Don't look up regset functions. 166266e63ce3Schristos (thread_db_pid_to_str): Simplify. 166366e63ce3Schristos (thread_db_extra_thread_info): New. 166466e63ce3Schristos (init_thread_db_ops): Do not set to_fetch_registers, 166566e63ce3Schristos to_store_registers, or to_thread_alive. Set to_extra_thread_info. 166666e63ce3Schristos * Makefile.in: Remove linux-thread-db.o rule. 166766e63ce3Schristos 166866e63ce3Schristos2006-07-18 Mark Kettenis <kettenis@gnu.org> 166966e63ce3Schristos 167066e63ce3Schristos * armobsd-tdep.c: Include "trad-frame.h" and "tramp-frame.h". 167166e63ce3Schristos (armobsd_sigframe_init): New function. 167266e63ce3Schristos (armobsd_sigframe): New variable. 167366e63ce3Schristos (armobsd_init_abi): Prepend armobsd_sigframe unwinder. 167466e63ce3Schristos * Makefile.in (armobsd-tdep.o): Update dependencies. 167566e63ce3Schristos 167666e63ce3Schristos2006-07-18 Denis PILAT <denis.pilat@st.com> 167766e63ce3Schristos 167866e63ce3Schristos * monitor.c: Remove unused prototypes. 167966e63ce3Schristos 168066e63ce3Schristos2006-07-18 Vladimir Prus <vladimir@codesourcery.com> 168166e63ce3Schristos 168266e63ce3Schristos * target.c (tcomplain): Mark with ATTR_NORETURN. 168366e63ce3Schristos 168466e63ce3Schristos * defs.h (print_transfer_performance): Improve comments. 168566e63ce3Schristos 168666e63ce3Schristos2006-07-17 Mark Kettenis <kettenis@gnu.org> 168766e63ce3Schristos 168866e63ce3Schristos * printcmd.c: Coding style fixes: add missing spaces in comments 168966e63ce3Schristos and wrapping long lines. 169066e63ce3Schristos (delete_display, enable_display_command, disable_display_command) 169166e63ce3Schristos (printf_command, display_info, undisplay_command, free_display) 169266e63ce3Schristos (display_command, x_command, address_info, set_command) 169366e63ce3Schristos (inspect_command, call_command, print_command, print_command_1) 169466e63ce3Schristos (validate_format, print_formatted, decode_format, sym_format): 169566e63ce3Schristos Remove prototypes. 169666e63ce3Schristos (x_command): Make static. 169766e63ce3Schristos (printf_command): Convert error into internal consistency check. 169866e63ce3Schristos (address_info): Avoid assignment within function call. 169966e63ce3Schristos (printf_command): Avoid redundant cast. 170066e63ce3Schristos * tracepoint.c (x_command): Remove extern prototype. 170166e63ce3Schristos 170266e63ce3Schristos * armobsd-tdep.c (armobsd_init_abi): Set skip_solib_resolver. 170366e63ce3Schristos * Makefile.in (armobsd-tdep.o): Update dependencies. 170466e63ce3Schristos * config/arm/obsd.mt (TDEPFILES): Add obsd-tdep.o. 170566e63ce3Schristos 170666e63ce3Schristos2006-07-16 Mark Kettenis <kettenis@gnu.org> 170766e63ce3Schristos 170866e63ce3Schristos * armobsd-tdep.c: New file. 170966e63ce3Schristos * Makefile.in (ALLDEPFILES): Add armobsd-tdep.c. 171066e63ce3Schristos (armobsd-tdep.o): New dependency. 171166e63ce3Schristos * config/arm/obsd.mt: New file. 171266e63ce3Schristos * configure.tgt: (arm*-*-openbsd*): Set gdb_target to obsd. 171366e63ce3Schristos 171466e63ce3Schristos * gdbarch.sh (deprecated_saved_pc_after_call): Delete. 171566e63ce3Schristos * gdbarch.h, gdbarch.c: Re-generate. 171666e63ce3Schristos 171766e63ce3Schristos * arm-tdep.c (arm_saved_pc_after_call): Delete. 171866e63ce3Schristos (arm_gdbarch_init): Do not set deprecated_saved_pc_after_call. 171966e63ce3Schristos 172066e63ce3Schristos2006-07-16 Alfred M. Szmidt <ams@gnu.org> 172166e63ce3Schristos 172266e63ce3Schristos * gnu-nat.c: Undefine _process_user_ before including 172366e63ce3Schristos <hurd/process_request.h>. 172466e63ce3Schristos (gnu_resume): Supply missing argument to error(). 172566e63ce3Schristos (gnu_read_inferior): Add extra parenthesis around arithmetic 172666e63ce3Schristos expression to silence warnings from GCC. 172766e63ce3Schristos (gnu_write_inferior): Likewise. 172866e63ce3Schristos (gnu_xfer_memory): Changed type of MYADDR to `gdb_byte *'. 172966e63ce3Schristos 173066e63ce3Schristos2006-07-16 Mark Kettenis <kettenis@gnu.org> 173166e63ce3Schristos 173266e63ce3Schristos * armnbsd-tdep.c (arm_netbsd_elf_init_abi): Use 173366e63ce3Schristos svr4_ilp_fetch_link_map_offsets. 173466e63ce3Schristos 173566e63ce3Schristos2006-07-15 Mark Kettenis <kettenis@gnu.org> 173666e63ce3Schristos 173766e63ce3Schristos * armnbsd-tdep.c: Don't include "nbsd-tdep.h". 173866e63ce3Schristos * config/arm/nbsd.mt (TDEPFILES): Remove nbsd-tdep.o. 173966e63ce3Schristos (DEPRECATED_TM_FILE): Remove. 174066e63ce3Schristos * Makefile.in (armnbsd-tdep.o): Update dependencies. 174166e63ce3Schristos 174266e63ce3Schristos2006-07-14 Joel Brobecker <brobecker@adacore.com> 174366e63ce3Schristos 174466e63ce3Schristos * PROBLEMS: Document threads/2137. 174566e63ce3Schristos 174666e63ce3Schristos2006-07-13 Mark Kettenis <kettenis@gnu.org> 174766e63ce3Schristos 174866e63ce3Schristos * config/alpha/tm-nbsd.h: Remove file. 174966e63ce3Schristos * config/alpha/nbsd.mt (DEPRECATED_TM_FILE): Remove. 175066e63ce3Schristos 175166e63ce3Schristos2006-07-13 Corinna Vinschen <vinschen@redhat.com> 175266e63ce3Schristos 175366e63ce3Schristos * mips-tdep.c (mips_integer_to_address): Simplify be calling 175466e63ce3Schristos extract_signed_integer directly. Fix comment. 175566e63ce3Schristos 175666e63ce3Schristos2006-07-13 Corinna Vinschen <vinschen@redhat.com> 175766e63ce3Schristos 175866e63ce3Schristos * m32c-tdep.c (m32c_banked_register): New function. 175966e63ce3Schristos (m32c_banked_read): Use m32c_banked_register function to evaluate 176066e63ce3Schristos real register number. 176166e63ce3Schristos (m32c_banked_write): Ditto. 176266e63ce3Schristos (m32c_virtual_frame_pointer): New function. 176366e63ce3Schristos (m32c_gdbarch_init): Add set_gdbarch_virtual_frame_pointer call. 176466e63ce3Schristos 176566e63ce3Schristos2006-07-13 Nathan Sidwell <nathan@codesourcery.com> 176666e63ce3Schristos 176766e63ce3Schristos * m68k-tdep.c (m68k_frame_align): New. 176866e63ce3Schristos (m68k_gdbarch_init): Set frame_align here. 176966e63ce3Schristos 177066e63ce3Schristos2006-07-13 Denis PILAT <denis.pilat@st.com> 177166e63ce3Schristos 177266e63ce3Schristos * interps.c (interpreter_completer): Allocate one more item to the 177366e63ce3Schristos 'matches' list and set them all to 0 with a xcalloc. 177466e63ce3Schristos 177566e63ce3Schristos2006-07-13 Nick Roberts <nickrob@snap.net.nz> 177666e63ce3Schristos 177766e63ce3Schristos * annotate.c (annotate_frame_begin): Re-instate frame-begin 177866e63ce3Schristos annotation for level 3 annotations. 177966e63ce3Schristos 178066e63ce3Schristos2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com> 178166e63ce3Schristos Daniel Jacobowitz <dan@codesourcery.com> 178266e63ce3Schristos 178366e63ce3Schristos * infcall.c (value_arg_coerce): Use value_cast_pointers for 178466e63ce3Schristos references. Avoid value_cast to a reference type. Don't silently 178566e63ce3Schristos convert pointers to references. 178666e63ce3Schristos * valops.c (value_cast_pointers): New, based on value_cast. 178766e63ce3Schristos (value_cast): Use it. Reject reference types. 178866e63ce3Schristos (value_ref): New. 178966e63ce3Schristos (typecmp): Use it. 179066e63ce3Schristos * value.h (value_cast_pointers, value_ref): New prototypes. 179166e63ce3Schristos 179266e63ce3Schristos2006-07-12 Daniel Jacobowitz <dan@codesourcery.com> 179366e63ce3Schristos 179466e63ce3Schristos * remote.c (unpack_varlen_hex): Correct type of retval. 179566e63ce3Schristos Reported by Zhigang Gong <zhigang.gong@gmail.com>. 179666e63ce3Schristos 179766e63ce3Schristos2006-07-12 Daniel Jacobowitz <dan@codesourcery.com> 179866e63ce3Schristos 179966e63ce3Schristos * dwarf2read.c (dwarf2_symbol_mark_computed): Handle corrupted 180066e63ce3Schristos or missing location list information. Suggested by Jan 180166e63ce3Schristos Kratochvil <lace@jankratochvil.net>. 180266e63ce3Schristos 180366e63ce3Schristos2006-07-12 Daniel Jacobowitz <dan@codesourcery.com> 180466e63ce3Schristos 180566e63ce3Schristos * Makefile.in (arm_linux_tdep_h): New variable. 180666e63ce3Schristos (arm-linux-nat.o, arm-linux-tdep.o): Update. 180766e63ce3Schristos * arm-linux-nat.c: Include "arm-linux-tdep.h". 180866e63ce3Schristos (typeNone, typeSingle, typeDouble, typeExtended) 180966e63ce3Schristos (FPWORDS, ARM_CPSR_REGNUM, FPREG, FPA11) 181066e63ce3Schristos (fetch_nwfpe_single, fetch_nwfpe_double, fetch_nwfpe_none) 181166e63ce3Schristos (fetch_nwfpe_extended, fetch_nwfpe_register, store_nwfpe_single) 181266e63ce3Schristos (store_nwfpe_double, store_nwfpe_extended, store_nwfpe_register): 181366e63ce3Schristos Delete. 181466e63ce3Schristos (fetch_fpregister, fetch_fpregs, store_fpregister, store_fpregs): 181566e63ce3Schristos Use gdb_byte buffers, NWFPE_FPSR_OFFSET, supply_nwfpe_register, 181666e63ce3Schristos and collect_nwfpe_register. 181766e63ce3Schristos (fill_gregset, supply_gregset, fill_fpregset, supply_fpregset): Use 181866e63ce3Schristos new regset functions. 181966e63ce3Schristos * arm-linux-tdep.c: Include "regset.h" and "arm-linux-tdep.h". 182066e63ce3Schristos (arm_apcs_32): New declaration. 182166e63ce3Schristos (ARM_LINUX_SIZEOF_GREGSET, arm_linux_supply_gregset) 182266e63ce3Schristos (arm_linux_collect_gregset, typeNone, typeSingle, typeDouble) 182366e63ce3Schristos (typeExtended, supply_nwfpe_register, collect_nwfpe_register) 182466e63ce3Schristos (arm_linux_supply_nwfpe, arm_linux_collect_nwfpe) 182566e63ce3Schristos (arm_linux_regset_from_core_section): New. 182666e63ce3Schristos (arm_linux_init_abi): Register arm_linux_regset_from_core_section. 182766e63ce3Schristos * arm-linux-tdep.h: New file. 182866e63ce3Schristos * arm-tdep.h (struct regset): Declare. 182966e63ce3Schristos (struct gdbarch_tdep): Add gregset, fpregset members. 183066e63ce3Schristos * config/arm/linux.mh (NATDEPFILES): Remove corelow.o and 183166e63ce3Schristos core-regset.o. 183266e63ce3Schristos * config/arm/linux.mt (TDEPFILES): Add corelow.o. 183366e63ce3Schristos 183466e63ce3Schristos2006-07-12 Jan Kratochvil <lace@jankratochvil.net> 183566e63ce3Schristos 183666e63ce3Schristos * infrun.c (handle_inferior_event): Fixed typos in printf. 183766e63ce3Schristos 183866e63ce3Schristos2006-07-12 Daniel Jacobowitz <dan@codesourcery.com> 183966e63ce3Schristos Nathan Sidwell <nathan@codesourcery.com> 184066e63ce3Schristos 184166e63ce3Schristos * remote.c (REMOTE_ALIGN_WRITES): New. 184266e63ce3Schristos (remote_write_bytes): Align large write packets. Remove unused 184366e63ce3Schristos payload_start variable. 184466e63ce3Schristos 184566e63ce3Schristos2006-07-12 Daniel Jacobowitz <dan@codesourcery.com> 184666e63ce3Schristos 184766e63ce3Schristos * remote.c (PACKET_qXfer_auxv): New, renamed from PACKET_qPart_auxv. 184866e63ce3Schristos (remote_supported_packet): Remove #if 0. 184966e63ce3Schristos (remote_protocol_features): Add qPart:auxv:read. 185066e63ce3Schristos (remote_unescape_input): New function. 185166e63ce3Schristos (readchar): Don't mask off the high bit. 185266e63ce3Schristos (read_frame): Use fputstrn_filtered for packet data. 185366e63ce3Schristos (getpkt_sane): Return the number of bytes read or -1. Use 185466e63ce3Schristos fputstrn_unfiltered. 185566e63ce3Schristos (remote_read_qxfer): New. 185666e63ce3Schristos (remote_xfer_partial): Use it for TARGET_OBJECT_AUXV. 185766e63ce3Schristos (_initialize_remote): Update packet registration. 185866e63ce3Schristos * defs.h (fputstrn_filtered): New prototype. 185966e63ce3Schristos * utils.c (fputstrn_filtered): New. 186066e63ce3Schristos * NEWS: Mention qXfer. 186166e63ce3Schristos 186266e63ce3Schristos2006-07-12 Daniel Jacobowitz <dan@codesourcery.com> 186366e63ce3Schristos 186466e63ce3Schristos * target.c (target_read): Stop if target_read_partial returns 0 186566e63ce3Schristos when some bytes have already been read. 186666e63ce3Schristos (target_write): Likewise for target_write_partial. 186766e63ce3Schristos (target_read_partial, target_write_partial): Make static. 186866e63ce3Schristos (target_read_alloc): New. 186966e63ce3Schristos * target.h: Doc fixes. 187066e63ce3Schristos (target_read_partial, target_write_partial): Delete prototypes. 187166e63ce3Schristos (target_read_alloc): New prototype. 187266e63ce3Schristos 187366e63ce3Schristos * auxv.c (target_auxv_read): Delete. 187466e63ce3Schristos (target_auxv_search, fprint_target_auxv): Use target_read_alloc. 187566e63ce3Schristos * auxv.h (target_auxv_read): Delete prototype. 187666e63ce3Schristos * avr-tdep.c (avr_io_reg_read_command): Use target_read_alloc. 187766e63ce3Schristos * ia64-tdep.c (getunwind_table, get_kernel_table): Likewise. 187866e63ce3Schristos * linux-nat.c (linux_nat_make_corefile_notes): Likewise. 187966e63ce3Schristos * procfs.c (procfs_make_note_section): Likewise. 188066e63ce3Schristos * remote.c (remote_xfer_partial): Don't loop here. 188166e63ce3Schristos * sparc-tdep.c (sparc_fetch_wcookie): Use target_read. 188266e63ce3Schristos 188366e63ce3Schristos2006-07-12 Daniel Jacobowitz <dan@codesourcery.com> 188466e63ce3Schristos 188566e63ce3Schristos * arm-linux-tdep.c: Doc fixes. 188666e63ce3Schristos (ARM_SIGCONTEXT_R0, ARM_UCONTEXT_SIGCONTEXT) 188766e63ce3Schristos (ARM_OLD_RT_SIGFRAME_SIGINFO, ARM_OLD_RT_SIGFRAME_UCONTEXT) 188866e63ce3Schristos (ARM_NEW_RT_SIGFRAME_UCONTEXT, ARM_NEW_SIGFRAME_MAGIC): New 188966e63ce3Schristos constants. 189066e63ce3Schristos (arm_linux_sigreturn_init, arm_linux_rt_sigreturn_init): Support 189166e63ce3Schristos the new signal frame layouts. 189266e63ce3Schristos 189366e63ce3Schristos2006-07-12 Mike Frysinger <vapier@gentoo.org>: 189466e63ce3Schristos Daniel Jacobowitz <dan@codesourcery.com> 189566e63ce3Schristos 189666e63ce3Schristos * Makefile.in (init.c) [LANG, LC_ALL]: Set to `c'. 189766e63ce3Schristos * gdb_indent.sh, gdb_mbuild.sh, observer.sh: Likewise. 189866e63ce3Schristos * gdbarch.sh: Correct comment. 189966e63ce3Schristos 190066e63ce3Schristos2006-07-12 Daniel Jacobowitz <dan@codesourcery.com> 190166e63ce3Schristos 190266e63ce3Schristos * MAINTAINERS: Add Alfred Szmidt for the Hurd. 190366e63ce3Schristos 190466e63ce3Schristos2006-07-11 Mark Kettenis <kettenis@gnu.org> 190566e63ce3Schristos 190666e63ce3Schristos * alpha-tdep.h (ALPHA_INSN_SIZE): New define. 190766e63ce3Schristos 190866e63ce3Schristos2006-07-10 Mark Kettenis <kettenis@gnu.org> 190966e63ce3Schristos 191066e63ce3Schristos * alphaobsd-tdep.c: New file. 191166e63ce3Schristos * alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Do not register a 191266e63ce3Schristos handler for GDB_OSABI_OPENBSD_ELF. 191366e63ce3Schristos * Makefile.in (ALLDEPFILES): Add alphaobsd-tdep.c. 191466e63ce3Schristos (alphaobsd-tdep.o): New target. 191566e63ce3Schristos * config/alpha/obsd.mt: New file. 191666e63ce3Schristos * configure.tgt (alpha*-*-openbsd*): Set gdb_target to obsd. 191766e63ce3Schristos 191866e63ce3Schristos2006-07-10 Richard Henderson <rth@redhat.com> 191966e63ce3Schristos 192066e63ce3Schristos * alpha-tdep.h (struct gdbarch_tdep): Add return_in_memory. 192166e63ce3Schristos * alpha-tdep.c (alpha_register_byte): Remove. 192266e63ce3Schristos (alpha_extract_struct_value_address): Remove. 192366e63ce3Schristos (alpha_return_value): New. 192466e63ce3Schristos (alpha_return_in_memory_always): New. 192566e63ce3Schristos (alpha_gdbarch_init): Set tdep->return_in_memory. Don't call 192666e63ce3Schristos set_gdbarch_deprecated_register_byte. Do call set_gdbarch_return_value 192766e63ce3Schristos instead of set_gdbarch_deprecated_use_struct_convention, 192866e63ce3Schristos set_gdbarch_extract_return_value, set_gdbarch_store_return_value, 192966e63ce3Schristos or set_gdbarch_deprecated_extract_struct_value_address. 193066e63ce3Schristos * alphafbsd-tdep.c (alphafbsd_return_in_memory): Rename from 193166e63ce3Schristos alphafbsd_use_struct_convention, remove gcc_p argument. 193266e63ce3Schristos (alphafbsd_init_abi): Set tdep->return_in_memory instead of 193366e63ce3Schristos set_gdbarch_deprecated_use_struct_convention. 193466e63ce3Schristos 193566e63ce3Schristos2006-07-09 Mark Kettenis <kettenis@gnu.org> 193666e63ce3Schristos 193766e63ce3Schristos * alphabsd-tdep.h (alphanbsd_regset_from_core_section): New 193866e63ce3Schristos prototype. 193966e63ce3Schristos * alphanbsd-tdep.c (alphanbsd_regset_from_core_section): Handle 194066e63ce3Schristos a.out-style core file format here. Make global. 194166e63ce3Schristos (alphanbsd_regset_from_core_section): Remove. 194266e63ce3Schristos (alphanbsd_sigtramp_offset): Make static. 194366e63ce3Schristos (alphanbsd_aout_init_abi): Remove. 194466e63ce3Schristos (alphanbsd_core_osabi_sniffer): Return GDB_OSABI_NETBSD_ELF for 194566e63ce3Schristos a.out style core files. 194666e63ce3Schristos (_initialize_alphanbsd_tdep): Do not register a handler for 194766e63ce3Schristos GDB_OSABI_NETBSD_AOUT. 194866e63ce3Schristos 194966e63ce3Schristos * alphabsd-tdep.h: Tweak comments. 195066e63ce3Schristos (SIZEOF_STRUCT_REG, SIZEOF_STRUCT_FPREG): Remove. 195166e63ce3Schristos * alphanbsd-tdep.c: Reorder includes. Include "regset.h". 195266e63ce3Schristos (ALPHANBSD_SIZEOF_GREGS, ALPHANBSD_SIZEOF_FPREGS): New defines. 195366e63ce3Schristos (alphanbsd_supply_fpregset, alphanbsd_supply_gregset) 195466e63ce3Schristos (alphanbsd_aout_supply_gregset): New functions. 195566e63ce3Schristos (alphanbsd_gregset, alphanbsd_fpregset, alphanbsd_aout_gregset): 195666e63ce3Schristos New variables. 195766e63ce3Schristos (alphanbsd_regset_from_core_section) 195866e63ce3Schristos (alphanbsd_aout_regset_from_core_section): New functions. 195966e63ce3Schristos (fetch_core_registers, fetch_elfcore_registers): Remove functions. 196066e63ce3Schristos (alphanbsd_core_fns, alphanbsd_elf_fns): Remove variables. 196166e63ce3Schristos (alphanbsd_init_abi): Set regset_from_core_section. 196266e63ce3Schristos (alphanbsd_aout_init_abi, alphanbsd_core_osabi_sniffer): New 196366e63ce3Schristos functions. 196466e63ce3Schristos (_initialize_alphanbsd_tdep): Register NetBSD core file sniffer. 196566e63ce3Schristos Use alphanbsd_aout_init_abi whre appropriate. Don't call 196666e63ce3Schristos deprecated_add_core_fns. 196766e63ce3Schristos * Makefile.in (alphanbsd-tdep.o): Update dependencies. 196866e63ce3Schristos 196966e63ce3Schristos * alphabsd-tdep.c (alphabsd_supply_reg, alphabsd_fill_reg) 197066e63ce3Schristos (alphabsd_supply_fpreg, alphabsd_fill_fpreg): Add missing spaces. 197166e63ce3Schristos 197266e63ce3Schristos * alphanbsd-tdep.c (alphanbsd_init_abi): Use 197366e63ce3Schristos svr4_lp64_fetch_link_map_offsets instead of 197466e63ce3Schristos nbsd_lp64_solib_svr4_fetch_link_map_offsets. 197566e63ce3Schristos 197666e63ce3Schristos2006-07-06 Andrew Stubbs <andrew.stubbs@st.com> 197766e63ce3Schristos 197866e63ce3Schristos * parse.c (write_exp_elt_opcode, write_exp_elt_sym, write_exp_elt_block 197966e63ce3Schristos write_exp_elt_longcst, write_exp_elt_dblcst, write_exp_elt_type, 198066e63ce3Schristos write_exp_elt_intern): Zero initialize tmp. 198166e63ce3Schristos 198266e63ce3Schristos2006-07-05 Daniel Jacobowitz <dan@codesourcery.com> 198366e63ce3Schristos 198466e63ce3Schristos * remote.c (remote_xfer_partial): Remove KOD support. 198566e63ce3Schristos * target.h (enum target_object): Remove TARGET_OBJECT_KOD. 198666e63ce3Schristos * MAINTAINERS: Move Kernel Object Display entry to past maintainers. 198766e63ce3Schristos * Makefile.in (SFILES, kod_h, COMMON_OBS, kod.o, kod-cisco.o): 198866e63ce3Schristos Remove KOD support. 198966e63ce3Schristos * mi/mi-cmds.c (mi_cmds): Remove dummy KOD commands. 199066e63ce3Schristos * NEWS: Mention KOD. 199166e63ce3Schristos * kod.h, kod.c, kod-cisco.c: Delete files. 199266e63ce3Schristos 199366e63ce3Schristos2006-07-04 Daniel Jacobowitz <dan@codesourcery.com> 199466e63ce3Schristos 199566e63ce3Schristos * remote.c (init_remote_state): Use xrealloc instead of xmalloc. 199666e63ce3Schristos 199766e63ce3Schristos2006-07-03 Nathan J. Williams <nathanw@wasabisystems.com> 199866e63ce3Schristos 199966e63ce3Schristos * bsd-kvm.c (bsd_kvm_open): Open the KVM interface read-write if 200066e63ce3Schristos write_files is set. 200166e63ce3Schristos 200266e63ce3Schristos2006-06-24 Eli Zaretskii <eliz@gnu.org> 200366e63ce3Schristos 200466e63ce3Schristos * defs.h (DIRNAME_SEPARATOR) [!__CYGWIN__ && _WIN32]: Define to `;'. 200566e63ce3Schristos 200666e63ce3Schristos2006-06-23 Daniel Jacobowitz <dan@codesourcery.com> 200766e63ce3Schristos 200866e63ce3Schristos * arm-tdep.c (arm_register_type): Use unsigned types for registers. 200966e63ce3Schristos Add special types for sp and pc. 201066e63ce3Schristos * Makefile.in (arm-tdep.o): Update. 201166e63ce3Schristos 201266e63ce3Schristos2006-06-22 Daniel Jacobowitz <dan@codesourcery.com> 201366e63ce3Schristos 201466e63ce3Schristos * remote.c (remote_escape_output): New function. 201566e63ce3Schristos (remote_write_bytes): Use remote_escape_output. 201666e63ce3Schristos 201766e63ce3Schristos2006-06-21 Daniel Jacobowitz <dan@codesourcery.com> 201866e63ce3Schristos 201966e63ce3Schristos * NEWS: Mention qSupported. 202066e63ce3Schristos * remote.c (struct remote_state): Add explicit_packet_size. 202166e63ce3Schristos (get_remote_packet_size): Check explicit_packet_size. 202266e63ce3Schristos (get_memory_packet_size): Likewise. 202366e63ce3Schristos (PACKET_qSupported): New enum value. 202466e63ce3Schristos (struct protocol_feature, remote_supported_packet) 202566e63ce3Schristos (remote_packet_size, remote_protocol_features) 202666e63ce3Schristos (remote_query_supported): New. 202766e63ce3Schristos (remote_open_1): Reset explicit_packet_size. Call 202866e63ce3Schristos remote_query_supported. 202966e63ce3Schristos (_initialize_remote): Register qSupported. 203066e63ce3Schristos 203166e63ce3Schristos2006-06-21 Andrew Stubbs <andrew.stubbs@st.com> 203266e63ce3Schristos 203366e63ce3Schristos * cli/cli-script.c (realloc_body_list): Zero new parts of body_list. 203466e63ce3Schristos 203566e63ce3Schristos2006-06-20 Joel Brobecker <brobecker@adacore.com> 203666e63ce3Schristos 203766e63ce3Schristos * GDB 6.5 released from GDB 6.5 branch. 203866e63ce3Schristos 203966e63ce3Schristos2006-06-19 Michael Snyder <msnyder@redhat.com> 204066e63ce3Schristos 204166e63ce3Schristos * mips-tdep.c (mips_eabi_push_dummy_call): For 32 bit ABI, to 204266e63ce3Schristos decide how many registers it takes to pass a floating point 204366e63ce3Schristos argument, what matters is the size of a floating point register 204466e63ce3Schristos (not the size of a general purpose register). 204566e63ce3Schristos (mips_o32_push_dummy_call): Ditto. 204666e63ce3Schristos 204766e63ce3Schristos2006-06-19 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> 204866e63ce3Schristos 204966e63ce3Schristos * configure.tgt: Add gdbserver support for m32r-linux. 205066e63ce3Schristos 205166e63ce3Schristos2006-06-18 Mark Kettenis <kettenis@gnu.org> 205266e63ce3Schristos 205366e63ce3Schristos * m68klinux-tdep.c (m68k_linux_init_abi): Fix typo in comment. 205466e63ce3Schristos 205566e63ce3Schristos2006-06-15 Daniel Jacobowitz <dan@codesourcery.com> 205666e63ce3Schristos 205766e63ce3Schristos * infrun.c (insert_step_resume_breakpoint_at_caller): New function, 205866e63ce3Schristos based on insert_step_resume_breakpoint_at_frame. 205966e63ce3Schristos (handle_inferior_event): Update comments. Use 206066e63ce3Schristos insert_step_resume_breakpoint_at_caller. 206166e63ce3Schristos (insert_step_resume_breakpoint_at_frame): Revise comments. 206266e63ce3Schristos 206366e63ce3Schristos2006-06-14 Daniel Jacobowitz <dan@codesourcery.com> 206466e63ce3Schristos 206566e63ce3Schristos * dwarf2read.c (read_unspecified_type): New function. 206666e63ce3Schristos (read_type_die): Handle DW_TAG_unspecified_type. 206766e63ce3Schristos (Committed by Julian Brown.) 206866e63ce3Schristos 206966e63ce3Schristos2006-06-13 Daniel Jacobowitz <dan@codesourcery.com> 207066e63ce3Schristos 207166e63ce3Schristos * symfile.c (load_command): Check for a changed executable before 207266e63ce3Schristos "load". 207366e63ce3Schristos 207466e63ce3Schristos2006-06-13 Fred Fish <fnf@specifix.com> 207566e63ce3Schristos 207666e63ce3Schristos * mips-tdep.c (mips_find_long_section): New function. 207766e63ce3Schristos (mips_gdbarch_init): Use it to set long and pointer sizes. 207866e63ce3Schristos 207966e63ce3Schristos2006-06-13 Nathan Sidwell <nathan@codesourcery.com> 208066e63ce3Schristos 208166e63ce3Schristos * remote-file.io.c (remote_fileio_func_system): Treat zero length 208266e63ce3Schristos string as NULL. Adjust for NULL pointer argument. 208366e63ce3Schristos 208466e63ce3Schristos2006-06-12 Daniel Jacobowitz <dan@codesourcery.com> 208566e63ce3Schristos 208666e63ce3Schristos * remote.c (set_remote_protocol_packet_cmd) 208766e63ce3Schristos (show_remote_protocol_packet_cmd): New prototypes. 208866e63ce3Schristos (remote_set_cmdlist, remote_show_cmdlist): Move higher. 208966e63ce3Schristos (struct packet_config): Make name and title const. 209066e63ce3Schristos (add_packet_config_cmd): Remove unnecessary arguments. 209166e63ce3Schristos (_initialize_remote): Update calls. 209266e63ce3Schristos 209366e63ce3Schristos2006-06-10 Daniel Jacobowitz <dan@codesourcery.com> 209466e63ce3Schristos 209566e63ce3Schristos * mingw-hdep.c (gdb_select): Always check for NULL fd sets 209666e63ce3Schristos before calling FD_ISSET. Correct check for exceptfds which 209766e63ce3Schristos previously tested writefds. 209866e63ce3Schristos 209966e63ce3Schristos2006-06-09 Daniel Jacobowitz <dan@codesourcery.com> 210066e63ce3Schristos Julian Brown <julian@codesourcery.com> 210166e63ce3Schristos 210266e63ce3Schristos * dwarf2read.c (partial_read_comp_unit_head): Accept version 3. 210366e63ce3Schristos 210466e63ce3Schristos2006-06-09 Julian Brown <julian@codesourcery.com> 210566e63ce3Schristos 210666e63ce3Schristos * MAINTAINERS (Write After Approval): Add myself. 210766e63ce3Schristos 210866e63ce3Schristos2006-06-08 Michael Snyder <msnyder@redhat.com> 210966e63ce3Schristos 211066e63ce3Schristos * mips-tdep.c (fp_register_arg_p): Recognize floating point typedefs. 211166e63ce3Schristos 211266e63ce3Schristos2006-06-08 Nathan Sidwell <nathan@codesourcery.com> 211366e63ce3Schristos 211466e63ce3Schristos * m68k-tdep.c (m68k_dwarf_reg_to_regnum): New. 211566e63ce3Schristos (m68k_gdbarch_init): Set it for dwarf & dwarf2 reg number 211666e63ce3Schristos conversion. Use M68K_NUM_REGS for number of regs. 211766e63ce3Schristos 211866e63ce3Schristos * remote-fileio.c (remote_fileio_reset): New. 211966e63ce3Schristos * remote-fileio.h (remote_fileio_reset): Prototype. 212066e63ce3Schristos * remote.c (extended_remote_restart, remote_open_1): Call it. 212166e63ce3Schristos 212266e63ce3Schristos * remote.c (remote_open_1): Do preopen tasks before 212366e63ce3Schristos irreversably destroying state. 212466e63ce3Schristos 212566e63ce3Schristos2006-06-08 Daniel Jacobowitz <dan@codesourcery.com> 212666e63ce3Schristos 212766e63ce3Schristos * remote.c (struct remote_state): New type, only containing 212866e63ce3Schristos buf and buf_size. 212966e63ce3Schristos (remote_state): New variable. 213066e63ce3Schristos (get_remote_state): New function. 213166e63ce3Schristos (struct remote_arch_state): Renamed from struct remote_state. 213266e63ce3Schristos Removed buf and buf_size. 213366e63ce3Schristos (get_remote_arch_state): Renamed from get_remote_state. All 213466e63ce3Schristos necessary callers updated to call this function. 213566e63ce3Schristos (init_remote_state): Initialize the architecture-specific state. 213666e63ce3Schristos Update the target-specific state if necessary. 213766e63ce3Schristos (get_remote_packet_size): New function. All previous references 213866e63ce3Schristos changed to use this accessor function. 213966e63ce3Schristos (packet_reg_from_regnum, packet_reg_from_pnum): Take a 214066e63ce3Schristos remote_arch_state instead of a remote_state. All callers changed. 214166e63ce3Schristos (_initialize_remote): Initialize the packet buffer here. 214266e63ce3Schristos 214366e63ce3Schristos2006-06-06 Nathan Sidwell <nathan@codesourcery.com> 214466e63ce3Schristos 214566e63ce3Schristos * remote.c (remote_insert_watchpoint): Return -1, rather than 214666e63ce3Schristos fatal error if packet is disabled. 214766e63ce3Schristos (remote_remove_watchpoint, remote_insert_hw_breakpoint, 214866e63ce3Schristos remote_remove_hw_breakpoint): Likewise. 214966e63ce3Schristos 215066e63ce3Schristos2006-06-02 Nick Roberts <nickrob@snap.net.nz> 215166e63ce3Schristos 215266e63ce3Schristos * breakpoint.c (print_it_typical): Use EXEC_ASYNC_LOCATION_REACHED. 215366e63ce3Schristos 215466e63ce3Schristos2006-05-31 Michael Snyder <msnyder@redhat.com> 215566e63ce3Schristos 215666e63ce3Schristos * mips-tdep.c: Comment tweaks. 215766e63ce3Schristos 215866e63ce3Schristos2006-05-31 Daniel Jacobowitz <dan@codesourcery.com> 215966e63ce3Schristos 216066e63ce3Schristos * Makefile.in (top_builddir): Update comments. 216166e63ce3Schristos (INTL_DIR, INTL_SRC): Delete. 216266e63ce3Schristos (INTL, INTL_DEPS, INTL_CFLAGS): Update. 216366e63ce3Schristos * acinclude.m4: Include new gettext macros. 216466e63ce3Schristos * configure.ac: Use ZW_GNU_GETTEXT_SISTER_DIR. Remove copied 216566e63ce3Schristos CATALOGS code. 216666e63ce3Schristos * aclocal.m4, configure: Regenerated. 216766e63ce3Schristos 216866e63ce3Schristos2006-05-30 Daniel Jacobowitz <dan@codesourcery.com> 216966e63ce3Schristos 217066e63ce3Schristos * Makefile.in (arm-linux-nat.o): Update dependencies. 217166e63ce3Schristos * arm-linux-nat.c: Include "gdb_proc_service.h". 217266e63ce3Schristos (PTRACE_GET_THREAD_AREA): Define. 217366e63ce3Schristos (ps_get_thread_area): New function. 217466e63ce3Schristos 217566e63ce3Schristos2006-05-28 Alexandre Oliva <aoliva@redhat.com> 217666e63ce3Schristos 217766e63ce3Schristos * dwarf2-frame.h (enum dwarf2_frame_reg_rule): Add 217866e63ce3Schristos DWARF2_FRAME_REG_SAVED_VAL_OFFSET and 217966e63ce3Schristos DWARF2_FRAME_REG_SAVED_VAL_EXP. 218066e63ce3Schristos * dwarf2-frame.c (execute_cfa_program): Handle val_offset, 218166e63ce3Schristos val_offset_sf and val_expression. 218266e63ce3Schristos (dwarf2_frame_prev_register): Handle the new reg rules. 218366e63ce3Schristos (dwarf2_frame_this_id): Use pc instead of function entry point. 218466e63ce3Schristos 218566e63ce3Schristos2006-05-28 Alexandre Oliva <aoliva@redhat.com> 218666e63ce3Schristos 218766e63ce3Schristos * dwarf2-frame.c (struct dwarf2_cie): Add signal_frame field. 218866e63ce3Schristos (dwarf2_frame_sniffer): Use it. 218966e63ce3Schristos (decode_frame_entry_1): Set it according to augmentation "S". 219066e63ce3Schristos 219166e63ce3Schristos2006-05-27 Joel Brobecker <brobecker@adacore.com> 219266e63ce3Schristos 219366e63ce3Schristos From Peter Schauer <peterschauer@gmx.net> 219466e63ce3Schristos * m2-typeprint.c (m2_record_fields): Move variable declarations 219566e63ce3Schristos to the begining of the block. 219666e63ce3Schristos 219766e63ce3Schristos2006-05-23 Mark Mitchell <mark@codesourcery.com> 219866e63ce3Schristos 219966e63ce3Schristos * mt-tdep.c (mt_register_name): Correct out-of-range logic to 220066e63ce3Schristos include additional registers. 220166e63ce3Schristos 220266e63ce3Schristos * mt-tdep.c (mt_gdb_regnums): Add ZI2, ZQ2, Ichannel2, 220366e63ce3Schristos Iscramb2, Qscramb2, Qchannel2. 220466e63ce3Schristos (mt_register_name): Likewise. 220566e63ce3Schristos (mt_copro_register_type): Describe ZI2 and ZQ2. 220666e63ce3Schristos 220766e63ce3Schristos * mt-tdep.c (mt_gdb_regnums): Define 220866e63ce3Schristos MT_COPRO_PSEUDOREG_MAC_REGNUM. 220966e63ce3Schristos (mt_register_name): Use it. 221066e63ce3Schristos (mt_copro_register_type): Likewise. 221166e63ce3Schristos (mt_register_type): Likewise. 221266e63ce3Schristos (mt_pseudo_register_read): Likewise. Read the MAC register, not 221366e63ce3Schristos the coprocessor register. 221466e63ce3Schristos (mt_pseudo_register_write): Likewise. 221566e63ce3Schristos 221666e63ce3Schristos2006-05-21 Christopher Faylor <cgf@timesys.com> 221766e63ce3Schristos 221866e63ce3Schristos * win32-nat.c (cygwin_exceptions): New variable. 221966e63ce3Schristos (handle_exception): Treat a cygwin exception like a normal exception if 222066e63ce3Schristos cygwin_exceptions is true. 222166e63ce3Schristos (_initialize_win32_nat): Add "set cygwin-exceptions" handler. 222266e63ce3Schristos 222366e63ce3Schristos2006-05-20 Gaius Mulley <gaius@glam.ac.uk> 222466e63ce3Schristos 222566e63ce3Schristos * NEWS: (Improved Modula-2 language support): New section. 222666e63ce3Schristos 222766e63ce3Schristos2006-05-19 Joel Brobecker <brobecker@adacore.com> 222866e63ce3Schristos 222966e63ce3Schristos * configure: Regenerate using proper version of autoconf. 223066e63ce3Schristos 223166e63ce3Schristos2006-05-19 Fred Fish <fnf@specifix.com> 223266e63ce3Schristos 223366e63ce3Schristos * Makefile.in: Fix spelling of 'explicitly' and 'explicit'. 223466e63ce3Schristos * dwarfread.c: Fix spelling of 'unexpected'. 223566e63ce3Schristos * mips-tdep.c: Fix spelling of 'possible' and 'Determine'. 223666e63ce3Schristos * stack.c: Fix spelling of 'RETURN_VALUE'. 223766e63ce3Schristos 223866e63ce3Schristos2006-05-18 Paul Gilliam <pgilliam@us.ibm.com 223966e63ce3Schristos 224066e63ce3Schristos * solib-svr4.c (enable_break): Breakup a long line into 3 shorter ones. 224166e63ce3Schristos 224266e63ce3Schristos2006-05-17 Daniel Jacobowitz <dan@codesourcery.com> 224366e63ce3Schristos 224466e63ce3Schristos * dwarf2-frame.c: Include "value.h". 224566e63ce3Schristos (read_reg): Use unpack_long and register_type. 224666e63ce3Schristos * Makefile.in (dwarf2-frame.o): Update. 224766e63ce3Schristos 224866e63ce3Schristos2006-05-17 Daniel Jacobowitz <dan@codesourcery.com> 224966e63ce3Schristos 225066e63ce3Schristos * remote-rdp.c: Deleted. 225166e63ce3Schristos * NEWS: Mention removal of remote-rdp.c. 225266e63ce3Schristos 225366e63ce3Schristos * Makefile.in (ALLDEPFILES): Remove remote-rdp.c. 225466e63ce3Schristos (remote-rdp.o): Delete. 225566e63ce3Schristos * README: Remove description of remote-rdp.c. 225666e63ce3Schristos * arm-tdep.c (arm_breakpoint_from_pc): Remove obsolete comment. 225766e63ce3Schristos * config/arm/embed.mt (TDEPFILES): Remove remote-rdp.o. 225866e63ce3Schristos 225966e63ce3Schristos2006-05-16 Daniel Jacobowitz <dan@codesourcery.com> 226066e63ce3Schristos 226166e63ce3Schristos * ser-e7kpc.c: Include <time.h> if it is available. 226266e63ce3Schristos 226366e63ce3Schristos2006-05-16 Joel Brobecker <brobecker@adacore.com> 226466e63ce3Schristos 226566e63ce3Schristos * version.in (version.in): Bump version number to 6.5.50 now 226666e63ce3Schristos that the gdb-6.5 branch has been created. 226766e63ce3Schristos * NEWS: Create a new section for changes that are included 226866e63ce3Schristos since gdb-6.5. Name the "since gdb-6.4" section as the "in gdb-6.5" 226966e63ce3Schristos section. 227066e63ce3Schristos 227166e63ce3Schristos2006-05-16 Jim Blandy <jimb@codesourcery.com> 227266e63ce3Schristos 227366e63ce3Schristos * MAINTAINERS (Authorized Committers): Gaius Mulley has accepted 227466e63ce3Schristos the Global Maintainers' invitation to be an authorized committer 227566e63ce3Schristos for the Modula-2 support. 227666e63ce3Schristos 227766e63ce3Schristos2006-05-15 Mark Kettenis <kettenis@gnu.org> 227866e63ce3Schristos 227966e63ce3Schristos * ppcobsd-nat.c: Include "gdb_assert.h". 228066e63ce3Schristos [PT_GETFPREGS] (getfpregs_supplies): New function. 228166e63ce3Schristos (ppcobsd_fetch_registers, ppcobsd_fetch_registers): Hanlde OS 228266e63ce3Schristos versions that have PT_GETFPREGS. 228366e63ce3Schristos (_initialize_ppcobsd_nat) [PT_GETFPREGS]: Initialize 228466e63ce3Schristos ppcobsd_fpreg_offsets. 228566e63ce3Schristos * ppcobsd-tdep.h (ppcobsd_fpreg_offsets, ppcobsd_fpregset): 228666e63ce3Schristos Declare. 228766e63ce3Schristos * ppcobsd-tdep.c (ppcobsd_fpreg_offsets, ppcobsd_fpregset): New 228866e63ce3Schristos variables. 228966e63ce3Schristos (_initialize_ppcobsd_tdep): Initialize ppcobsd_fpreg_offsets. 229066e63ce3Schristos * Makefile.in (ppcobsd-nat.o): Update dependencies. 229166e63ce3Schristos 229266e63ce3Schristos2006-05-15 Daniel Jacobowitz <dan@codesourcery.com> 229366e63ce3Schristos 229466e63ce3Schristos * configure.ac: Use GCC_HEADER_STDINT. 229566e63ce3Schristos * acinclude.m4: Include stdint.m4. 229666e63ce3Schristos * Makefile.in (gdb_stdint_h): Define. 229766e63ce3Schristos (distclean): Remove gdb_stdint.h. 229866e63ce3Schristos (Makefile, stamp-h): Update rules to generate only the correct 229966e63ce3Schristos files. 230066e63ce3Schristos (gdb_stdint.h, stamp-int): New rules. 230166e63ce3Schristos * config.in, configure: Regenerated. 230266e63ce3Schristos 230366e63ce3Schristos2006-05-15 Daniel Jacobowitz <dan@codesourcery.com> 230466e63ce3Schristos 230566e63ce3Schristos * valprint.c: Include "exceptions.h". 230666e63ce3Schristos (val_print): If something goes wrong while printing, supply an 230766e63ce3Schristos error message. 230866e63ce3Schristos 230966e63ce3Schristos2006-05-15 Peter O'Gorman <gdb-patches@mlists.thewrittenword.com> 231066e63ce3Schristos 231166e63ce3Schristos * source.c (get_current_source_symtab_and_line) 231266e63ce3Schristos (set_current_source_symtab_and_line): Use { 0 }. 231366e63ce3Schristos * cli/cli-cmds.c (list_command): Likewise. 231466e63ce3Schristos 231566e63ce3Schristos2006-05-14 Nick Roberts <nickrob@snap.net.nz> 231666e63ce3Schristos 231766e63ce3Schristos * mi/gdb-mi.el (gdbmi-send): Correct regexp for repeat commands. 231866e63ce3Schristos (gdbmi): Use new variable name gdb-pc-address. 231966e63ce3Schristos (gdbmi-frame-handler): Use new variable name gdb-pc-address. 232066e63ce3Schristos Check that a match has been found. 232166e63ce3Schristos 232266e63ce3Schristos2006-05-13 Gaius Mulley <gaius@glam.ac.uk> 232366e63ce3Schristos 232466e63ce3Schristos * m2-lang.h: Added function extern prototypes for 232566e63ce3Schristos m2_is_long_set and get_long_set_bounds. 232666e63ce3Schristos * m2-typeprint.c: Complete replacement. 232766e63ce3Schristos (m2_print_type): Walk the Modula-2 type tree. 232866e63ce3Schristos (m2_type_name): New function. 232966e63ce3Schristos (m2_range): New function. 233066e63ce3Schristos (m2_typedef): New function. 233166e63ce3Schristos (m2_array): New function. 233266e63ce3Schristos (m2_pointer): New function. 233366e63ce3Schristos (m2_ref): New function. 233466e63ce3Schristos (m2_unknown): New function. 233566e63ce3Schristos (m2_union): New function. 233666e63ce3Schristos (m2_procedure): New function. 233766e63ce3Schristos (m2_print_bounds): New function. 233866e63ce3Schristos (m2_short_set): New function. 233966e63ce3Schristos (m2_is_long_set): New function. 234066e63ce3Schristos (m2_get_discrete_bounds): New function. 234166e63ce3Schristos (m2_is_long_set_of_type): New function. 234266e63ce3Schristos (m2_long_set): New function. 234366e63ce3Schristos (m2_record_fields): New function. 234466e63ce3Schristos (m2_enum): New function. 234566e63ce3Schristos * dwarf2read.c: Modified. 234666e63ce3Schristos (read_set_type): New function. 234766e63ce3Schristos (process_die): Call read_set_type. 234866e63ce3Schristos (read_base_type): Modifed. 234966e63ce3Schristos (set_cu_language): Added Modula-2 case clause. 235066e63ce3Schristos * m2-valprint.c: Complete replacement. 235166e63ce3Schristos (print_function_pointer_address): New function. 235266e63ce3Schristos (get_long_set_bounds): New function. 235366e63ce3Schristos (m2_print_long_set): New function. 235466e63ce3Schristos (print_unpacked_pointer): New function. 235566e63ce3Schristos (print_variable_at_address): New function. 235666e63ce3Schristos (m2_val_print): Replaced. 2357*1424dfb3Schristos * MAINTAINERS (Write After Approval): Added 235866e63ce3Schristos Gaius Mulley <gaius@glam.ac.uk> 235966e63ce3Schristos 236066e63ce3Schristos2006-05-12 Mark Kettenis <kettenis@gnu.org> 236166e63ce3Schristos 236266e63ce3Schristos * ppcnbsd-tdep.h: Update copyright year. Include <stddef.h> 236366e63ce3Schristos (ppcnbsd_supply_reg, ppcnbsd_fill_reg, ppcnbsd_supply_fpreg) 236466e63ce3Schristos (ppcnbsd_fill_fpreg): Remove prototypes. 236566e63ce3Schristos (struct regset): Add forward declaration. 236666e63ce3Schristos (ppcnbsd_gregset, ppcnbsd_fpregset): Extern declarations. 236766e63ce3Schristos * ppcnbsd-tdep.c: Update copyright year. Include "gdbtypes.h", 236866e63ce3Schristos "regset.h" and "gdb_string.h". Don't include "breakpoint.h", 236966e63ce3Schristos "value.h", target.h and nbsd-tdep.h". Reorder includes. 237066e63ce3Schristos (REG_FIXREG_OFFSET, REG_LR_OFFSET, REG_CR_OFFSET, REG_XER_OFFSET) 237166e63ce3Schristos (REG_CTR_OFFSET, REG_PC_OFFSET, SIZEOF_STRUCT_REG) 237266e63ce3Schristos (FPREG_FPR_OFFSET, FPREG_FPSCR_OFFSET, SIZEOF_STRUCT_FPREG): 237366e63ce3Schristos Remove macros. 237466e63ce3Schristos (ppcnbsd_supply_reg, ppcnbsd_fill_reg, ppcnbsd_supply_fpreg) 237566e63ce3Schristos (ppcnbsd_fill_fpreg): Remove functions. 237666e63ce3Schristos (fetch_core_registers, fetch_elfcore_registers): Remove functions. 237766e63ce3Schristos (ppcnbsd_core_fns, ppcnbsd_elfcore_fns): Remove variables. 237866e63ce3Schristos (ppcnbsd_reg_offsets): New variable. 237966e63ce3Schristos (ppcnbsd_gregset, ppcnbsd_fpregset): New variables. 238066e63ce3Schristos (ppcnbsd_sigtramp_cache_init): Deal with new signal trampoline 238166e63ce3Schristos introduced in NetBSD 2.0. 238266e63ce3Schristos (ppcnbsd_sigtramp): Provide complete signal trampoline. 238366e63ce3Schristos (ppcnbsd2_sigtramp): New variable. 238466e63ce3Schristos (ppcnbsd_init_abi): Set svr4_fetch_link_map_offsets to 238566e63ce3Schristos svr4_ilp32_fetch_link_map_offsets. Set regset_from_core_section. 238666e63ce3Schristos Add ppcnbs2_sigtramp unwinder. 238766e63ce3Schristos (_initialize_ppcnbsd_tdep): Don't use deprecated_add_core_fns. 238866e63ce3Schristos Initialize ppcnbsd_reg_offsets. 238966e63ce3Schristos * ppcnbsd-nat.c: Update copyright year. Reorder includes. 239066e63ce3Schristos (getregs_supplies): Use regnum instead of regno. 239166e63ce3Schristos (getfpregs_supplies): Likewise. 239266e63ce3Schristos (ppcnbsd_fetch_inferior_registers): Likewise. Call 239366e63ce3Schristos ppc_supply_gregset and ppc_suppply_fpregset instead of 239466e63ce3Schristos ppcnbsd_supply_reg and ppcnbsd_supply_fpreg 239566e63ce3Schristos (ppcnbsd_store_inferior_registers): Likewise. Call 239666e63ce3Schristos ppc_collect_gregset and ppc_collect_fpregset instead of 239766e63ce3Schristos ppcnbsd_fill_reg and ppcnbsd_fill_fpreg. 239866e63ce3Schristos (ppcnbsd_supply_pcb): Use `gdb_byte *' instead of `char *'. 239966e63ce3Schristos (_initialize_ppcnbsd_nat): Add some whitespace. 240066e63ce3Schristos * Makefile.in (ppcnbsd-nat.o, ppcnbsd-tdep.o): Update dependencies. 240166e63ce3Schristos * config/powerpc/nbsd.mh (NATDEPFILES): Remove infptrace.o. 240266e63ce3Schristos (NAT_FILE): Remove. 240366e63ce3Schristos * config/powerpc/nbsd.mt (TDEPFILES): Remove nbsd-tdep.o. 240466e63ce3Schristos 240566e63ce3Schristos2006-05-11 Alfred M. Szmidt <ams@gnu.org> 240666e63ce3Schristos 240766e63ce3Schristos * gnu-nat.c (inf_validate_procs): Don't use lvalue in assignments. 240866e63ce3Schristos 240966e63ce3Schristos2006-05-11 Fred Fish <fnf@specifix.com> 241066e63ce3Schristos 241166e63ce3Schristos * symtab.c (skip_prologue_using_sal): Handle single line functions 241266e63ce3Schristos like "foo(){}", which may optimize down to a single return inst. 241366e63ce3Schristos 241466e63ce3Schristos2006-05-10 Steve Ellcey <sje@cup.hp.com> 241566e63ce3Schristos 241666e63ce3Schristos * hppa-hpux-tdep.c (initialize_hp_cxx_exception_support): Remove 241766e63ce3Schristos message. 241866e63ce3Schristos 241966e63ce3Schristos2006-05-09 Andreas Schwab <schwab@suse.de> 242066e63ce3Schristos 242166e63ce3Schristos * dwarf2-frame.c (struct dwarf2_fde): Add eh_frame_p. 242266e63ce3Schristos (execute_cfa_program): Add parameter eh_frame_p. Call 242366e63ce3Schristos dwarf2_frame_eh_frame_regnum when true. 242466e63ce3Schristos (dwarf2_frame_cache): Pass eh_frame_p from fde to 242566e63ce3Schristos execute_cfa_program. 242666e63ce3Schristos (decode_frame_entry_1): Call dwarf2_frame_eh_frame_regnum when 242766e63ce3Schristos processing .eh_frame. Copy eh_frame_p to the new fde. 242866e63ce3Schristos (struct dwarf2_frame_ops): Add eh_frame_regnum. 242966e63ce3Schristos (dwarf2_frame_set_eh_frame_regnum): Define. 243066e63ce3Schristos (dwarf2_frame_eh_frame_regnum): Define. 243166e63ce3Schristos 243266e63ce3Schristos * dwarf2-frame.h (dwarf2_frame_set_eh_frame_regnum): Declare. 243366e63ce3Schristos (dwarf2_frame_eh_frame_regnum): Declare. 243466e63ce3Schristos 243566e63ce3Schristos2006-05-06 David S. Miller <davem@sunset.davemloft.net> 243666e63ce3Schristos 243766e63ce3Schristos * linux-nat.c (linux_nat_do_thread_registers): Check for 243866e63ce3Schristos NULL collect_regset method. 243966e63ce3Schristos 244066e63ce3Schristos2006-05-06 Ulrich Weigand <uweigand@de.ibm.com> 244166e63ce3Schristos 244266e63ce3Schristos * s390-tdep.c (s390_collect_regset): New function. 244366e63ce3Schristos (s390_gregset, s390x_gregset, s390_fpregset): Add it. 244466e63ce3Schristos 244566e63ce3Schristos2006-05-06 Nick Roberts <nickrob@snap.net.nz> 244666e63ce3Schristos 244766e63ce3Schristos * dwarf2read.c: Make LOC_OPTIMIZED_OUT the default value for a 244866e63ce3Schristos symbol. 244966e63ce3Schristos 245066e63ce3Schristos2006-05-05 Ulrich Weigand <uweigand@de.ibm.com> 245166e63ce3Schristos 245266e63ce3Schristos * linux-nat.c (exit_lwp): Fix NULL pointer access. 245366e63ce3Schristos (linux_nat_handle_extended): New parameter STOPPING. 245466e63ce3Schristos (wait_lwp): Call it with STOPPING equals 1. 245566e63ce3Schristos (linux_nat_wait): Call it with STOPPING equals 0. 245666e63ce3Schristos 245766e63ce3Schristos2006-05-05 Ulrich Weigand <uweigand@de.ibm.com> 245866e63ce3Schristos 245966e63ce3Schristos * linux-nat.c (linux_nat_wait): Do not short-cut reporting 246066e63ce3Schristos of 'uninteresting' signals when single-stepping. 246166e63ce3Schristos 246266e63ce3Schristos2006-05-05 Daniel Jacobowitz <dan@codesourcery.com> 246366e63ce3Schristos 246466e63ce3Schristos * MAINTAINERS: Move NEWS to the documentation entry. 246566e63ce3Schristos 246666e63ce3Schristos2006-05-05 David S. Miller <davem@sunset.davemloft.net> 246766e63ce3Schristos 246866e63ce3Schristos * linux-nat.c (linux_nat_do_thread_registers): Use the 246966e63ce3Schristos regset_from_core_section infrastructure if the target 247066e63ce3Schristos supports it. 247166e63ce3Schristos * Makefile.in: Update dependencies. 247266e63ce3Schristos * linux-thread-db.c (thread_db_store_registers): Use 247366e63ce3Schristos regcache_raw_collect. 247466e63ce3Schristos 247566e63ce3Schristos2006-05-05: Paul Gilliam <pgilliam@us.ibm.com> 247666e63ce3Schristos 247766e63ce3Schristos * ppc-linux-nat.c: Clean up types for ptrace. 247866e63ce3Schristos Replace (CORE_ADDR) with (uintptr_t) to avoid the size difference 247966e63ce3Schristos between a CORE_ADDR and a void* on ppc64 systems compiled for 32-bits. 248066e63ce3Schristos 248166e63ce3Schristos2006-05-05 Daniel Jacobowitz <dan@codesourcery.com> 248266e63ce3Schristos 248366e63ce3Schristos * remote.c (remote_disconnect): Add TARGET argument. 248466e63ce3Schristos * target.c (debug_to_disconnect): Delete. 248566e63ce3Schristos (update_current_target): Do not inherit to_disconnect. 248666e63ce3Schristos (target_disconnect): Search for a target to implement to_disconnect. 248766e63ce3Schristos (setup_target_debug): Do not reference to_disconnect. 248866e63ce3Schristos * target.h (struct target_ops): Add target argument to 248966e63ce3Schristos to_disconnect. 249066e63ce3Schristos 249166e63ce3Schristos2006-05-06 Fred Fish <fnf@specifix.com> 249266e63ce3Schristos 249366e63ce3Schristos * mips-tdep.c (mips_o64_push_dummy_call): Left shift big endian 249466e63ce3Schristos structs or unions independent of ABI register size. 249566e63ce3Schristos 249666e63ce3Schristos2006-05-06 Fred Fish <fnf@specifix.com> 249766e63ce3Schristos 249866e63ce3Schristos * mips-tdep.c (mips_o64_return_value): Replace stub that always 249966e63ce3Schristos returned RETURN_VALUE_STRUCT_CONVENTION with a real function. 250066e63ce3Schristos 250166e63ce3Schristos2006-05-05 Daniel Jacobowitz <dan@codesourcery.com> 250266e63ce3Schristos 250366e63ce3Schristos * mi/mi-main.c (captured_mi_execute_command): Check the return 250466e63ce3Schristos value of -interpreter-exec. 250566e63ce3Schristos 250666e63ce3Schristos2006-05-03 Vladimir Prus <ghost@cs.msu.su> 250766e63ce3Schristos 250866e63ce3Schristos * varobj.c (c_value_of_variable): Ignore top-level references. 250966e63ce3Schristos (Committed by Jim Blandy.) 251066e63ce3Schristos 251166e63ce3Schristos2006-04-30 Mark Kettenis <kettenis@gnu.org> 251266e63ce3Schristos 251366e63ce3Schristos * breakpoint.c (insert_single_step_breakpoint): Make a failure to 251466e63ce3Schristos insert a single-step breakpoint an error instead of a warning. 251566e63ce3Schristos 251666e63ce3Schristos2006-05-01 Nathan J. Williams <nathanw@wasabisystems.com> 251766e63ce3Schristos 251866e63ce3Schristos * ppcnbsd-tdep.c (ppcnbsd_return_value): Change type of last two 251966e63ce3Schristos arguments from void * to gdb_byte *. 252066e63ce3Schristos 252166e63ce3Schristos2006-04-26 Michael Snyder <msnyder@redhat.com> 252266e63ce3Schristos 252366e63ce3Schristos * linux-fork.c (_initialize_linux_fork): Rename "delete-fork" 252466e63ce3Schristos command to "delete fork" (no hyphen), compatible with other 252566e63ce3Schristos "delete" commands. 252666e63ce3Schristos (info_forks_command): Accept a fork ID argument, for info 252766e63ce3Schristos on a single fork. Report if no matching forks. 252866e63ce3Schristos 252966e63ce3Schristos2006-04-25 Mark Kettenis <kettenis@gnu.org> 253066e63ce3Schristos 253166e63ce3Schristos * breakpoint.c (remove_single_step_breakpoints): Bail out early if 253266e63ce3Schristos no breakpoints are inserted. 253366e63ce3Schristos 253466e63ce3Schristos From Masaki MURANAKA <monaka@monami-software.com>: 253566e63ce3Schristos * mips-mdebug-tdep.c (mips_mdebug_frame_prev_register): Change 253666e63ce3Schristos type of last argument to `gdb_byte *' 253766e63ce3Schristos 253866e63ce3Schristos2006-04-25 Jim Blandy <jimb@codesourcery.com> 253966e63ce3Schristos 254066e63ce3Schristos Add support for 'target remote |' on MinGW. 254166e63ce3Schristos * ser-mingw.c (struct pipe_state): New structure. 254266e63ce3Schristos (make_pipe_state, free_pipe_state, cleanup_pipe_state) 254366e63ce3Schristos (pipe_windows_open, pipe_windows_close, pipe_windows_read) 254466e63ce3Schristos (pipe_windows_write, pipe_wait_handle): New functions. 254566e63ce3Schristos (_initialize_ser_windows): Register a "pipe" interface based on 254666e63ce3Schristos them. 254766e63ce3Schristos 254866e63ce3Schristos2006-04-24 Daniel Jacobowitz <dan@codesourcery.com> 254966e63ce3Schristos 255066e63ce3Schristos * ser-mingw.c: Include <conio.h>. 255166e63ce3Schristos (struct ser_console_state, struct net_windows_state): Add exit_select, 255266e63ce3Schristos have_stopped, thread. 255366e63ce3Schristos (pipe_select_thread, console_select_thread) 255466e63ce3Schristos (net_windows_select_thread): Don't create a local state copy or 255566e63ce3Schristos close stop_select. Exit on exit_select instead of stop_select. Set 255666e63ce3Schristos have_stopped. 255766e63ce3Schristos (console_select_thread): Don't report control keypresses as pending 255866e63ce3Schristos input. 255966e63ce3Schristos (pipe_select_thread): Allow stop_select to interrupt sleeping. 256066e63ce3Schristos (set_console_wait_handle): Create exit_select and have_stopped. 256166e63ce3Schristos Save the thread handle. Check _kbhit before starting a thread. 256266e63ce3Schristos (ser_console_done_wait_handle): New. 256366e63ce3Schristos (ser_console_close): Close new handles. Wait for the thread to 256466e63ce3Schristos exit. 256566e63ce3Schristos (new_windows_select_thread): Assert that an event occurred. 256666e63ce3Schristos (net_windows_wait_handle): Check for pending input before starting 256766e63ce3Schristos a thread. 256866e63ce3Schristos (net_windows_done_wait_handle): New. 256966e63ce3Schristos (net_windows_open): Create exit_select and have_stopped. 257066e63ce3Schristos Save the thread handle. 257166e63ce3Schristos (net_windows_close): Close new handles. Wait for the thread to 257266e63ce3Schristos exit. 257366e63ce3Schristos (_intiialize_ser_windows): Register done_wait_handle methods. 257466e63ce3Schristos 257566e63ce3Schristos * serial.c [USE_WIN32API] (serial_done_wait_handle): New. 257666e63ce3Schristos * serial.h [USE_WIN32API] (struct serial_ops): Add done_wait_handle. 257766e63ce3Schristos [USE_WIN32API] (serial_done_wait_handle): New prototype. 257866e63ce3Schristos * mingw-hdep.c (gdb_select): Use serial_done_wait_handle. 257966e63ce3Schristos 258066e63ce3Schristos2006-04-23 Andreas Schwab <schwab@suse.de> 258166e63ce3Schristos 258266e63ce3Schristos * rs6000-tdep.c: Include "reggroups.h" only once. 258366e63ce3Schristos * Makefile.in (rs6000-tdep.o): Update dependencies. 258466e63ce3Schristos 258566e63ce3Schristos2006-04-21 Frederic Riss <frederic.riss@st.com> 258666e63ce3Schristos 258766e63ce3Schristos * dwarf2read.c (dwarf2_start_subfile): Change prototype to accept 258866e63ce3Schristos compilation directory as last argument. 258966e63ce3Schristos Always pass comp_dir as second argument to start_subfile and prepend 259066e63ce3Schristos dirname to the filename when necessary. 259166e63ce3Schristos Remove now superfluous search for pre-existing subfile. 259266e63ce3Schristos (dwarf_decode_lines): Pass the compilation directory to 259366e63ce3Schristos dwarf2_start_subfile. 259466e63ce3Schristos 259566e63ce3Schristos2006-04-20 Michael Snyder <msnyder@redhat.com> 259666e63ce3Schristos 259766e63ce3Schristos * 2006-03-22 Jim Blandy <jimb@redhat.com> 259866e63ce3Schristos Add support for the Renesas M32C and M16C. 259966e63ce3Schristos 260066e63ce3Schristos * configure.tgt (m32c-*-*): New entry. 260166e63ce3Schristos * config/m32c/m32c.mt: New file. 260266e63ce3Schristos * m32c-tdep.c: New file. 260366e63ce3Schristos * Makefile.in (elf_m32c_h): New variable. 260466e63ce3Schristos (m32c-tdep.o): New rule. 260566e63ce3Schristos * NEWS: Mention new target. 260666e63ce3Schristos * MAINTAINERS: Designate Jim Blandy as responsible maintainer. 260766e63ce3Schristos 260866e63ce3Schristos2006-04-20 Michael Snyder <msnyder@redhat.com> 260966e63ce3Schristos 261066e63ce3Schristos * remote.c: Fix spelling error in comment. 261166e63ce3Schristos 261266e63ce3Schristos2006-04-20 Daniel Jacobowitz <dan@codesourcery.com> 261366e63ce3Schristos 261466e63ce3Schristos * m68klinux-tdep.c (m68k_linux_sigtramp_frame_prev_register): 261566e63ce3Schristos Correct type of VALUEP. Reported by Jean-Rene Peulve 261666e63ce3Schristos <jr.peulve@wanadoo.fr>. 261766e63ce3Schristos 261866e63ce3Schristos2006-04-19 Masaki Muranaka <monaka@monami-software.com> 261966e63ce3Schristos 262066e63ce3Schristos * m32r-rom.c: On MinGW, include winsock.h instead of sys/types.h, 262166e63ce3Schristos netdb.h, netinet/in.h. 262266e63ce3Schristos (m32r_upload_command); Add calls WSAStartup(). 262366e63ce3Schristos * remote-m32r-sdi.c: On MinGW, include winsock.h instead of 262466e63ce3Schristos netinet/in.h. 262566e63ce3Schristos 262666e63ce3Schristos2006-04-18 Daniel Jacobowitz <dan@codesourcery.com> 262766e63ce3Schristos 262866e63ce3Schristos * breakpoint.c (deprecated_read_memory_nobpt): Update to use 262966e63ce3Schristos shadow_len. 263066e63ce3Schristos (insert_bp_location, reattach_breakpoints, remove_breakpoint) 263166e63ce3Schristos (delete_breakpoint): Update calls to changed methods. 263266e63ce3Schristos (deprecated_insert_raw_breakpoint, deprecated_remove_raw_breakpoint) 263366e63ce3Schristos (single_step_breakpoints, insert_single_step_breakpoint) 263466e63ce3Schristos (remove_single_step_breakpoints): New. 263566e63ce3Schristos * breakpoint.h (struct bp_target_info): New. 263666e63ce3Schristos (struct bp_location): Replace shadow_contents with 263766e63ce3Schristos target_info and overlay_target_info. 263866e63ce3Schristos (deprecated_insert_raw_breakpoint, deprecated_remove_raw_breakpoint) 263966e63ce3Schristos (insert_single_step_breakpoint, remove_single_step_breakpoints): New 264066e63ce3Schristos prototypes. 264166e63ce3Schristos * gdbarch.sh: Forward declare struct bp_target_info in gdbarch.h. 264266e63ce3Schristos (memory_insert_breakpoint, memory_remove_breakpoint): Update second 264366e63ce3Schristos argument. 264466e63ce3Schristos * mem-break.c (default_memory_insert_breakpoint): Update. Set 264566e63ce3Schristos placed_address, placed_size, and shadow_len. 264666e63ce3Schristos (default_memory_remove_breakpoint): Update. Don't use 264766e63ce3Schristos BREAKPOINT_FROM_PC. 264866e63ce3Schristos (memory_insert_breakpoint, memory_remove_breakpoint): Update. 264966e63ce3Schristos * target.c (update_current_target): Update prototypes for changed 265066e63ce3Schristos functions. 265166e63ce3Schristos (debug_to_insert_breakpoint, debug_to_remove_breakpoint) 265266e63ce3Schristos (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint): 265366e63ce3Schristos Update. 265466e63ce3Schristos * target.h: Forward declare struct bp_target_info. 265566e63ce3Schristos (struct target_ops): Use a bp_target_info argument for 265666e63ce3Schristos to_insert_breakpoint, to_remove_breakpoint, 265766e63ce3Schristos to_insert_hw_breakpoint, and to_remove_hw_breakpoint. 265866e63ce3Schristos (target_insert_breakpoint, target_remove_breakpoint) 265966e63ce3Schristos (target_insert_hw_breakpoint, target_remove_hw_breakpoint) 266066e63ce3Schristos (memory_insert_breakpoint, memory_remove_breakpoint) 266166e63ce3Schristos (default_memory_insert_breakpoint, default_memory_remove_breakpoint): 266266e63ce3Schristos Update. 266366e63ce3Schristos * config/i386/nm-i386.h: Forward declare struct bp_target_info. 266466e63ce3Schristos (i386_insert_hw_breakpoint, i386_remove_hw_breakpoint): Update. 266566e63ce3Schristos (target_insert_hw_breakpoint, target_remove_hw_breakpoint): Likewise. 266666e63ce3Schristos 266766e63ce3Schristos * gdbarch.c, gdbarch.h: Regenerated. 266866e63ce3Schristos 266966e63ce3Schristos * alpha-tdep.c (alpha_software_single_step): Use 267066e63ce3Schristos insert_single_step_breakpoint and remove_single_step_breakpoints. 267166e63ce3Schristos Remove unused statics. 267266e63ce3Schristos * arm-tdep.c (arm_software_single_step): Likewise. Add a note. 267366e63ce3Schristos * cris-tdep.c (cris_software_single_step): Likewise. 267466e63ce3Schristos * mips-tdep.c (mips_software_single_step): Likewise. 267566e63ce3Schristos * rs6000-tdep.c (rs6000_software_single_step): Likewise. 267666e63ce3Schristos * sparc-tdep.c (sparc_software_single_step): Likewise. 267766e63ce3Schristos * wince.c (struct thread_info_struct): Remove step_prev. 267866e63ce3Schristos (undoSStep): Use remove_single_step_breakpoints. 267966e63ce3Schristos (wince_software_single_step): Use insert_single_step_breakpoint. 268066e63ce3Schristos 268166e63ce3Schristos * corelow.c (ignore): Remove unneeded prototype. Update arguments. 268266e63ce3Schristos * exec.c (ignore): Likewise. 268366e63ce3Schristos * sol-thread.c (ignore): Likewise. 268466e63ce3Schristos 268566e63ce3Schristos * procfs.c (dbx_link_shadow_contents): Delete. 268666e63ce3Schristos (dbx_link_bpt): New. 268766e63ce3Schristos (procfs_mourn_inferior): Remove it if necessary. 268866e63ce3Schristos (remove_dbx_link_breakpoint): Use it. 268966e63ce3Schristos (insert_dbx_link_bpt_in_file): Set it. 269066e63ce3Schristos (procfs_init_inferior): Don't update dbx_link_bpt_addr. 269166e63ce3Schristos * rs6000-nat.c (exec_one_dummy_insn): Use 269266e63ce3Schristos deprecated_insert_raw_breakpoint and 269366e63ce3Schristos deprecated_remove_raw_breakpoint. 269466e63ce3Schristos * solib-irix.c (shadow_contents, breakpoint_addr): Delete. 269566e63ce3Schristos (base_breakpoint): New. 269666e63ce3Schristos (disable_break): Use it. 269766e63ce3Schristos (enable_break): Set it. 269866e63ce3Schristos 269966e63ce3Schristos * i386-nat.c (i386_insert_hw_breakpoint, i386_remove_hw_breakpoint): 270066e63ce3Schristos Update. 270166e63ce3Schristos * ia64-tdep.c (ia64_memory_insert_breakpoint) 270266e63ce3Schristos (ia64_memory_remove_breakpoint): Likewise. 270366e63ce3Schristos * m32r-tdep.c (m32r_memory_insert_breakpoint) 270466e63ce3Schristos (m32r_memory_remove_breakpoint): Likewise. 270566e63ce3Schristos * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint): 270666e63ce3Schristos Likewise. Remove unnecessary prototypes. Use placed_address 270766e63ce3Schristos and placed_size. Removed useless read from memory. 270866e63ce3Schristos * nto-procfs.c (procfs_insert_breakpoint) 270966e63ce3Schristos (procfs_remove_breakpoint, procfs_insert_hw_breakpoint) 271066e63ce3Schristos (procfs_remove_hw_breakpoint): Update. 271166e63ce3Schristos * ocd.c (ocd_insert_breakpoint, ocd_remove_breakpoint): Likewise. 271266e63ce3Schristos * ocd.h (ocd_insert_breakpoint, ocd_remove_breakpoint): Likewise. 271366e63ce3Schristos * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise. 271466e63ce3Schristos * ppc-tdep.h (ppc_linux_memory_remove_breakpoint): Likewise. 271566e63ce3Schristos * remote-e7000.c (e7000_insert_breakpoint) 271666e63ce3Schristos (e7000_remove_breakpoint): Likewise. 271766e63ce3Schristos * remote-m32r-sdi.c (m32r_insert_breakpoint) 271866e63ce3Schristos (m32r_remove_breakpoint): Likewise. 271966e63ce3Schristos * remote-mips.c (mips_insert_breakpoint) 272066e63ce3Schristos (mips_remove_breakpoint): Likewise. 272166e63ce3Schristos * remote-rdp.c (remote_rdp_insert_breakpoint) 272266e63ce3Schristos (remote_rdp_remove_breakpoint): Likewise. 272366e63ce3Schristos (rdp_step): Use deprecated_insert_raw_breakpoint and 272466e63ce3Schristos deprecated_remove_raw_breakpoint. 272566e63ce3Schristos * remote-sds.c (sds_insert_breakpoint, sds_remove_breakpoint): 272666e63ce3Schristos Update. 272766e63ce3Schristos * remote-sim.c (gdbsim_insert_breakpoint, gdbsim_remove_breakpoint): 272866e63ce3Schristos Delete. 272966e63ce3Schristos (init_gdbsim_ops): Use memory_insert_breakpoint and 273066e63ce3Schristos memory_remove_breakpoint. 273166e63ce3Schristos * remote-st.c (st2000_insert_breakpoint) 273266e63ce3Schristos (st2000_remove_breakpoint): Update. Remove unused 273366e63ce3Schristos BREAKPOINT_FROM_PC. 273466e63ce3Schristos * remote.c (remote_insert_breakpoint, remote_remove_breakpoint): 273566e63ce3Schristos Update. Use placed_address and placed_size. 273666e63ce3Schristos (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Likewise. 273766e63ce3Schristos 273866e63ce3Schristos2006-04-12 Daniel Jacobowitz <dan@codesourcery.com> 273966e63ce3Schristos 274066e63ce3Schristos * remote.c (extended_remote_restart): Pass the correct length 274166e63ce3Schristos to getpkt. 274266e63ce3Schristos 274366e63ce3Schristos2006-04-11 Jim Blandy <jimb@codesourcery.com> 274466e63ce3Schristos 274566e63ce3Schristos * serial.c (serial_open): Check for special cases at the front of 274666e63ce3Schristos the "device" name before scanning for the ':' that would indicate 274766e63ce3Schristos an IP-based connection. 274866e63ce3Schristos 274966e63ce3Schristos2006-04-10 Christopher Faylor <cgf@timesys.com> 275066e63ce3Schristos 275166e63ce3Schristos * win32-nat.c (open_symbol_file_object): New function. 275266e63ce3Schristos (in_dynsym_resolve_code): Ditto. 275366e63ce3Schristos (init_win32_ops): Fill in fields which ought not to be NULL. 275466e63ce3Schristos 275566e63ce3Schristos2006-04-10 Christopher Faylor <cgf@timesys.com> 275666e63ce3Schristos 275766e63ce3Schristos * win32-nat.c (do_win32_fetch_inferior_registers): Don't do anything 275866e63ce3Schristos with saved context if __COPY_CONTEXT_SIZE is not defined. 275966e63ce3Schristos (handle_output_debug_string): Ditto. 276066e63ce3Schristos 276166e63ce3Schristos2006-04-10 Daniel Jacobowitz <dan@codesourcery.com> 276266e63ce3Schristos 276366e63ce3Schristos * arm-linux-tdep.c (arm_linux_extract_return_value): Use gdb_byte. 276466e63ce3Schristos 276566e63ce3Schristos2006-04-09 David S. Miller <davem@sunset.davemloft.net> 276666e63ce3Schristos 276766e63ce3Schristos * sparc64-linux-tdep.c (sparc64_linux_init_abi): Append dwarf2 276866e63ce3Schristos frame sniffer. 276966e63ce3Schristos * sparc-tdep.c (sparc32_gdbarch_init): Make sure to call 277066e63ce3Schristos dwarf2_frame_set_init_reg() before gdbarch_init_osabi() so 277166e63ce3Schristos that the latter can override. 277266e63ce3Schristos * Makefile.in (sparc64-linux-tdep.o): Update dependencies. 277366e63ce3Schristos 277466e63ce3Schristos2006-04-09 Ulrich Weigand <uweigand@de.ibm.com> 277566e63ce3Schristos 277666e63ce3Schristos * s390-tdep.c (struct s390_prologue_data): New field 'stack'. 277766e63ce3Schristos (s390_store): Call pv_area_store to track stack slots. 277866e63ce3Schristos (s390_load): Call pv_area_fetch to track stack slots. 277966e63ce3Schristos (s390_check_for_saved): New function. 278066e63ce3Schristos (s390_analyze_prologue): Call pv_area_scan. Allocate and free stack. 278166e63ce3Schristos 278266e63ce3Schristos2006-04-09 Ulrich Weigand <uweigand@de.ibm.com> 278366e63ce3Schristos 278466e63ce3Schristos * Makefile.in (s390-tdep.o): Add dependency on $(prologue_value_h). 278566e63ce3Schristos * s390-tdep.c: Include "prologue-value.h". 278666e63ce3Schristos (struct prologue_value): Remove. 278766e63ce3Schristos (pv_set_to_unknown, pv_set_to_constant, pv_set_to_register, 278866e63ce3Schristos pv_constant_last, pv_add, pv_add_constant, pv_subtract, 278966e63ce3Schristos pv_logical_and, pv_is_identical, pv_is_register): Remove. 279066e63ce3Schristos (compute_x_addr): Remove, replace by ... 279166e63ce3Schristos (s390_addr): ... this new function. 279266e63ce3Schristos (struct s390_prologue_data): Use pv_t instead of prologue_value. 279366e63ce3Schristos (s390_store, s390_load): Likewise. 279466e63ce3Schristos (s390_prologue_frame_unwind_cache): Likewise. 279566e63ce3Schristos (s390_analyze_prologue): Likewise. Also, simplify and combine 279666e63ce3Schristos several conditional statements. 279766e63ce3Schristos 279866e63ce3Schristos2006-04-08 Jim Blandy <jimb@codesourcery.com> 279966e63ce3Schristos 280066e63ce3Schristos * Makefile.in (COMMON_OBS): List prologue-value.o. (Omitted from 280166e63ce3Schristos last patch.) 280266e63ce3Schristos 280366e63ce3Schristos2006-04-08 David S. Miller <davem@sunset.davemloft.net> 280466e63ce3Schristos 280566e63ce3Schristos * sparc-linux-tdep.c (sparc32_linux_step_trap): New. 280666e63ce3Schristos (sparc32_linux_init_abi): Hook it into tdep->step_trap. 280766e63ce3Schristos (sparc32_linux_core_gregset, 280866e63ce3Schristos sparc32_linux_supply_core_gregset, 280966e63ce3Schristos sparc32_linux_collect_core_gregset, 281066e63ce3Schristos sparc32_linux_supply_core_fpregset, 281166e63ce3Schristos sparc32_linux_collect_core_fpregset): New. 281266e63ce3Schristos (sparc32_linux_init_abi): Register them with generic sparc 281366e63ce3Schristos core regset infrastructure. 281466e63ce3Schristos * sparc64-linux-tdep.c (sparc64_linux_step_trap): New. 281566e63ce3Schristos (sparc64_linux_init_abi): Hook it into tdep->step_trap. 281666e63ce3Schristos (sparc64_linux_core_gregset, 281766e63ce3Schristos sparc64_linux_supply_core_gregset, 281866e63ce3Schristos sparc64_linux_collect_core_gregset, 281966e63ce3Schristos sparc64_linux_supply_core_fpregset, 282066e63ce3Schristos sparc64_linux_collect_core_fpregset): New. 282166e63ce3Schristos (sparc64_linux_init_abi): Register them with generic sparc 282266e63ce3Schristos core regset infrastructure. 282366e63ce3Schristos * Makefile.in: Update dependencies. 282466e63ce3Schristos 282566e63ce3Schristos2006-04-07 David S. Miller <davem@sunset.davemloft.net> 282666e63ce3Schristos 282766e63ce3Schristos * linux-nat.c (linux_nat_thread_alive): Handle targets that 282866e63ce3Schristos do not implement PTRACE_PEEKUSER. 282966e63ce3Schristos 283066e63ce3Schristos2006-04-07 Daniel Jacobowitz <dan@codesourcery.com> 283166e63ce3Schristos 283266e63ce3Schristos * remote.c (remote_wait): Convert warning to error before 283366e63ce3Schristos parsing corrupt packets. 283466e63ce3Schristos 283566e63ce3Schristos2006-04-07 Andrew Stubbs <andrew.stubbs@st.com> 283666e63ce3Schristos 283766e63ce3Schristos * cli/cli-script.c (struct user_args): Add command field. 283866e63ce3Schristos (arg_cleanup): Free command string. 283966e63ce3Schristos (setup_user_args): Copy the command line before relying on it. 284066e63ce3Schristos 284166e63ce3Schristos2006-04-06 Joel Brobecker <brobecker@adacore.com> 284266e63ce3Schristos 284366e63ce3Schristos * breakpoint.c (_initialize_breakpoint): Add "del" as an alias 284466e63ce3Schristos of the "delete" command. 284566e63ce3Schristos 284666e63ce3Schristos2006-04-06 Randolph Chung <tausq@debian.org> 284766e63ce3Schristos 284866e63ce3Schristos * MAINTAINERS (Patch champions): Add myself. 284966e63ce3Schristos 285066e63ce3Schristos2006-04-05 Andreas Schwab <schwab@suse.de> 285166e63ce3Schristos 285266e63ce3Schristos * Makefile.in: Update dependencies. 285366e63ce3Schristos 285466e63ce3Schristos2006-04-05 David S. Miller <davem@sunset.davemloft.net> 285566e63ce3Schristos 285666e63ce3Schristos * sparc-tdep.c (sparc32_dwarf2_frame_init_reg): New. 285766e63ce3Schristos (sparc32_gdbarch_init): Pass it to dwarf2_frame_set_init_reg. 285866e63ce3Schristos * Makefile.in (sparc-tdep.o): Update dependencies. 285966e63ce3Schristos * sparc-linux-tdep.c (sparc32_linux_sigframe_init): Pull register 286066e63ce3Schristos window out of the correct stack frame. 286166e63ce3Schristos * sparc64-linux-tdep.c (sparc64_linux_sigframe_init): Likewise. 286266e63ce3Schristos * dwarf2-frame.c (dwarf2_frame_ops init_reg): Add "next_frame" 286366e63ce3Schristos argument. 286466e63ce3Schristos (dwarf2_frame_default_init_reg): Likewise. 286566e63ce3Schristos (dwarf2_frame_set_init_reg): Update init_reg arg. 286666e63ce3Schristos (dwarf2_frame_init_reg): Take "next_frame" and pass it to 286766e63ce3Schristos ops->init_reg(). 286866e63ce3Schristos (dwarf2_frame_cache): Pass next_frame to dwarf2_frame_init_reg. 286966e63ce3Schristos * dwarf2-frame.h (dwarf2-frame_set_init_reg): Update declaration. 287066e63ce3Schristos * cris-tdep.c (cris_dwarf2_frame_init_reg): Add next_frame arg. 287166e63ce3Schristos * s390-tdep.c (s390_dwarf2_frame_init_reg): Likewise. 287266e63ce3Schristos * sh-tdep.c (sh_dwarf2_frame_init_reg): Likewise. 287366e63ce3Schristos * sparc64-tdep.c (sparc64_dwarf2_frame_init_reg): Likewise. 287466e63ce3Schristos * sparc-tdep.c (sparc32_struct_return_from_sym): New function. 287566e63ce3Schristos (sparc32_frame_cache): Call it. 287666e63ce3Schristos (sparc32_dwarf2_struct_return_p): New function. 287766e63ce3Schristos (sparc_dwarf2_frame_init_reg): Use it to determine if the function 287866e63ce3Schristos returns a structure and thus we have to indicate the return PC and 287966e63ce3Schristos NPC are 4 bytes later than usual. 288066e63ce3Schristos * sparc-linux-tdep.c (sparc32_linux_init_abi): Append 288166e63ce3Schristos dwarf2 frame sniffer. 288266e63ce3Schristos * Makefile.in (sparc-linux-tdep.o): Update dependencies. 288366e63ce3Schristos 288466e63ce3Schristos2006-04-04 David S. Miller <davem@davemloft.net> 288566e63ce3Schristos 288666e63ce3Schristos * config/linux.mh (NATDEPFILES): Remove sparc-sol2-nat.o 288766e63ce3Schristos * config/linux64.h (NATDEPFILES): Likewise 288866e63ce3Schristos * sparc-linux-nat.c (supply_gregset, supply_fpregset, fill_gregset, 288966e63ce3Schristos fill_fpregset): New. 289066e63ce3Schristos * sparc64-linux-nat.c (supply_gregset, supply_fpregset, fill_gregset, 289166e63ce3Schristos fill_fpregset): New. 289266e63ce3Schristos * Makefile.in (sparc-linux-nat.o, sparc64-linux-nat.o): Update for 289366e63ce3Schristos new includes. 289466e63ce3Schristos 289566e63ce3Schristos2006-04-04 Andreas Schwab <schwab@suse.de> 289666e63ce3Schristos 289766e63ce3Schristos * Makefile.in (elf_common_h): Define. 289866e63ce3Schristos 289966e63ce3Schristos2006-04-03 Andrew Stubbs <andrew.stubbs@st.com> 290066e63ce3Schristos 290166e63ce3Schristos * sh-tdep.c (sh_dwarf2_frame_init_reg): New function. 290266e63ce3Schristos (sh_gdbarch_init): Call dwarf2_frame_set_init_reg(). 290366e63ce3Schristos 290466e63ce3Schristos2006-03-31 Andrew Stubbs <andrew.stubbs@st.com> 290566e63ce3Schristos 290666e63ce3Schristos * value.h (struct internalvar): Add field 'endian'. 290766e63ce3Schristos * value.c (lookup_internalvar): Initialise endian. 290866e63ce3Schristos (value_of_internalvar): Flip the endian of built-in types if required. 290966e63ce3Schristos (set_internalvar): Set the endian. 291066e63ce3Schristos (show_convenience): Access the value through value_of_internalvar(). 291166e63ce3Schristos 291266e63ce3Schristos2006-03-30 Vladimir Prus <ghost@cs.msu.su> 291366e63ce3Schristos 291466e63ce3Schristos * remote.c (watchpoint_to_Z_packet): Use values of Z_packet_type enum 291566e63ce3Schristos instead of hardcoded integer literals. 291666e63ce3Schristos 291766e63ce3Schristos2006-03-30 Daniel Jacobowitz <dan@codesourcery.com> 291866e63ce3Schristos 291966e63ce3Schristos * cli/cli-script.c (insert_args): Handle NULL user_args. 292066e63ce3Schristos 292166e63ce3Schristos2006-03-30 Daniel Jacobowitz <dan@codesourcery.com> 292266e63ce3Schristos 292366e63ce3Schristos * arm-tdep.c (thumb_scan_prologue): Don't try to analyze 292466e63ce3Schristos the function at zero if we have no symbols. 292566e63ce3Schristos 292666e63ce3Schristos2006-03-30 Adrien Kunysz <a_kunysz@yahoo.com> 292766e63ce3Schristos 292866e63ce3Schristos * i386-stub.c (getpacket): Fix array overflow. 292966e63ce3Schristos * m32r-stub.c (getpacket): Likewise. 293066e63ce3Schristos * m68k-stub.c (getpacket): Likewise. 293166e63ce3Schristos * sh-stub.c (getpacket): Likewise. 293266e63ce3Schristos * sparc-stub.c (getpacket): Likewise. 293366e63ce3Schristos 293466e63ce3Schristos2006-03-30 Daniel Jacobowitz <dan@codesourcery.com> 293566e63ce3Schristos 293666e63ce3Schristos * frame.h (set_current_sal_from_frame): New prototype. 293766e63ce3Schristos * stack.c (set_current_sal_from_frame): Make global. 293866e63ce3Schristos * infrun.c (normal_stop): Call set_current_sal_from_frame. 293966e63ce3Schristos 294066e63ce3Schristos2006-03-30 Daniel Jacobowitz <dan@codesourcery.com> 294166e63ce3Schristos 294266e63ce3Schristos * linux-thread-db.c: Include "linux-nat.h". 294366e63ce3Schristos (check_for_thread_db): New function, split out from 294466e63ce3Schristos thread_db_new_objfile. Remove dead check for active 294566e63ce3Schristos thread_db on inapplicable targets. 294666e63ce3Schristos (thread_db_new_objfile): Call check_for_thread_db. 294766e63ce3Schristos * Makefile.in (linux-thread-db.o): Update. 294866e63ce3Schristos * linux-nat.c (child_post_attach): Call check_for_thread_db. 294966e63ce3Schristos (linux_child_post_startup_inferior): Likewise. 295066e63ce3Schristos (lin_lwp_attach_lwp): Call target_post_attach instead of 295166e63ce3Schristos child_post_attach. 295266e63ce3Schristos * linux-nat.h (check_for_thread_db): New prototype. 295366e63ce3Schristos 295466e63ce3Schristos2006-03-30 Daniel Jacobowitz <dan@codesourcery.com> 295566e63ce3Schristos 295666e63ce3Schristos * remote.c (struct remote_state): Add BUF and BUF_SIZE. 295766e63ce3Schristos (init_remote_state): Initialize the new fields. 295866e63ce3Schristos (get_memory_packet_size): Update BUF and BUF_SIZE if necessary. 295966e63ce3Schristos (set_thread, remote_thread_alive, remote_unpack_thread_info_response) 296066e63ce3Schristos (remote_get_threadinfo, parse_threadlist_response) 296166e63ce3Schristos (remote_get_threadlist, remote_current_thread, remote_threads_info) 296266e63ce3Schristos (remote_threads_extra_info, extended_remote_restart, get_offsets) 296366e63ce3Schristos (remote_check_symbols, remote_open_1, remote_detach) 296466e63ce3Schristos (remove_vcont_probe, remote_vcont_resume, remote_resume) 296566e63ce3Schristos (remote_wait, remote_async_wait, fetch_register_using_p) 296666e63ce3Schristos (remote_fetch_registers, store_register_using_P) 296766e63ce3Schristos (remote_store_registers, check_binary_download, remote_write_bytes) 296866e63ce3Schristos (remote_read_bytes, remote_insert_breakpoint) 296966e63ce3Schristos (remote_remove_breakpoint, remote_insert_watchpoint) 297066e63ce3Schristos (remote_remove_watchpoint, remote_insert_hw_breakpoint) 297166e63ce3Schristos (remote_remove_hw_breakpoint, compare_sections_command) 297266e63ce3Schristos (remote_xfer_partial, remote_rcmd, packet_command) 297366e63ce3Schristos (remote_get_thread_local_address): Use the global incoming buffer 297466e63ce3Schristos instead of alloca or xmalloc. Limit outgoing packets to 297566e63ce3Schristos rs->remote_packet_size and incoming packets to rs->buf_size. 297666e63ce3Schristos Update calls to getpkt and remote_send. 297766e63ce3Schristos (remote_send): Take arguments by reference. 297866e63ce3Schristos (putpkt_binary): Eliminate junkbuf. Use skip_frame. 297966e63ce3Schristos (skip_frame): New function. 298066e63ce3Schristos (read_frame): Take arguments by reference. Expand the packet 298166e63ce3Schristos buffer instead of issuing an error. 298266e63ce3Schristos (getpkt, getpkt_sane): Take arguments by reference. 298366e63ce3Schristos * remote.h (getpkt): Update prototype and doc. 298466e63ce3Schristos * tracepoint.c (remote_get_noisy_reply): Take arguments by 298566e63ce3Schristos reference. 298666e63ce3Schristos (target_buf): Change from array to pointer. 298766e63ce3Schristos (target_buf_size): New variable. 298866e63ce3Schristos (remote_set_transparent_ranges): Update call to getpkt. 298966e63ce3Schristos (trace_start_command, trace_stop_command, trace_status_command): 299066e63ce3Schristos Update calls to remote_get_noisy_reply. 299166e63ce3Schristos (finish_tfind_command): Take arguments by reference. 299266e63ce3Schristos (trace_find_command, trace_find_pc_command) 299366e63ce3Schristos (trace_find_tracepoint_command, trace_find_line_command): 299466e63ce3Schristos (trace_find_range_command, trace_find_outside_command): Update 299566e63ce3Schristos calls to finish_tfind_command. 299666e63ce3Schristos (_initialize_tracepoint): Initialize target_buf_size and target_buf. 299766e63ce3Schristos 299866e63ce3Schristos2005-03-30 Randolph Chung <tausq@debian.org> 299966e63ce3Schristos 300066e63ce3Schristos * hppa-linux-tdep.c: Include regset.h. 300166e63ce3Schristos (GR_REGNUM, TR_REGNUM, greg_map): New. 300266e63ce3Schristos (hppa_linux_supply_regset, hppa_linux_supply_fpregset): New. 300366e63ce3Schristos (hppa_linux_regset, hppa_linux_fpregset): New. 300466e63ce3Schristos (hppa_linux_regset_from_core_section): New. 300566e63ce3Schristos (hppa_linux_init_abi): Set regset_from_core_section. 300666e63ce3Schristos (_initialize_hppa_linux_tdep): Register osabi handler for 300766e63ce3Schristos 64-bit Linux. 300866e63ce3Schristos * Makefile.in (hppa-linux-tdep.o): Update dependencies. 300966e63ce3Schristos * config/pa/linux.mh: Stop using core-regset.o 301066e63ce3Schristos 301166e63ce3Schristos2006-03-30 Randolph Chung <tausq@debian.org> 301266e63ce3Schristos 301366e63ce3Schristos * hppa-tdep.c (hppa_find_unwind_entry_in_block): New. 301466e63ce3Schristos (hppa_frame_cache): Use new function to find unwind entry. 301566e63ce3Schristos (hppa_frame_this_id): Likewise. 301666e63ce3Schristos (hppa_frame_unwind_sniffer): Likewise. 301766e63ce3Schristos 301866e63ce3Schristos2006-03-29 Daniel Jacobowitz <dan@codesourcery.com> 301966e63ce3Schristos 302066e63ce3Schristos * NEWS: Mention the removal of NLM. 302166e63ce3Schristos 302266e63ce3Schristos2006-03-29 Steve Ellcey <sje@cup.hp.com> 302366e63ce3Schristos 302466e63ce3Schristos * Makefile.in (nlm): Remove target. 302566e63ce3Schristos * configure.tgt (i[34567]86-*-netware*): Do not set build_nlm. 302666e63ce3Schristos * configure.ac: Remove AC_CONFIG_SUBDIRS of nlm. 302766e63ce3Schristos * configure: Regenerate. 302866e63ce3Schristos * nlm: Remove directory. 302966e63ce3Schristos 303066e63ce3Schristos2006-03-29 Daniel Jacobowitz <dan@codesourcery.com> 303166e63ce3Schristos 303266e63ce3Schristos * Makefile.in (utils.o): Update. 303366e63ce3Schristos * top.c (in_user_command): New. 303466e63ce3Schristos (command_line_input): Use input_from_terminal_p. 303566e63ce3Schristos (input_from_terminal_p): Don't check caution. Handle 303666e63ce3Schristos stdin == NULL for Insight. 303766e63ce3Schristos * top.h (in_user_command, caution): New declarations. 303866e63ce3Schristos * utils.c: Include "top.h". 303966e63ce3Schristos (query, defaulted_query): Check caution here. Move the call 304066e63ce3Schristos to input_from_terminal_p higher. 304166e63ce3Schristos * cli/cli-script.c (do_restore_user_call_depth): Only decrement 304266e63ce3Schristos the depth. Update in_user_command if necessary. 304366e63ce3Schristos (execute_user_command): Don't clobber old_chain. Set 304466e63ce3Schristos in_user_command. Let do_restore_user_call_depth handle 304566e63ce3Schristos user_call_depth. 304666e63ce3Schristos (read_command_lines): Check whether to prompt before calling 304766e63ce3Schristos Insight hooks. 304866e63ce3Schristos * tui/tui-hooks.c (tui_query_hook): Remove newly unnecessary 304966e63ce3Schristos input_from_terminal_p check. 305066e63ce3Schristos 305166e63ce3Schristos2006-03-29 Ulrich Weigand <uweigand@de.ibm.com> 305266e63ce3Schristos 305366e63ce3Schristos * s390-nat.c (s390_insert_watchpoint): Add missing argument. 305466e63ce3Schristos (s390_remove_watchpoint): Likewise. 305566e63ce3Schristos 305666e63ce3Schristos2006-03-28 Jim Blandy <jimb@codesourcery.com> 305766e63ce3Schristos 305866e63ce3Schristos * prologue-value.c, prologue-value.h: New files. 305966e63ce3Schristos * Makefile.in (prologue_value_h): New variable. 306066e63ce3Schristos (HFILES_NO_SRCDIR): List prologue-value.h. 306166e63ce3Schristos (SFILES): List prologue-value.c. 306266e63ce3Schristos (COMMON_OBS): List prologue-value.o. 306366e63ce3Schristos (prologue-value.o): New rule. 306466e63ce3Schristos 306566e63ce3Schristos2006-03-27 Michael Snyder <msnyder@redhat.com> 306666e63ce3Schristos 306766e63ce3Schristos * xstormy16-tdep.c (xstormy16_return_value, xstormy16_push_dummy_call, 306866e63ce3Schristos xstormy16_pointer_to_address, xstormy16_address_to_pointer, 306966e63ce3Schristos xstormy16_frame_prev_register): Change void* to gdb_byte*. 307066e63ce3Schristos (xstormy16_push_dummy_call): Add block-local char* val, 307166e63ce3Schristos to avoid type conflict with outer scope variable. 307266e63ce3Schristos 307366e63ce3Schristos2006-03-27 Andrew Stubbs <andrew.stubbs@st.com> 307466e63ce3Schristos 307566e63ce3Schristos * sh-tdep.c (sh_gdbarch_init): Add missing architectures. 307666e63ce3Schristos 307766e63ce3Schristos2006-03-27 Nick Roberts <nickrob@snap.net.nz> 307866e63ce3Schristos 307966e63ce3Schristos PR mi/1429 308066e63ce3Schristos * varobj.c (c_name_of_child, c_value_of_child): Allow non-zero 308166e63ce3Schristos offsets for languages like Fortran. 308266e63ce3Schristos 308366e63ce3Schristos2006-03-26 Randolph Chung <tausq@debian.org> 308466e63ce3Schristos 308566e63ce3Schristos * config/pa/hppa64.mt: Use HPUX version of the tm file. 308666e63ce3Schristos 308766e63ce3Schristos2006-03-25 Nick Roberts <nickrob@snap.net.nz> 308866e63ce3Schristos 308966e63ce3Schristos * mi/gdb-mi.el (gdbmi-send): Improve regexp to repeat commands. 309066e63ce3Schristos Try to deal with continuation line. 309166e63ce3Schristos (gdbmi, gdbmi-prompt1, gud-gdbmi-marker-filter): Update to new 309266e63ce3Schristos variable names. 309366e63ce3Schristos (gdb-break-list-regexp, gdb-stack-list-frames-regexp): 309466e63ce3Schristos Future proof against new fields being added to MI output. 309566e63ce3Schristos (gdbmi-prompt2, gdb-break-list-handler,gdb-get-source-file) 309666e63ce3Schristos (gdbmi-frame-handler): Update to new variable name 309766e63ce3Schristos gdb-get-buffer-create. 309866e63ce3Schristos (gdbmi-frame-handler): Use hollow-right-triangle for all selected 309966e63ce3Schristos frames which except the innermost (where execution has stopped). 310066e63ce3Schristos 310166e63ce3Schristos2006-03-24 Randolph Chung <tausq@debian.org> 310266e63ce3Schristos 310366e63ce3Schristos * solib-som.c (link_map_start): Don't error out if there is 310466e63ce3Schristos not yet a link map. 310566e63ce3Schristos 310666e63ce3Schristos2006-03-24 Daniel Jacobowitz <dan@codesourcery.com> 310766e63ce3Schristos 310866e63ce3Schristos * linux-nat.c (linux_ops_saved): New. 310966e63ce3Schristos (super_mourn_inferior, kill_inferior, threaded, linux_nat_ops) 311066e63ce3Schristos (child_mourn_inferior, child_wait, linux_nat_create_inferior) 311166e63ce3Schristos (linux_nat_fetch_registers, linux_nat_store_registers) 311266e63ce3Schristos (linux_nat_child_post_startup_inferior, init_linux_nat_ops): Delete. 311366e63ce3Schristos (init_lwp_list): Don't set threaded. 311466e63ce3Schristos (add_lwp): Don't modify threaded. 311566e63ce3Schristos (delete_lwp): Don't mention non-threaded mode. 311666e63ce3Schristos (linux_nat_switch_fork): New. 311766e63ce3Schristos (linux_nat_attach): Update inferior_ptid. 311866e63ce3Schristos (linux_nat_wait): Handle num_lwps == 0 at entry. Don't check 311966e63ce3Schristos threaded flag. 312066e63ce3Schristos (linux_nat_kill): Handle pending forks and saved forks. 312166e63ce3Schristos (linux_nat_mourn_inferior): Handle saved forks. 312266e63ce3Schristos (linux_nat_pid_to_str): Don't use the LWP form when there is 312366e63ce3Schristos only one thread. 312466e63ce3Schristos (linux_target): Don't set to_wait, to_kill, or to_mourn_inferior. 312566e63ce3Schristos (linux_nat_add_target): New. 312666e63ce3Schristos (_initialize_linux_nat): Don't initialize the linux native target 312766e63ce3Schristos here. 312866e63ce3Schristos * linux-nat.h (linux_nat_add_target, linux_nat_switch_fork): New 312966e63ce3Schristos prototypes. 313066e63ce3Schristos * linux-fork.c: Include "linux-nat.h". 313166e63ce3Schristos (add_fork): Update initial PID. 313266e63ce3Schristos (fork_load_infrun_state): Call linux_nat_switch_fork. 313366e63ce3Schristos * Makefile.in (linux-fork.o): Update. 313466e63ce3Schristos 313566e63ce3Schristos * alpha-linux-nat.c (_initialize_alpha_linux_nat): Use 313666e63ce3Schristos linux_nat_add_target instead of add_target. 313766e63ce3Schristos * amd64-linux-nat.c (_initialize_amd64_linux_nat): Likewise. 313866e63ce3Schristos * arm-linux-nat.c (_initialize_arm_linux_nat): Likewise. 313966e63ce3Schristos * hppa-linux-nat.c (_initialize_hppa_linux_nat): Likewise. 314066e63ce3Schristos * ia64-linux-nat.c (_initialize_ia64_linux_nat): Likewise. 314166e63ce3Schristos * i386-linux-nat.c (_initialize_i386_linux_nat): Likewise. 314266e63ce3Schristos * m32r-linux-nat.c (_initialize_m32r_linux_nat): Likewise. 314366e63ce3Schristos * m68klinux-nat.c (_initialize_m68k_linux_nat): Likewise. 314466e63ce3Schristos * mips-linux-nat.c (_initialize_mips_linux_nat): Likewise. 314566e63ce3Schristos * ppc-linux-nat.c (_initialize_ppc_linux_nat): Likewise. 314666e63ce3Schristos * s390-nat.c (_initialize_s390_nat): Likewise. 314766e63ce3Schristos * sparc-linux-nat.c (_initialize_sparc_linux_nat): Likewise. 314866e63ce3Schristos * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Likewise. 314966e63ce3Schristos 315066e63ce3Schristos2006-03-24 Daniel Jacobowitz <dan@codesourcery.com> 315166e63ce3Schristos 315266e63ce3Schristos * linux-fork.c: Include "gdb_assert.h". 315366e63ce3Schristos (fork_load_infrun_state): Set inferior_ptid and stop_pc here. 315466e63ce3Schristos Update the register cache and selected frame also. 315566e63ce3Schristos (linux_fork_mourn_inferior): Use fork_load_infrun_state. Return 315666e63ce3Schristos to single fork mode if necessary. 315766e63ce3Schristos (linux_fork_context): Remove bits handled by fork_load_infrun_state. 315866e63ce3Schristos * Makefile.in (linux_fork_h): New. 315966e63ce3Schristos (linux-fork.o, linux-nat.o): Update. 316066e63ce3Schristos 316166e63ce3Schristos2006-03-23 Andreas Schwab <schwab@suse.de> 316266e63ce3Schristos 316366e63ce3Schristos * config/s390/s390.mh (NATDEPFILES): Add linux-fork.o. 316466e63ce3Schristos 316566e63ce3Schristos2006-03-18 Jim Blandy <jimb@codesourcery.com> 316666e63ce3Schristos 316766e63ce3Schristos * symtab.h (enum address_class): Doc fix. 316866e63ce3Schristos 316966e63ce3Schristos2006-03-16 Michael Snyder <msnyder@redhat.com> 317066e63ce3Schristos 317166e63ce3Schristos * tracepoint.c (tracepoint_save_command): Fix typo in error msg. 317266e63ce3Schristos * target.c (push_target): Fix typo in comment. 317366e63ce3Schristos * remote.c (remote_watch_data_address): Fix typo in comment. 317466e63ce3Schristos * i386-tdep.c (i386_push_dummy_call): Fix typo in comment. 317566e63ce3Schristos 317666e63ce3Schristos2006-03-15 Kevin Buettner <kevinb@redhat.com> 317766e63ce3Schristos 317866e63ce3Schristos * frv-linux-tdep.c (gdbcore.h, regcache.h, regset.h, gdb_string.h): 317966e63ce3Schristos Include. 318066e63ce3Schristos (FRV_ELF_NGREG, FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR, FRV_PT_CCCR) 318166e63ce3Schristos (FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0, FRV_PT_GNER1) 318266e63ce3Schristos (FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR, FRV_PT_TBR) 318366e63ce3Schristos (FRV_PT_EXEC_FDPIC_LOADMAP, FRV_PT_INTERP_FDPIC_LOADMAP): Define. 318466e63ce3Schristos (frv_elf_greg_t, frv_elf_gregset_t, frv_elf_fpreg_t) 318566e63ce3Schristos (frv_elf_fpregset_t): Define types. 318666e63ce3Schristos (frv_linux_supply_gregset, frv_linux_supply_fpregset) 318766e63ce3Schristos (frv_linux_regset_from_core_section: New functions. 318866e63ce3Schristos (frv_linux_gregset, frv_linux_fpregset): New static globals. 318966e63ce3Schristos (frv_linux_init_abi): Register the `regset_from_core_section' method. 319066e63ce3Schristos * Makefile.in (frv-linux-tdep.o): Update dependencies. 319166e63ce3Schristos * solib-frv.c (frv_current_sos): Relocate main executable after 319266e63ce3Schristos loading core file. 319366e63ce3Schristos (frv_clear_solib): Clean up space associated with 319466e63ce3Schristos `main_executable_lm_info'. 319566e63ce3Schristos * config/frv/frv.mt (TDEPFILES): Add corelow.o to this list. 319666e63ce3Schristos 319766e63ce3Schristos2006-03-15 Daniel Jacobowitz <dan@codesourcery.com> 319866e63ce3Schristos 319966e63ce3Schristos * Makefile.in (mips_linux_tdep_h): New. 320066e63ce3Schristos (mpis-linux-nat.o, mips-linux-tdep.o): Update. 320166e63ce3Schristos * mips-linux-nat.c: Include "inferior.h", "mips-linux-tdep.h", and 320266e63ce3Schristos <sys/ptrace.h>. 320366e63ce3Schristos (have_ptrace_regsets, super_fetch_registers, super_store_registers) 320466e63ce3Schristos (mips64_linux_regsets_fetch_registers) 320566e63ce3Schristos (mips64_linux_regsets_store_registers, mips64_linux_fetch_registers) 320666e63ce3Schristos (mips64_linux_store_registers): New. 320766e63ce3Schristos (_initialize_mips_linux_nat): Override to_fetch_registers and 320866e63ce3Schristos to_store_registers. 320966e63ce3Schristos * mips-linux-tdep.h: New file. 321066e63ce3Schristos * mips-linux-tdep.c: Include "mips-linux-tdep.c". 321166e63ce3Schristos (ELF_NGREG, ELF_NFPREG, elf_greg_t, elf_gregset_t, elf_fpreg_t) 321266e63ce3Schristos (elf_fpregset_t, FPR_BASE, PC, CAUSE, BADVADDR, MMHI, MMLO) 321366e63ce3Schristos (FPC_CSR, FPC_EIR, EF_REG0, EF_REG31, EF_LO, EF_HI, EF_CP0_EPC) 321466e63ce3Schristos (EF_CP0_BADVADDR, EF_CP0_STATUS, EF_CP0_CAUSE, EF_SIZE) 321566e63ce3Schristos (MIPS64_ELF_NGREG, MIPS64_ELF_NFPREG, mips64_elf_greg_t) 321666e63ce3Schristos (mips64_elf_gregset_t, mips64_elf_fpreg_t, mips64_elf_fpregset_t) 321766e63ce3Schristos (MIPS64_FPR_BASE, MIPS64_PC, MIPS64_CAUSE, MIPS64_BADVADDR) 321866e63ce3Schristos (MIPS64_MMHI, MIPS64_MMLO, MIPS64_FPC_CSR, MIPS64_FPC_EIR) 321966e63ce3Schristos (MIPS64_EF_REG0, MIPS64_EF_REG31, MIPS64_EF_LO, MIPS64_EF_HI) 322066e63ce3Schristos (MIPS64_EF_CP0_EPC, MIPS64_EF_CP0_BADVADDR, MIPS64_EF_CP0_STATUS) 322166e63ce3Schristos (MIPS64_EF_CP0_CAUSE, MIPS64_EF_SIZE): Delete. 322266e63ce3Schristos (supply_32bit_reg): Use gdb_byte. 322366e63ce3Schristos (supply_64bit_reg): New. 322466e63ce3Schristos (mips_supply_gregset, mips_fill_gregset, mips_supply_fpregset) 322566e63ce3Schristos (mips_fill_fpregset, fetch_core_registers, supply_gregset) 322666e63ce3Schristos (fill_gregset, supply_fpregset): Update for renamed types. 322766e63ce3Schristos (mips64_supply_gregset): Use gdb_byte and supply_64bit_reg. 322866e63ce3Schristos (mips64_fill_gregset): Make global. Handle 32-bit register 322966e63ce3Schristos sizes. 323066e63ce3Schristos (mips64_fill_fpregset): Make global. Use gdb_byte. Handle 323166e63ce3Schristos FP regsets properly. 323266e63ce3Schristos 323366e63ce3Schristos2006-03-15 Daniel Jacobowitz <dan@codesourcery.com> 323466e63ce3Schristos 323566e63ce3Schristos * mips-linux-tdep.c (mips_supply_gregset): Renamed from supply_gregset. 323666e63ce3Schristos (mips_fill_gregset): Renamed from fill_gregset. 323766e63ce3Schristos (mips_supply_fpregset): Renamed from supply_fpregset. 323866e63ce3Schristos (mips_fill_fpregset): Renamed from fill_fpregset. 323966e63ce3Schristos (fetch_core_registers): Update calls. 324066e63ce3Schristos (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): New 324166e63ce3Schristos functions. 324266e63ce3Schristos 324366e63ce3Schristos2006-03-15 Daniel Jacobowitz <dan@codesourcery.com> 324466e63ce3Schristos 324566e63ce3Schristos * mips-tdep.c (mips_gdbarch_init): Default 64-bit ELF files to N64. 324666e63ce3Schristos 324766e63ce3Schristos2006-03-15 Daniel Jacobowitz <dan@codesourcery.com> 324866e63ce3Schristos 324966e63ce3Schristos * mips-tdep.c (is_mips16_addr, mips32_next_pc, add_offset_16): 325066e63ce3Schristos Correct arithmetic for 64-bit CORE_ADDR. 325166e63ce3Schristos 325266e63ce3Schristos2006-03-15 Daniel Jacobowitz <dan@codesourcery.com> 325366e63ce3Schristos 325466e63ce3Schristos * mips-linux-tdep.c: Include "floatformat.h". 325566e63ce3Schristos (mips_linux_init_abi): Use 128-bit long double for N32 and N64. 325666e63ce3Schristos * mips-tdep.c (mips_n32n64_return_value): Support 128-bit long 325766e63ce3Schristos double. 325866e63ce3Schristos (print_gp_register_row): Don't print spaces before ignored 325966e63ce3Schristos or floating point registers. 326066e63ce3Schristos * Makefile.in (mips-linux-tdep.o): Update. 326166e63ce3Schristos 326266e63ce3Schristos2006-03-15 Daniel Jacobowitz <dan@codesourcery.com> 326366e63ce3Schristos 326466e63ce3Schristos * mips-mdebug-tdep.c (compare_pdr_entries): Use bfd_get_signed_32 326566e63ce3Schristos for code addresses. 326666e63ce3Schristos (non_heuristic_proc_desc): Likewise. 326766e63ce3Schristos 326866e63ce3Schristos2006-03-15 Daniel Jacobowitz <dan@codesourcery.com> 326966e63ce3Schristos 327066e63ce3Schristos * mips-linux-nat.c: Include "gdb_proc_service.h". 327166e63ce3Schristos (PTRACE_GET_THREAD_AREA): Define. 327266e63ce3Schristos (ps_get_thread_area): New. 327366e63ce3Schristos * Makefile.in (mips-linux-nat.o): Update. 327466e63ce3Schristos 327566e63ce3Schristos2006-03-13 Jim Blandy <jimb@codesourcery.com> 327666e63ce3Schristos 327766e63ce3Schristos * MAINTAINERS: Use my work address. 327866e63ce3Schristos 327966e63ce3Schristos2006-03-09 Michael Snyder <msnyder@redhat.com> 328066e63ce3Schristos 328166e63ce3Schristos * linux-nat.c (kill_inferior): Just call target_mourn_inferior 328266e63ce3Schristos instead of getting tricky for the multi-fork case. 328366e63ce3Schristos * linux-fork.c (linux_fork_killall): Call PT_KILL and waitpid 328466e63ce3Schristos for each fork, and then use init_fork_list to delete them. 328566e63ce3Schristos 328666e63ce3Schristos2006-03-08 Alexandre Oliva <aoliva@redhat.com> 328766e63ce3Schristos 328866e63ce3Schristos * solib-svr4.c (svr4_current_sos): Move up initialization of 328966e63ce3Schristos l_addr, such that it clearly covers all cases. 329066e63ce3Schristos 329166e63ce3Schristos2006-03-08 Andreas Schwab <schwab@suse.de> 329266e63ce3Schristos 329366e63ce3Schristos * ia64-tdep.c (ia64_libunwind_frame_this_id): Adapt use of 329466e63ce3Schristos libunwind_frame_prev_register to use a gdb_byte buffer and 329566e63ce3Schristos extract_unsigned_integer. 329666e63ce3Schristos (ia64_libunwind_sigtramp_frame_prev_register): Likewise. 329766e63ce3Schristos 329866e63ce3Schristos * libunwind-frame.c (libunwind_frame_prev_register): Change type 329966e63ce3Schristos of last argument to `gdb_byte *' 330066e63ce3Schristos * libunwind-frame.h: Adjust declaration. 330166e63ce3Schristos 330266e63ce3Schristos2006-03-08 Paul Brook <paul@codesourcery.com> 330366e63ce3Schristos 330466e63ce3Schristos * arm-tdep.c (arm_push_dummy_call): Remove stack alignment. 330566e63ce3Schristos (arm_frame_align): New function. 330666e63ce3Schristos (arm_gdbarch_init): Use it. 330766e63ce3Schristos 330866e63ce3Schristos2006-03-03 Khem Raj <khem@mvista.com> 330966e63ce3Schristos 331066e63ce3Schristos * remote-rdp.c (remote_rdp_xfer_inferior_memory): Use gdb_byte. 331166e63ce3Schristos Committed by Andrew Cagney. 331266e63ce3Schristos 331366e63ce3Schristos2006-03-02 Corinna Vinschen <vinschen@redhat.com> 331466e63ce3Schristos 331566e63ce3Schristos * mn10300-tdep.c (mn10300_push_dummy_call): Write breakpoint 331666e63ce3Schristos address to MDR register. 331766e63ce3Schristos 331866e63ce3Schristos2006-03-01 Daniel Jacobowitz <dan@codesourcery.com> 331966e63ce3Schristos 332066e63ce3Schristos * gdbtypes.c (lookup_struct_elt_type): Correct noerr for recursive 332166e63ce3Schristos calls. 332266e63ce3Schristos 332366e63ce3Schristos2006-03-01 Randolph Chung <tausq@debian.org> 332466e63ce3Schristos 332566e63ce3Schristos * somread.c (som_symfile_read): Update comment and remove unneeded 332666e63ce3Schristos use of a deprecated variable. 332766e63ce3Schristos 332866e63ce3Schristos2006-03-01 Randolph Chung <tausq@debian.org> 332966e63ce3Schristos 333066e63ce3Schristos * hppa-tdep.h (unwind_table_entry): Update field names to match HP 333166e63ce3Schristos runtime specification. 333266e63ce3Schristos * hppa-tdep.c (internalize_unwinds, hppa_frame_cache): Likewise. 333366e63ce3Schristos (unwind_command): Likewise. 333466e63ce3Schristos 333566e63ce3Schristos2006-03-01 Randolph Chung <tausq@debian.org> 333666e63ce3Schristos 333766e63ce3Schristos * hppa-tdep.c (hppa_frame_cache): Handle Region_Description and 333866e63ce3Schristos Pseudo_SP_Set in unwind record. 333966e63ce3Schristos 334066e63ce3Schristos2006-03-01 Randolph Chung <tausq@debian.org> 334166e63ce3Schristos 334266e63ce3Schristos * hppa-hpux-tdep.c (initialize_hp_cxx_exception_support): Use 334366e63ce3Schristos TDEP->is_elf to determine if we are working with a SOM binary. 334466e63ce3Schristos (null_symtab_and_line): Remove unused variable. 334566e63ce3Schristos * config/pa/hppa64.mt: Use tm-hppa.h. 334666e63ce3Schristos * config/pa/tm-hppa64.h: Remove file. 334766e63ce3Schristos 334866e63ce3Schristos2006-03-01 Wu Zhou <woodzltc@cn.ibm.com> 334966e63ce3Schristos 335066e63ce3Schristos * f-typeprint.c (f_type_print_base): Delete the redundant space. 335166e63ce3Schristos 335266e63ce3Schristos2006-02-28 Kevin Buettner <kevinb@redhat.com> 335366e63ce3Schristos 335466e63ce3Schristos * Makefile.in (mn10300-linux-tdep.o): Update dependencies. 335566e63ce3Schristos * mn10300-linux-tdep.c (frame.h, trad-frame.h, tramp-frame.h): 335666e63ce3Schristos Include. 335766e63ce3Schristos (am33_linux_sigframe_cache_init): New function. 335866e63ce3Schristos (am33_linux_sigframe, am33_linux_rt_sigframe): New signal frame 335966e63ce3Schristos descriptions. 336066e63ce3Schristos (AM33_SIGCONTEXT_D0, AM33_SIGCONTEXT_D1, AM33_SIGCONTEXT_D2) 336166e63ce3Schristos (AM33_SIGCONTEXT_D3, AM33_SIGCONTEXT_A0, AM33_SIGCONTEXT_A1) 336266e63ce3Schristos (AM33_SIGCONTEXT_A2, AM33_SIGCONTEXT_A3, AM33_SIGCONTEXT_E0) 336366e63ce3Schristos (AM33_SIGCONTEXT_E1, AM33_SIGCONTEXT_E2, AM33_SIGCONTEXT_E3) 336466e63ce3Schristos (AM33_SIGCONTEXT_E4, AM33_SIGCONTEXT_E5, AM33_SIGCONTEXT_E6) 336566e63ce3Schristos (AM33_SIGCONTEXT_E7, AM33_SIGCONTEXT_LAR, AM33_SIGCONTEXT_LIR) 336666e63ce3Schristos (AM33_SIGCONTEXT_MDR, AM33_SIGCONTEXT_MCVF, AM33_SIGCONTEXT_MCRL) 336766e63ce3Schristos (AM33_SIGCONTEXT_MCRH, AM33_SIGCONTEXT_MDRQ, AM33_SIGCONTEXT_SP) 336866e63ce3Schristos (AM33_SIGCONTEXT_EPSW, AM33_SIGCONTEXT_PC, AM33_SIGCONTEXT_FPUCONTEXT): 336966e63ce3Schristos New constants. 337066e63ce3Schristos (am33_linux_init_osabi): Register signal frame unwinders. 337166e63ce3Schristos 337266e63ce3Schristos2006-02-28 Kevin Buettner <kevinb@redhat.com> 337366e63ce3Schristos 337466e63ce3Schristos * mn10300-tdep.c (mn10300_analyze_prologue): Implement backtrack 337566e63ce3Schristos out of pattern match by saving relevant state. Fix stack size 337666e63ce3Schristos adjustment bug. 337766e63ce3Schristos 337866e63ce3Schristos2006-02-28 Alexandre Oliva <aoliva@redhat.com> 337966e63ce3Schristos 338066e63ce3Schristos * solib-svr4.h (struct link_map_offsets): Add l_ld_offset and 338166e63ce3Schristos l_ld_size fields. 338266e63ce3Schristos * solib-svr4.c (struct lm_info): Add l_addr field. 338366e63ce3Schristos (LM_ADDR_FROM_LINK_MAP): Renamed from LM_ADDR. 338466e63ce3Schristos (HAS_LM_DYNAMIC_FROM_LINK_MAP): New. 338566e63ce3Schristos (LM_DYNAMIC_FROM_LINK_MAP): New. 338666e63ce3Schristos (LM_ADDR_CHECK): New. Use it instead of LM_ADDR. 338766e63ce3Schristos (svr4_current_sos): Initialize l_addr. Adjust. 338866e63ce3Schristos (svr4_relocate_section_addresses): Adjust. 338966e63ce3Schristos (svr4_ilp32_fetch_link_map_offsets): Define new members. 339066e63ce3Schristos (svr4_lp64_fetch_link_map_offsets): Likewise. 339166e63ce3Schristos * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Likewise. 339266e63ce3Schristos * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Likewise. 339366e63ce3Schristos (mipsnbsd_lp64_fetch_link_map_offsets): Likewise. 339466e63ce3Schristos * Makefile.in (solib-svr4.o): Depend on $(elf_bfd_h). 339566e63ce3Schristos 339666e63ce3Schristos2006-02-26 David S. Miller <davem@sunset.davemloft.net> 339766e63ce3Schristos 339866e63ce3Schristos * config/sparc/linux.mt (TDEPFILES): Add sol2-tdep.o. 339966e63ce3Schristos * config/sparc/linux64.mt (TDEPFILES): Likewise. 340066e63ce3Schristos 340166e63ce3Schristos2006-02-27 Alan Modra <amodra@bigpond.net.au> 340266e63ce3Schristos 340366e63ce3Schristos * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Correct return type. 340466e63ce3Schristos (ppc_linux_remove_watchpoint): Likewise, and args. 340566e63ce3Schristos 340666e63ce3Schristos2006-02-26 Mark Kettenis <kettenis@gnu.org> 340766e63ce3Schristos 340866e63ce3Schristos * i386obsd-tdep.c (i386obsd_trapframe_sniffer): Also recognize 340966e63ce3Schristos "soft" interrupts. 341066e63ce3Schristos 341166e63ce3Schristos2006-02-24 Charles Wilson <cygwin@cwilson.fastmail.fm> 341266e63ce3Schristos 3413*1424dfb3Schristos * defs.h: unconditionally include <fcntl.h>, and 341466e63ce3Schristos ensure that O_BINARY is defined. 3415*1424dfb3Schristos * solib.c(solib_open): ensure solib files are opened in 341666e63ce3Schristos binary mode. 3417*1424dfb3Schristos * corelow.c: Remove O_BINARY macro definition. 3418*1424dfb3Schristos * exec.c: Remove O_BINARY macro definition 3419*1424dfb3Schristos * remote-rdp.c: Remove O_BINARY macro definition 3420*1424dfb3Schristos * source.c: Remove O_BINARY macro definition 3421*1424dfb3Schristos * symfile.c: Remove O_BINARY macro definition 342266e63ce3Schristos 342366e63ce3Schristos2006-02-24 Randolph Chung <tausq@debian.org> 342466e63ce3Schristos 342566e63ce3Schristos * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Initialize 342666e63ce3Schristos argreg. 342766e63ce3Schristos * solib-som.c (som_solib_remove_inferior_hook): Remove unused 342866e63ce3Schristos function. 342966e63ce3Schristos 343066e63ce3Schristos2006-02-24 Wu Zhou <woodzltc@cn.ibm.com> 343166e63ce3Schristos 343266e63ce3Schristos * f-exp.y: Symbol '%' is not used as the modulus operator in 343366e63ce3Schristos Fortran. Delete this from Fortran expression. 343466e63ce3Schristos It is now used by Fortran 90 and later to access the member 343566e63ce3Schristos of derived type. Add this into Fortran expression. 343666e63ce3Schristos * f-valprint.c (f_val_print): Add code to handle TYPE_CODE_STRUCT. 343766e63ce3Schristos Print each elements in the derived type. 343866e63ce3Schristos * f-typeprint.c (print_equivalent_f77_float_type): Add a parameter 343966e63ce3Schristos level into the function definition to do indented printing. And 344066e63ce3Schristos call fprintfi_filtered instead to do indented printing. 344166e63ce3Schristos (f_type_print_base): Replace fprintf_filtered with the indented 344266e63ce3Schristos version (fprintfi_filtered). 344366e63ce3Schristos (f_type_print_base): Call indented print_equivalent_f77_float_type. 344466e63ce3Schristos (f_type_print_base): Add code to handle TYPE_CODE_STRUCT. Print 344566e63ce3Schristos the definition of the derived type. 344666e63ce3Schristos 344766e63ce3Schristos2006-02-23 Daniel Jacobowitz <dan@codesourcery.com> 344866e63ce3Schristos 344966e63ce3Schristos * gdb_curses.h: Provide a fallback prototype for tgetnum. 345066e63ce3Schristos 345166e63ce3Schristos2006-02-23 Daniel Jacobowitz <dan@codesourcery.com> 345266e63ce3Schristos 345366e63ce3Schristos * doublest.h: Conditionalize DOUBLEST on PRINTF_HAS_LONG_DOUBLE 345466e63ce3Schristos also. 345566e63ce3Schristos (DOUBLEST_FORMAT): Rename to DOUBLEST_PRINT_FORMAT. 345666e63ce3Schristos (DOUBLEST_SCAN_FORMAT): New. 345766e63ce3Schristos * ada-lex.l (PRINTF_HAS_LONG_DOUBLE): Remove redefinitions. 345866e63ce3Schristos (processReal): Use DOUBLEST_SCAN_FORMAT. 345966e63ce3Schristos * c-exp.y (parse_number): Likewise. 346066e63ce3Schristos * jv-exp.y (parse_number): Likewise. 346166e63ce3Schristos * objc-exp.y (parse_number): Likewise. 346266e63ce3Schristos * p-exp.y (parse_number): Likewise. 346366e63ce3Schristos 346466e63ce3Schristos2006-02-23 Daniel Jacobowitz <dan@codesourcery.com> 346566e63ce3Schristos 346666e63ce3Schristos * event-top.c (async_do_nothing, async_disconnect) 346766e63ce3Schristos (async_stop_sig, async_float_handler): Remove duplicated 346866e63ce3Schristos prototypes. 346966e63ce3Schristos (handle_sighup): Guard prototype with SIGHUP. 347066e63ce3Schristos (async_do_nothing): Guard function and prototype with 347166e63ce3Schristos SIGQUIT || SIGHUP. 347266e63ce3Schristos (async_disconnect): Guard prototype with SIGHUP. 347366e63ce3Schristos (async_stop_sig): Guard prototype with STOP_SIGNAL. 347466e63ce3Schristos 347566e63ce3Schristos2006-02-23 Daniel Jacobowitz <dan@codesourcery.com> 347666e63ce3Schristos 347766e63ce3Schristos * maint.c (maintenance_dump_me): Remove unnecessary prototype. 347866e63ce3Schristos 347966e63ce3Schristos2006-02-23 Daniel Jacobowitz <dan@codesourcery.com> 348066e63ce3Schristos 348166e63ce3Schristos * win32-termcap.c (tputs): Return 0. 348266e63ce3Schristos 348366e63ce3Schristos2006-02-21 Mark Kettenis <kettenis@gnu.org> 348466e63ce3Schristos 348566e63ce3Schristos * configure.ac: Introduce ---enable-werror, which adds -Werror to 348666e63ce3Schristos the compiler command line. Enabled by default. Disable with 348766e63ce3Schristos --disable-werror. 348866e63ce3Schristos * configure regenerate. 348966e63ce3Schristos 349066e63ce3Schristos2006-02-21 Daniel Jacobowitz <dan@codesourcery.com> 349166e63ce3Schristos 349266e63ce3Schristos * elfread.c (elf_symtab_read): Skip symbols which BFD considers 349366e63ce3Schristos special. 349466e63ce3Schristos 349566e63ce3Schristos2006-02-21 Andrew Stubbs <andrew.stubbs@st.com> 349666e63ce3Schristos 349766e63ce3Schristos * defs.h (directory_switch): Add prototype. 349866e63ce3Schristos * main.c (captured_main): Use directory_switch() instead of 349966e63ce3Schristos directory_command() to add directories from the -d switch. 350066e63ce3Schristos * source.c (directory_switch): New function. 350166e63ce3Schristos (add_path): Use buildargv() to parse spaces in filenames properly. 350266e63ce3Schristos Strip multiple trailing '/' rather than just one. 350366e63ce3Schristos 350466e63ce3Schristos2006-02-21 Andrew Stubbs <andrew.stubbs@st.com> 350566e63ce3Schristos 350666e63ce3Schristos * symfile.c (add_symbol_file_command): Use buildargv(), instead of 350766e63ce3Schristos hand decoding the command line, to allow use of quotes and spaces. 350866e63ce3Schristos (_initialize_symfile): Reorganize the help message for add-symbol-file 350966e63ce3Schristos such that 'help files' shows a better message. 351066e63ce3Schristos 351166e63ce3Schristos2006-02-21 Andrew Stubbs <andrew.stubbs@st.com> 351266e63ce3Schristos 351366e63ce3Schristos * sh-tdep.c (sh_generic_show_regs): Reformat both code and output. 351466e63ce3Schristos (sh3_show_regs, sh2e_show_regs, sh2a_show_regs): Likewise. 351566e63ce3Schristos (sh2a_nofpu_show_regs, sh3e_show_regs, sh3_dsp_show_regs): Likewise. 351666e63ce3Schristos (sh4_show_regs, sh4_nofpu_show_regs, sh_dsp_show_regs): Likewise. 351766e63ce3Schristos 351866e63ce3Schristos2006-02-20 Daniel Jacobowitz <dan@codesourcery.com> 351966e63ce3Schristos 352066e63ce3Schristos * linux-nat.c (lin_thread_get_thread_signals): Default to __SIGRTMIN 352166e63ce3Schristos and __SIGRTMIN + 1. 352266e63ce3Schristos 352366e63ce3Schristos2006-02-20 Daniel Jacobowitz <dan@codesourcery.com> 352466e63ce3Schristos 352566e63ce3Schristos * remote.c: Add an enumeration for configurable remote 352666e63ce3Schristos packets. 352766e63ce3Schristos (remote_protocol_packets, set_remote_protocol_packet_cmd) 352866e63ce3Schristos (show_remote_protocol_packet_cmd): New. 352966e63ce3Schristos (remote_protocol_vcont) 353066e63ce3Schristos (set_remote_protocol_vcont_packet_cmd) 353166e63ce3Schristos (show_remote_protocol_vcont_packet_cmd) 353266e63ce3Schristos (remote_protocol_qSymbol) 353366e63ce3Schristos (set_remote_protocol_qSymbol_packet_cmd) 353466e63ce3Schristos (show_remote_protocol_qSymbol_packet_cmd) 353566e63ce3Schristos (remote_protocol_P, set_remote_protocol_P_packet_cmd) 353666e63ce3Schristos (show_remote_protocol_P_packet_cmd) 353766e63ce3Schristos (remote_protocol_Z) 353866e63ce3Schristos (set_remote_protocol_Z_software_bp_packet_cmd) 353966e63ce3Schristos (show_remote_protocol_Z_software_bp_packet_cmd) 354066e63ce3Schristos (set_remote_protocol_Z_hardware_bp_packet_cmd) 354166e63ce3Schristos (show_remote_protocol_Z_hardware_bp_packet_cmd) 354266e63ce3Schristos (set_remote_protocol_Z_write_wp_packet_cmd) 354366e63ce3Schristos (show_remote_protocol_Z_write_wp_packet_cmd) 354466e63ce3Schristos (set_remote_protocol_Z_read_wp_packet_cmd) 354566e63ce3Schristos (show_remote_protocol_Z_read_wp_packet_cmd) 354666e63ce3Schristos (set_remote_protocol_Z_access_wp_packet_cmd) 354766e63ce3Schristos (show_remote_protocol_Z_access_wp_packet_cmd) 354866e63ce3Schristos (remote_protocol_binary_download) 354966e63ce3Schristos (set_remote_protocol_binary_download_cmd) 355066e63ce3Schristos (show_remote_protocol_binary_download_cmd) 355166e63ce3Schristos (remote_protocol_qPart_auxv) 355266e63ce3Schristos (set_remote_protocol_qPart_auxv_packet_cmd) 355366e63ce3Schristos (show_remote_protocol_qPart_auxv_packet_cmd) 355466e63ce3Schristos (remote_protocol_qGetTLSAddr) 355566e63ce3Schristos (set_remote_protocol_qGetTLSAddr_packet_cmd) 355666e63ce3Schristos (show_remote_protocol_qGetTLSAddr_packet_cmd) 355766e63ce3Schristos (remote_protocol_p) 355866e63ce3Schristos (set_remote_protocol_p_packet_cmd) 355966e63ce3Schristos (show_remote_protocol_p_packet_cmd): Delete. 356066e63ce3Schristos 356166e63ce3Schristos (init_all_packet_configs): Simplify. 356266e63ce3Schristos (set_remote_protocol_Z_packet_cmd) 356366e63ce3Schristos (show_remote_protocol_Z_packet_cmd) 356466e63ce3Schristos (remote_check_symbols, remote_vcont_probe, remote_vcont_resume) 356566e63ce3Schristos (remote_fetch_registers, remote_prepare_to_store) 356666e63ce3Schristos (remote_store_registers, check_binary_download) 356766e63ce3Schristos (remote_write_bytes, remote_insert_breakpoint) 356866e63ce3Schristos (remote_remove_breakpoint, remote_insert_watchpoint) 356966e63ce3Schristos (remote_remove_watchpoint, remote_insert_hw_breakpoint) 357066e63ce3Schristos (remote_remove_hw_breakpoint, remote_xfer_partial) 357166e63ce3Schristos (remote_get_thread_local_address): Update for packet array. 357266e63ce3Schristos (_initialize_remote): Likewise; also update for common 357366e63ce3Schristos set/show commands. 357466e63ce3Schristos 357566e63ce3Schristos2006-02-20 Daniel Jacobowitz <dan@codesourcery.com> 357666e63ce3Schristos 357766e63ce3Schristos * symfile.c (place_section): Correct retry logic. 357866e63ce3Schristos 357966e63ce3Schristos2006-02-19 Christopher Faylor <cgf@timesys.com> 358066e63ce3Schristos 358166e63ce3Schristos * win32_nat.c (cygwin_load_start): New variable. 358266e63ce3Schristos (cygwin_load_end): Ditto. 358366e63ce3Schristos (have_saved_context): Ditto. 358466e63ce3Schristos (saved_context): Ditto. 358566e63ce3Schristos (max_dll_name_len): Delete obsolete variable. 358666e63ce3Schristos (do_win32_fetch_inferior_registers): Use context saved from cygwin1.dll 358766e63ce3Schristos if we are in a cygwin signal rather than a windows signal. 358866e63ce3Schristos (solib_symbols_add): Detect and store beginning and end of cygwin DLL 358966e63ce3Schristos if dll being loaded is the cygwin DLL. 359066e63ce3Schristos (register_loaded_dll): Remove calculation of max_dll_name_len. 359166e63ce3Schristos (win32_clear_solib): Ditto. 359266e63ce3Schristos (handle_load_dll): Delete obsolete variable. Remove unneeded call to 359366e63ce3Schristos solib_add. 359466e63ce3Schristos (handle_output_debug_string): Detect and store signal information sent 359566e63ce3Schristos by Cygwin here. 359666e63ce3Schristos (handle_exception): Silently pass on errors in the cygwin DLL. Return 359766e63ce3Schristos -1 on first pass exception. 359866e63ce3Schristos (win32_continue): Remove spurious clearing of continue_status. 359966e63ce3Schristos (get_win32_debug_event): Deal differently first chance exception. 360066e63ce3Schristos 360166e63ce3Schristos2006-02-19 Randolph Chung <tausq@debian.org> 360266e63ce3Schristos 360366e63ce3Schristos * hppa-tdep.c (hppa_in_solib_call_trampoline): Only use if no 360466e63ce3Schristos unwind entry. 360566e63ce3Schristos 360666e63ce3Schristos2006-02-16 Fred Fish <fnf@specifix.com> 360766e63ce3Schristos 360866e63ce3Schristos * eval.c (evaluate_subexp_standard): For OP_TYPE, return 360966e63ce3Schristos a non lval value zero, of the appropriate type, when avoiding 361066e63ce3Schristos side effects. 361166e63ce3Schristos * typeprint.c (ptype_eval): Remove function and declaration. 361266e63ce3Schristos (ptype_command): Simplify to just a call to whatis_exp. 361366e63ce3Schristos 361466e63ce3Schristos2006-02-15 Paul Brook <paul@codesourcery.com> 361566e63ce3Schristos 361666e63ce3Schristos * arm-tdep.c (arm_skip_prologue, thumb_get_next_pc, arm_get_next_pc): 361766e63ce3Schristos Load insn opcodes as unsigned values. 361866e63ce3Schristos 361966e63ce3Schristos2006-02-14 Alexandre Oliva <aoliva@redhat.com> 362066e63ce3Schristos 362166e63ce3Schristos * doublest.h (DOUBLEST): Use long double only if we can scan 362266e63ce3Schristos it in. Undefine HAVE_LONG_DOUBLE otherwise. 362366e63ce3Schristos (DOUBLEST_FORMAT): New. 362466e63ce3Schristos * c-exp.y (parse_number): Use it. 362566e63ce3Schristos * jv-exp.y (parse_number): Likewise. 362666e63ce3Schristos * objc-exp.y (parse_number): Likewise. 362766e63ce3Schristos * p-exp.y (parse_number): Likewise. 362866e63ce3Schristos * varobj.c (free_variable): Silence type-punning warnings. 362966e63ce3Schristos * tui/tui-data.h (struct tui_list): Change type of list member. 363066e63ce3Schristos * tui/tui-data.c: Remove no-longer-needed type casts. 363166e63ce3Schristos (source_windows): Silence type-punning warnings. 363266e63ce3Schristos * tui/tui-stack.c, tui/tui-win.c, tui/tui-winsource.c: Likewise. 363366e63ce3Schristos 363466e63ce3Schristos2006-02-13 Mark Kettenis <kettenis@gnu.org> 363566e63ce3Schristos 363666e63ce3Schristos Fix PR breakpoints/2080. 363766e63ce3Schristos * i386-tdep.c (struct i386_frame_cache): Add stack_align member. 363866e63ce3Schristos (i386_analyze_stack_align): New function. 363966e63ce3Schristos (i386_analyze_prologue): Use i386_analyze_stack_align. 364066e63ce3Schristos (i386_frame_cache): Deal with stack realignment. 364166e63ce3Schristos 364266e63ce3Schristos2006-02-14 Nick Roberts <nickrob@snap.net.nz> 364366e63ce3Schristos 364466e63ce3Schristos * mi/gdb-mi.el: Use more functions from gdb-ui.el. 364566e63ce3Schristos (gdb-break-list-regexp): Match "what" field if present. 364666e63ce3Schristos (gdb-stack-list-frames-regexp): Match "from" field if present. 364766e63ce3Schristos (gdb-stack-list-frames-handler): Present output like "info 364866e63ce3Schristos breakpoints" so regexps can be shared with gdb-ui 364966e63ce3Schristos 365066e63ce3Schristos2006-02-10 Daniel Jacobowitz <dan@codesourcery.com> 365166e63ce3Schristos 365266e63ce3Schristos * NEWS: Mention native Windows support. 365366e63ce3Schristos * Makefile.in (gdb_select_h, ser_tcp_h): New. 365466e63ce3Schristos (ALLDEPFILES): Add ser-mingw.c. 365566e63ce3Schristos (event-loop.o, inflow.o, mingw-hdep.o, posix-hdep.o, ser-base.o) 365666e63ce3Schristos (ser-tcp.o, ser-unix.o): Update. 365766e63ce3Schristos (ser-mingw.o): New rule. 365866e63ce3Schristos * configure: Regenerated. 365966e63ce3Schristos * configure.ac: Add ser-mingw.o for mingw32. 366066e63ce3Schristos * ser-mingw.c: New file. 366166e63ce3Schristos * event-loop.c: Include "gdb_select.h". 366266e63ce3Schristos (gdb_select): Remove, moved to mingw-hdep.c and posix-hdep.c. 366366e63ce3Schristos * ser-base.c: Include "gdb_select.h". 366466e63ce3Schristos (ser_base_wait_for): Use gdb_select. 366566e63ce3Schristos * serial.c (serial_for_fd): New function. 366666e63ce3Schristos (serial_fdopen): Try "terminal" before "hardwire". Initialize 366766e63ce3Schristos the allocated struct serial. 366866e63ce3Schristos (serial_wait_handle): New function. 366966e63ce3Schristos * serial.h (serial_for_fd, serial_wait_handle): New prototypes. 367066e63ce3Schristos (struct serial_ops) [USE_WIN32API]: Add wait_handle. 367166e63ce3Schristos * gdb_select.h: New file. 367266e63ce3Schristos * ser-tcp.c: Include "ser-tcp.h". Remove unused "ser-unix.h" include. 367366e63ce3Schristos (net_close, net_read_prim, net_write_prim): Make global. 367466e63ce3Schristos (net_open): Likewise. Pass an exception set to select. Whitespace fix. 367566e63ce3Schristos Document why we can not use gdb_select. 367666e63ce3Schristos (_initialize_ser_tcp) [USE_WIN32API]: Do not register TCP support here. 367766e63ce3Schristos * ser-tcp.h: New file. 367866e63ce3Schristos * inflow.c (gdb_has_a_terminal): Don't initialize stdin_serial here. 367966e63ce3Schristos (handle_sigio): Use gdb_select. 368066e63ce3Schristos (initialize_stdin_serial): New function. 368166e63ce3Schristos * terminal.h (initialize_stdin_serial): New prototype. 368266e63ce3Schristos * top.c (gdb_init): Call initialize_stdin_serial. 368366e63ce3Schristos * mingw-hdep.c (gdb_select): New function, moved from gdb_select in 368466e63ce3Schristos event-loop.c. Add exception condition support. Use serial_for_fd 368566e63ce3Schristos and serial_wait_handle. Fix timeout handling. 368666e63ce3Schristos * posix-hdep.c: Include "gdb_select.h". 368766e63ce3Schristos (gdb_select): New function. 368866e63ce3Schristos * remote-st.c (connect_command): Use gdb_select. 368966e63ce3Schristos * ser-unix.c: Include "gdb_select.h". 369066e63ce3Schristos (hardwire_send_break, wait_for): Use gdb_select. 369166e63ce3Schristos 369266e63ce3Schristos2006-02-10 Daniel Jacobowitz <dan@codesourcery.com> 369366e63ce3Schristos 369466e63ce3Schristos * Makefile.in (mingw-hdep.o, posix-hdep.o): New dependencies. 369566e63ce3Schristos (ALLDEPFILES): Add mingw-hdep.c and posix-hdep.c. 369666e63ce3Schristos * configure.ac: Add gdb_host_obs to CONFIG_OBS. Set gdb_host_obs 369766e63ce3Schristos to posix-hdep.o by default. 369866e63ce3Schristos * configure: Regenerated. 369966e63ce3Schristos * configure.host: Document gdb_host_obs. Add an entry for 370066e63ce3Schristos i[34567]86-*-mingw32*. 370166e63ce3Schristos * mingw-hdep.c, posix-hdep.c: New files. 370266e63ce3Schristos * utils.c (safe_strerror): Remove, moved to posix-hdep.o. 370366e63ce3Schristos 370466e63ce3Schristos2006-02-10 Joel Brobecker <brobecker@adacore.com> 370566e63ce3Schristos 370666e63ce3Schristos * defs.h (gdb_osabi): New enum value GDB_OSABI_AIX. 370766e63ce3Schristos * osabi.c (gdb_osabi_name): Add name of new value GDB_OSABI_AIX. 370866e63ce3Schristos * rs6000-tdep.h: New file. 370966e63ce3Schristos * rs6000-tdep.c: Include "rs6000-tdep.h". 371066e63ce3Schristos (rs6000_gdbarch_init): Remove enabling of software single step. 371166e63ce3Schristos Will be done in the AIX-specific initialization routine. 371266e63ce3Schristos * rs6000-aix-tdep.c: New file. 371366e63ce3Schristos * config/powerpc/aix.mt (TDEPFILES): Add rs6000-aix-tdep.o. 371466e63ce3Schristos * Makefile.in (rs6000_tdep_h): New variable. 371566e63ce3Schristos (rs6000-tdep.o): Update dependencies. 371666e63ce3Schristos (rs6000-aix-tdep.o): New rule. 371766e63ce3Schristos 371866e63ce3Schristos2006-02-10 Joel Brobecker <brobecker@adacore.com> 371966e63ce3Schristos 372066e63ce3Schristos * aix-thread.c (_initialize_aix_thread): Use add_setshow_boolean_cmd 372166e63ce3Schristos instead of add_setshow_zinteger_cmd to defined the aix-thread 372266e63ce3Schristos boolean setting. 372366e63ce3Schristos 372466e63ce3Schristos2006-02-10 Nick Roberts <nickrob@snap.net.nz> 372566e63ce3Schristos 372666e63ce3Schristos * mi/gdb-mi.el: Update to reflect changes in Emacs 22.0.50. 372766e63ce3Schristos 372866e63ce3Schristos2006-02-09 Daniel Jacobowitz <dan@codesourcery.com> 372966e63ce3Schristos 373066e63ce3Schristos * dwarf2read.c (struct dwarf2_per_cu_data): Reduce length to 373166e63ce3Schristos 30 bits. Add load_all_dies flag. 373266e63ce3Schristos (load_partial_dies): Load all DIEs if per_cu->load_all_dies is set. 373366e63ce3Schristos Load DW_TAG_member by default. Remove internal_error call. 373466e63ce3Schristos (find_partial_die): Reload the compilation unit if we can not find 373566e63ce3Schristos a DIE in the cache. Call internal_error here if we still can not 373666e63ce3Schristos find the DIE. 373766e63ce3Schristos 373866e63ce3Schristos2006-02-10 Nick Roberts <nickrob@snap.net.nz> 373966e63ce3Schristos 374066e63ce3Schristos * breakpoint.c (print_one_breakpoint): Add break to case 374166e63ce3Schristos bp_catch_vfork in switch statement. 374266e63ce3Schristos 374366e63ce3Schristos2006-02-08 Wu Zhou <woodzltc@cn.ibm.com> 374466e63ce3Schristos 374566e63ce3Schristos * config/i386/nm-i386sol2.h: Update copyright year. 374666e63ce3Schristos * config/mips/nm-irix5.h: Ditto. 374766e63ce3Schristos * config/sparc/nm-sol2.h: Ditto. 374866e63ce3Schristos * s390-nat.c: Ditto. 374966e63ce3Schristos * ppc-linux-nat.c: Ditto. 375066e63ce3Schristos 375166e63ce3Schristos2006-02-08 Wu Zhou <woodzltc@cn.ibm.com> 375266e63ce3Schristos 375366e63ce3Schristos * breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Delete. 375466e63ce3Schristos * config/i386/nm-i386sol2.h (TARGET_REGION_OK_FOR_HW_WATCHPOINT): New. 375566e63ce3Schristos (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete. 375666e63ce3Schristos * config/mips/nm-irix5.h (TARGET_REGION_OK_FOR_HW_WATCHPOINT): New. 375766e63ce3Schristos (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete. 375866e63ce3Schristos * config/sparc/nm-sol2.h (TARGET_REGION_OK_FOR_HW_WATCHPOINT): New. 375966e63ce3Schristos (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete. 376066e63ce3Schristos * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): New. 376166e63ce3Schristos (inf_ttrace_region_size_ok_for_hw_watchpoint): Delete. 376266e63ce3Schristos (inf_ttrace_target): Delete to_region_size_ok_for_hw_watchpoint and 376366e63ce3Schristos add to_region_ok_for_hw_watchpoint. 376466e63ce3Schristos * s390-nat.c (s390_region_size_ok_for_hw_watchpoint): Delete. 376566e63ce3Schristos (s390_region_ok_for_hw_watchpoint): New. 376666e63ce3Schristos (_initialize_s390_nat): Delete to_region_size_ok_for_hw_watchpoint 376766e63ce3Schristos and add to_region_ok_for_hw_watchpoint. 376866e63ce3Schristos * target.c (default_region_size_ok_for_hw_watchpoint, 376966e63ce3Schristos debug_to_region_size_ok_for_hw_watchpoint): Delete prototype. 377066e63ce3Schristos (update_current_target): Delete to_region_size_ok_for_hw_watchpoint 377166e63ce3Schristos inheritance and default_region_size_ok_for_hw_watchpoint. 377266e63ce3Schristos (default_region_ok_for_hw_watchpoint): If len is less than or equal 377366e63ce3Schristos the length of void pointer, return ok. 377466e63ce3Schristos (default_region_size_ok_for_hw_watchpoint): Delete. 377566e63ce3Schristos (debug_to_region_size_ok_for_hw_watchpoint): Delete. 377666e63ce3Schristos (setup_target_debug): Delete to_region_size_ok_for_hw_watchpoint. 377766e63ce3Schristos * target.h (struct target_ops): Delete 377866e63ce3Schristos to_region_size_ok_for_hw_watchpoint. 377966e63ce3Schristos (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete. 378066e63ce3Schristos 378166e63ce3Schristos2006-02-08 Ben Elliston <bje@au1.ibm.com> 378266e63ce3Schristos Wu Zhou <woodzltc@cn.ibm.com> 378366e63ce3Schristos 378466e63ce3Schristos * ppc-linux-nat.c (PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, 378566e63ce3Schristos PTRACE_GETSIGINFO): Define. 378666e63ce3Schristos (last_stopped_data_address): New. 378766e63ce3Schristos (ppc_linux_check_watch_resources): New function. 378866e63ce3Schristos (ppc_linux_region_ok_for_hw_watchpoint): New function. 378966e63ce3Schristos (ppc_linux_insert_watchpoint): New function. 379066e63ce3Schristos (ppc_linux_remove_watchpoint): New function. 379166e63ce3Schristos (ppc_linux_stopped_data_address): New function. 379266e63ce3Schristos (ppc_linux_stopped_by_watchpoint): New function. 379366e63ce3Schristos (_initialize_ppc_linux_nat): Set the above hardware watchpoint 379466e63ce3Schristos related target vectors. 379566e63ce3Schristos * rs6000-tdep.c (rs6000_gdbarch_init): Set PPC architectures 379666e63ce3Schristos to have nonsteppable watchpoint. 379766e63ce3Schristos * target.c (default_region_ok_for_hw_watchpoint, 379866e63ce3Schristos debug_to_region_ok_for_hw_watchpoint): New prototypes. 379966e63ce3Schristos (update_current_target): Inherit to_region_ok_for_hw_watchpoint 380066e63ce3Schristos and set default to_region_ok_for_hw_watchpoint. 380166e63ce3Schristos (default_region_ok_for_hw_watchpoint): New function. 380266e63ce3Schristos (debug_to_region_ok_for_hw_watchpoint): New function. 380366e63ce3Schristos (setup_target_debug): Set to_region_ok_for_hw_watchpoint of 380466e63ce3Schristos debug_target. 380566e63ce3Schristos * target.h (struct target_ops): Add a new target vector 380666e63ce3Schristos to_region_ok_for_hw_watchpoint. 380766e63ce3Schristos (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Define this if it is not 380866e63ce3Schristos defined anyplace else. 380966e63ce3Schristos 381066e63ce3Schristos2005-02-07 Joel Brobecker <brobecker@adacore.com> 381166e63ce3Schristos * symfile.c (add_symbol_file_command): Abort if the user forgot 381266e63ce3Schristos to provide the address when the file has been loaded. 381366e63ce3Schristos 381466e63ce3Schristos2006-02-07 Daniel Jacobowitz <dan@codesourcery.com> 381566e63ce3Schristos 381666e63ce3Schristos * MAINTAINERS: Update file based on maintainers survey. Add 381766e63ce3Schristos a note to Past Maintainers. Move unresponsive or inactive 381866e63ce3Schristos maintainers to Authorized Committers or Past Maintainers as 381966e63ce3Schristos appropriate. Correct Jim Kingdon's email address. Remove 382066e63ce3Schristos vacant areas of responsibility. 382166e63ce3Schristos 382266e63ce3Schristos2006-02-06 Vladimir Prus <ghost@cs.msu.su> 382366e63ce3Schristos 382466e63ce3Schristos * breakpoint.c (print_one_breakpoint): For MI-like UI, output 382566e63ce3Schristos fullname field. 382666e63ce3Schristos 382766e63ce3Schristos2006-02-03 Daniel Jacobowitz <dan@codesourcery.com> 382866e63ce3Schristos 382966e63ce3Schristos * exceptions.h (enum errors): Rename NO_ERROR to GDB_NO_ERROR. 383066e63ce3Schristos * exceptions.c (exception_none, exceptions_state_mc_init) 383166e63ce3Schristos (throw_vfatal): Use GDB_NO_ERROR. 383266e63ce3Schristos 383366e63ce3Schristos2006-02-02 Mark Kettenis <kettenis@gnu.org> 383466e63ce3Schristos 383566e63ce3Schristos * solib-svr4.h (struct link_map_offsets): Remove r_debug_size and 383666e63ce3Schristos r_map_size members. Add r_version_offset, r_version_size and 383766e63ce3Schristos r_ldsomap_offset members. 383866e63ce3Schristos * solib-svr4.c (solib_svr4_r_map): Renamed from 383966e63ce3Schristos fetch_link_map_member. Simplify using read_memory_typed_address. 384066e63ce3Schristos (solib_svr4_r_ldsomap): New function. 384166e63ce3Schristos (open_symbol_file_object): Use solib_svr_r_map. 384266e63ce3Schristos (svr4_current_sos): Use solib_svr4_r_map and look for the dynamic 384366e63ce3Schristos linker by using solib_svr4_r_ldsomap. 384466e63ce3Schristos (svr4_ilp32_fetch_link_map_offsets) 384566e63ce3Schristos (svr4_lp64_fetch_link_map_offsets): Adjust for changes to `struct 384666e63ce3Schristos link_map_offsets'. 384766e63ce3Schristos * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Adjust for 384866e63ce3Schristos changes to `struct link_map_offsets'. 384966e63ce3Schristos * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets) 385066e63ce3Schristos (mipsnbsd_lp64_fetch_link_map_offsets): Adjust for changes to 385166e63ce3Schristos `struct link_map_offsets'. 385266e63ce3Schristos 385366e63ce3Schristos2006-02-01 Daniel Jacobowitz <dan@codesourcery.com> 385466e63ce3Schristos 385566e63ce3Schristos * linux-nat.c (struct saved_ptids, threads_to_delete) 385666e63ce3Schristos (record_dead_thread, prune_lwps, find_thread_from_lwp) 385766e63ce3Schristos (exit_lwp): New. 385866e63ce3Schristos (linux_nat_resume): Call prune_lwps. 385966e63ce3Schristos (wait_lwp, linux_nat_wait): Call exit_lwp. 386066e63ce3Schristos 386166e63ce3Schristos2006-02-01 Daniel Jacobowitz <dan@codesourcery.com> 386266e63ce3Schristos 386366e63ce3Schristos * printcmd.c (printf_command): Make format string checking 386466e63ce3Schristos stricter. Add separate cases for long_arg, ptr_arg, and 386566e63ce3Schristos long_double_arg. 386666e63ce3Schristos * utils.c (xstrvprintf): Improve the error message issued 386766e63ce3Schristos for a bad format string. 386866e63ce3Schristos * Makefile.in (GDB_WARN_CFLAGS_NO_FORMAT, INTERNAL_CFLAGS_BASE): 386966e63ce3Schristos New variables. 387066e63ce3Schristos (gnu-v3-abi.o, monitor.o, procfs.o, linux-thread-db.o): Remove 387166e63ce3Schristos $(NO_WERROR_CFLAGS). 387266e63ce3Schristos (printcmd.o): Likewise. Use $(GDB_WARN_CFLAGS_NO_FORMAT) and 387366e63ce3Schristos enable -Werror. 387466e63ce3Schristos 387566e63ce3Schristos2006-02-01 Daniel Jacobowitz <dan@codesourcery.com> 387666e63ce3Schristos 387766e63ce3Schristos * Makefile.in (remote.o): Update. 387866e63ce3Schristos * remote.c (show_packet_config_cmd): Shorten messages. 387966e63ce3Schristos (remote_set_cmdlist, remote_show_cmdlist): Make file-static. 388066e63ce3Schristos (show_remote_cmd): Iterate. 388166e63ce3Schristos (_initialize_remote): Remove remote_set_cmdlist, 388266e63ce3Schristos remote_show_cmdlist. 388366e63ce3Schristos 388466e63ce3Schristos2006-02-01 Daniel Jacobowitz <dan@codesourcery.com> 388566e63ce3Schristos 388666e63ce3Schristos * Makefile.in (gdbtypes_h, gdbtypes.o, utils.o): Update. 388766e63ce3Schristos * defs.h (hashtab_obstack_allocate, dummy_obstack_deallocate): Add 388866e63ce3Schristos prototypes. 388966e63ce3Schristos * dwarf2read.c (read_subroutine_type): Use TYPE_ZALLOC. 389066e63ce3Schristos (hashtab_obstack_allocate, dummy_obstack_deallocate): Moved to... 389166e63ce3Schristos * utils.c (hashtab_obstack_allocate, dummy_obstack_deallocate): 389266e63ce3Schristos ...here. 389366e63ce3Schristos * gdbtypes.c: Include "hashtab.h". 389466e63ce3Schristos (build_gdbtypes): Remove extra prototype. 389566e63ce3Schristos (struct type_pair, type_pair_hash, type_pair_eq) 389666e63ce3Schristos (create_copied_types_hash, copy_type_recursive): New. 389766e63ce3Schristos * gdbtypes.h: Include "hashtab.h". 389866e63ce3Schristos (TYPE_ZALLOC): New. 389966e63ce3Schristos (create_copied_types_hash, copy_type_recursive): New prototypes. 390066e63ce3Schristos * objfiles.c (free_objfile): Call preserve_values. 390166e63ce3Schristos * symfile.c (reread_symbols): Likewise. 390266e63ce3Schristos (clear_symtab_users): Remove calls to clear_value_history and 390366e63ce3Schristos clear_internalvars. 390466e63ce3Schristos * value.c (clear_value_history, clear_internalvars): Removed. 390566e63ce3Schristos (preserve_one_value, preserve_values): New functions. 390666e63ce3Schristos * value.h (clear_value_history, clear_internalvars): Removed. 390766e63ce3Schristos (preserve_values): New prototype. 390866e63ce3Schristos 390966e63ce3Schristos * tracepoint.c (_initialize_tracepoint): Do not initialize convenience 391066e63ce3Schristos variables here. 391166e63ce3Schristos 391266e63ce3Schristos2006-01-29 Mark Kettenis <kettenis@gnu.org> 391366e63ce3Schristos 391466e63ce3Schristos * amd64-tdep.c (amd64_classify): Handle TYPE_CODE_BOOL. 391566e63ce3Schristos Fixes PR tdep/2075. 391666e63ce3Schristos 391766e63ce3Schristos2006-01-27 Joel Brobecker <brobecker@adacore.com> 391866e63ce3Schristos 391966e63ce3Schristos * MAINTAINERS: Use a consistent email address for brobecker. 392066e63ce3Schristos 392166e63ce3Schristos2006-01-27 Joel Brobecker <brobecker@adacore.com> 392266e63ce3Schristos 392366e63ce3Schristos * infcmd.c (post_create_inferior): Fix copy/paste error introduced 392466e63ce3Schristos in the previous change. 392566e63ce3Schristos 392666e63ce3Schristos2006-01-24 Daniel Jacobowitz <dan@codesourcery.com> 392766e63ce3Schristos 392866e63ce3Schristos PR gdb/1914 392966e63ce3Schristos * fork-child.c (fork_inferior): Don't call 393066e63ce3Schristos solib_create_inferior_hook. 393166e63ce3Schristos * infcmd.c (post_create_inferior): Call solib_add, 393266e63ce3Schristos solib_create_inferior_hook, and re_enable_breakpoints_in_shlibs. 393366e63ce3Schristos (attach_command): Don't call solib_add or 393466e63ce3Schristos re_enable_breakpoints_in_shlibs. Call post_create_inferior 393566e63ce3Schristos instead. 393666e63ce3Schristos * remote.c (remote_open_1): Don't call solib_create_inferior_hook 393766e63ce3Schristos or observer_notify_inferior_created. Call post_create_inferior 393866e63ce3Schristos instead. 393966e63ce3Schristos * corelow.c: Don't include "observer.h". 394066e63ce3Schristos (solib_add_stub): Deleted. 394166e63ce3Schristos (core_open): Don't call observer_notify_inferior_created or 394266e63ce3Schristos solib_add_stub. Call post_create_inferior instead. 394366e63ce3Schristos * inf-ptrace.c: Don't include "observer.h". 394466e63ce3Schristos (inf_ptrace_attach): Don't call observer_notify_inferior_created. 394566e63ce3Schristos * inf-ttrace.c: Don't include "observer.h". 394666e63ce3Schristos (inf_ttrace_attach): Don't call observer_notify_inferior_created. 394766e63ce3Schristos * inferior.h (solib_create_inferior_hook): Remove redundant 394866e63ce3Schristos prototype. 394966e63ce3Schristos * inftarg.c: Don't include "observer.h". 395066e63ce3Schristos (child_attach): Don't call observer_notify_inferior_created. 395166e63ce3Schristos * Makefile.in: Update dependencies. 395266e63ce3Schristos 395366e63ce3Schristos2006-01-24 Daniel Jacobowitz <dan@codesourcery.com> 395466e63ce3Schristos 395566e63ce3Schristos * infcmd.c: Include "observer.h". 395666e63ce3Schristos (post_create_inferior): New function. 395766e63ce3Schristos (run_command_1): Call it. Also call proceed. 395866e63ce3Schristos * inferior.h (post_create_inferior): New prototype. 395966e63ce3Schristos * Makefile.in (infcmd.o): Update. 396066e63ce3Schristos 396166e63ce3Schristos * gnu-nat.c (gnu_create_inferior): Don't call proceed. 396266e63ce3Schristos * go32-nat.c (go32_create_inferior): Likewise. 396366e63ce3Schristos * nto-procfs.c (procfs_create_inferior): Likewise. 396466e63ce3Schristos * procfs.c (procfs_create_inferior): Likewise. 396566e63ce3Schristos * remote-sim.c (gdbsim_create_inferior): Likewise. 396666e63ce3Schristos * remote.c (extended_remote_create_inferior) 396766e63ce3Schristos (extended_remote_async_create_inferior): Likewise. 396866e63ce3Schristos * win32-nat.c (win32_create_inferior): Likewise. 396966e63ce3Schristos * wince.c (child_create_inferior): Likewise. 397066e63ce3Schristos 397166e63ce3Schristos * monitor.c (monitor_create_inferior): Don't call proceed. 397266e63ce3Schristos Set the PC manually. 397366e63ce3Schristos * ocd.c (ocd_create_inferior): Likewise. 397466e63ce3Schristos * remote-e7000.c (e7000_create_inferior): Likewise. 397566e63ce3Schristos * remote-m32r-sdi.c (m32r_create_inferior): Likewise. 397666e63ce3Schristos * remote-mips.c (mips_create_inferior): Likewise. 397766e63ce3Schristos * remote-rdp.c (remote_rdp_create_inferior): Likewise. 397866e63ce3Schristos * remote-sds.c (sds_create_inferior): Likewise. 397966e63ce3Schristos * remote-st.c (st2000_create_inferior): Likewise. 398066e63ce3Schristos 398166e63ce3Schristos * inf-ptrace.c (inf_ptrace_create_inferior): Don't call 398266e63ce3Schristos proceed or observer_notify_inferior_created. 398366e63ce3Schristos * inf-ttrace.c (inf_ttrace_create_inferior): Likewise. 398466e63ce3Schristos * inftarg.c (child_create_inferior): Likewise. 398566e63ce3Schristos 398666e63ce3Schristos2006-01-24 Daniel Jacobowitz <dan@codesourcery.com> 398766e63ce3Schristos 398866e63ce3Schristos * linux-thread-db.c (thread_db_mourn_inferior): Remove breakpoints 398966e63ce3Schristos after mourning the inferior. 399066e63ce3Schristos 399166e63ce3Schristos2006-01-24 Jim Blandy <jimb@redhat.com> 399266e63ce3Schristos 399366e63ce3Schristos * valarith.c (binop_user_defined_p): Handle refs to typedefs. 399466e63ce3Schristos 399566e63ce3Schristos2006-01-24 Fred Fish <fnf@specifix.com> 399666e63ce3Schristos 399766e63ce3Schristos * parse.c (source.h): Include. 399866e63ce3Schristos (parse_exp_in_context): Use static source context if no 399966e63ce3Schristos other context found. 400066e63ce3Schristos 400166e63ce3Schristos2006-01-23 Andrew Stubbs <andrew.stubbs@st.com> 400266e63ce3Schristos 400366e63ce3Schristos * sh-tdep.c: Include reggroups.h. 400466e63ce3Schristos (sh_register_reggroup_p): New function. 400566e63ce3Schristos (sh_gdbarch_init): Add call to set_gdbarch_register_reggroup_p. 400666e63ce3Schristos * Makefile.in (sh-tdep.o): Add dependency on reggroups.h. 400766e63ce3Schristos 400866e63ce3Schristos2006-01-23 Andrew Stubbs <andrew.stubbs@st.com> 400966e63ce3Schristos 401066e63ce3Schristos * cli/cli-cmds.c: Include fcntl.h. 401166e63ce3Schristos (source_command): Use the GDB search path to find script files. 401266e63ce3Schristos 401366e63ce3Schristos2006-01-22 Daniel Jacobowitz <dan@codesourcery.com> 401466e63ce3Schristos 401566e63ce3Schristos PR tdep/2029 401666e63ce3Schristos Suggested by Till Straumann <strauman@slac.stanford.edu>: 401766e63ce3Schristos * rs6000-tdep.c (skip_prologue): Update check for later mtlr 401866e63ce3Schristos instructions. Handle PIC bcl. 401966e63ce3Schristos 402066e63ce3Schristos2006-01-22 Daniel Jacobowitz <dan@codesourcery.com> 402166e63ce3Schristos 402266e63ce3Schristos * config/djgpp/README: Typo fix. 402366e63ce3Schristos * config/djgpp/fnchange.lst: Update. 402466e63ce3Schristos 402566e63ce3Schristos2006-01-22 Mark Kettenis <kettenis@gnu.org> 402666e63ce3Schristos 402766e63ce3Schristos * sparc-tdep.h (struct gdbarch_tdep): Add step_trap member. 402866e63ce3Schristos (sparc_address_from_register): New prototype. 402966e63ce3Schristos (sparcnbsd_step_trap): New prototype. 403066e63ce3Schristos * sparc-tdep.c (sparc_address_from_register): Make globally 403166e63ce3Schristos visible. 403266e63ce3Schristos (sparc_analyze_control_transfer): Change prototype to accept 403366e63ce3Schristos `struct gdbarch *' as first argument. Allow for optional hnadling 403466e63ce3Schristos for trap instructions. 403566e63ce3Schristos (sparc_step_trap): New function. 403666e63ce3Schristos (sparc_software_single_step): Adjust call to 403766e63ce3Schristos sparc_analyze_control_trabsfer. 403866e63ce3Schristos (sparc32_gdbarch_init): Initialize TDEP->step_trap. 403966e63ce3Schristos * sparcnbsd-tdep.c (sparcnbsd_step_trap): New function. 404066e63ce3Schristos (sparc32nbsd_init_abi): Set TDEP->step_trap. 404166e63ce3Schristos * sparc64obsd-tdep.c (sparc64obsd_init_abi): Set TDEP->step_trap. 404266e63ce3Schristos * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Set TDEP->step_trap. 404366e63ce3Schristos 404466e63ce3Schristos * sparc-tdep.c (sparc32_return_value): Convert to use 404566e63ce3Schristos RETURN_VALUE_ABI_PRESERVES_ADDRESS instead of 404666e63ce3Schristos RETURN_VALUE_STRUCT_CONVENTION. 404766e63ce3Schristos (sparc32_extract_struct_value_address): Remove. 404866e63ce3Schristos 404966e63ce3Schristos2006-01-21 Daniel Jacobowitz <dan@codesourcery.com> 405066e63ce3Schristos 405166e63ce3Schristos * avr-tdep.c (avr_address_to_pointer, avr_pointer_to_address) 405266e63ce3Schristos (avr_extract_return_value, avr_frame_prev_register): Use gdb_byte. 405366e63ce3Schristos 405466e63ce3Schristos2006-01-21 Daniel Jacobowitz <dan@codesourcery.com> 405566e63ce3Schristos 405666e63ce3Schristos * solib.c (info_sharedlibrary_command): Avoid internal_error. 405766e63ce3Schristos 405866e63ce3Schristos2006-01-21 Mark Kettenis <kettenis@gnu.org> 405966e63ce3Schristos 406066e63ce3Schristos * i386-tdep.c (i386_mxcsr_type): New variable. 406166e63ce3Schristos (i386_init_types): Initialize i386_mxcsr_type. 406266e63ce3Schristos (i386_register_type): Return i386_mxcsr_type for %mxcsr. 406366e63ce3Schristos * i386-tdep.c (i386_mxcsr_type): New extern. 406466e63ce3Schristos * amd64-tdep.c (amd64_register_info): Return i386_mxcsr_type for 406566e63ce3Schristos %mxcsr. 406666e63ce3Schristos 406766e63ce3Schristos2006-01-20 Mark Mitchell <mark@codesourcery.com> 406866e63ce3Schristos 406966e63ce3Schristos * Makefile.in (remote-rdi.o): Remove. 407066e63ce3Schristos (rdi-share/libangsd.a): Likewise. 407166e63ce3Schristos * README: Don't mention remote-rdi.c. 407266e63ce3Schristos * NEWS: Mention removal of rdi-share. 407366e63ce3Schristos * configure.ac: Don't configure rdi-share subdirectory. 407466e63ce3Schristos * remote-rdi.c: Remove. 407566e63ce3Schristos * config/arm/embed.mt (TDEPFILES): Remove remote-rdi.o. 407666e63ce3Schristos (TDEPLIBS): Remove rdi-share/libangsd.a. 407766e63ce3Schristos * rdi-share/Makefile.am: Remove. 407866e63ce3Schristos * rdi-share/Makefile.in: Likewise. 407966e63ce3Schristos * rdi-share/README.CYGNUS: Likewise. 408066e63ce3Schristos * rdi-share/aclocal.m4: Likewise. 408166e63ce3Schristos * rdi-share/adp.h: Likewise. 408266e63ce3Schristos * rdi-share/adperr.h: Likewise. 408366e63ce3Schristos * rdi-share/angel.h: Likewise. 408466e63ce3Schristos * rdi-share/angel_bytesex.c: Likewise. 408566e63ce3Schristos * rdi-share/angel_bytesex.h: Likewise. 408666e63ce3Schristos * rdi-share/angel_endian.h: Likewise. 408766e63ce3Schristos * rdi-share/ardi.c: Likewise. 408866e63ce3Schristos * rdi-share/ardi.h: Likewise. 408966e63ce3Schristos * rdi-share/armdbg.h: Likewise. 409066e63ce3Schristos * rdi-share/buffers.h: Likewise. 409166e63ce3Schristos * rdi-share/chandefs.h: Likewise. 409266e63ce3Schristos * rdi-share/channels.h: Likewise. 409366e63ce3Schristos * rdi-share/chanpriv.h: Likewise. 409466e63ce3Schristos * rdi-share/configure: Likewise. 409566e63ce3Schristos * rdi-share/configure.in: Likewise. 409666e63ce3Schristos * rdi-share/crc.c: Likewise. 409766e63ce3Schristos * rdi-share/crc.h: Likewise. 409866e63ce3Schristos * rdi-share/dbg_conf.h: Likewise. 409966e63ce3Schristos * rdi-share/dbg_cp.h: Likewise. 410066e63ce3Schristos * rdi-share/dbg_hif.h: Likewise. 410166e63ce3Schristos * rdi-share/dbg_rdi.h: Likewise. 410266e63ce3Schristos * rdi-share/devclnt.h: Likewise. 410366e63ce3Schristos * rdi-share/devices.h: Likewise. 410466e63ce3Schristos * rdi-share/devsw.c: Likewise. 410566e63ce3Schristos * rdi-share/devsw.h: Likewise. 410666e63ce3Schristos * rdi-share/drivers.c: Likewise. 410766e63ce3Schristos * rdi-share/drivers.h: Likewise. 410866e63ce3Schristos * rdi-share/etherdrv.c: Likewise. 410966e63ce3Schristos * rdi-share/ethernet.h: Likewise. 411066e63ce3Schristos * rdi-share/host.h: Likewise. 411166e63ce3Schristos * rdi-share/hostchan.c: Likewise. 411266e63ce3Schristos * rdi-share/hostchan.h: Likewise. 411366e63ce3Schristos * rdi-share/hsys.c: Likewise. 411466e63ce3Schristos * rdi-share/hsys.h: Likewise. 411566e63ce3Schristos * rdi-share/logging.c: Likewise. 411666e63ce3Schristos * rdi-share/logging.h: Likewise. 411766e63ce3Schristos * rdi-share/msgbuild.c: Likewise. 411866e63ce3Schristos * rdi-share/msgbuild.h: Likewise. 411966e63ce3Schristos * rdi-share/params.c: Likewise. 412066e63ce3Schristos * rdi-share/params.h: Likewise. 412166e63ce3Schristos * rdi-share/rx.c: Likewise. 412266e63ce3Schristos * rdi-share/rxtx.h: Likewise. 412366e63ce3Schristos * rdi-share/serdrv.c: Likewise. 412466e63ce3Schristos * rdi-share/serpardr.c: Likewise. 412566e63ce3Schristos * rdi-share/sys.h: Likewise. 412666e63ce3Schristos * rdi-share/tx.c: Likewise. 412766e63ce3Schristos * rdi-share/unixcomm.c: Likewise. 412866e63ce3Schristos * rdi-share/unixcomm.h: Likewise. 412966e63ce3Schristos 413066e63ce3Schristos2006-01-21 Mark Kettenis <kettenis@gnu.org> 413166e63ce3Schristos 413266e63ce3Schristos * hppa-linux-tdep.c (hppa_linux_sigtramp_frame_prev_register): 413366e63ce3Schristos Change type of last argument to `gdb_byte *'. 413466e63ce3Schristos 413566e63ce3Schristos2006-01-20 Mark Kettenis <kettenis@gnu.org> 413666e63ce3Schristos 413766e63ce3Schristos * hppa-tdep.h (hppa_in_solib_call_trampoline) 413866e63ce3Schristos (hppa_skip_trampoline_code): New prototypes. 413966e63ce3Schristos * hppa-tdep.c (struct insn_pattern): New. 414066e63ce3Schristos (hppa_long_branch_stub, hppa_long_branch_pic_stub) 414166e63ce3Schristos (hppa_import_stub, hppa_import_pic_stub, hppa_plt_stub): Moved 414266e63ce3Schristos here from hppa-linux-tdep.c 414366e63ce3Schristos (HPPA_MAX_INSN_PATTERN_LEN): New define. 414466e63ce3Schristos (hppa_match_insns, hppa_match_insns_relaxed, hppa_in_dyncall) 414566e63ce3Schristos (hppa_in_solib_call_trampoline, hppa_skip_trampoline_code): New 414666e63ce3Schristos functions based on functions removed from hppa-linux-tdep.c. 414766e63ce3Schristos * hppa-linux-tdep.c (hppa_long_branch_stub) 414866e63ce3Schristos (hppa_long_branch_pic_stub, hppa_import_stub) 414966e63ce3Schristos (hppa_import_pic_stub, hppa_plt_stub): Moved to hppa-tdep.c. 415066e63ce3Schristos (insns_match_pattern_relaxed, hppa_linux_in_dyncall) 415166e63ce3Schristos (hppa_linux_in_solib_call_trampoline) 415266e63ce3Schristos (hppa_linux_skip_trampoline_code): Removed. 415366e63ce3Schristos (hppa_linux_init_abi): Set TDEP->in_solib_call_tranpoline to 415466e63ce3Schristos hppa_in_solib_call_trampoline and skip_trampoline_code to 415566e63ce3Schristos hppa_skip_trampoline_code. 415666e63ce3Schristos * hppabsd-tdep.c (hppabsd_init_abi): Set 415766e63ce3Schristos TDEP->in_solib_call_trampoline and skip_trampoline_code. 415866e63ce3Schristos 415966e63ce3Schristos2006-01-20 Jim Blandy <jimb@redhat.com> 416066e63ce3Schristos 416166e63ce3Schristos * MAINTAINERS: Change my E-mail address. 416266e63ce3Schristos 416366e63ce3Schristos * configure.ac: Add -Wno-pointer-sign to list of build warnings. 416466e63ce3Schristos * configure: Regenerated. 416566e63ce3Schristos 416666e63ce3Schristos2006-01-20 Daniel Jacobowitz <dan@codesourcery.com> 416766e63ce3Schristos 416866e63ce3Schristos * MAINTAINERS: Overhaul. 416966e63ce3Schristos 417066e63ce3Schristos2006-01-18 Mark Kettenis <kettenis@gnu.org> 417166e63ce3Schristos 417266e63ce3Schristos Based on a previous patch form Michal Ludvig: 417366e63ce3Schristos * amd64-tdep.c (amd64_sse_type): Remove. 417466e63ce3Schristos (amd64_register_info): Use i386_eflags_type and i386_sse_type 417566e63ce3Schristos where appropriate. 417666e63ce3Schristos (AMD64_NUM_REGS): Use ARRAY_SIZE. 417766e63ce3Schristos (amd64_register_type): Remove code to build amd_sse_type. 417866e63ce3Schristos * i386-tdep.c (i386_eflag_type): New variable. 417966e63ce3Schristos (i386_mmx_type, i386_sse_type): Make global. 418066e63ce3Schristos (i386_init_types): New function. 418166e63ce3Schristos (i386_build_mmx_type, i386_build_sse_type): Remove functions. 418266e63ce3Schristos (i386_register_type): Return i386_eflag_type, i386_sse_type and 418366e63ce3Schristos i386_mmx_type when appropriate. 418466e63ce3Schristos (_initialize_i386_tdep): Call i386_init_types. 418566e63ce3Schristos * i386-tdep.h (i386_eflags_type, i386_mmx_type, i386_sse_type): 418666e63ce3Schristos Declare extern. 418766e63ce3Schristos 418866e63ce3Schristos Based on a previous patch form Michal Ludvig: 418966e63ce3Schristos * gdbtypes.c (append_flags_type_flag, init_flags_type): New 419066e63ce3Schristos functions. 419166e63ce3Schristos (is_integral_type, rank_one_type, recursive_dump_type): Add 419266e63ce3Schristos support for TYPE_CODE_FLAGS. 419366e63ce3Schristos * gdbtypes.h (enum type_code): Add TYPE_CODE_FLAGS. 419466e63ce3Schristos (append_flags_type_field, init_flags_type): New prototypes. 419566e63ce3Schristos * ada-valprint.c (ada_val_print_1): Add support for 419666e63ce3Schristos TYPE_CODE_FLAGS. 419766e63ce3Schristos * c-valprint.c (c_val_print): Likewise. 419866e63ce3Schristos * f-valprint.c (f_val_print): Likewise. 419966e63ce3Schristos * p-valprint.c (pascal_val_print): Likewise. 420066e63ce3Schristos * valprint.c (val_print_type_code_flags): New function. 420166e63ce3Schristos * valprint.h (val_print_type_code_flags): New prototype. 420266e63ce3Schristos * value.c (unpack_long, value_from_longest): Add support for 420366e63ce3Schristos TYPE_CODE_FLAGS. 420466e63ce3Schristos 420566e63ce3Schristos2006-01-17 Christopher Faylor <cgf@timesys.com> 420666e63ce3Schristos 420766e63ce3Schristos * MAINTAINERS: Very belatedly remove myself from from the list of 420866e63ce3Schristos people caught up in the paper trail. 420966e63ce3Schristos 421066e63ce3Schristos2006-01-17 Jim Blandy <jimb@redhat.com> 421166e63ce3Schristos 421266e63ce3Schristos * symtab.h (struct general_symbol_info): Use gdb_byte for 421366e63ce3Schristos value.bytes. 421466e63ce3Schristos * stabsread.c (define_symbol): Use gdb_byte for the buffer holding 421566e63ce3Schristos a floating-point constant's value. 421666e63ce3Schristos * dwarf2read.c (dwarf2_const_value): Remove casts of value buffer 421766e63ce3Schristos to char *. 421866e63ce3Schristos * findvar.c (read_var_value): Eliminate needless temporary. 421966e63ce3Schristos 422066e63ce3Schristos * dwarf2-frame.c (dwarf2_read_section): Update forward declaration 422166e63ce3Schristos to match prior change to dwarf2_read_section's type. 422266e63ce3Schristos 422366e63ce3Schristos2006-01-16 Paul Gilliam <pgilliam@us.ibm.com> 422466e63ce3Schristos 422566e63ce3Schristos * ppc-tdep.h (PPC_MAX_EPILOGUE_INSTRUCTIONS): New define. 422666e63ce3Schristos * rs6000-tdep.c (insn_changes_sp_or_jumps) 422766e63ce3Schristos (rs6000_in_function_epilogue_p): New functions. 422866e63ce3Schristos (rs6000_gdbarch_init): Set in_function_epilogue_p. 422966e63ce3Schristos 423066e63ce3Schristos2006-01-17 Jim Blandy <jimb@redhat.com> 423166e63ce3Schristos 423266e63ce3Schristos * dwarf2read.c (struct dwarf2_per_objfile, struct comp_unit_head) 423366e63ce3Schristos (struct line_header, struct partial_die_info, struct dwarf_block): 423466e63ce3Schristos Use gdb_byte for members that refer to Dwarf section contents. 423566e63ce3Schristos (dwarf2_read_abbrevs, dwarf2_read_section, dwarf_decode_lines, 423666e63ce3Schristos dwarf_decode_macros, load_comp_unit, load_partial_dies, 423766e63ce3Schristos locate_pdi_sibling, partial_read_comp_unit_head, peek_die_abbrev, 423866e63ce3Schristos read_1_byte, read_1_signed_byte, read_2_bytes, read_4_bytes, 423966e63ce3Schristos read_8_bytes, read_address, read_attribute, read_attribute_value, 424066e63ce3Schristos read_comp_unit, read_comp_unit_head, read_die_and_children, 424166e63ce3Schristos read_die_and_siblings, read_full_die, read_indirect_string, 424266e63ce3Schristos read_initial_length, read_n_bytes, read_offset, read_partial_die, 424366e63ce3Schristos read_signed_leb128, read_string, read_unsigned_leb128, 424466e63ce3Schristos skip_children, skip_leb128, skip_one_die): Same. 424566e63ce3Schristos 424666e63ce3Schristos2006-01-17 Daniel Jacobowitz <dan@codesourcery.com> 424766e63ce3Schristos 424866e63ce3Schristos * complaints.c (stop_whining): Make signed. 424966e63ce3Schristos * linux-thread-db.c (thread_db_store_registers): Use gdb_byte. 425066e63ce3Schristos 425166e63ce3Schristos2006-01-17 Daniel Jacobowitz <dan@codesourcery.com> 425266e63ce3Schristos 425366e63ce3Schristos * dwarf2read.c, remote-fileio.c, remote.h: Update copyright 425466e63ce3Schristos notices. 425566e63ce3Schristos 425666e63ce3Schristos2006-01-17 Daniel Jacobowitz <dan@codesourcery.com> 425766e63ce3Schristos 425866e63ce3Schristos * dwarf2read.c (peek_die_abbrev, read_address, read_initial_length) 425966e63ce3Schristos (read_offset): Change BYTES_READ argument to unsigned int. 426066e63ce3Schristos (dwarf2_build_psymtabs_easy, read_comp_unit_head) 426166e63ce3Schristos (create_all_comp_units, dwarf2_get_pc_bounds) 426266e63ce3Schristos (dwarf_decode_line_header, var_decode_location) 426366e63ce3Schristos (dwarf_decode_macros): Change local BYTES_READ variables to 426466e63ce3Schristos unsigned int. 426566e63ce3Schristos (read_indirect_string): Remove obsolete cast. 426666e63ce3Schristos 426766e63ce3Schristos2006-01-17 Daniel Jacobowitz <dan@codesourcery.com> 426866e63ce3Schristos 426966e63ce3Schristos * remote-fileio.c (remote_fileio_return_success): Take a gdb_byte 427066e63ce3Schristos argument. 427166e63ce3Schristos (remote_fileio_func_open, remote_fileio_func_rename) 427266e63ce3Schristos (remote_fileio_func_unlink, remote_fileio_func_stat) 427366e63ce3Schristos (remote_fileio_func_fstat, remote_fileio_func_gettimeofday) 427466e63ce3Schristos (remote_fileio_func_system): Cast the arguments to 427566e63ce3Schristos remote_read_bytes and remote_write_bytes. 427666e63ce3Schristos (remote_fileio_func_read, remote_fileio_func_write): Use a 427766e63ce3Schristos gdb_byte buffer. 427866e63ce3Schristos * remote.h (remote_read_bytes, remote_write_bytes): Update 427966e63ce3Schristos prototypes. 428066e63ce3Schristos * remote.c (hex2bin, bin2hex): Use gdb_byte for the BIN argument. 428166e63ce3Schristos (threadref_to_int): Replace bogus char * cast. 428266e63ce3Schristos (remote_unpack_thread_info_response): Use int for tag. 428366e63ce3Schristos (remote_threads_extra_info, remote_check_symbols): Cast string 428466e63ce3Schristos arguments to hex2bin. 428566e63ce3Schristos (remote_wait): Use a char buffer for packets and a gdb_byte 428666e63ce3Schristos buffer for registers. 428766e63ce3Schristos (remote_async_wait): Likewise. 428866e63ce3Schristos (remote_prepare_to_store, store_register_using_P) 428966e63ce3Schristos (remote_store_registers): Use gdb_byte buffers. 429066e63ce3Schristos (remote_write_bytes, remote_read_bytes): Use a gdb_byte pointer 429166e63ce3Schristos for MYADDR and char buffers for strings. 429266e63ce3Schristos (remote_xfer_partial): Add casts for string operations on READBUF. 429366e63ce3Schristos (remote_rcmd): Cast strings passed to bin2hex. 429466e63ce3Schristos 429566e63ce3Schristos2006-01-16 Mark Mitchell <mark@codesourcery.com> 429666e63ce3Schristos 429766e63ce3Schristos * aclocal.m4: Regenerate. 429866e63ce3Schristos 429966e63ce3Schristos2006-01-16 Nathan Sidwell <nathan@codesourcery.com> 430066e63ce3Schristos 430166e63ce3Schristos * mt-tdep.c (enum mt_gdb_regnums): Add MT_COPRO_PSEUDOREG_ARRAY, 430266e63ce3Schristos MT_COPRO_PSEUDOREG_DIM_1, MT_COPRO_PSEUDOREG_DIM_2, 430366e63ce3Schristos MT_COPRO_PSEUDOREG_REGS members. Adjust MT_NUM_PSEUDO_REGS. 430466e63ce3Schristos (mt_register_name): Lazily synthesize name for coprocessor pseudo 430566e63ce3Schristos array registers. 430666e63ce3Schristos (mt_copro_register_type): New. Broken out of ... 430766e63ce3Schristos (mt_register_type): ... here. Use it. Deal with coprocessor 430866e63ce3Schristos pseudo array. 430966e63ce3Schristos (mt_select_coprocessor): New. 431066e63ce3Schristos (mt_pseudo_register_read, mt_pseudo_register_write): Deal with 431166e63ce3Schristos coprocessor pseudo array. 431266e63ce3Schristos 431366e63ce3Schristos2006-01-16 Andrew Stubbs <andrew.stubbs@st.com> 431466e63ce3Schristos 431566e63ce3Schristos * breakpoint.c (insert_breakpoints): Check that a thread exists 431666e63ce3Schristos before inserting thread specific breakpoints. 431766e63ce3Schristos 431866e63ce3Schristos2006-01-15 Mark Kettenis <kettenis@gnu.org> 431966e63ce3Schristos 432066e63ce3Schristos * osabi.c (generic_elf_osabi_sniffer): Fix typo in previous 432166e63ce3Schristos commit. 432266e63ce3Schristos 432366e63ce3Schristos * alpha-tdep.c (alpha_gdbarch_init): Set cannot_step_breakpoint. 432466e63ce3Schristos * config/alpha/nm-osf.h (CANNOT_STEP_BREAKPOINT): Remove. 432566e63ce3Schristos * config/alpha/nm-linux.h (CANNOT_STEP_BREAKPOINT): Remove. 432666e63ce3Schristos * config/alpha/nm-nbsd.h: Remove file. 432766e63ce3Schristos * config/alpha/nm-fbsd.h: Remove file 432866e63ce3Schristos * config/alpha/nbsd.mh (NAT_FILE): Remove. 432966e63ce3Schristos * config/alpha/fbsd.mh (NAT_FILE): Remove. 433066e63ce3Schristos 433166e63ce3Schristos2006-01-15 Daniel Jacobowitz <dan@codesourcery.com> 433266e63ce3Schristos 433366e63ce3Schristos * macroexp.c (expand): Initialize argc. 433466e63ce3Schristos * stabsread.c (read_type): Handle errors from read_args. 433566e63ce3Schristos (read_args): Return NULL for errors. 433666e63ce3Schristos 433766e63ce3Schristos2006-01-15 Mark Kettenis <kettenis@gnu.org> 433866e63ce3Schristos 433966e63ce3Schristos * osabi.c (generic_elf_osabi_sniffer): Use memcmp instead of 434066e63ce3Schristos strcmp to compare string to a byte buffer. 434166e63ce3Schristos 434266e63ce3Schristos2006-01-15 Daniel Jacobowitz <dan@codesourcery.com> 434366e63ce3Schristos 434466e63ce3Schristos * printcmd.c (output_command): Always initialize fmt.size. 434566e63ce3Schristos (printf_command): Use gdb_byte. 434666e63ce3Schristos * symfile.c (separate_debug_file_exists): Use gdb_byte. 434766e63ce3Schristos (load_section_callback, read_target_long_array): Likewise. 434866e63ce3Schristos (simple_read_overlay_table, simple_read_overlay_region_table) 434966e63ce3Schristos (simple_overlay_update_1): Correct calls to read_target_long_array. 435066e63ce3Schristos * valprint.c (partial_memory_read): Change MYADDR to a gdb_byte *. 435166e63ce3Schristos Also change local pointers. 435266e63ce3Schristos (val_print_string): Use gdb_byte. 435366e63ce3Schristos 435466e63ce3Schristos2006-01-15 Mark Kettenis <kettenis@gnu.org> 435566e63ce3Schristos 435666e63ce3Schristos * alphafbsd-tdep.c: Include "solib-svr4.h". 435766e63ce3Schristos (alphafbsd_init_abi): Set solib_svr4_fetch_link_map_offsets to 435866e63ce3Schristos svr4_lp64_fetch_link_map_offsets. 435966e63ce3Schristos * Makefile.in (alphafbsd-tdep.o): Update dependencies. 436066e63ce3Schristos * config/alpha/fbsd.mt (TDEPFILES): Add corelow.o, solib.o and 436166e63ce3Schristos solib-svr4.o. 436266e63ce3Schristos * config/alpha/fbsd.mh (NATDEPFILES): Remove solib.o, solib-svr4.o 436366e63ce3Schristos and solib-legacy.o. 436466e63ce3Schristos * config/alpha/nm-fbsd.h: Don't include "solib.h". 436566e63ce3Schristos 436666e63ce3Schristos2006-01-15 Daniel Jacobowitz <dan@codesourcery.com> 436766e63ce3Schristos 436866e63ce3Schristos * source.c (_initialize_source): Use add_setshow_integer_cmd. 436966e63ce3Schristos 437066e63ce3Schristos2006-01-15 Daniel Jacobowitz <dan@codesourcery.com> 437166e63ce3Schristos 437266e63ce3Schristos * linux-fork.c (delete_fork_command, detach_fork_command): Use 437366e63ce3Schristos PIDGET. 437466e63ce3Schristos 437566e63ce3Schristos2006-01-15 Mark Kettenis <kettenis@gnu.org> 437666e63ce3Schristos 437766e63ce3Schristos * arm-linux-tdep.c (arm_linux_svr4_fetch_link_map_offsets): 437866e63ce3Schristos Remove. 437966e63ce3Schristos (arm_linux_init_abi): Set solib_svr4_fetch_link_map_offsets to 438066e63ce3Schristos svr4_ilp32_fetch_link_map_offsets. 438166e63ce3Schristos * cris-tdep.c (cris_linux_svr4_fetch_link_map_offsets): Remove 438266e63ce3Schristos function. 438366e63ce3Schristos (cris_gdbarch_init): Set solib_svr4_fetch_link_map_offsets to 438466e63ce3Schristos svr4_ilp32_fetch_link_map_offsets. 438566e63ce3Schristos * mips-linux-tdep.c (mips_linux_svr4_fetch_link_map_offsets) 438666e63ce3Schristos (mips64_linux_svr4_fetch_link_map_offsets): Remove functions. 438766e63ce3Schristos (mips_linux_init_abi): Set solib_svr4_fetch_link_map_offsets to 438866e63ce3Schristos svr4_ilp32_fetch_link_map_offsets or svr4_lp64_fetch_link_map_offsets 438966e63ce3Schristos where appropriate. 439066e63ce3Schristos * nbsd-tdep.c (nbsd_ilp32_solib_svr4_fetch_link_map_offsets): 439166e63ce3Schristos Simply call svr4_ilp32_fetch_link_map_offsets. 439266e63ce3Schristos (nbsd_lp64_solib_svr4_fetch_link_map_offsets): Simply call 439366e63ce3Schristos svr4_lp64_fetch_link_map_offsets. 439466e63ce3Schristos * ppc-linux-tdep.c (ppc_linux_svr4_fetch_link_map_offsets): Remove 439566e63ce3Schristos function. 439666e63ce3Schristos (ppc_linux_init_abi): Set solib_svr4_fetch_link_map_offsets to 439766e63ce3Schristos svr4_ilp32_fetch_link_map_offsets. 439866e63ce3Schristos * s390-tdep.c (s390_svr4_fetch_link_map_offsets) 439966e63ce3Schristos (s390x_svr4_fetch_link_map_offsets): Remove functions. 440066e63ce3Schristos (s390_gdbarch_init): Set solib_svr4_fetch_link_map_offsets to 440166e63ce3Schristos svr4_ilp32_fetch_link_map_offsets or svr4_lp64_fetch_link_map_offsets 440266e63ce3Schristos where appropriate. 440366e63ce3Schristos 440466e63ce3Schristos2006-01-15 Mark Kettenis <kettenis@gnu.org> 440566e63ce3Schristos 440666e63ce3Schristos * arm-tdep.c (arm_return_value): Change type of readbuf and 440766e63ce3Schristos writebuf arguments to `gdb_byte *'. 440866e63ce3Schristos 440966e63ce3Schristos * s390-tdep.c: Do not include "tm.h" and "../bfd/bfd.h". 441066e63ce3Schristos * Makefile.in (s390-tdep.o): Update dependencies. 441166e63ce3Schristos 441266e63ce3Schristos2006-01-14 Mark Kettenis <kettenis@gnu.org> 441366e63ce3Schristos 441466e63ce3Schristos * sol2-tdep.h. sol2-tdep.c: New files. 441566e63ce3Schristos * amd64-sol2-tdep.c: Include "sol2-tdep.h". 441666e63ce3Schristos (amd64_sol2_init_abi): Set skip_solib_resolver. 441766e63ce3Schristos * i386-sol2-tdep.c: Include "sol2-tdep.h". 441866e63ce3Schristos (i386_sol2_init_abi): Set skip_solib_resolver. 441966e63ce3Schristos * sparc-sol2-tdep.c: Include "sol2-tdep.h". 442066e63ce3Schristos (sparc32_sol2_init_abi): Set skip_solib_resolver. 442166e63ce3Schristos * sparc64-sol2-tdep.c: Include "sol2-tdep.h". 442266e63ce3Schristos (sparc64_sol2_init_abi): Set skip_solib_resolver. 442366e63ce3Schristos * Makefile.in (sol2_tdep_h): New variable. 442466e63ce3Schristos (ALLDEPFILES): Add sol2-tdep.c. 442566e63ce3Schristos (sol2-tdep.o): New target. 442666e63ce3Schristos (amd64-sol2-tdep.o, i386-sol2-tdep.o, sparc-sol2-tdep.o) 442766e63ce3Schristos (sparc64-sol2-tdep.o): Update dependencies 442866e63ce3Schristos * config/i386/i386sol2.mt (TDEPFILES): Add sol2-tdep.o. 442966e63ce3Schristos * config/i386/sol2-64.mt (TDEPFILES): Add sol2-tdep.o. 443066e63ce3Schristos * config/sparc/sol2.mt (TDEPFILES): Add sol2-tdep.o. 443166e63ce3Schristos * config/sparc/sol2-64.mt (TDEPFILES): Add sol2-tdep.o. 443266e63ce3Schristos 443366e63ce3Schristos * hppa-linux-tdep.c: Fix copyright indentation. 443466e63ce3Schristos 443566e63ce3Schristos * hppa-tdep.h (enum hppa_regnum): Add HPPA_FP31R_REGNUM. 443666e63ce3Schristos * hppabsd-nat.c (hppabsd_fpregset_supplies_p) 443766e63ce3Schristos (hppabsd_supply_fpregset, hppabsd_collect_fpregset): New 443866e63ce3Schristos functions. 443966e63ce3Schristos (hppabsd_fetch_registers, hppabsd_store_registers): Handle 444066e63ce3Schristos floating-point registers. 444166e63ce3Schristos 444266e63ce3Schristos2006-01-13 Mark Mitchell <mark@codesourcery.com> 444366e63ce3Schristos 444466e63ce3Schristos * event-loop.c (gdb_select): Detect file descriptors that have 444566e63ce3Schristos been closed. 444666e63ce3Schristos 444766e63ce3Schristos2006-01-13 Mark Kettenis <kettenis@gnu.org> 444866e63ce3Schristos 444966e63ce3Schristos * hppabsd-tdep.c (hppabsd_init_abi): Set long_double_bit to 64, 445066e63ce3Schristos and long_double_format accordingly. 445166e63ce3Schristos 445266e63ce3Schristos2006-01-12 Paul N. Hilfinger <hilfinger@adacore.com> 445366e63ce3Schristos 445466e63ce3Schristos * ada-exp.y (yyerror): Change message to ignore the argument, avoiding 445566e63ce3Schristos translation problems. 445666e63ce3Schristos * ada-lang.c (ada_value_struct_elt): Change interface and handling 445766e63ce3Schristos of errors to avoid translation problem (and less than optimal error 445866e63ce3Schristos messages). 445966e63ce3Schristos (ada_value_tag, ada_tag_name_1, ada_tag_name_2, ada_evaluate_subexp): 446066e63ce3Schristos Use new interface to ada_value_struct_elt. 446166e63ce3Schristos * ada_lang.h (ada_value_struct_elt): Update declaration to new 446266e63ce3Schristos interface. 446366e63ce3Schristos 446466e63ce3Schristos * ChangeLog: remove reference to ada-tasks.c from entry of 446566e63ce3Schristos 2006-01-07. 446666e63ce3Schristos 446766e63ce3Schristos2006-01-11 Mark Kettenis <kettenis@gnu.org> 446866e63ce3Schristos 446966e63ce3Schristos * remote.c (get_memory_packet_size, set_thread) 447066e63ce3Schristos (remote_unpack_thread_info_response, remote_get_threadinfo) 447166e63ce3Schristos (parse_threadlist_response, remote_get_threadlist) 447266e63ce3Schristos (remote_current_thread, remote_threads_info) 447366e63ce3Schristos (remote_threads_extra_info, extended_remote_restart, get_offsets) 447466e63ce3Schristos (remote_check_symbols, remote_open_1, remote_detach) 447566e63ce3Schristos (remote_async_wait, remote_fetch_registers) 447666e63ce3Schristos (remote_store_registers, check_binary_download, putpkt_binary) 447766e63ce3Schristos (remote_insert_breakpoint, remote_insert_watchpoint) 447866e63ce3Schristos (remote_remove_watchpoint, remote_insert_hw_breakpoint) 447966e63ce3Schristos (remote_remove_hw_breakpoint, remote_xfer_partial, remote_rcmd) 448066e63ce3Schristos (packet_command): Remove redundant parenthesis. 448166e63ce3Schristos 448266e63ce3Schristos2006-01-10 Mark Kettenis <kettenis@gnu.org> 448366e63ce3Schristos 448466e63ce3Schristos * corefile.c (read_memory_integer, read_memory_unsigned_integer) 448566e63ce3Schristos (read_memory_typed_address, write_memory) 448666e63ce3Schristos (write_memory_unsigned_integer, write_memory_signed_integer): Use 448766e63ce3Schristos gdb_byte where appropriate. 448866e63ce3Schristos 448966e63ce3Schristos * mi/mi-main.c (mi_cmd_data_read_memory): Change type of mbus into 449066e63ce3Schristos 'gdb_byte *'. 449166e63ce3Schristos 449266e63ce3Schristos * target.h (target_read_memory_partial, target_write_memory_partial): 449366e63ce3Schristos Change second argument to 'gdb_byte *'. 449466e63ce3Schristos * target.c (target_xfer_memory_partial): Change third argument to 449566e63ce3Schristos 'gdb_byte *'. 449666e63ce3Schristos (target_read_memory_partial, target_write_memory_partial): Change 449766e63ce3Schristos second argument to 'gdb_byte *'. 449866e63ce3Schristos 449966e63ce3Schristos * linespec.c (decode_objc): Make i1 and i2 unsigned. 450066e63ce3Schristos (find_method): Set values.sals to NULL. 450166e63ce3Schristos 450266e63ce3Schristos2006-01-09 Mark Kettenis <kettenis@gnu.org> 450366e63ce3Schristos 450466e63ce3Schristos * amd64obsd-nat.c (amd64obsd_supply_pcb): Use 'gdb_byte *' instead 450566e63ce3Schristos of 'char *' in cast. 450666e63ce3Schristos 450766e63ce3Schristos2006-01-07 Paul N. Hilfinger <hilfinger@adacore.com> 450866e63ce3Schristos 450966e63ce3Schristos * ada-exp.y, ada-lex.l, ada-typeprint.c: I18n markup. 451066e63ce3Schristos * ada-lang.c: I18n markup. 451166e63ce3Schristos Editorial: change "can not" => "cannot" throughout. 451266e63ce3Schristos 451366e63ce3Schristos2006-01-07 Mark Kettenis <kettenis@gnu.org> 451466e63ce3Schristos 451566e63ce3Schristos * Makefile.in: Sort dependencies. 451666e63ce3Schristos 451766e63ce3Schristos2006-01-07 Eli Zaretskii <eliz@gnu.org> 451866e63ce3Schristos 451966e63ce3Schristos * top.c (control_level): Remove unused variable. 452066e63ce3Schristos 452166e63ce3Schristos2006-01-06 Fred Fish <fnf@specifix.com> 452266e63ce3Schristos 452366e63ce3Schristos * objfiles.c (source.h): Include. 452466e63ce3Schristos (free_objfile): Update comment about clear_symtab_users(). 452566e63ce3Schristos (free_objfile): Check all symtabs of objfile being freed and if 452666e63ce3Schristos one of them is the current source symtab, call 452766e63ce3Schristos clear_current_source_symtab_and_line(). 452866e63ce3Schristos 452966e63ce3Schristos2006-01-04 Michael Snyder <msnyder@redhat.com> 453066e63ce3Schristos 453166e63ce3Schristos Checkpoint/Restart for Linux. 453266e63ce3Schristos * linux-nat.c: Add support for debugging multiple forks. 453366e63ce3Schristos Add #include for linux-fork.h (interface spec). 453466e63ce3Schristos (super_mourn_inferior): New function pointer. 453566e63ce3Schristos (child_mourn_inferior): New function / target method. 453666e63ce3Schristos (linux_target): Claim to_mourn_inferior method pointer. 453766e63ce3Schristos (child_follow_fork): Call interface to linux-fork, conditionally 453866e63ce3Schristos add new fork processes to list of debugged processes. 453966e63ce3Schristos (kill_inferior): Use interface to linux-fork to kill 454066e63ce3Schristos multiple processes. 454166e63ce3Schristos 454266e63ce3Schristos * linux-fork.h: New file. 454366e63ce3Schristos * linux-fork.c: New file. Support for debugging multiple forks 454466e63ce3Schristos of the same program. Support for checkpoint and restart commands. 454566e63ce3Schristos 454666e63ce3Schristos * infrun.c (nullify_last_target_wait_ptid): New function. 454766e63ce3Schristos 454866e63ce3Schristos * Makefile.in: Add linux-fork. 454966e63ce3Schristos * config/*/linux.mh: Add linux-fork. 455066e63ce3Schristos * NEWS: Mention new functionality. 455166e63ce3Schristos 455266e63ce3Schristos2006-01-02 Paul Hilfinger <hilfingr@nile.gnat.com> 455366e63ce3Schristos 455466e63ce3Schristos * ada-exp.y (syntax definitions,write_var_or_type,write_name_assoc): 455566e63ce3Schristos Change uses of "illegal" to "invalid". 455666e63ce3Schristos 455766e63ce3Schristos2006-01-02 Paul N. Hilfinger <hilfinger@adacore.com> 455866e63ce3Schristos 455966e63ce3Schristos * ada-exp.y: Considerable reorganization to move functionality 456066e63ce3Schristos from ada-lex.l to here, where it is logically more appropriate. 456166e63ce3Schristos The original reason, however, was to prevent premature name 456266e63ce3Schristos lookups for selector names in record aggregates. 456366e63ce3Schristos (BLOCKNAME, TYPENAME, OBJECT_RENAMING): Remove; lexer now returns 456466e63ce3Schristos NAME for all of these. 456566e63ce3Schristos (VAR): New artificial token to clarify precedence rules. 456666e63ce3Schristos (OTHERS): New lexeme. 456766e63ce3Schristos (empty_stoken): New symbol. 456866e63ce3Schristos (%union): Remove ssym, voidval. 456966e63ce3Schristos (%type): Remove <voidval> type declarations. 457066e63ce3Schristos (syntax definitions): Add aggregates. 457166e63ce3Schristos Remove distinction between NAME, TYPENAME, BLOCKNAME, OBJECT_RENAMING. 457266e63ce3Schristos Rename some non-terminals to be closer to reference manual usage. 457366e63ce3Schristos Tighten up expression syntax to disallow certain non-Ada 457466e63ce3Schristos constructions such as X and then Y or else Z. 457566e63ce3Schristos (ada_parse): Remove initialization of left_block_context. 457666e63ce3Schristos (write_var_from_name): Remove. 457766e63ce3Schristos (write_var_or_type): New function, containing previous code from 457866e63ce3Schristos defunct write_var_from_name and name_lookup. 457966e63ce3Schristos (block_lookup): New function, moved from ada-lex.l 458066e63ce3Schristos (select_possible_type_sym): New function, factored out of 458166e63ce3Schristos name_lookup, which used to be in ada-lex.l. 458266e63ce3Schristos (find_primitive_type): Ditto. 458366e63ce3Schristos (chop_selector): Ditto. 458466e63ce3Schristos (write_ambiguous_var): New function, factored out of defunct 458566e63ce3Schristos write_var_from_name. 458666e63ce3Schristos (write_selectors): New function. 458766e63ce3Schristos (write_name_assoc): New function. 458866e63ce3Schristos (write_exp_op_with_string): New function. 458966e63ce3Schristos 459066e63ce3Schristos * ada-lex.l (processId): Change interface to return stoken. 459166e63ce3Schristos (tempbuf, resize_tempbuf, tempbuf_size, tempbuf_len): Remove. 459266e63ce3Schristos (block_lookup, name_lookup): Remove. Functionality moved to 459366e63ce3Schristos ada-exp.y. 459466e63ce3Schristos (state IN_STRING): Remove. 459566e63ce3Schristos (rules): Handle string escapes in processString. 459666e63ce3Schristos Add 'others' token. 459766e63ce3Schristos Return all NAMEs, BLOCKNAMEs, OBJECT_RENAMINGs, TYPENAMEs in 459866e63ce3Schristos yylval.sval (as simple strings). 459966e63ce3Schristos All name look-ups now handled in ada-exp.y. 460066e63ce3Schristos Introduce "::" (COLONCOLON) token and return as separate token. 460166e63ce3Schristos (processId): Change return convention. Comment. 460266e63ce3Schristos Leave leading "'" in place. 460366e63ce3Schristos (processString): New function. 460466e63ce3Schristos (find_dot_all): Add note to comment. 460566e63ce3Schristos Fix problem that allowed match only at the end. 460666e63ce3Schristos 460766e63ce3Schristos * ada-lang.c: Introduce aggregates. 460866e63ce3Schristos (find_struct_field): Add new parameter to count fields skipped, and 460966e63ce3Schristos allow other output parameters to be NULL. 461066e63ce3Schristos (value_tag_from_contents_and_address, ada_value_struct_elt): Use 461166e63ce3Schristos new find_struct_field. 461266e63ce3Schristos (ada_index_struct_field, assign_aggregate, ada_is_array_type) 461366e63ce3Schristos (num_visible_fields, ada_index_struct_field_1, ada_index_struct_field) 461466e63ce3Schristos (num_component_specs, assign_component, assign_aggregate): 461566e63ce3Schristos (aggregate_assign_from_choices,aggregate_assign_positional) 461666e63ce3Schristos (aggregate_assign_others,add_component_interval): 461766e63ce3Schristos New functions. 461866e63ce3Schristos (ada_evaluate_subexp): Declare. 461966e63ce3Schristos Add aggregate-related operators. 462066e63ce3Schristos (ada_forward_operator_length): Declare. 462166e63ce3Schristos (resolve_subexp): Add cases for new aggregate operators and OP_NAME. 462266e63ce3Schristos Consolidate Ada operators, using ada_forward_operator_length. 462366e63ce3Schristos (ada_search_struct_field): Search in forward order. 462466e63ce3Schristos (ADA_OPERATORS): Add new aggregate operators. 462566e63ce3Schristos (ada_operator_length, ada_op_name, ada_forward_operator_length) 462666e63ce3Schristos (ada_dump_subexp_body, ada_print_subexp): Handle new aggregate 462766e63ce3Schristos operators and OP_NAME. 462866e63ce3Schristos (ada_type_of_array): Use longest_to_int. 462966e63ce3Schristos (value_assign_to_component): New function. 463066e63ce3Schristos (ada_forward_operator_length, ada_op_name, ada_dump_subexp_body): 463166e63ce3Schristos Add OP_NAME case. 463266e63ce3Schristos (ada_forward_operator_length, ada_dump_subexp_body): 463366e63ce3Schristos Add OP_STRING case. 463466e63ce3Schristos 463566e63ce3Schristos * ada-lang.h (enum ada_operator): Add OP_AGGREGATE, OP_OTHERS, 463666e63ce3Schristos OP_CHOICES, OP_DISCRETE_RANGE, OP_POSITIONAL. 463766e63ce3Schristos 463866e63ce3Schristos2006-01-02 Paul N. Hilfinger <hilfinger@adacore.com> 463966e63ce3Schristos 464066e63ce3Schristos * ada-lang.c (process_raise_exception_name): Remove extraneous 464166e63ce3Schristos definition from unsubmitted code. 464266e63ce3Schristos 464366e63ce3Schristos (is_lower_alphanum): New function. 464466e63ce3Schristos (ada_decode): Add support for decoding protected object subprograms 464566e63ce3Schristos and entries, and of entities declared inside protected object 464666e63ce3Schristos subprograms. 464766e63ce3Schristos Also add missing handling for__{DIGITS}+ suffixes. 464866e63ce3Schristos Allow '$<digits>' as valid overloading suffix. 464966e63ce3Schristos (is_name_suffix): Add handling for protected type entriy suffixes. 465066e63ce3Schristos Also add support for protected type subprogram suffixes, but keep 465166e63ce3Schristos it commented out for now, as there is an ambiguity between these 465266e63ce3Schristos entities and other internally generated entities. 465366e63ce3Schristos Allow '$<digits>' as valid overloading suffix. 465466e63ce3Schristos (is_valid_name_for_wild_match): New function. 465566e63ce3Schristos (wild_match): Add an exra level of verification of the entity name 465666e63ce3Schristos before declaring it a match for the given pattern. 465766e63ce3Schristos 465866e63ce3Schristos (ada_type_of_array, ada_evaluate_subexp): Use more proper 465966e63ce3Schristos longest_to_int rather than cast. 466066e63ce3Schristos 466166e63ce3Schristos (ada_evaluate_subexp): Use "invalid" rather than "illegal" in comment. 466266e63ce3Schristos 466366e63ce3Schristos (ada_coerce_to_simple_array): Call check_size to make sure 466466e63ce3Schristos that the object size is reasonable. 466566e63ce3Schristos 466666e63ce3Schristos (ada_value_primitive_packed_val): Use correct location in target 466766e63ce3Schristos buffer for extracting packed record fields that are themselves records. 466866e63ce3Schristos 466966e63ce3Schristos (add_defn_to_vec): Do not try to replace a stub type by its full 467066e63ce3Schristos type. Avoids a potential infinite loop. 467166e63ce3Schristos 467266e63ce3Schristos (ada_lookup_symbol): Move return incorrectly placed return statement, 467366e63ce3Schristos causing a loop that should be scanning all object files to only 467466e63ce3Schristos scan the first one. 467566e63ce3Schristos 467666e63ce3Schristos (ada_tag_name_2): New function. 467766e63ce3Schristos (ada_tag_name_1): If no 'tsd' field found in the dispatching table, 467866e63ce3Schristos use alternative representation. 467966e63ce3Schristos 468066e63ce3Schristos (ada_find_renaming_symbol): Strip the function name suffix when 468166e63ce3Schristos computing the XR type name. 468266e63ce3Schristos 468366e63ce3Schristos (ada_to_fixed_type): Try determining the tag only if we have the 468466e63ce3Schristos object's address. 468566e63ce3Schristos (to_fixed_array_type): Add comments. 468666e63ce3Schristos 468766e63ce3Schristos (ada_check_typedef): Replace expression checking whether the given 468866e63ce3Schristos type is a stub or not by a "call" to TYPE_STUB. Clearer and more 468966e63ce3Schristos consistent. 469066e63ce3Schristos 469166e63ce3Schristos * ada-lang.h (ADA_KNOWN_AUXILIARY_FUNCTION_NAME_PATTERNS): Allow 469266e63ce3Schristos '$' in addition to '.' for runtime auxiliary function name suffixes. 469366e63ce3Schristos See changes to ada_decode above. 469466e63ce3Schristos 469566e63ce3Schristos (struct task_control_block): Add field called_task. (This change is 469666e63ce3Schristos to keep synchronized with our local sources; it does not affect the 469766e63ce3Schristos public version yet.) 469866e63ce3Schristos 469966e63ce3Schristos * ada-typeprint.c (ada_print_type): Use int_string for printing 470066e63ce3Schristos modulus of modular type. 470166e63ce3Schristos 470266e63ce3Schristos (print_range): Trivial editorial comment fix. 470366e63ce3Schristos 470466e63ce3Schristos * ada-valprint.c (ada_emit_char): Use normal Ada syntax for 470566e63ce3Schristos double quote in string. 470666e63ce3Schristos 470766e63ce3Schristos2006-01-01 Joel Brobecker <brobecker@adacore.com> 470866e63ce3Schristos 470966e63ce3Schristos * top.c: Add 2006 to list of copyright years in file header. 471066e63ce3Schristos 471166e63ce3Schristos2006-01-01 Joel Brobecker <brobecker@adacore.com> 471266e63ce3Schristos 471366e63ce3Schristos * top.c (print_gdb_version): Update copyright year to 2006. 471466e63ce3Schristos 471566e63ce3Schristos2006-01-01 Roger Sayle <roger@eyesopen.com> 471666e63ce3Schristos Elena Zannoni <ezannoni@redhat.com> 471766e63ce3Schristos 471866e63ce3Schristos PR symtab/1651 471966e63ce3Schristos * xcoffread.c (xcoff_next_symbol_text): Check this_symtab_psymtab 472066e63ce3Schristos for NULL before assigning this_symtab_psymtab->objfile to objfile. 472166e63ce3Schristos (scan_xcoff_symtab): Initialize next_symbol_text_func. 472266e63ce3Schristos (Committed by Jim Blandy) 472366e63ce3Schristos 472466e63ce3SchristosFor older changes see ChangeLog-2005. 472566e63ce3Schristos 472666e63ce3SchristosLocal Variables: 472766e63ce3Schristosmode: change-log 472866e63ce3Schristosleft-margin: 8 472966e63ce3Schristosfill-column: 74 473066e63ce3Schristosversion-control: never 473166e63ce3SchristosEnd: 4732