OSDN Git Service

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

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 * insight-support.exp (gdbtk_start): Return error status instead
Andreas Schwab [Thu, 8 Feb 2007 17:12:50 +0000 (17:12 +0000)]
* insight-support.exp (gdbtk_start): Return error status instead
of aborting the whole testsuite run.

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 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 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 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 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*** 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.

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

17 years agoRemove white spaces at the end of line.
H.J. Lu [Mon, 5 Feb 2007 20:53:09 +0000 (20:53 +0000)]
Remove white spaces at the end of line.

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

17 years ago * linux-thread-db.c (check_for_thread_db): Return early if we have
Daniel Jacobowitz [Mon, 5 Feb 2007 20:02:51 +0000 (20:02 +0000)]
* linux-thread-db.c (check_for_thread_db): Return early if we have
no libthread_db support.

17 years agoAdd correct entrty for the addition of MeP.
Dave Brolley [Mon, 5 Feb 2007 19:55:14 +0000 (19:55 +0000)]
Add correct entrty for the addition of MeP.

17 years agoSupport for Toshiba MeP and for complex relocations.
Dave Brolley [Mon, 5 Feb 2007 19:50:12 +0000 (19:50 +0000)]
Support for Toshiba MeP and for complex relocations.

17 years agoFix year in entries.
H.J. Lu [Mon, 5 Feb 2007 19:37:12 +0000 (19:37 +0000)]
Fix year in entries.

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

17 years ago2007-02-05 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 5 Feb 2007 19:15:43 +0000 (19:15 +0000)]
2007-02-05  Dave Brolley  <brolley@redhat.com>

        * Contribute the following Changes:
        2005-08-22  Dave Brolley  <brolley@redhat.com>

        * mep.h (EF_MEP_CPU_C4): New macro.
        (EF_MEP_CPU_H1): Change to 0x10000000.

        2005-04-22  Richard Sandiford  <rsandifo@redhat.com>

        * mep.h (EF_MEP_LIBRARY): New flag.
        (EF_MEP_ALL_FLAGS): Update accordingly.

        2004-06-21  Dave Brolley  <brolley@redhat.com>

        * mep.h (EF_MEP_CPU_MASK, EF_MEP_CPU_MEP, EF_MEP_CPU_C2)
        (EF_MEP_CPU_C3, EF_MEP_CPU_H1, EF_MEP_INDEX_MASK)
        (EF_MEP_ALL_FLAGS): New macros.

        2001-09-28  Richard Henderson  <rth@redhat.com>

        * mep.h (SHF_MEP_VLIW, SEC_MEP_VLIW): New.

        2001-07-12  DJ Delorie  <dj@redhat.com>

        * mep.h (R_MEP_GNU_VTINHERIT, R_MEP_GNU_VTENTRY): Mark as no-overflow.

        2001-06-25  DJ Delorie  <dj@redhat.com>

        * mep.h: Add vtable relocs.

        2001-05-10  DJ Delorie  <dj@redhat.com>

        * mep.h: Fix bit offsets for HI16*, make them no-overflow.  Add
        comment about mep-relocs.pl.

        2001-05-01  DJ Delorie  <dj@redhat.com>

        * mep.h: Add MeP-specific relocs.

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

        * mep.h: New file.

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

        * common.h (EM_CYGNUS_MEP): Define.

