1. 08 Feb, 2007 22 commits
    • Jeff Johnston's avatar
      · f3cd89f4
      Jeff Johnston authored
      2007-02-08  Jeff Johnston  <jjohnstn@redhat.com>
      
              * COPYING.LIBGLOSS: Reformat default Red Hat
              license to fit within 80 columns.
              * COPYING.NEWLIB: Ditto.
      f3cd89f4
    • Daniel Jacobowitz's avatar
    • Daniel Jacobowitz's avatar
      * Makefile.in (arm-tdep.o, eval.o, target-descriptions.o) · 123dc839
      Daniel Jacobowitz authored
      	(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.
      123dc839
    • Nick Roberts's avatar
      *** empty log message *** · 1183581f
      Nick Roberts authored
      1183581f
    • Nick Roberts's avatar
      Update tests to include value field in output of -var-create. · 983c9c8f
      Nick Roberts authored
      mi/mi-cmd-var.c (mi_cmd_var_create):  Add value field.
      983c9c8f
    • Daniel Jacobowitz's avatar
      Formatting fix. · 877e3645
      Daniel Jacobowitz authored
      877e3645
    • Nick Roberts's avatar
      Update tests to include value field in output of -var-create. · 43343e8b
      Nick Roberts authored
      mi/mi-cmd-var.c (mi_cmd_var_create):  Add value field.
      43343e8b
    • Nick Roberts's avatar
      *** empty log message *** · 87604222
      Nick Roberts authored
      87604222
    • Nick Roberts's avatar
      * mi/mi-cmd-var.c (mi_cmd_var_create): Add value field. · 224e4ca7
      Nick Roberts authored
      * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
      * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
      * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
      * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
      * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
      * gdb.mi/gdb792.exp, gdb.mi/gdb792.exp
      * lib/mi-support.exp:
      Update tests to include value field in output of -var-create.
      224e4ca7
    • Daniel Jacobowitz's avatar
      2007-02-08 Thiago Jung Bauermann <bauerman@br.ibm.com> · ee4f0f76
      Daniel Jacobowitz authored
      	* rs6000-tdep.c (gdb_print_insn_powerpc): Set
      	info->disassembler_options to "any".
      ee4f0f76
    • Daniel Jacobowitz's avatar
      7af9851d
    • Andreas Schwab's avatar
    • Daniel Jacobowitz's avatar
      Reported by timeless@gmail.com: · 8944021f
      Daniel Jacobowitz authored
      	* 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.
      8944021f
    • Fred Fish's avatar
      Reviewed by Daniel Jacobowitz <drow@false.org> · 5f960e00
      Fred Fish authored
      	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.
      5f960e00
    • Daniel Jacobowitz's avatar
    • Fred Fish's avatar
      Reviewed and approved by Daniel Jacobowitz <drow@false.org> · 79da184e
      Fred Fish authored
      	2007-02-08  Fred Fish  <fnf@specifix.com>
      	* defs.h (request_quit): Remove declaration.
      	* utils.c (request_quit): Remove definition.
      79da184e
    • Daniel Jacobowitz's avatar
      Correct some 2006 dates. · b69733ab
      Daniel Jacobowitz authored
      b69733ab
    • Daniel Jacobowitz's avatar
      * rs6000-tdep.c (bl_to_blrl_insn_p): New function. · 3c77c82a
      Daniel Jacobowitz authored
      	(skip_prologue): Allow bl->blrl used by PIC code.
      3c77c82a
    • Daniel Jacobowitz's avatar
      * cp-valprint.c (cp_print_value_fields, cp_print_value): Always · c1b6e682
      Daniel Jacobowitz authored
      	initialize tmp_obstack.
      	* p-valprint.c (pascal_object_print_value_fields)
      	(pascal_object_print_value): Likewise.
      c1b6e682
    • Daniel Jacobowitz's avatar
    • Mark Kettenis's avatar
      * sparcnbsd-tdep.c: Include "gdbtypes.h" instead of "floatformat.h". · 3e461478
      Mark Kettenis authored
              * Makefile.in (sparcnbsd-tdep.o): Update dependencies.
      3e461478
    • gdbadmin's avatar
      *** empty log message *** · 9a65c8e3
      gdbadmin authored
      9a65c8e3
  2. 07 Feb, 2007 6 commits
    • Alan Modra's avatar
      daily update · 63faeedb
      Alan Modra authored
      63faeedb
    • Daniel Jacobowitz's avatar
      * xml-tdesc.c (struct tdesc_xml_cache, tdesc_xml_cache_s) · fc6e0168
      Daniel Jacobowitz authored
      	(xml_cache): New.
      	(tdesc_parse_xml): Cache expanded descriptions.
      fc6e0168
    • Daniel Jacobowitz's avatar
      * Makefile.in (XMLFILES): New. · 108546a0
      Daniel Jacobowitz authored
      	(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.
      108546a0
    • Paul Brook's avatar
      2007-02-07 Paul Brook <paul@codesourcery.com> · 7bd1c961
      Paul Brook authored
      	ld/
      	* configure.tgt: Add arm*-*-uclinux-*eabi.
      	gas/
      	* configure.tgt: Ditto.
      7bd1c961
    • Dave Brolley's avatar
      Add myself as maintainer of the MeP port. · 7358e3f7
      Dave Brolley authored
      7358e3f7
    • gdbadmin's avatar
      *** empty log message *** · e0b95c29
      gdbadmin authored
      e0b95c29
  3. 06 Feb, 2007 12 commits