aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2006-12-082006-12-08 Vladimir Prus <vladimir@codesourcery.com>Vladimir Prus2-0/+8
* gdb.texinfo (GDB/MI Variable Objects): Wrap historical note in @ignore, to be removed later if nobody complains.
2006-12-082006-12-08 Vladimir Prus <vladimir@codesourcery.com>Vladimir Prus6-8/+173
* varobj.c (varobj_create): Don't call release_value. (varobj_set_value): Likewise. (install_new_value): Call coerce_ref and release_value on the value. Add asserts.
2006-12-08(mi_cmd_var_update): Fix memory leak.Nick Roberts1-3/+3
2006-12-08*** empty log message ***Nick Roberts1-0/+4
2006-12-08*** empty log message ***gdbadmin1-1/+1
2006-12-07*** empty log message ***gdbadmin1-1/+1
2006-12-062006-12-06 Jim Blandy <jimb@codesourcery.com>Jim Blandy2-6/+21
* gdbtypes.c: Revert 2006-12-05 change, and explain why.
2006-12-062006-12-06 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs3-1/+11
* event-top.c (command_handler): On EOF, print 'quit' and run quit command via execute_command such that hooks and trace work. * utils.c (defaulted_query): On EOF, print default answer and newline.
2006-12-062006-12-06 Vladimir Prus <vladimir@codesourcery.com>Vladimir Prus2-2/+8
* varobj.c (cplus_value_of_child): When accessing base suboject, don't specially process references.
2006-12-06 * MAINTAINERS (Write After Approval): Add myself.Adam Nemet2-0/+5
2006-12-06 * gdbtypes.c (built_gdbtypes): Don't set builtin_type_void here.Jim Blandy2-5/+10
(_initialize_gdbtypes): Do it here, and don't swap it when the architecture changes.
2006-12-06*** empty log message ***gdbadmin1-1/+1
2006-12-05 * cp-valprint.c, p-valprint.c: Revert last change.Daniel Jacobowitz3-4/+8
2006-12-05 * NEWS: Mention MIPS remote autodetection, mips64 gdbserver,Daniel Jacobowitz2-0/+31
"set mem inaccessible-by-default", and "set breakpoint auto-hw".
2006-12-052006-12-05 Markus Deuling <deuling@de.ibm.com>Daniel Jacobowitz2-8/+23
* README: Update supported targets.
2006-12-052006-12-05 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-4/+11
* cp-valprint.c (cp_print_value_fields): Initialize tmp_obstack. (cp_print_value): Likewise. * p-valprint.c (pascal_object_print_value_fields): Likewise. (pascal_object_print_value): Likewise.
2006-12-052006-12-05 Adam Nemet <anemet@caviumnetworks.com>Daniel Jacobowitz2-2/+7
* target.c (debug_to_remove_watchpoint): Call to_remove_watchpoint. Print target_remove_watchpoint.
2006-12-05*** empty log message ***gdbadmin1-1/+1
2006-12-04(GDB/MI Variable Objects): Describe -c optionNick Roberts1-2/+3
of -var-delete.
2006-12-04*** empty log message ***Nick Roberts1-0/+5
2006-12-04*** empty log message ***gdbadmin1-1/+1
2006-12-03*** empty log message ***gdbadmin1-1/+1
2006-12-02*** empty log message ***gdbadmin1-1/+1
2006-12-01gdb/Daniel Jacobowitz7-1/+199
* elfread.c (elf_symtab_read): Treat weak functions as global. gdb/testsuite/ * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c, gdb.base/weaklib2.c: New files.
2006-12-012006-11-30 Jim Blandy <jimb@codesourcery.com>Jim Blandy2-4/+6
* ada-lang.c (value_subscript_packed): Don't bother to set the lvalue type of the returned value here; ada_value_primitive_packed_val takes care of that.
2006-12-01*** empty log message ***gdbadmin1-1/+1
2006-11-30*** empty log message ***gdbadmin1-1/+1
2006-11-29(mi_cmd_var_list_children): Remove unusedNick Roberts1-1/+0
variable.
2006-11-29*** empty log message ***Nick Roberts1-0/+5
2006-11-29 * gdb.threads/linux-dp.exp: Adjust regexps used to scan threadNathan Sidwell2-8/+17
info. Adjust test names.
2006-11-292006-07-29 Vladimir Prus <vladimir@codesourcery.com>Vladimir Prus2-21/+36
* mi/mi-cmd-var.c (print_varobj): New function. (mi_cmd_var_create): Use the above. (mi_cmd_var_list_children): Likewise.
2006-11-292006-07-29 Vladimir Prus <vladimir@codesourcery.com>Vladimir Prus2-0/+5
* MAINTAINERS (Write After Approval): Add myself.
2006-11-292006-11-29 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs2-25/+23
* solib.c (solib_open): Treat bare file names as relative paths.
2006-11-29 * gdb.base/break.c (main): Move position of malloc.Nathan Sidwell3-16/+6
* gdb.base/break.exp: Revert mistaken checkin.
2006-11-292006-11-29 Vladimir Prus <vladimir@codesourcery.com>Vladimir Prus2-5/+15
* varobj.c (varobj_set_value): Don't compare the old and the new value here. Don't assign new value here. Instead, call install_new_value.
2006-11-29*** empty log message ***gdbadmin1-1/+1
2006-11-28gdb/gdbserver/Daniel Jacobowitz7-14/+323
* Makefile.in (clean): Remove reg-mips64.c. (reg-mips64.c, reg-mips64.o): New rules. * configure.srv: Handle mips64. Include regset support for mips. * linux-mips-low.c (union mips_register): New. (mips_get_pc, mips_set_pc, mips_reinsert_addr): Use it. (mips_breakpoint, mips_breakpoint_at): Use int. (mips_collect_register, mips_supply_register) (mips_collect_register_32bit, mips_supply_register_32bit) (mips_fill_gregset, mips_store_gregset, mips_fill_fpregset) (mips_store_fpregset, target_regsets): New. * thread-db.c (thread_db_get_tls_address): Use uintptr_t. gdb/ * regformats/reg-mips64.dat: New file.
2006-11-28 * Makefile.in (mips-tdep.o, target-descriptions.o): Update.Daniel Jacobowitz7-19/+289
* target-descriptions.c (struct property): New. (struct target_desc): Add properties member. (tdesc_property, set_tdesc_property): New. * target-descriptions.h (tdesc_property, set_tdesc_property): Declare. * mips-tdep.c (PROPERTY_GP32, PROPERTY_GP64): New constants. (struct gdbarch_tdep): Add register_size_valid_p and register_size. (mips_isa_regsize): Use them. (mips_register_g_packet_guesses): New. (mips_gdbarch_init): Call it. If a target description is supplied, check for internal properties. Check for register size mismatches. * remote.c (send_g_packet, process_g_packet): New functions, split out from fetch_registers_using_g. (fetch_registers_using_g): Use them. (struct remote_g_packet_guess, remote_g_packet_guess_s) (struct remote_g_packet_data, remote_g_packet_data_handle) (remote_g_packet_data_init, register_remote_g_packet_guess) (remote_read_description): New. (init_remote_ops, init_remote_async_ops): Set to_read_description. (_initialize_remote): Register remote_g_packet_data_handle. * remote.h (register_remote_g_packet_guess): Declare.
2006-11-28 * Makefile.in (SFILES): Add new and missed files.Daniel Jacobowitz12-24/+333
(target_descriptions_h): New. (COMMON_OBS): Add target-descriptions.o. (arch-utils.o, infcmd.o, remote.o, target.o): Update. (target-descriptions.o): New. * arch-utils.c (gdbarch_info_fill): Check for a target description. * target-descriptions.c, target-descriptions.h: New files. * gdbarch.sh: Add target_desc to info. Declare it in gdbarch.h. Correct typos. (gdbarch_list_lookup_by_info): Check target_desc. * gdbarch.c, gdbarch.h: Regenerated. * target.c (update_current_target): Mention to_read_description. (target_pre_inferior): Call target_clear_description. (target_read_description): New. * target.h (struct target_ops): Add to_read_description. (target_read_description): New prototype. * infcmd.c (post_create_inferior): Call target_find_description. * remote.c (remote_open_1): Likewise. (extended_remote_create_inferior): Add a comment. (extended_remote_async_create_inferior): Likewise.
2006-11-28Include <signal.h>.Nick Roberts1-0/+2
2006-11-28*** empty log message ***Nick Roberts1-0/+4
2006-11-28 * config/tm-linux.h: Delete file.Ulrich Weigand25-192/+72
* config/alpha/alpha-linux.mt (DEPRECATED_TM_FILE): Set to tm-alpha.h. * config/alpha/tm-alphalinux.h: Delete file. * config/arm/linux.mt (DEPRECATED_TM_FILE): Set to tm-arm.h * config/arm/tm-linux.h: Delete file. * config/i386/tm-linux.h: Do not include "config/tm-linux.h". * config/ia64/tm-linux.h: Do not include "config/tm-linux.h". * config/m32r/linux.mt (DEPRECATED_TM_FILE): Remove. * config/mips/tm-linux.h: Do not include "config/tm-linux.h". * config/pa/linux.mt (DEPRECATED_TM_FILE): Set to tm-hppa.h. * config/pa/tm-linux.h: Delete file. * config/powerpc/tm-linux.h: Do not include "config/tm-linux.h". * config/s390/linux.mt (DEPRECATED_TM_FILE): Remove. * config/sh/linux.mt (DEPRECATED_TM_FILE): Set to tm-sh.h. * config/sh/tm-linux.h: Delete file. * alpha-linux-tdep.c: Include "symtab.h". (alpha_linux_init_abi): Call set_gdbarch_skip_trampoline_code. * i386-linux-tdep.c: Include "symtab.h". (i386_linux_init_abi): Call set_gdbarch_skip_trampoline_code. * ia64-linux-tdep.c: Include "symtab.h". (ia64_linux_init_abi): Call set_gdbarch_skip_trampoline_code. * m32r-linux-tdep.c: Include "symtab.h". (m32r_linux_init_abi): Call set_gdbarch_skip_trampoline_code. * mips-linux-tdep.c: Include "symtab.h". (mips_linux_init_abi): Call set_gdbarch_skip_trampoline_code. * sh-linux-tdep.c: Include "symtab.h". (sh_linux_init_abi): Call set_gdbarch_skip_trampoline_code. * s390-tdep.c (s390_gdbarch_init): Call set_gdbarch_skip_trampoline_code. * s390-nat.c: Do not include "tm.h". * Makefile.in (alpha-linux-tdep.o): Add dependency on $(symtab_h). (i386-linux-tdep.o): Likewise. (ia64-linux-tdep.o): Likewise. (m32r-linux-tdep.o): Likewise. (mips-linux-tdep.o): Likewise. (sh-linux-tdep.o): Likewise. (s390-nat.o): Remove dependency on $(tm_h).
2006-11-28 * config/nm-linux.h: Do not include <signal.h>.Ulrich Weigand3-12/+8
(REALTIME_LO, REALTIME_HI): Do not define. * signals/signals.c (REALTIME_HI): Fix off-by-one bug.
2006-11-282006-11-28 Vladimir Prus <vladimir@codesourcery.com>Vladimir Prus2-1/+7
* mi/mi-cmd-var.c (mi_cmd_var_create): Fix cleanup handlers. Free expression.
2006-11-28 * config/tm-linux.h (REALTIME_LO, REALTIME_HI): Do not define.Ulrich Weigand14-63/+40
* config/mips/tm-linux.h (REALTIME_LO, REALTIME_HI): Likewise. * config/rs6000/tm-rs6000ly.h (REALTIME_LO, REALTIME_HI): Move to ... * config/nm-lynx.h (REALTIME_LO, REALTIME_HI): ... here. * config/i386/nto.mh (NAT_FILE): Define. * config/i386/nto.mt (DEPRECATED_TM_FILE): Remove. * config/i386/tm-nto.h: Delete file. * config/tm-nto.h: Delete file. * config/nm-nto.h: New file. * Makefile.in (nto-tdep.o): Add dependency on $(objfiles_h). * nto-tdep.c: Include "objfiles.h" and <string.h>. * coff-solib.h (SOLIB_UNLOADED_LIBRARY_PATHNAME): Define as "". * xcoffread.c (read_xcoff_symtab): Initialize fcn_stab_saved. * config/rs6000/rs6000lynx.mt (TDEPFILES): Add xcoffread.o.
2006-11-28 * gdb.base/break.c (main): Move position of malloc.Nathan Sidwell2-0/+15
2006-11-28 * dwarf2-frame.c (decode_frame_entry_1): Skip unknown augmentationsDaniel Jacobowitz2-7/+9
without skipping the CIE.
2006-11-282006-11-28 Vladimir Prus <vladimir@codesourcery.com>Vladimir Prus5-124/+235
Fetch varobj values from memory in a single place, and only fetch the values that are really needed. * varobj.c (struct varobj): Clarify comment. (my_value_equal): Remove. (install_new_value): New function. (type_of_child): Remove. (varobj_create): Use install_new_value. (varobj_set_value): Use value_contents_equal, not my_value_equal. (varobj_update): Use install_new_value. (create_child): Likewise. Inline type_of_child here. (value_of_child): Don't fetch the value. (c_value_of_root): Likewise. (c_value_of_variable): Likewise. (type_changeable): Improve comments.
2006-11-28 * remote.c (struct remote_arch_state): Doc fix.Daniel Jacobowitz2-150/+261
(compare_pnums): New function. (init_remote_state): Only allocate packet_reg structures for raw registers. Define the g/G packet format separately from creating packet_reg. Don't use DEPRECATED_REGISTER_BYTE. (packet_reg_from_regnum, packet_reg_from_pnum): Only iterate over raw registers. (register_bytes_found): Delete. (fetch_register_using_p): Take a struct packet_reg. Handle disabled 'p' packet here. Use packet_ok. (fetch_registers_using_g): New function, split out of remote_fetch_registers. Check the 'g' packet more strictly. Save its actual size and contents. Eliminate BUF. Only iterate over raw registers. (remote_fetch_registers): Use the new functions for 'p' and 'g'. Mark unavailable registers. (store_register_using_P): Likewise to fetch_register_using_p. (store_registers_using_G): New function, split out of remote_store_registers. Only iterate over raw registers. Don't use register_bytes_found. (remote_store_registers): Likewise to remote_fetch_registers.
2006-11-282006-11-28 Pedro Alves <pedro_alves@portugalmail.pt>Daniel Jacobowitz2-20/+43
* coffread.c (cs_to_bfd_section): New function. (cs_to_section): Use cs_to_bfd_section. (record_minimal_symbol): Take the coff_symbol* parameter instead of the symbol's name as a char*. Add 'int section' parameter. Call prim_record_minimal_symbol_and_info instead of prim_record_minimal_symbol_and_info. Change return type to struct minimal_symbol *. (coff_symtab_read): Adapt to new record_minimal_symbol's signature. Make all minimal symbol creations go through record_minimal_symbol.