17 years ago2007-02-05 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 5 Feb 2007 19:15:07 +0000 (19:15 +0000)]
2007-02-05  Dave Brolley  <brolley@redhat.com>

        * Contribute the following Changes:
        2005-08-22  Dave Brolley  <brolley@redhat.com>

        * mep.h (EF_MEP_CPU_C4): New macro.
        (EF_MEP_CPU_H1): Change to 0x10000000.

        2005-04-22  Richard Sandiford  <rsandifo@redhat.com>

        * mep.h (EF_MEP_LIBRARY): New flag.
        (EF_MEP_ALL_FLAGS): Update accordingly.

        2004-06-21  Dave Brolley  <brolley@redhat.com>

        * mep.h (EF_MEP_CPU_MASK, EF_MEP_CPU_MEP, EF_MEP_CPU_C2)
        (EF_MEP_CPU_C3, EF_MEP_CPU_H1, EF_MEP_INDEX_MASK)
        (EF_MEP_ALL_FLAGS): New macros.

        2001-09-28  Richard Henderson  <rth@redhat.com>

        * mep.h (SHF_MEP_VLIW, SEC_MEP_VLIW): New.

        2001-07-12  DJ Delorie  <dj@redhat.com>

        * mep.h (R_MEP_GNU_VTINHERIT, R_MEP_GNU_VTENTRY): Mark as no-overflow.

        2001-06-25  DJ Delorie  <dj@redhat.com>

        * mep.h: Add vtable relocs.

        2001-05-10  DJ Delorie  <dj@redhat.com>

        * mep.h: Fix bit offsets for HI16*, make them no-overflow.  Add
        comment about mep-relocs.pl.

        2001-05-01  DJ Delorie  <dj@redhat.com>

        * mep.h: Add MeP-specific relocs.

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

        * mep.h: New file.

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

        * common.h (EM_CYGNUS_MEP): Define.

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

        From Graydon Hoare  <graydon@redhat.com>:
        * common.h (STT_RELC, STT_SRELC, R_RELC): New macros.

17 years ago2007-02-05 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 5 Feb 2007 19:12:54 +0000 (19:12 +0000)]
2007-02-05  Dave Brolley  <brolley@redhat.com>

        * mt-mep: New.

17 years ago2007-02-05 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 5 Feb 2007 19:10:45 +0000 (19:10 +0000)]
2007-02-05  Dave Brolley  <brolley@redhat.com>

        * Contribute the following changes:
        2006-11-28  DJ Delorie  <dj@redhat.com>

        * configure.in: Fix typo for mep's target_makefile_frag.
        * configure: Regenerated.

        2005-04-22  Richard Sandiford  <rsandifo@redhat.com>

        * configure.in (mep*): Add -mlibrary to FLAGS_FOR_TARGET.
        * configure: Regenerate.

        2001-09-19  DJ Delorie  <dj@redhat.com>

        * configure.in (target_makefile_frag): use mt-mep

        2001-06-12  Don Howard  <dhoward@redhat.com>

        * configure.in: Remove gdb from MeP skip list.

        2001-04-05  DJ Delorie  <dj@redhat.com>

        * configure.in (noconfigdirs): Remove gcc from MeP skip list.

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

        * configure.in (noconfigdirs): Add gcc and gdb for MeP.

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

        * config.sub (mep, mep-*): Add.

17 years agold/testsuite/
H.J. Lu [Mon, 5 Feb 2007 18:22:48 +0000 (18:22 +0000)]
ld/testsuite/

2076-02-05  H.J. Lu  <hongjiu.lu@intel.com>

* ld-i386/pcrel16.d: Undo the last change.
* ld-x86-64/pcrel16.d: Likewise.

opcodes/

2076-02-05  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (OP_J): Undo the last change. Properly handle 64K
wrap around within the same segment in 16bit mode.

17 years ago * elf32-xtensa.c (elf_xtensa_make_sym_local): Delete.
Bob Wilson [Mon, 5 Feb 2007 17:42:38 +0000 (17:42 +0000)]
* elf32-xtensa.c (elf_xtensa_make_sym_local): Delete.
(elf_xtensa_hide_symbol, elf_backend_hide_symbol): Delete.
(elf_xtensa_fix_refcounts, elf_xtensa_allocate_plt_size)
(elf_xtensa_allocate_got_size): Replace these with...
(elf_xtensa_allocate_dynrelocs): ...this new function.
(elf_xtensa_size_dynamic_sections): Use it.

