Commit Graph

53246 Commits

Author SHA1 Message Date
Nick Roberts 43343e8bda Update tests to include value field in output of -var-create.
mi/mi-cmd-var.c (mi_cmd_var_create):  Add value field.
2007-02-08 19:51:14 +00:00
Nick Roberts 8760422267 *** empty log message *** 2007-02-08 19:48:31 +00:00
Nick Roberts 224e4ca742 * mi/mi-cmd-var.c (mi_cmd_var_create): Add value field.
* 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-08 19:46:30 +00:00
Daniel Jacobowitz ee4f0f763c 2007-02-08 Thiago Jung Bauermann <bauerman@br.ibm.com>
* rs6000-tdep.c (gdb_print_insn_powerpc): Set
	info->disassembler_options to "any".
2007-02-08 18:05:23 +00:00
Daniel Jacobowitz 7af9851d0d * varobj.c (install_new_value): Only call value_get_print_value
if changeable.
2007-02-08 17:39:48 +00:00
Andreas Schwab 3c0a296091 * gdb.mi/mi-var-child.exp: Fix matching display of function value. 2007-02-08 17:06:01 +00:00
Daniel Jacobowitz 8944021f76 Reported by timeless@gmail.com:
* 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-08 16:31:57 +00:00
Fred Fish 5f960e007d Reviewed by Daniel Jacobowitz <drow@false.org>
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 16:25:25 +00:00
Daniel Jacobowitz 4998c1dfb8 * ser-mingw.c (pipe_windows_close): Move variable initialization back
up.
2007-02-08 16:24:11 +00:00
Fred Fish 79da184e3f Reviewed and approved by Daniel Jacobowitz <drow@false.org>
2007-02-08  Fred Fish  <fnf@specifix.com>
	* defs.h (request_quit): Remove declaration.
	* utils.c (request_quit): Remove definition.
2007-02-08 16:18:56 +00:00
Daniel Jacobowitz b69733abb7 Correct some 2006 dates. 2007-02-08 16:16:12 +00:00
Daniel Jacobowitz 3c77c82a9b * rs6000-tdep.c (bl_to_blrl_insn_p): New function.
(skip_prologue): Allow bl->blrl used by PIC code.
2007-02-08 14:22:53 +00:00
Daniel Jacobowitz c1b6e682ab * cp-valprint.c (cp_print_value_fields, cp_print_value): Always
initialize tmp_obstack.
	* p-valprint.c (pascal_object_print_value_fields)
	(pascal_object_print_value): Likewise.
2007-02-08 14:20:56 +00:00
Daniel Jacobowitz fe5dedf464 * features/feature_to_c.sh: Use %s to avoid problems with nawk. 2007-02-08 13:56:13 +00:00
Mark Kettenis 3e46147824 * sparcnbsd-tdep.c: Include "gdbtypes.h" instead of "floatformat.h".
* Makefile.in (sparcnbsd-tdep.o): Update dependencies.
2007-02-08 10:39:19 +00:00
gdbadmin 9a65c8e38e *** empty log message *** 2007-02-08 00:00:33 +00:00
Alan Modra 63faeedbf1 daily update 2007-02-07 23:00:08 +00:00
Daniel Jacobowitz fc6e01687d * xml-tdesc.c (struct tdesc_xml_cache, tdesc_xml_cache_s)
(xml_cache): New.
	(tdesc_parse_xml): Cache expanded descriptions.
