aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
2007-02-08 * features/Makefile, features/arm-with-iwmmxt.xml,Daniel Jacobowitz1-0/+8
features/gdbserver-regs.xsl, features/number-regs.xsl, features/sort-regs.xsl, features/xscale-iwmmxt.xml: New files. * regformats/arm-with-iwmmxt.dat: Generate. * NEWS: Mention iWMMXt. * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New. * Makefile.in (OBS): Add $(XML_BUILTIN). (XML_DIR, XML_TARGET, XML_FILES, XML_BUILTIN): New. (clean): Update. (target.xml, xml-builtin.c, stamp-xml, arm-with-iwmmxt.o) (arm-with-iwmmxt.c): New. * config.in, configure: Regenerate. * configure.ac: Check for iWMMXt. Handle srv_xmltarget, srv_xmlbuiltin, and srv_xmlfiles. Define USE_XML. * configure.srv: Mention srv_xmltarget and srv_xmlfiles. (arm*-*-linux*): Add iWMMXt and regset support. * linux-arm-low.c (PTRACE_GETWMMXREGS, PTRACE_SETWMMXREGS): Define. (arm_fill_gregset, arm_store_gregset, arm_fill_wmmxregset) (arm_store_wmmxregset, target_regsets): New. * server.c (get_features_xml): Take annex argument. Check builtin XML documents. (handle_query): Handle multiple annexes.
2007-02-08 * Makefile.in (arm-tdep.o, eval.o, target-descriptions.o)Daniel Jacobowitz1-0/+70
(xml-tdesc.o): Update. * xml-support.c: Add a comment. (gdb_xml_enums_boolean): New variable. (gdb_xml_parse_attr_enum): Use strcasecmp. * xml-support.h (gdb_xml_enums_boolean): Declare. * xml-tdesc.c (struct tdesc_parsing_data): Record current_feature, next_regnum, and current_union. (tdesc_start_feature, tdesc_start_reg, tdesc_start_union) (tdesc_end_union, tdesc_start_field, tdesc_start_vector) (field_attributes, union_children, reg_attributes, union_attributes) (vector_attributes, feature_attributes, feature_children): New. (target_children): Make static. Add <feature>. (tdesc_elements): Make static. * target-descriptions.c (struct tdesc_reg, tdesc_reg_p, type_p) (struct tdesc_feature, tdesc_feature_p): New types. (struct target_desc): Add features member. (struct tdesc_arch_data, tdesc_data): New. (target_find_description): Clarify error message. Warn about ignored register descriptions. (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name) (tdesc_named_type, tdesc_data_init, tdesc_data_alloc) (tdesc_data_cleanup, tdesc_numbered_register) (tdesc_numbered_register_choices, tdesc_find_register) (tdesc_register_name, tdesc_register_type) (tdesc_remote_register_number, tdesc_register_reggroup_p) (set_tdesc_pseudo_register_name, set_tdesc_pseudo_register_type) (set_tdesc_pseudo_register_reggroup_p, tdesc_use_registers) (tdesc_free_reg, tdesc_create_reg, tdesc_free_feature) (tdesc_create_feature, tdesc_record_type): New. (free_target_description): Free features. (_initialize_target_descriptions): Initialize tdesc_data. * arch-utils.c (default_remote_register_number): New. * arch-utils.h (default_remote_register_number): New prototype. * target-descriptions.h (set_tdesc_pseudo_register_name) (set_tdesc_pseudo_register_type, set_tdesc_pseudo_register_reggroup_p) (tdesc_use_registers, tdesc_data_alloc, tdesc_data_cleanup) (tdesc_numbered_register, tdesc_numbered_register_choices) (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name) (tdesc_named_type, tdesc_create_feature, tdesc_record_type) (tdesc_create_reg): Declare. * gdbarch.sh (remote_register_number): New entry. * gdbarch.c, gdbarch.h: Regenerate. * remote.c (init_remote_state): Use gdbarch_remote_register_number. * features/gdb-target.dtd: Add feature, reg, vector, union, and field. * arm-tdep.c (arm_register_aliases): New. (arm_register_name_strings): Rename to... (arm_register_names): ...this. Make const. Delete the old version. (current_option, arm_register_byte): Delete. (set_disassembly_style): Simplify. Do not adjust arm_register_names. (value_of_arm_user_reg): New. (arm_gdbarch_init): Verify any described registers. Call tdesc_use_registers. Don't use arm_register_byte. Create aliases for standard register names. (_initialize_arm_tdep): Do not adjust arm_register_names. * user-regs.c (struct user_reg): Add baton member. (append_user_reg, user_reg_add_builtin, user_regs_init) (user_reg_add, value_of_user_reg): Use a baton for user register functions. * std-regs.c: Update. * user-regs.h (user_reg_read_ftype, user_reg_add_builtin) (user_reg_add): Add baton argument. * NEWS: Mention target description register support. * features/arm-core.xml, features/arm-fpa.xml: New. * eval.c (evaluate_subexp_standard): Allow ptype $register when the program is not running. * gdb.texinfo (-target-disconnect): Use @smallexample. (Requirements): Add anchor for Expat. Update description. (Target Descriptions): Mention Expat. (Target Description Format): Document new elements. Use @smallexample. (Predefined Target Types, Standard Target Features): New sections. * doc/gdbint.texinfo (Target Descriptions): New section. * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp, gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
2007-02-08*** empty log message ***Nick Roberts1-0/+4
2007-02-082007-02-08 Thiago Jung Bauermann <bauerman@br.ibm.com>Daniel Jacobowitz1-0/+5
* rs6000-tdep.c (gdb_print_insn_powerpc): Set info->disassembler_options to "any".
2007-02-08 * varobj.c (install_new_value): Only call value_get_print_valueDaniel Jacobowitz1-0/+5
if changeable.
2007-02-08 Reported by timeless@gmail.com:Daniel Jacobowitz1-1/+8
* gdb/target.c (target_flash_erase): Do not return void value. (target_flash_done): Likewise. * gdb/cli/cli-cmds.c (source_command): Likewise. Reported by timeless@gmail.com: * wrapper.c (sim_target_parse_arg_array): Do not return void value.
2007-02-08Reviewed by Daniel Jacobowitz <drow@false.org>Fred Fish1-0/+6
2008-02-08 Fred Fish <fnf@specifix.com> * event-top.c (handle_sigint): Set quit_flag. (async_request_quit): Don't set quit_flag. Avoid calling quit() if quit_flag has already been reset.
2007-02-08 * ser-mingw.c (pipe_windows_close): Move variable initialization backDaniel Jacobowitz1-0/+5
up.
2007-02-08Reviewed and approved by Daniel Jacobowitz <drow@false.org>Fred Fish1-0/+5
2007-02-08 Fred Fish <fnf@specifix.com> * defs.h (request_quit): Remove declaration. * utils.c (request_quit): Remove definition.
2007-02-08Correct some 2006 dates.Daniel Jacobowitz1-4/+4
2007-02-08 * rs6000-tdep.c (bl_to_blrl_insn_p): New function.Daniel Jacobowitz1-0/+7
(skip_prologue): Allow bl->blrl used by PIC code.
2007-02-08 * cp-valprint.c (cp_print_value_fields, cp_print_value): AlwaysDaniel Jacobowitz1-0/+8
initialize tmp_obstack. * p-valprint.c (pascal_object_print_value_fields) (pascal_object_print_value): Likewise.
2007-02-08 * features/feature_to_c.sh: Use %s to avoid problems with nawk.Daniel Jacobowitz1-0/+4
2007-02-08 * sparcnbsd-tdep.c: Include "gdbtypes.h" instead of "floatformat.h".Mark Kettenis1-0/+5
* Makefile.in (sparcnbsd-tdep.o): Update dependencies.
2007-02-07 * xml-tdesc.c (struct tdesc_xml_cache, tdesc_xml_cache_s)Daniel Jacobowitz1-0/+6
(xml_cache): New. (tdesc_parse_xml): Cache expanded descriptions.
2007-02-07 * Makefile.in (XMLFILES): New.Daniel Jacobowitz1-0/+34
(COMMON_OBS): Add xml-builtin.o. (xml-builtin.c, stamp-xml): New rules. (xml-tdesc.o): Update. * features/feature_to_c.sh: New file. * xml-support.c (MAX_XINCLUDE_DEPTH): Define. (struct gdb_xml_parser): Add dtd_name and is_xinclude. (gdb_xml_start_element): Initialize scope after possibly reallocating scopes. Move cleanup later. Handle the XInclude description specially. (gdb_xml_end_element): Only parse the body if there is a current element. Call XML_DefaultCurrent if there is no element. (gdb_xml_fetch_external_entity, gdb_xml_use_dtd): New. (struct xinclude_parsing_data, xinclude_start_include) (xinclude_end_include, xml_xinclude_default) (xml_xinclude_start_doctype, xml_xinclude_end_doctype) (xml_xinclude_xml_decl, xml_xinclude_cleanup, xinclude_attributes) (xinclude_elements, xml_process_xincludes, fetch_xml_builtin): New. * xml-support.h (xml_fetch_another, xml_process_xincludes) (fetch_xml_builtin, xml_builtin, gdb_xml_use_dtd): New declarations. * xml-tdesc.c (tdesc_parse_xml): Add fetcher_baton argument. Expand XInclude directives. Use the compiled in DTD. (fetch_xml_from_file): Add baton argument. Treat it as a containing directory name. Do not warn here. (file_read_description_xml): Update call. Warn here instead. Pass a dirname as baton. (fetch_available_features_from_target): New. (target_read_description_xml): Use it. * features/gdb-target.dtd: Add copyright notice. Use xinclude.dtd to handle XInclude. * features/xinclude.dtd: New file. * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml, gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files. * gdb.texinfo (Target Description Format): Add section on XInclude.
2007-02-05 * linux-thread-db.c (check_for_thread_db): Return early if we haveDaniel Jacobowitz1-0/+5
no libthread_db support.
2007-02-05 * mi/mi-parse.h: Include <sys/time.h>.Daniel Jacobowitz1-0/+4
2007-02-04*** empty log message ***Nick Roberts1-0/+5
2007-02-03*** empty log message ***Nick Roberts1-0/+6
2007-02-03*** empty log message ***Nick Roberts1-0/+5
2007-02-02*** empty log message ***Nick Roberts1-1/+1
2007-02-02*** empty log message ***Nick Roberts1-0/+24
2007-02-022007-02-02 Denis Pilat <denis.pilat@st.com>Denis Pilat1-0/+14
* thread.c (make_cleanup_restore_current_thread): New function. (info_threads_command): Use of make_cleanup_restore_current_thread to restore the current thread and the selected frame. (restore_selected_frame): New function. (struct current_thread_cleanup): Add frame_id field. (do_restore_current_thread_cleanup): Add restoring of the selected frame. (make_cleanup_restore_current_thread): Likewise. (thread_apply_all_command): backup the selected frame while entering the function and restore it at exit. (thread_apply_command): Likewise.
2007-02-022007-02-02 Denis Pilat <denis.pilat@st.com>Denis Pilat1-0/+4
* MAINTAINERS (Write After Approval): Add myself to the list.
2007-02-012006-02-01 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>Kazuhiro Inaoka1-0/+5
* gdb/remote-m32r.sdi.c (m32r_fetch_register): Change PWD mask. (m32r_store_register): Ditto.
2007-01-30 * ser-mingw.c (pipe_windows_open)Vladimir Prus1-0/+6
(pipe_windows_read, pipe_windows_write): Declare variables at the top of the function.
2007-01-29 * doublest.c (floatformat_from_length): Use the right element fromDaniel Jacobowitz1-0/+42
gdbarch floatformats. (floatformat_from_type, extract_typed_floating) (store_typed_floating): Likewise. * doublest.h: Remove declarations for undefined floatformat arrays. * gdbarch.sh (float_format, double_format, long_double_format): Change to pairs. (pformat): Update for pairs. * gdbarch.c, gdbarch.h: Regenerated. * gdbtypes.c (floatformats_ieee_single, floatformats_ieee_double) (floatformats_ieee_double_littlebyte_bigword) (floatformats_i387_ext, floatformats_m68881_ext, floatformats_arm_ext) (floatformats_ia64_spill, floatformats_ia64_quad, floatformats_vax_f) (floatformats_vax_d): New variables. (builtin_type_ieee_single, builtin_type_ieee_double) (builtin_type_arm_ext, builtin_type_ia64_spill) (builtin_type_ia64_quad): Replace arrays with individual types. (builtin_type_ieee_single_big, builtin_type_ieee_single_little) (builtin_type_ieee_double_big, builtin_type_ieee_double_little) (builtin_type_ieee_double_littlebyte_bigword, builtin_type_i960_ext) (builtin_type_m88110_ext, builtin_type_m88110_harris_ext) (builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword) (builtin_type_ia64_spill_big, builtin_type_ia64_spill_little) (builtin_type_ia64_quad_big, builtin_type_ia64_quad_little): Delete unused and endian-specific types. (recursive_dump_type): Update for floatformat pairs. (build_flt): Move higher. Handle bit == -1. Take a floatformat pair. (build_gdbtypes): Use build_flt. (_initialize_gdbtypes): Update set of initialized types. * gdbtypes.h: Update declarations to match gdbtypes.c. (struct main_type): Store a pointer to two floatformats. * arch-utils.c (default_float_format, default_double_format): Delete. * arch-utils.h (default_float_format, default_double_format): Delete. * arm-tdep.c, avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c, ia64-tdep.c, iq2000-tdep.c, m68k-tdep.c, m88k-tdep.c, mips-linux-tdep.c, mips-tdep.c, mt-tdep.c, ppcobsd-tdep.c, sparc-linux-tdep.c, sparc-tdep.c, sparcnbsd-tdep.c, spu-tdep.c, vax-tdep.c, alpha-tdep.c, ppc-sysv-tdep.c: Update.
2007-01-29 * target.c (maintenance_print_target_stack): New function.Joel Brobecker1-0/+6
(initialize_targets): Add new "maintenance print target-stack" command.
2007-01-28 * dwarf2read.c (new_symbol): Handle DW_AT_decl_file being zero.Mark Kettenis1-0/+4
2007-01-28 * dwarf2loc.h (struct dwarf2_locexpr_baton): Change size to a long.Daniel Jacobowitz1-0/+5
(struct dwarf2_loclist_baton): Likewise.
2007-01-27 * cli/cli-script.c: Include breakpoint.h.Eli Zaretskii1-0/+25
(build_command_line): Require arguments only for if and while commands. (get_command_line, execute_user_command, execute_control_command): Fix wording of warning messages. (print_command_lines): Print breakpoint commands. (execute_control_command): Call commands_from_control_command to handle the `commands' command inside a body of a flow-control command. (read_next_line): Recognize the `commands' command and build a command line structure for it. (recurse_read_control_structure, read_command_lines): Handle `commands' similarly to `if' and `while'. * breakpoint.c (get_number_trailer): Document the special meaning of NULL as the first argument PP. (commands_from_control_command): New function. * breakpoint.h (commands_from_control_command): Add prototype. * defs.h (commands_control): New enumerated value for enum command_control_type.
2007-01-26 * ada-lang.c (ada_exception_breakpoint_ops): Fix typo in function name.Joel Brobecker1-0/+5
(ada_exception_sal): Update accordingly.
2007-01-26 * c-valprint.c (c_val_print): Require strings to be of no-signed CHARs.Jan Kratochvil1-0/+5
* NEWS: Describe CHAR array vs. string identifcation rules.
2007-01-252007-01-25 Paul Brook <paul@codesourcery.com>Paul Brook1-0/+4
gdb/ * arm-tdep.c (arm_get_next_pc): Fix bitfield off-by-one error.
2007-01-242007-01-24 Jim Blandy <jimb@codesourcery.com>Jim Blandy1-0/+6
* dwarf2loc.c (dwarf2_evaluate_loc_desc): When the location expression is empty, bother to return the 'optimized out' value we construct. (Thanks to Carl Burch.)
2007-01-24 * varobj.c (c_value_of_root, c_value_of_child)Vladimir Prus1-0/+5
(cplus_describe_child): Don't call release_value.
2007-01-24 * mips-linux-tdep.c (mips_linux_n64_rt_sigframe): Fix structThiemo Seufer1-0/+5
initialization.
2007-01-24 Refactor getting children name, value and type accessVladimir Prus1-0/+17
for varobjs in C++. * varobj.c (get_type_deref): Remove. (adjust_value_for_child_access): New. (c_number_of_children): Use the above. (c_describe_child): Likewise. (enum accessibility): New. (match_accessibility): New function. (cplus_describe_child): New function. (cplus_name_of_child, cplus_value_of_child) (cplus_type_of_child): Reimplement in terms of cplus_describe_child. (cplus_number_of_children): Use adjust_value_for_child_access.
2007-01-24 Fix computation of the 'editable' attribute andVladimir Prus1-0/+8
value changeability for for references. * varobj.c (get_value_type): New function. (c_variable_editable): Use get_value_type. (varobj_value_is_changeable): Likewise.
2007-01-24 * source.c (find_and_open_source): Try rewriting the sourceJoel Brobecker1-0/+5
path inside filename if dirname is NULL.
2007-01-23 * dwarf2read.c (add_partial_symbol): Create an extra partialJoel Brobecker1-0/+6
symbol in the VAR_DOMAIN for Ada structures, unions or enums. (new_symbol): Likewise for symbols.
2007-01-23*** empty log message ***Nick Roberts1-0/+4
2007-01-23 * value.c (value_primitive_field): Copy the full 'location'Vladimir Prus1-0/+6
contents, instead of assuming that copying ADDRESS will bring over everything in the union. Remove obsolete comment.
2007-01-23 * m32c-tdep.c (make_regs, m32c_analyze_prologue)Daniel Jacobowitz1-0/+6
(m32c_skip_trampoline_code, m32c_m16c_address_to_pointer) (m32c_m16c_pointer_to_address): Separate code from declarations.
2007-01-23From Nick Hudson:Daniel Jacobowitz1-0/+4
* target.c (update_current_target): Correct typo. * gdb.base/sigrepeat.exp: Correct error message.
2007-01-22 * xstormy16-tdep.c (xstormy16_skip_prologue): Separate code from aCorinna Vinschen1-0/+5
declaration.
2007-01-21 * dwarf2-frame.c (execute_cfa_program): New support ofJan Kratochvil1-0/+7
`DW_CFA_GNU_negative_offset_extended'.
2007-01-21 * NEWS: Mention flash support for "load" and new remote packets.Daniel Jacobowitz1-0/+4
2007-01-212007-01-21 Markus Deuling <deuling@de.ibm.com>Daniel Jacobowitz1-0/+4
* breakpoint.c (delete_command): Skip redundant loop iterations.