binutils-gdb.git
17 years agodaily update
Alan Modra [Wed, 14 Feb 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years agobfd/
H.J. Lu [Wed, 14 Feb 2007 14:15:52 +0000 (14:15 +0000)]
bfd/

2007-02-14  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3953
* elflink.c (_bfd_elf_add_default_symbol): Check warning symbol
when adding default symbol.

ld/testsuite/

2007-02-14  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3953
* ld-elf/beginwarn.c: New file.
* ld-elf/warn.out: Likewise.

* ld-elf/shared.exp (build_tests): Add "Build warn libbar.so".
(run_tests): Add "Run warn with versioned libfoo.so".

* lib/ld-lib.exp (default_ld_relocate): Make exec_output global
and remove target first.
(default_ld_link): Likewise.
(default_ld_simple_link): Likewise.
(run_ld_link_exec_tests): Take an optional linker warning and
check it.
(default_ld_link): Check pruned linker output.

17 years ago* binutils-all/readelf.exp (readelf_wi_test): Fix unexpected output failure message.
Nick Clifton [Wed, 14 Feb 2007 10:05:59 +0000 (10:05 +0000)]
* binutils-all/readelf.exp (readelf_wi_test): Fix unexpected output failure message.

17 years ago*** empty log message ***
gdbadmin [Wed, 14 Feb 2007 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

17 years agogas/
Alan Modra [Tue, 13 Feb 2007 23:23:54 +0000 (23:23 +0000)]
gas/
* config/tc-i386.h (Seg2ShortForm, Seg3ShortForm): Delete.
* config/tc-i386.c: Wrap overly long lines, whitespace fixes.
(process_operands): Move old Seg2ShortForm and Seg3ShortForm
code, and test for these insns using a combination of
opcode_modifier and operand_types.
include/opcode/
* i386.h (i386_optab): Replace all occurrences of Seg2ShortForm
and Seg3ShortFrom with Shortform.

17 years agodaily update
Alan Modra [Tue, 13 Feb 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years ago2007-02-13 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 13 Feb 2007 22:14:59 +0000 (22:14 +0000)]
2007-02-13  H.J. Lu  <hongjiu.lu@intel.com>

* ld-scripts/default-script1.d: Expect extra symbols.
* ld-scripts/default-script2.d: Likewise.
* ld-scripts/default-script3.d: Likewise.
* ld-scripts/default-script4.d: Likewise.

17 years agoRemove extra space.
H.J. Lu [Tue, 13 Feb 2007 21:45:27 +0000 (21:45 +0000)]
Remove extra space.

17 years ago * configure.ac (target_libraries): Move libgcc before libiberty.
Daniel Jacobowitz [Tue, 13 Feb 2007 21:33:14 +0000 (21:33 +0000)]
* configure.ac (target_libraries): Move libgcc before libiberty.
* configure: Regenerated.

17 years agoRemove trailing zeros in array initializers.
H.J. Lu [Tue, 13 Feb 2007 21:29:31 +0000 (21:29 +0000)]
Remove trailing zeros in array initializers.

17 years agoAdd a space before `}' in struct initializer.
H.J. Lu [Tue, 13 Feb 2007 21:18:39 +0000 (21:18 +0000)]
Add a space before `}' in struct initializer.

17 years ago2007-02-13 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 13 Feb 2007 20:58:17 +0000 (20:58 +0000)]
2007-02-13  H.J. Lu  <hongjiu.lu@intel.com>

 * i386-dis.c: Updated to use an array of MAX_OPERANDS operands
 in struct dis386.

17 years ago * configure.ac: Add mips*-sde-elf* target.
Thiemo Seufer [Tue, 13 Feb 2007 20:20:54 +0000 (20:20 +0000)]
* configure.ac: Add mips*-sde-elf* target.
* configure: Regenerate.

17 years ago * mips32-dsp.s: Run DSP testcase only for release 2 architecture.
Thiemo Seufer [Tue, 13 Feb 2007 19:12:28 +0000 (19:12 +0000)]
* mips32-dsp.s: Run DSP testcase only for release 2 architecture.

17 years ago * mdmx-ob.s: Delete extraneous include.
Thiemo Seufer [Tue, 13 Feb 2007 19:07:36 +0000 (19:07 +0000)]
* mdmx-ob.s: Delete extraneous include.

17 years ago2007-02-13 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 13 Feb 2007 16:23:20 +0000 (16:23 +0000)]
2007-02-13  Paolo Bonzini  <bonzini@gnu.org>