17 years ago * elf32-xtensa.c (elf_howto_table) <R_XTENSA_GLOB_DAT>
Bob Wilson [Mon, 5 Feb 2007 17:18:39 +0000 (17:18 +0000)]
* elf32-xtensa.c (elf_howto_table) <R_XTENSA_GLOB_DAT>
<R_XTENSA_JMP_SLOT, R_XTENSA_RELATIVE, R_XTENSA_PLT, R_XTENSA_DIFF32>:
Set src_mask to zero.
<R_XTENSA_DIFF8, R_XTENSA_DIFF16>: Likewise.  Also fix dst_mask.
<R_XTENSA_ASM_EXPAND>: Set pcrel_offset to TRUE.

17 years ago * mi/mi-parse.h: Include <sys/time.h>.
Daniel Jacobowitz [Mon, 5 Feb 2007 13:22:20 +0000 (13:22 +0000)]
* mi/mi-parse.h: Include <sys/time.h>.

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

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

17 years ago*** empty log message ***
Nick Roberts [Sun, 4 Feb 2007 20:57:26 +0000 (20:57 +0000)]
*** empty log message ***

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

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

17 years ago * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Renamed to...
Bob Wilson [Sat, 3 Feb 2007 06:34:22 +0000 (06:34 +0000)]
    * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Renamed to...
        (elf_xtensa_dynamic_symbol_p): ...this.

17 years ago * elf32-xtensa.c (plt_reloc_count): Move into link hash table.
Bob Wilson [Sat, 3 Feb 2007 06:25:00 +0000 (06:25 +0000)]
    * elf32-xtensa.c (plt_reloc_count): Move into link hash table.
        (struct elf_xtensa_link_hash_table): New.
        (elf_xtensa_hash_table): New.
        (elf_xtensa_link_hash_table_create): New.
        (elf_xtensa_check_relocs): Update plt_reloc_count references.
        Update arguments to add_extra_plt_sections.
        (elf_xtensa_create_dynamic_sections): Record new sections in the hash
        table.  Update for plt_reloc_count and add_extra_plt_sections.
        (add_extra_plt_sections, elf_xtensa_create_plt_entry): Replace dynobj
        argument with link info.  Update calls to elf_xtensa_get_plt_section
        and elf_xtensa_get_gotplt_section.
        (elf_xtensa_allocate_local_got_size, elf_xtensa_size_dynamic_sections)
        (elf_xtensa_relocate_section, elf_xtensa_finish_dynamic_sections)
        (elf_xtensa_discard_info_for_section, shrink_dynamic_reloc_sections)
        (relax_property_section): Get sections from the hash table and update
        function calls.
        (elf_xtensa_get_plt_section, elf_xtensa_get_gotplt_section): Replace
        dynobj argument with link info.  Get sections for first plt chunk from
        the hash table.
        (bfd_elf32_bfd_link_hash_table_create): Define.

17 years ago*** empty log message ***
Nick Roberts [Sat, 3 Feb 2007 05:41:46 +0000 (05:41 +0000)]
*** empty log message ***

17 years agoNumerous formatting changes.
Nick Roberts [Sat, 3 Feb 2007 05:41:15 +0000 (05:41 +0000)]
Numerous formatting changes.
(mi_cmd_data_write_register_values): Replace clause inadvertantly
removed in my previous change.

17 years ago*** empty log message ***
Nick Roberts [Sat, 3 Feb 2007 05:17:00 +0000 (05:17 +0000)]
*** empty log message ***

17 years agoCosmetic change.
H.J. Lu [Sat, 3 Feb 2007 00:55:42 +0000 (00:55 +0000)]
Cosmetic change.

17 years agold/testsuite/
H.J. Lu [Sat, 3 Feb 2007 00:46:22 +0000 (00:46 +0000)]
ld/testsuite/

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

* ld-i386/pcrel16.d: Updated.
* ld-x86-64/pcrel16.d: Likewise.

opcodes/

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

* i386-dis.c (OP_J): Mask to 16bit only if there is a data16
prefix.

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