2007-02-07 22:51:36 +00:00
Daniel Jacobowitz 108546a0ea * Makefile.in (XMLFILES): New.
(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 22:48:06 +00:00
Paul Brook 7bd1c9613d 2007-02-07 Paul Brook <paul@codesourcery.com>
ld/
	* configure.tgt: Add arm*-*-uclinux-*eabi.
	gas/
	* configure.tgt: Ditto.
2007-02-07 17:06:20 +00:00
Dave Brolley 7358e3f75c Add myself as maintainer of the MeP port. 2007-02-07 16:55:29 +00:00
gdbadmin e0b95c29af *** empty log message *** 2007-02-07 00:00:34 +00:00
Alan Modra 47d1687ac6 daily update 2007-02-06 23:00:07 +00:00
Dave Brolley 0dd5bc5ebf Add myself as the maintainer of the MeP port. 2007-02-06 21:00:12 +00:00
Dave Brolley 8c9c183d15 Fix entries for MeP submission. 2007-02-06 19:51:33 +00:00
Dave Brolley dd6f0f6e38 Fix entries for MeP submission. 2007-02-06 18:57:08 +00:00
Dave Brolley 4948f0d4ee Fix entries for MeP submission and complex relocations. 2007-02-06 18:53:45 +00:00
Dave Brolley d66340fcfa Fix entries for MeP submission. 2007-02-06 18:16:55 +00:00
Dave Brolley e382d1741b Fix entries for MeP port and complex relocations. 2007-02-06 18:10:34 +00:00
Nick Clifton 29006a4414 Add missing cast to (unsigned long) 2007-02-06 16:47:47 +00:00
H.J. Lu ea0c3cd5bd 2007-02-06 H.J. Lu <hongjiu.lu@intel.com>
* ldlang.c (lang_size_sections_1): Add a missing `)'.
2007-02-06 16:03:52 +00:00
Nick Clifton cc9fe4437e PR ld/3805
* ld-elf/sec64k.exp: Expect the relocatable version of this test to fail for
  the m32r because it creates both .rel and .rela sections.
2007-02-06 15:26:53 +00:00
Nick Clifton 4b78141aa2 PR gas/3800
* readelf.c: Include elf/h8.h twice.  The first time in order to get the reloc
  numbers, the second time in order to get the reloc decoder function.
  (dump_section): Tell the user if the section being displayed has unprocessed
  relocs associated with it.
  (get_reloc_size): New function - returns the size of a reloc.
  (debug_apply_rela_addends): Use get_reloc_size().
* dwarf.c (read_and_display_attr_value): Extend number of languages known for
  the DW_AT_language attribute.
  (process_debug_info): Display the attribute offset before decoding the
  attribute, in case there are problems.
2007-02-06 15:15:13 +00:00
Nick Clifton 7b5030c061 PR gas/3810 gas/3800
* gas/elf/elf.exp: Expect the redef test to fail on targets which do not
  convert fixups against ordinary symbols into relocs against section symbols.
* gas/all/gas.exp: Likewise.
2007-02-06 15:13:26 +00:00
Nick Clifton 63646b7a24 Fix comment attached to #endif 2007-02-06 14:50:58 +00:00
Alan Modra 264b62058b * ldlang.c (lang_size_sections_1): Don't warn on backwards dot
move unless section size is non-zero.
2007-02-06 13:56:38 +00:00
gdbadmin ba8ce02d29 *** empty log message *** 2007-02-06 00:00:03 +00:00
Dave Brolley b31847af93 2007-02-05 Dave Brolley <brolley@redhat.com>
Stan Cox  <scox@redhat.com>

        PR ld/3972
        * elflink.c (elf_link_input_bfd): Always setup finfo->internal_syms.
2007-02-05 23:15:38 +00:00
Alan Modra 3c0e097380 daily update 2007-02-05 23:00:10 +00:00
H.J. Lu 74e880a7a8 Remove white spaces at the end of line. 2007-02-05 20:53:09 +00:00
Dave Brolley 19d9b7d3f8 Support for Toshiba MeP. 2007-02-05 20:16:32 +00:00
Dave Brolley 280d71bf40 Support for Toshiba MeP and for complex relocations. 2007-02-05 20:10:25 +00:00
Dave Brolley bd2f2e55ad 2007-02-05 Dave Brolley <brolley@redhat.com>
* mep-*: New support for Toshiba Media Processor (MeP).
        * Makefile.am: Add support for MeP.
        * configure.in: Likewise.
        * disassemble.c: Likewise.
        * Makefile.in: Regenerated.
        * configure: Regenerated.
2007-02-05 20:04:22 +00:00
Daniel Jacobowitz b5057acde3 * linux-thread-db.c (check_for_thread_db): Return early if we have
no libthread_db support.
2007-02-05 20:02:51 +00:00
Dave Brolley 15ab5209f3 2007-02-05 Dave Brolley <brolley@redhat.com>
* readelf.c (dump_relocations): Don't check for
        (rtype == NULL && type == R_RELC).

2007-02-05  Dave Brolley  <brolley@redhat.com>

        * Contribute the following changes:
        2003-10-29  Dave Brolley  <brolley@redhat.com>

        * configure.in: Define SKIP_ZEROES and SKIP_ZEROES_AT_END for mep.
        * configure: Regenerated.

        2001-04-03  Ben Elliston  <bje@redhat.com>

        * readelf.c: Include "elf/mep.h".
        (guess_is_rela): Handle EM_CYGNUS_MEP.
        (get_machine_name): Ditto.
        (dump_relocations): Ditto.
2007-02-05 19:56:32 +00:00
Dave Brolley 722b0ff75c Add correct entrty for the addition of MeP. 2007-02-05 19:55:14 +00:00
Dave Brolley d93525185c Support for Toshiba MeP and for complex relocations. 2007-02-05 19:50:12 +00:00
H.J. Lu 9e5a05682c Fix year. 2007-02-05 19:49:22 +00:00
H.J. Lu eb7834a66d Fix year in entries. 2007-02-05 19:37:12 +00:00
Dave Brolley d6eafc3ec4 2007-02-05 Dave Brolley <brolley@redhat.com>
* Contribute the following changes:
        2001-03-26  Ben Elliston  <bje@redhat.com>

        * dis-asm.h (print_insn_mep): Declare.
2007-02-05 19:17:10 +00:00