* configure: Regenerate again?

17 years ago * target-descriptions.c (tdesc_named_type): Move code_ptr and data_ptr
Daniel Jacobowitz [Tue, 13 Feb 2007 15:48:06 +0000 (15:48 +0000)]
* target-descriptions.c (tdesc_named_type): Move code_ptr and data_ptr
handling from here...
(tdesc_register_type): ...to here.
* xml-tdesc.c (tdesc_start_reg): Allow code_ptr and data_ptr.
* features/arm-core.xml: Use code_ptr and data_ptr.

17 years agoadd autom4te.cache to .cvsignore
Paolo Bonzini [Tue, 13 Feb 2007 15:25:58 +0000 (15:25 +0000)]
add autom4te.cache to .cvsignore

17 years ago2007-02-13 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 13 Feb 2007 14:46:13 +0000 (14:46 +0000)]
2007-02-13  Paolo Bonzini  <bonzini@gnu.org>

* configure: Reapply PR30748 fix which was lost in the previous commit.

17 years ago PR bootstrap/30753
Daniel Jacobowitz [Tue, 13 Feb 2007 14:40:31 +0000 (14:40 +0000)]
PR bootstrap/30753
* configure.ac: Remove obsolete build / host tests.  Use AC_PROG_CC
unconditionally.  Use AC_PROG_CXX.  Use ACX_TOOL_DIRS to find $prefix.
* configure: Regenerated.

17 years ago2007-02-13 Denis Pilat <denis.pilat@st.com>
Denis Pilat [Tue, 13 Feb 2007 08:21:00 +0000 (08:21 +0000)]
2007-02-13  Denis Pilat  <denis.pilat@st.com>

* gdb.mi/mi-var-invalidate.exp: New file.

17 years ago2007-02-13 Denis Pilat <denis.pilat@st.com>
Denis Pilat [Tue, 13 Feb 2007 08:15:49 +0000 (08:15 +0000)]
2007-02-13  Denis Pilat  <denis.pilat@st.com>

* varobj.h (enum varobj_update_error): New enum.
* varobj.c (struct varobj_root): Add is_valid member.
(varobj_get_type): Check for invalid varobj.
(varobj_get_attributes): Likewise.
(variable_editable):Likewise.
(varobj_update): Likewise.  Use varobj_update_error.
(new_root_variable): Set root varobj as valid by default.
(varobj_invalidate): New function.
* symfile.c (clear_symtab_users): Use varobj_invalidate.
* mi/mi-cmd-var.c (varobj_update_one): Change return type to void.
Use varobj_update_error.

17 years ago * emultempl/spu_ovl.S (__ovly_return, __ovly_load): Set sym size.
Alan Modra [Tue, 13 Feb 2007 07:47:22 +0000 (07:47 +0000)]
* emultempl/spu_ovl.S (__ovly_return, __ovly_load): Set sym size.
(__ovly_load_event): Define.
(size): Rename to osize.
* emultempl/spu_ovl.o: Regenerate.

17 years ago * embedspu.sh: Add -W to readelf invocation.
Alan Modra [Tue, 13 Feb 2007 07:33:32 +0000 (07:33 +0000)]
* embedspu.sh: Add -W to readelf invocation.

17 years agobfd/
Alan Modra [Tue, 13 Feb 2007 01:53:03 +0000 (01:53 +0000)]
bfd/
* elf64-ppc.c (create_linkage_sections): Use section ".branch_lt"
for branch lookup table.
ld/
* emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Add ".branch_lt".
* emultempl/ppc64elf.em (ppc_add_stub_section): Create without
SEC_RELOC flag set.
ld/testsuite/
* ld-powerpc/relbrlt.d: Update.
* ld-powerpc/tlsexe.r: Update.
* ld-powerpc/tlsexetoc.r: Update.
* ld-powerpc/tlsso.r: Update.
* ld-powerpc/tlstocso.r: Update.