17 years ago(mi_load_progress, timestamp, print_diff_now):
Nick Roberts [Fri, 2 Feb 2007 23:29:52 +0000 (23:29 +0000)]
(mi_load_progress, timestamp, print_diff_now):
Use 1000000L instead of 1000000.

17 years ago(GDB/MI Miscellaneous Commands): Describe the new
Nick Roberts [Fri, 2 Feb 2007 23:11:34 +0000 (23:11 +0000)]
(GDB/MI Miscellaneous Commands): Describe the new
command -enable-timings.

17 years ago*** empty log message ***
Nick Roberts [Fri, 2 Feb 2007 23:09:00 +0000 (23:09 +0000)]
*** empty log message ***

17 years ago* mi/mi-main.c: Include <sys/resource.h> if present.
Nick Roberts [Fri, 2 Feb 2007 23:01:27 +0000 (23:01 +0000)]
* mi/mi-main.c: Include <sys/resource.h> if present.
(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.

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

17 years ago* configure.ac: Test for sys/resource.h and getrusage.
Nick Roberts [Fri, 2 Feb 2007 22:55:54 +0000 (22:55 +0000)]
* configure.ac: Test for sys/resource.h and getrusage.
* configure, config.in: Regenerate.

17 years ago2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 2 Feb 2007 22:54:50 +0000 (22:54 +0000)]
2007-02-02  H.J. Lu  <hongjiu.lu@intel.com>

* avr-dis.c (avr_operand): Correct PR number in comment.

17 years ago*** empty log message ***
Nick Roberts [Fri, 2 Feb 2007 22:52:06 +0000 (22:52 +0000)]
*** empty log message ***

17 years agoFix typos in year.
H.J. Lu [Fri, 2 Feb 2007 22:15:52 +0000 (22:15 +0000)]
Fix typos in year.

17 years ago * elf-bfd.h (struct elf_obj_tdata): Change symbuf type to void *.
Jakub Jelinek [Fri, 2 Feb 2007 21:10:50 +0000 (21:10 +0000)]
* elf-bfd.h (struct elf_obj_tdata): Change symbuf type to void *.
* elf.c (struct elf_symbuf_symbol, struct elf_symbuf_head): New types.
(struct elf_symbol): Change first member into union.
(elf_sort_elf_symbol): Compare pointers to internal syms rather than
internal syms.  Only compare st_shndx fields.
(elf_create_symbuf): New function.
(bfd_elf_match_symbols_in_sections): Use it.  If symbufs are available
for bfds, use a binary search, otherwise don't qsort symbols
unnecessarily only to select which symbols are for the particular
shndx.

17 years ago * gdbint.texinfo (Operation System ABI Variant Handling): Update
Eli Zaretskii [Fri, 2 Feb 2007 19:48:50 +0000 (19:48 +0000)]
    * gdbint.texinfo (Operation System ABI Variant Handling): Update
descriptions for new/deleted elements in gdb_osabi.  Add missing
description for function generic_elf_osabi_sniff_abi_tag_sections.

17 years agobinutils/
H.J. Lu [Fri, 2 Feb 2007 15:27:04 +0000 (15:27 +0000)]
binutils/

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

* doc/binutils.texi (objdump): Document the new addr64 option
for i386 disassembler.

include/

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

* dis-asm.h (print_i386_disassembler_options): New.

opcodes/

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

* disassemble.c (disassembler_usage): Call
print_i386_disassembler_options for i386 disassembler.

* i386-dis.c (print_i386_disassembler_options): New.
(print_insn): Support the new addr64 option.

17 years ago2007-02-02 Denis Pilat <denis.pilat@st.com>
Denis Pilat [Fri, 2 Feb 2007 12:40:11 +0000 (12:40 +0000)]
2007-02-02  Denis Pilat  <denis.pilat@st.com>

* gdb.threads/threadapply.exp: check that frame is not changed by
the thread apply all command.

