aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2007-02-09Add myself to "write atfer approval" section.Gabriel Dos Reis1-0/+1
2007-02-09*** empty log message ***gdbadmin1-1/+1
2007-02-08 * features/Makefile, features/arm-with-iwmmxt.xml,Daniel Jacobowitz20-10/+698
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 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.Daniel Jacobowitz2-0/+7
2007-02-08 * Makefile.in (arm-tdep.o, eval.o, target-descriptions.o)Daniel Jacobowitz30-112/+1855
(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-2/+1
2007-02-08Update tests to include value field in output of -var-create.Nick Roberts1-1/+1
mi/mi-cmd-var.c (mi_cmd_var_create): Add value field.
2007-02-08Formatting fix.Daniel Jacobowitz1-2/+2
2007-02-08Update tests to include value field in output of -var-create.Nick Roberts11-256/+99
mi/mi-cmd-var.c (mi_cmd_var_create): Add value field.
2007-02-08*** empty log message ***Nick Roberts2-0/+15
2007-02-08* mi/mi-cmd-var.c (mi_cmd_var_create): Add value field.Nick Roberts1-1/+1
* 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.
2007-02-082007-02-08 Thiago Jung Bauermann <bauerman@br.ibm.com>Daniel Jacobowitz2-0/+8
* 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 Jacobowitz2-1/+6
if changeable.
2007-02-08 * gdb.mi/mi-var-child.exp: Fix matching display of function value.Andreas Schwab2-2/+7
2007-02-08 Reported by timeless@gmail.com:Daniel Jacobowitz3-4/+13
* 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 Fish2-1/+21
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 Jacobowitz2-2/+6
up.
2007-02-08Reviewed and approved by Daniel Jacobowitz <drow@false.org>Fred Fish3-14/+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 Jacobowitz2-0/+37
(skip_prologue): Allow bl->blrl used by PIC code.
2007-02-08 * cp-valprint.c (cp_print_value_fields, cp_print_value): AlwaysDaniel Jacobowitz3-8/+13
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 Jacobowitz2-1/+5
2007-02-08 * sparcnbsd-tdep.c: Include "gdbtypes.h" instead of "floatformat.h".Mark Kettenis3-3/+8
* Makefile.in (sparcnbsd-tdep.o): Update dependencies.
2007-02-08*** empty log message ***gdbadmin1-1/+1
2007-02-07 * xml-tdesc.c (struct tdesc_xml_cache, tdesc_xml_cache_s)Daniel Jacobowitz2-1/+43
(xml_cache): New. (tdesc_parse_xml): Cache expanded descriptions.
2007-02-07 * Makefile.in (XMLFILES): New.Daniel Jacobowitz17-44/+718
(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-07*** empty log message ***gdbadmin1-1/+1
2007-02-06*** empty log message ***gdbadmin1-1/+1
2007-02-05 * linux-thread-db.c (check_for_thread_db): Return early if we haveDaniel Jacobowitz2-0/+9
no libthread_db support.
2007-02-05 * mi/mi-parse.h: Include <sys/time.h>.Daniel Jacobowitz2-0/+6
2007-02-05*** empty log message ***gdbadmin1-1/+1
2007-02-04*** empty log message ***Nick Roberts2-2/+12
2007-02-04*** empty log message ***gdbadmin1-1/+1
2007-02-03*** empty log message ***Nick Roberts1-0/+6
2007-02-03Numerous formatting changes.Nick Roberts1-101/+101
(mi_cmd_data_write_register_values): Replace clause inadvertantly removed in my previous change.
2007-02-03*** empty log message ***Nick Roberts1-0/+5
2007-02-03*** empty log message ***gdbadmin1-1/+1
2007-02-02(mi_load_progress, timestamp, print_diff_now):Nick Roberts1-4/+4
Use 1000000L instead of 1000000.
2007-02-02(GDB/MI Miscellaneous Commands): Describe the newNick Roberts1-0/+44
command -enable-timings.
2007-02-02*** empty log message ***Nick Roberts2-1/+6
2007-02-02* mi/mi-main.c: Include <sys/resource.h> if present.Nick Roberts4-1/+123
(rusage): Declare if HAVE_GETRUSAGE. (current_command_ts, do_timings): New static variables. (timestamp, print_diff_now, print_diff, timeval_diff): New static timing functions. (mi_cmd_enable_timings): New function for new MI command. (captured_mi_execute_command, mi_execute_async_cli_command): Call timing functions. * mi/mi-cmds.c (mi_cmds): Add entry for new MI command -enable-timings. * mi/mi-cmds.h (mi_cmd_enable_timings): New extern. * mi/mi-parse.h: (mi_timestamp): New structure. (mi_parse): Add mi_timestamp* member.
2007-02-02* configure.ac: Test for sys/resource.h and getrusage.Nick Roberts3-0/+260
* configure, config.in: Regenerate.
2007-02-02*** empty log message ***Nick Roberts1-0/+24
2007-02-02 * gdbint.texinfo (Operation System ABI Variant Handling): UpdateEli Zaretskii2-23/+64
descriptions for new/deleted elements in gdb_osabi. Add missing description for function generic_elf_osabi_sniff_abi_tag_sections.
2007-02-022007-02-02 Denis Pilat <denis.pilat@st.com>Denis Pilat2-1/+12
* gdb.threads/threadapply.exp: check that frame is not changed by the thread apply all command.
2007-02-022007-02-02 Denis Pilat <denis.pilat@st.com>Denis Pilat2-21/+74
* 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 Pilat2-0/+5
* MAINTAINERS (Write After Approval): Add myself to the list.
2007-02-02*** empty log message ***gdbadmin1-1/+1
2007-02-012006-02-01 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>Kazuhiro Inaoka2-3/+8
* gdb/remote-m32r.sdi.c (m32r_fetch_register): Change PWD mask. (m32r_store_register): Ditto.
2007-02-01*** empty log message ***gdbadmin1-1/+1