17 years ago*** empty log message ***
gdbadmin [Tue, 13 Feb 2007 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago(GDB/MI Variable Objects): Describe meanings of
Nick Roberts [Mon, 12 Feb 2007 23:53:02 +0000 (23:53 +0000)]
(GDB/MI Variable Objects): Describe meanings of
values for in_scope.  Mention that only root variables can be
updated.
(GDB/MI Development and Front Ends): Explain new values may be
added to existing fields.

17 years ago*** empty log message ***
Nick Roberts [Mon, 12 Feb 2007 23:51:46 +0000 (23:51 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Mon, 12 Feb 2007 23:00:09 +0000 (23:00 +0000)]
daily update

17 years ago * Fix PR 2223. Recognize Pascal language marker in dwarf readers
Pierre Muller [Mon, 12 Feb 2007 15:19:31 +0000 (15:19 +0000)]
 * Fix PR 2223. Recognize Pascal language marker in dwarf readers

17 years ago * win32-nat.c (win32_wait): Reset terminal pgrp to GDB.
Corinna Vinschen [Mon, 12 Feb 2007 13:04:36 +0000 (13:04 +0000)]
* win32-nat.c (win32_wait): Reset terminal pgrp to GDB.
(do_initial_win32_stuff): Call terminal_init_inferior_with_pgrp
instead of target_terminal_init since inferior_ptid isn't set yet.

17 years agobfd/
Alan Modra [Mon, 12 Feb 2007 12:02:58 +0000 (12:02 +0000)]
bfd/
* elf64-ppc.c (create_linkage_sections): Don't create
.rela.rodata.brlt for --emit-relocs.
(ppc_build_one_stub): Create relocs for brlt --emit-relocs here.
(ppc_size_one_stub): Count them.  Simplify test of stub type
when counting stub relocs.  Set SEC_RELOC too.
(ppc64_elf_size_stubs): Clear reloc_count and SEC_RELOC.
(ppc64_elf_finish_dynamic_sections): Output brlt relocs.
ld/testsuite/
* ld-powerpc/relbrlt.d: Update.

17 years ago * elflink.c (evaluate_complex_relocation_symbols): Ignore relocs
Alan Modra [Mon, 12 Feb 2007 11:18:11 +0000 (11:18 +0000)]
* elflink.c (evaluate_complex_relocation_symbols): Ignore relocs
with a zero symbol index.

17 years ago * elflink.c (bfd_elf_discard_info): Tidy setting of "eh".
Alan Modra [Mon, 12 Feb 2007 11:14:01 +0000 (11:14 +0000)]
* elflink.c (bfd_elf_discard_info): Tidy setting of "eh".

17 years agogas/testsuite/
H.J. Lu [Mon, 12 Feb 2007 04:51:40 +0000 (04:51 +0000)]
gas/testsuite/

2007-02-11  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/4027
* gas/i386/opcode.s: Add more tests for "test".
* i386/opcode-intel.d: Updated.
* gas/i386/opcode-suffix.d: Likewise.
* gas/i386/opcode.d: Likewise.

include/opcode/

2007-02-11  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/4027
* i386.h (i386_optab): Put the real "test" before the pseudo
one.

17 years ago*** empty log message ***
gdbadmin [Mon, 12 Feb 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sun, 11 Feb 2007 23:00:06 +0000 (23:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Sun, 11 Feb 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sat, 10 Feb 2007 23:00:06 +0000 (23:00 +0000)]
daily update

17 years ago * MAINTAINERS (Write After Approval): Add myself.
Pedro Alves [Sat, 10 Feb 2007 18:30:55 +0000 (18:30 +0000)]
   * MAINTAINERS (Write After Approval): Add myself.

17 years ago2007-02-10 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Sat, 10 Feb 2007 12:50:23 +0000 (12:50 +0000)]
2007-02-10  Paolo Bonzini  <bonzini@gnu.org>

* configure: Regenerate.

17 years ago*** empty log message ***
gdbadmin [Sat, 10 Feb 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago 2007-02-09 Fred Fish <fnf@specifix.com>
Fred Fish [Fri, 9 Feb 2007 23:45:35 +0000 (23:45 +0000)]
2007-02-09  Fred Fish  <fnf@specifix.com>
Based on work by Apple Computer, Inc.
* event-top.c (async_request_quit): Call quit() whenever either
quit_flag is set or immediate_quit is set.

17 years agodaily update
Alan Modra [Fri, 9 Feb 2007 23:00:05 +0000 (23:00 +0000)]
daily update

17 years ago PR bootstrap/30748
Daniel Jacobowitz [Fri, 9 Feb 2007 22:35:45 +0000 (22:35 +0000)]
PR bootstrap/30748
* configure.ac: Correct syntax for Solaris ksh.
* configure: Regenerated.

17 years ago2007-02-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
Gabriel Dos Reis [Fri, 9 Feb 2007 20:52:16 +0000 (20:52 +0000)]
2007-02-09  Gabriel Dos Reis  <gdr@integrable-solutions.net>

        * ada-lang.c (remove_out_of_scope_renamings): Change third
          parameter's
        type to a pointer to const struct block.
        (ada_lookup_symbol_list): Don't cast away constness when
          calling
        remove_out_of_scope_renamings.

2007-02-09  Gabriel Dos Reis  <gdr@integrable-solutions.net>

        * linux-nat.c (linux_nat_find_memory_regions): Don't check the
        address of 'filename'; it is always non null.

17 years ago * exec.c (add_to_section_table): Do not discard empty sections.
Joel Brobecker [Fri, 9 Feb 2007 20:11:47 +0000 (20:11 +0000)]
    * exec.c (add_to_section_table): Do not discard empty sections.

17 years agoAdd myself to "write atfer approval" section.
Gabriel Dos Reis [Fri, 9 Feb 2007 19:49:17 +0000 (19:49 +0000)]
Add myself to "write atfer approval" section.

17 years ago2007-02-09 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Fri, 9 Feb 2007 19:24:42 +0000 (19:24 +0000)]
2007-02-09  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def: Sync with GCC.
* Makefile.tpl: Sync with GCC.
* Makefile.in: Regenerate.
* configure: Regenerate.

* config/acx.m4: Sync with GCC.
* config/depstand.m4: Sync with GCC.
* config/tls.m4: Sync with GCC.

17 years ago2007-02-09 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 9 Feb 2007 18:20:24 +0000 (18:20 +0000)]
2007-02-09  H.J. Lu  <hongjiu.lu@intel.com>

* configure.in (targ_extra_emuls): Add $targ64_extra_emuls if
want64 is true.
(targ_extra_libpath): Add $targ64_extra_libpath if want64 is
true
* configure: Regenerated.

* configure.tgt (targ_extra_libpath): Initialize.
(targ64_extra_emuls): New. Document. Initialize.
(targ64_extra_libpath): Likewise.
(i[3-7]86-*-linux-*): Set targ64_extra_emuls and
targ64_extra_libpath.
(powerpc*-*-linux*): Likewise.
(s390-*-linux*): Likewise.

17 years agoFix ChangeLog entry.
Paul Brook [Fri, 9 Feb 2007 17:45:11 +0000 (17:45 +0000)]
Fix ChangeLog entry.

17 years agomerge from gcc
DJ Delorie [Fri, 9 Feb 2007 17:21:45 +0000 (17:21 +0000)]
merge from gcc

17 years ago * Makefile.tpl (build_alias, host_alias, target_alias): Use
Daniel Jacobowitz [Fri, 9 Feb 2007 15:15:38 +0000 (15:15 +0000)]
* Makefile.tpl (build_alias, host_alias, target_alias): Use
noncanonical equivalents.
* configure.in: Rename to...
* configure.ac: ...this.  Update AC_PREREQ.  Prevent error for
AS_FOR_TARGET.  Set build_noncanonical, host_noncanonical, and
target_noncanonical.  Use them.  Rewrite removal of configure
arguments for autoconf 2.59.  Discard variable settings.  Force
program_transform_name for native tools.

* Makefile.in: Regenerated.
* configure: Regenerated with autoconf 2.59.

* src-release (DEVO_SUPPORT, do-proto-toplev): Expect configure.ac.

* acx.m4 (ACX_CHECK_INSTALLED_TARGET_TOOL): Avoid AC_PATH_PROG
with an empty path.

17 years ago*** empty log message ***
gdbadmin [Fri, 9 Feb 2007 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Thu, 8 Feb 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years ago * features/Makefile, features/arm-with-iwmmxt.xml,
Daniel Jacobowitz [Thu, 8 Feb 2007 21:39:04 +0000 (21:39 +0000)]
* features/Makefile, features/arm-with-iwmmxt.xml,
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.

17 years ago2007-02-08 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 8 Feb 2007 21:32:33 +0000 (21:32 +0000)]
2007-02-08  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.LIBGLOSS: Reformat default Red Hat
        license to fit within 80 columns.
        * COPYING.NEWLIB: Ditto.

17 years ago * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
Daniel Jacobowitz [Thu, 8 Feb 2007 21:14:12 +0000 (21:14 +0000)]
* tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.

17 years ago * Makefile.in (arm-tdep.o, eval.o, target-descriptions.o)
Daniel Jacobowitz [Thu, 8 Feb 2007 21:00:36 +0000 (21:00 +0000)]
* Makefile.in (arm-tdep.o, eval.o, target-descriptions.o)
(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.

17 years ago*** empty log message ***
Nick Roberts [Thu, 8 Feb 2007 20:39:42 +0000 (20:39 +0000)]
*** empty log message ***

17 years agoUpdate tests to include value field in output of -var-create.
Nick Roberts [Thu, 8 Feb 2007 20:35:08 +0000 (20:35 +0000)]
Update tests to include value field in output of -var-create.

mi/mi-cmd-var.c (mi_cmd_var_create):  Add value field.

17 years agoFormatting fix.
Daniel Jacobowitz [Thu, 8 Feb 2007 20:24:16 +0000 (20:24 +0000)]
Formatting fix.

17 years agoUpdate tests to include value field in output of -var-create.
Nick Roberts [Thu, 8 Feb 2007 19:51:14 +0000 (19:51 +0000)]
Update tests to include value field in output of -var-create.

mi/mi-cmd-var.c (mi_cmd_var_create):  Add value field.

17 years ago*** empty log message ***
Nick Roberts [Thu, 8 Feb 2007 19:48:31 +0000 (19:48 +0000)]
*** empty log message ***

17 years ago* mi/mi-cmd-var.c (mi_cmd_var_create): Add value field.
Nick Roberts [Thu, 8 Feb 2007 19:46:30 +0000 (19:46 +0000)]
* 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.

17 years ago2007-02-08 Thiago Jung Bauermann <bauerman@br.ibm.com>
Daniel Jacobowitz [Thu, 8 Feb 2007 18:05:23 +0000 (18:05 +0000)]
2007-02-08  Thiago Jung Bauermann  <bauerman@br.ibm.com>

* rs6000-tdep.c (gdb_print_insn_powerpc): Set
info->disassembler_options to "any".

17 years ago * varobj.c (install_new_value): Only call value_get_print_value
Daniel Jacobowitz [Thu, 8 Feb 2007 17:39:48 +0000 (17:39 +0000)]
* varobj.c (install_new_value): Only call value_get_print_value
if changeable.

17 years ago * gdb.mi/mi-var-child.exp: Fix matching display of function value.
Andreas Schwab [Thu, 8 Feb 2007 17:06:01 +0000 (17:06 +0000)]
* gdb.mi/mi-var-child.exp: Fix matching display of function value.

17 years ago Reported by timeless@gmail.com:
Daniel Jacobowitz [Thu, 8 Feb 2007 16:31:57 +0000 (16:31 +0000)]
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.

17 years agoReviewed by Daniel Jacobowitz <drow@false.org>
Fred Fish [Thu, 8 Feb 2007 16:25:25 +0000 (16:25 +0000)]
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.

17 years ago * ser-mingw.c (pipe_windows_close): Move variable initialization back
Daniel Jacobowitz [Thu, 8 Feb 2007 16:24:11 +0000 (16:24 +0000)]
* ser-mingw.c (pipe_windows_close): Move variable initialization back
up.

17 years agoReviewed and approved by Daniel Jacobowitz <drow@false.org>
Fred Fish [Thu, 8 Feb 2007 16:18:56 +0000 (16:18 +0000)]
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.

17 years agoCorrect some 2006 dates.
Daniel Jacobowitz [Thu, 8 Feb 2007 16:16:12 +0000 (16:16 +0000)]
Correct some 2006 dates.

17 years ago * rs6000-tdep.c (bl_to_blrl_insn_p): New function.
Daniel Jacobowitz [Thu, 8 Feb 2007 14:22:53 +0000 (14:22 +0000)]
* rs6000-tdep.c (bl_to_blrl_insn_p): New function.
(skip_prologue): Allow bl->blrl used by PIC code.

17 years ago * cp-valprint.c (cp_print_value_fields, cp_print_value): Always
Daniel Jacobowitz [Thu, 8 Feb 2007 14:20:56 +0000 (14:20 +0000)]
* 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.

17 years ago * features/feature_to_c.sh: Use %s to avoid problems with nawk.
Daniel Jacobowitz [Thu, 8 Feb 2007 13:56:13 +0000 (13:56 +0000)]
* features/feature_to_c.sh: Use %s to avoid problems with nawk.

17 years ago * sparcnbsd-tdep.c: Include "gdbtypes.h" instead of "floatformat.h".
Mark Kettenis [Thu, 8 Feb 2007 10:39:19 +0000 (10:39 +0000)]
    * sparcnbsd-tdep.c: Include "gdbtypes.h" instead of "floatformat.h".
        * Makefile.in (sparcnbsd-tdep.o): Update dependencies.

17 years ago*** empty log message ***
gdbadmin [Thu, 8 Feb 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Wed, 7 Feb 2007 23:00:08 +0000 (23:00 +0000)]
daily update

17 years ago * xml-tdesc.c (struct tdesc_xml_cache, tdesc_xml_cache_s)
Daniel Jacobowitz [Wed, 7 Feb 2007 22:51:36 +0000 (22:51 +0000)]
* xml-tdesc.c (struct tdesc_xml_cache, tdesc_xml_cache_s)
(xml_cache): New.
(tdesc_parse_xml): Cache expanded descriptions.

17 years ago * Makefile.in (XMLFILES): New.
Daniel Jacobowitz [Wed, 7 Feb 2007 22:48:06 +0000 (22:48 +0000)]
* 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.

17 years ago2007-02-07 Paul Brook <paul@codesourcery.com>
Paul Brook [Wed, 7 Feb 2007 17:06:20 +0000 (17:06 +0000)]
2007-02-07  Paul Brook  <paul@codesourcery.com>

ld/
* configure.tgt: Add arm*-*-uclinux-*eabi.
gas/
* configure.tgt: Ditto.

17 years agoAdd myself as maintainer of the MeP port.
Dave Brolley [Wed, 7 Feb 2007 16:55:29 +0000 (16:55 +0000)]
Add myself as maintainer of the MeP port.

17 years ago*** empty log message ***
gdbadmin [Wed, 7 Feb 2007 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Tue, 6 Feb 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years agoAdd myself as the maintainer of the MeP port.
Dave Brolley [Tue, 6 Feb 2007 21:00:12 +0000 (21:00 +0000)]
Add myself as the maintainer of the MeP port.

17 years agoFix entries for MeP submission.
Dave Brolley [Tue, 6 Feb 2007 19:51:33 +0000 (19:51 +0000)]
Fix entries for MeP submission.

17 years agoFix entries for MeP submission.
Dave Brolley [Tue, 6 Feb 2007 18:57:08 +0000 (18:57 +0000)]
Fix entries for MeP submission.

17 years agoFix entries for MeP submission and complex relocations.
Dave Brolley [Tue, 6 Feb 2007 18:53:45 +0000 (18:53 +0000)]
Fix entries for MeP submission and complex relocations.

17 years agoFix entries for MeP submission.
Dave Brolley [Tue, 6 Feb 2007 18:16:55 +0000 (18:16 +0000)]
Fix entries for MeP submission.

17 years agoFix entries for MeP port and complex relocations.
Dave Brolley [Tue, 6 Feb 2007 18:10:34 +0000 (18:10 +0000)]
Fix entries for MeP port and complex relocations.

17 years agoAdd missing cast to (unsigned long)
Nick Clifton [Tue, 6 Feb 2007 16:47:47 +0000 (16:47 +0000)]
Add missing cast to (unsigned long)

17 years ago2007-02-06 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 6 Feb 2007 16:03:52 +0000 (16:03 +0000)]
2007-02-06  H.J. Lu  <hongjiu.lu@intel.com>

* ldlang.c (lang_size_sections_1): Add a missing `)'.

17 years agoPR ld/3805
Nick Clifton [Tue, 6 Feb 2007 15:26:53 +0000 (15:26 +0000)]
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.

17 years agoPR gas/3800
Nick Clifton [Tue, 6 Feb 2007 15:15:13 +0000 (15:15 +0000)]
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.

17 years agoPR gas/3810 gas/3800
Nick Clifton [Tue, 6 Feb 2007 15:13:26 +0000 (15:13 +0000)]
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.

17 years agoFix comment attached to #endif
Nick Clifton [Tue, 6 Feb 2007 14:50:58 +0000 (14:50 +0000)]
Fix comment attached to #endif

17 years ago * ldlang.c (lang_size_sections_1): Don't warn on backwards dot
Alan Modra [Tue, 6 Feb 2007 13:56:38 +0000 (13:56 +0000)]
* ldlang.c (lang_size_sections_1): Don't warn on backwards dot
move unless section size is non-zero.

17 years ago*** empty log message ***
gdbadmin [Tue, 6 Feb 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago2007-02-05 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 5 Feb 2007 23:15:38 +0000 (23:15 +0000)]
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.