17 years ago* ppc-dis.c (powerpc_dialect): Handle ppc440.
Nick Clifton [Fri, 2 Feb 2007 12:37:41 +0000 (12:37 +0000)]
* ppc-dis.c (powerpc_dialect): Handle ppc440.
* ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can be used.

17 years ago2007-02-02 Denis Pilat <denis.pilat@st.com>
Denis Pilat [Fri, 2 Feb 2007 12:18:37 +0000 (12:18 +0000)]
2007-02-02  Denis Pilat  <denis.pilat@st.com>

* 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.

17 years ago2007-02-02 Denis Pilat <denis.pilat@st.com>
Denis Pilat [Fri, 2 Feb 2007 10:09:38 +0000 (10:09 +0000)]
2007-02-02  Denis Pilat  <denis.pilat@st.com>

* MAINTAINERS (Write After Approval): Add myself to the list.

17 years ago * ppc-opc.c (insert_bdm): -Many comment.
Alan Modra [Fri, 2 Feb 2007 01:24:43 +0000 (01:24 +0000)]
* ppc-opc.c (insert_bdm): -Many comment.
(valid_bo): Add "extract" param.  Accept both powerpc and power4
BO fields when disassembling with -Many.
(insert_bo, extract_bo, insert_boe, extract_boe): Adjust valid_bo call.

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

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

17 years agoPR ld/3852
Nick Clifton [Thu, 1 Feb 2007 09:03:25 +0000 (09:03 +0000)]
PR ld/3852
* elf.c (_bfd_elf_link_hash_table_init): Initialize all the fields in the
elf_link_hash_table structure.

17 years ago * elf-bfd.h (struct elf_backend_data): Add elf_backend_write_core_note.
Alan Modra [Thu, 1 Feb 2007 05:35:58 +0000 (05:35 +0000)]
* elf-bfd.h (struct elf_backend_data): Add elf_backend_write_core_note.
* elfxx-target.h (elf_backend_write_core_note): Define and use.
* elf.c (elfcore_write_prpsinfo): Call the above.  Add support for
32-bit core note on 64-bit target.
(elfcore_write_prstatus): Likewise.
(elfcore_write_lwpstatus): Make note_name const.
(elfcore_write_prfpreg): Likewise.
(elfcore_write_pstatus): Add support for 32-bit core note on 64-bit
target.
* elf32-ppc.c (ppc_elf_write_core_note): New function.
(elf_backend_write_core_note): Define.
* elf64-ppc.c (ppc64_elf_write_core_note): New function.
(elf_backend_write_core_note): Define.

17 years ago2006-02-01 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
Kazuhiro Inaoka [Thu, 1 Feb 2007 05:05:10 +0000 (05:05 +0000)]
2006-02-01  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>

* gdb/remote-m32r.sdi.c (m32r_fetch_register): Change PWD mask.
(m32r_store_register): Ditto.

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

17 years agodaily update
Alan Modra [Wed, 31 Jan 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years ago * Makefile.tpl (LDFLAGS): Substitute it.
Andreas Schwab [Wed, 31 Jan 2007 22:23:37 +0000 (22:23 +0000)]
* Makefile.tpl (LDFLAGS): Substitute it.
* Makefile.in: Regenerate.

17 years agomerge from gcc
DJ Delorie [Wed, 31 Jan 2007 20:25:23 +0000 (20:25 +0000)]
merge from gcc

17 years ago * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
Andreas Schwab [Wed, 31 Jan 2007 19:32:12 +0000 (19:32 +0000)]
* gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.

17 years ago include/
Vladimir Prus [Wed, 31 Jan 2007 18:49:42 +0000 (18:49 +0000)]
    include/
        * libiberty.h (PEX_STDERR_TO_PIPE): New define.
        (PEX_BINARY_ERROR): New define.
        (pex_read_err): New function.

        libiberty/
        * pex-common.h (struct pex_obj): New fields
        stderr_pipe and read_err.
        * pex-common.c (pex_init_common): Initialize
        stderr_pipe.
        (pex_run_in_environment): Add error checking
        for PEX_STDERR_TO_PIPE.  Create a pipe
        for stderr if necessary.
        (pex_read_err): New.
        (pex_free): Close read_err.
        * pexecute.txh: Document changes.
        * functions.texi: Regenerated.

17 years ago * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
Andreas Schwab [Wed, 31 Jan 2007 16:43:00 +0000 (16:43 +0000)]
* gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
in the dwarf sections.
* gdb.dwarf2/mac-fileno.S: Likewise.

17 years ago * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
Andreas Schwab [Wed, 31 Jan 2007 15:37:49 +0000 (15:37 +0000)]
* gdb.base/callfuncs.exp (do_get_all_registers): Filter out
bspstore register on ia64.

17 years ago2076-01-31 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 31 Jan 2007 14:28:03 +0000 (14:28 +0000)]
2076-01-31  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-cris.c (INCLUDED_TARGET_FILE): Removed.
(elf32_bed): Defined for elf32-us-cris.

* elf64-sh64.c (elf64_bed): Defined for Linux.
(INCLUDED_TARGET_FILE): Removed.

* elfxx-target.h (elfNN_bed): Always define. Don't check
INCLUDED_TARGET_FILE.

17 years ago* elf-m10300.c (mn10300_elf_relocate_section): Clarify the warning
DJ Delorie [Wed, 31 Jan 2007 06:11:48 +0000 (06:11 +0000)]
* elf-m10300.c (mn10300_elf_relocate_section): Clarify the warning
message for dangerous relocs, special case the common user error.

17 years ago*** empty log message ***
gdbadmin [Wed, 31 Jan 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years agomerge from gcc
DJ Delorie [Tue, 30 Jan 2007 23:16:58 +0000 (23:16 +0000)]
merge from gcc

17 years ago * strsignal.c (psignal): Change type of signo to int.
Ben Elliston [Tue, 30 Jan 2007 23:13:04 +0000 (23:13 +0000)]
* strsignal.c (psignal): Change type of signo to int.
* functions.texi: Regenerate.

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

17 years ago2007-01-30 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 30 Jan 2007 15:47:19 +0000 (15:47 +0000)]
2007-01-30  H.J. Lu  <hongjiu.lu@intel.com>

* elf.c (copy_elf_program_header): Start from the first section
in a segment and stop when all sections in a segment are
accounted for.

17 years ago * ser-mingw.c (pipe_windows_open)
Vladimir Prus [Tue, 30 Jan 2007 09:12:43 +0000 (09:12 +0000)]
    * ser-mingw.c (pipe_windows_open)
        (pipe_windows_read, pipe_windows_write): Declare
        variables at the top of the function.

17 years ago*** empty log message ***
gdbadmin [Tue, 30 Jan 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Mon, 29 Jan 2007 23:00:10 +0000 (23:00 +0000)]
daily update

17 years ago * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
Andreas Schwab [Mon, 29 Jan 2007 19:09:47 +0000 (19:09 +0000)]
* gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
"frame-begin" annotation.

17 years ago * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
Andreas Schwab [Mon, 29 Jan 2007 18:58:24 +0000 (18:58 +0000)]
* gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
number of "frames-invalid" annotations.

17 years ago * doublest.c (floatformat_from_length): Use the right element from
Daniel Jacobowitz [Mon, 29 Jan 2007 17:31:06 +0000 (17:31 +0000)]
* doublest.c (floatformat_from_length): Use the right element from
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.

17 years ago2007-01-28 Manuel Lauss <slauss@resi.at>
Mike Frysinger [Mon, 29 Jan 2007 16:41:14 +0000 (16:41 +0000)]
2007-01-28  Manuel Lauss  <slauss@resi.at>

* configure.ac (sh64-*-*): Change to sh64*-*-*.
(sh-*-*): Change to sh*-*-*.
* configure: Regenerated.