OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
14 years ago2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
ironhead [Sat, 18 Jul 2009 15:05:20 +0000 (15:05 +0000)]
2009-07-18  Gregory McGarry  <gregorymcgarry@users.sourceforge.net>

        * cpu_features.c: replace gcc-specific construct with portable alternative
        and match the code a few lines above.
        * crt1.c: remove gcc-specific noreturn attribute with mingw alternative

14 years ago2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
ironhead [Sat, 18 Jul 2009 14:56:47 +0000 (14:56 +0000)]
2009-07-18  Gregory McGarry  <gregorymcgarry@users.sourceforge.net>

        * include/_mingw.h: Changes required for PCC compiler.

14 years ago2009-07-18 Jeff Lu <jll544@yahoo.com>
ironhead [Sat, 18 Jul 2009 14:41:22 +0000 (14:41 +0000)]
2009-07-18 Jeff Lu  <jll544@yahoo.com>

        * mingwex/usleep.c: round up to next ms

14 years agoFix prologue analysis for moxie.
green [Sat, 18 Jul 2009 13:52:02 +0000 (13:52 +0000)]
Fix prologue analysis for moxie.

14 years ago2009-07-17 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Sat, 18 Jul 2009 01:39:51 +0000 (01:39 +0000)]
2009-07-17  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * mingwex/math/cephes_mconf.h mingwex/math/erfl.c mingwex/math/lgamma.c
        mingwex/math/lgammal.c mingwex/math/powl.c mingwex/math/sinhl.c
        mingwex/math/tanhl.c mingwex/math/tgamma.c mingwex/math/tgammal.c: Based on
        the fixes from the mingw-w64 code tree, fixed strict-aliasing issues.

14 years ago*** empty log message ***
gdbadmin [Sat, 18 Jul 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Sat, 18 Jul 2009 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago * libstdcxx_wrapper.cc (operator delete): Remove stray space in
davek [Fri, 17 Jul 2009 23:37:04 +0000 (23:37 +0000)]
* libstdcxx_wrapper.cc (operator delete):  Remove stray space in
asm name.

14 years agorevert erroneous checkin
cgf [Fri, 17 Jul 2009 22:51:28 +0000 (22:51 +0000)]
revert erroneous checkin

14 years agomerge from gcc
dj [Fri, 17 Jul 2009 20:20:39 +0000 (20:20 +0000)]
merge from gcc

14 years ago* cygtls.cc (_cygtls::init_exception_handler): Test for e, not e->prev or we
cgf [Fri, 17 Jul 2009 18:17:11 +0000 (18:17 +0000)]
* cygtls.cc (_cygtls::init_exception_handler): Test for e, not e->prev or we
could still end up adding our handler twice.  Add comment explaining what we're
doing.
* dll_init.cc (dll_dllcrt0_1): Clarify comment.

14 years ago2009-07-17 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 17 Jul 2009 17:54:49 +0000 (17:54 +0000)]
2009-07-17  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (md_assemble): Update operand types.
(update_imm): Updated.
(finalize_imm): Update the first 2 immediate operands only
for instructions with 2 operands or more.

14 years ago2009-07-17 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 17 Jul 2009 17:08:34 +0000 (17:08 +0000)]
2009-07-17  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (md_assemble): Check implicit registers
only for instructions with 3 operands or less.

14 years ago * solib.c (solib_bfd_open): Do not call ops->bfd_open.
uweigand [Fri, 17 Jul 2009 17:08:22 +0000 (17:08 +0000)]
* solib.c (solib_bfd_open): Do not call ops->bfd_open.
(solib_map_sections): Call ops->bfd_open instead of solib_bfd_open.
* solib-frv.c (_initialize_frv_solib): Initialize bfd_open member.
* solib-irix.c (_initialize_irix_solib): Likewise.
* solib-null.c (_initialize_null_solib): Likewise.
* solib-osf.c (_initialize_osf_solib): Likewise.
* solib-pa64.c (_initialize_pa64_solib): Likewise.
* solib-som.c (_initialize_som_solib): Likewise.
* solib-sunos.c (_initialize_sunos_solib): Likewise.
* solib-svr4.c (_initialize_svr4_solib): Likewise.
* solib-target.c (_initialize_solib_target): Likewise.

14 years ago* cygtls.cc (_cygtls::init_exception_handler): Avoid adding our exception
cgf [Fri, 17 Jul 2009 16:54:21 +0000 (16:54 +0000)]
* cygtls.cc (_cygtls::init_exception_handler): Avoid adding our exception
handler twice.

14 years ago * syscalls.cc (unlink_nt): Just return when a sharing violation
corinna [Fri, 17 Jul 2009 16:45:21 +0000 (16:45 +0000)]
* syscalls.cc (unlink_nt): Just return when a sharing violation
occurs on remote filesystems.

14 years ago * mi/mi-cmd-disas.c (mi_cmd_disassemble): Respect mixed_mode flag.
uweigand [Fri, 17 Jul 2009 15:55:53 +0000 (15:55 +0000)]
* mi/mi-cmd-disas.c (mi_cmd_disassemble): Respect mixed_mode flag.

14 years ago * config/tc-avr.c (md_apply_fix): Cast fixup reloc type to avoid
nickc [Fri, 17 Jul 2009 15:22:10 +0000 (15:22 +0000)]
    * config/tc-avr.c (md_apply_fix): Cast fixup reloc type to avoid
        compile time warning.

14 years ago * dwarf.c (display_debug_lines): If do_debug_lines has not been
nickc [Fri, 17 Jul 2009 15:19:21 +0000 (15:19 +0000)]
    * dwarf.c (display_debug_lines): If do_debug_lines has not been
        set then default to displaying raw .debug_line section contents.

14 years ago PR other/40784
jsm28 [Fri, 17 Jul 2009 15:11:33 +0000 (15:11 +0000)]
PR other/40784
* tls.m4 (GCC_CHECK_TLS): Add extra quoting around argument to
AC_LINK_IFELSE.

14 years ago * ld-mips-elf/pic-and-nonpic-3b.dd: Updated to use new PLT
nickc [Fri, 17 Jul 2009 13:36:15 +0000 (13:36 +0000)]
    * ld-mips-elf/pic-and-nonpic-3b.dd: Updated to use new PLT
        entries.
        * ld-mips-elf/pic-and-nonpic-5b.dd: Likewise.
        * ld-mips-elf/pic-and-nonpic-6-o32.dd: Likewise.
        * ld-mips-elf/pic-and-nonpic-6-n32.dd: Likewise.
        * ld-mips-elf/pic-and-nonpic-6-n64.dd: Likewise.

14 years ago * elfxx-mips.c (LOAD_INTERLOCKS_P): New define.
nickc [Fri, 17 Jul 2009 09:45:59 +0000 (09:45 +0000)]
    * elfxx-mips.c (LOAD_INTERLOCKS_P): New define.
        (_bfd_mips_elf_size_dynamic_sections): For CPUs without load
        interlocking, the last PLT entry needs a nop in the branch delay slot.
        (_bfd_mips_elf_finish_dynamic_symbol): For CPUs with load itnerlocking,
        output the last two PLT entries in reverse order.

        * ld-mips-elf/pic-and-nonpic-3b.dd,
        ld-mips-elf/pic-and-nonpic-5b.dd,
        ld-mips-elf/pic-and-nonpic-6-o32.dd: Updated to use new PLT entries.

14 years ago * globals.cc: Improve comment on R/O UNICODE_STRINGs.
corinna [Fri, 17 Jul 2009 09:00:17 +0000 (09:00 +0000)]
* globals.cc: Improve comment on R/O UNICODE_STRINGs.
* mount.h (class fs_info): Add is_mvfs bit.
* mount.cc (fs_info::update): Recognize MVFS remote filesystem.
(fillout_mntent): Reorder filesystem checks for speed.  Add
mvfs, unixfs, and sunwnfs filesystem types.
* path.h (class path_conv): Add fs_is_mvfs method.
* path.cc (symlink_worker): On MVFS, always create symlinks as
Windows shortcuts.  Explain why.

14 years ago PR 10400
ian [Fri, 17 Jul 2009 01:07:33 +0000 (01:07 +0000)]
PR 10400
* layout.h: #include <map>.
(class Kept_section): Change from struct to class.  Add accessors
and setters.  Add section size to Comdat_group mapping.  Change
Comdat_group to std::map.  Add is_comdat_ field.  Add
linkonce_size field in union.
(class Layout): Update declaration of find_or_add_kept_section.
Don't declare find_kept_object.
* layout.cc (Layout::find_or_add_kept_section): Remove candidate
parameter.  Add object, shndx, is_comdat, and is_group_name
parameters.  Change all callers.  Adjust for new Kept_section.
(Layout::find_kept_object): Remove.
* object.cc (Sized_relobj::include_section_group): Update use of
Kept_section.  Rename secnum to shndx.  Only record
Kept_comdat_section if sections are the same size.
(Sized_relobj::include_linkonce_section): Update use of
Kept_section.  Only record Kept_comdat_section if sections are the
same size.  Set size of linkonce section.
(Sized_relobj::map_to_kept_section): Update call to
get_kept_comdat_section.
* object.h (class Sized_relobj): Rename fields in
Kept_comdat_section to drop trailing underscores; change object
field to Relobj*.  Change Kept_comdat_section_table to store
struct rather than pointer.
(Sized_relobj::set_kept_comdat_section): Remove kept parameter.
Add kept_object and kept_shndx parameters.  Change all callers.
(Sized_relobj::get_kept_comdat_section): Change return type to
bool.  Add kept_object and kept_shndx parameters.  Change all
callers.
* plugin.cc (Pluginobj::include_comdat_group): Update call to
Layout::find_or_add_kept_section.

14 years agodaily update
amodra [Fri, 17 Jul 2009 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Fri, 17 Jul 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago * tls.m4 (GCC_CHECK_TLS): Also test TLS in a shared library when
jsm28 [Thu, 16 Jul 2009 23:21:15 +0000 (23:21 +0000)]
* tls.m4 (GCC_CHECK_TLS): Also test TLS in a shared library when
cross-compiling.

14 years ago2009-07-16 Dave Korn <dave.korn.cygwin@gmail.com>
hjl [Thu, 16 Jul 2009 21:10:49 +0000 (21:10 +0000)]
2009-07-16  Dave Korn  <dave.korn.cygwin@gmail.com>
    H.J. Lu  <hongjiu.lu@intel.com>

* binutils-all/objcopy.exp: Run testranges and testranges-ia64
for ELF targets only.

14 years ago2009-07-16 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 16 Jul 2009 21:00:09 +0000 (21:00 +0000)]
2009-07-16  H.J. Lu  <hongjiu.lu@intel.com>

* binutils-all/objcopy.exp; Run testranges-ia64.

* binutils-all/testranges.d: Don't run for ia64.

* binutils-all/testranges-ia64.d: New.
* binutils-all/testranges-ia64.s: Likewise.

14 years ago * linux-thread.db.c (try_thread_db_load_1): Tweak comment.
devans [Thu, 16 Jul 2009 20:45:16 +0000 (20:45 +0000)]
* linux-thread.db.c (try_thread_db_load_1): Tweak comment.

14 years ago2007-07-16 Paul Pluzhnikov <ppluzhnikov@google.com>
ppluzhnikov [Thu, 16 Jul 2009 19:47:43 +0000 (19:47 +0000)]
2007-07-16  Paul Pluzhnikov  <ppluzhnikov@google.com>

* linux-thread-db.c (thread_db_find_new_threads_silently):
New function.
(try_thread_db_load_1): Call it.

14 years ago * doc/rtl.texi (Enumerated constants): Add example, fix a typo,
devans [Thu, 16 Jul 2009 18:50:53 +0000 (18:50 +0000)]
* doc/rtl.texi (Enumerated constants): Add example, fix a typo,
add a link to define-normal-insn-enum.

14 years ago * doc/porting.texi (Conventions): Add docs on writing integers.
devans [Thu, 16 Jul 2009 18:18:16 +0000 (18:18 +0000)]
* doc/porting.texi (Conventions): Add docs on writing integers.

14 years ago * cpu/simplify.inc (*): One line doc strings don't need \n.
devans [Thu, 16 Jul 2009 17:53:25 +0000 (17:53 +0000)]
* cpu/simplify.inc (*): One line doc strings don't need \n.
(df): Invoke define-full-ifield instead of claiming it's an alias.
(dno): Define.
(dnop): Mark as deprecated.

14 years ago * cpu/play.cpu: Add example of hardware `layout'.
devans [Thu, 16 Jul 2009 17:49:24 +0000 (17:49 +0000)]
* cpu/play.cpu: Add example of hardware `layout'.
* doc/porting.tex: Add docs on simplify.inc.
* doc/rtl.texi: Cleanup pass over "Simplification macros",
and other things.

* ifield.scm: Whitespace/formatting cleanup.

* ifield.scm (-multi-ifield-parse): Watch for missing subfields.

14 years ago * cpu/play.cpu: Add example of hardware `layout'.
devans [Thu, 16 Jul 2009 17:48:30 +0000 (17:48 +0000)]
* cpu/play.cpu: Add example of hardware `layout'.
* doc/porting.tex: Add docs on simplify.inc.
* doc/rtl.texi: Cleanup pass over "Simplification macros",
and other things.

* ifield.scm: Whitespace/formatting cleanup.

* ifield.scm (-multi-ifield-parse): Watch for missing subfields.

14 years ago * read.scm (parse-error): Don't print single entry args as a list.
devans [Thu, 16 Jul 2009 17:43:49 +0000 (17:43 +0000)]
* read.scm (parse-error): Don't print single entry args as a list.
(-reader-process-expanded-1): Convert symbol to string for
string-append.

14 years agogas/
hjl [Thu, 16 Jul 2009 17:37:25 +0000 (17:37 +0000)]
gas/

2009-07-16  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (md_assemble): Only check i.operands for AX.
(md_estimate_size_before_relax): Don't relax IFUNC symbols.

gas/testsuite/

2009-07-16  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Run ifunc and x86-64-ifunc.

* gas/i386/ifunc.d: New,
* gas/i386/ifunc.s: Likewise.
* gas/i386/x86-64-ifunc.d: Likewise.

14 years ago * insn.scm (multi-insn-instantiate!): Tweak logging message.
devans [Thu, 16 Jul 2009 17:22:44 +0000 (17:22 +0000)]
* insn.scm (multi-insn-instantiate!): Tweak logging message.

14 years ago * syscalls.cc (unlink_nt): First remove the R/O DOS attribute with
corinna [Thu, 16 Jul 2009 16:55:25 +0000 (16:55 +0000)]
* syscalls.cc (unlink_nt): First remove the R/O DOS attribute with
FILE_WRITE_ATTRIBUTES access only, then re-open the file for DELETE.
Explain why.

14 years ago * fhandler_disk_file.cc (fhandler_disk_file::fchmod): Remove file
corinna [Thu, 16 Jul 2009 15:28:56 +0000 (15:28 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Remove file
attribute check already done in NtSetAttributesFile.

14 years agobfd/
hjl [Thu, 16 Jul 2009 14:23:09 +0000 (14:23 +0000)]
bfd/

2009-07-16  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-i386.c (elf_i386_relocate_section): Don't get local
STT_GNU_IFUNC symbol for relocatable link.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.

ld/testsuite/

2009-07-16  H.J. Lu  <hongjiu.lu@intel.com>

* ld-ifunc/ifunc-5r-local-i386.d: New.
* ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.

14 years ago gas/
nathan [Thu, 16 Jul 2009 13:18:50 +0000 (13:18 +0000)]
gas/
* config/tc-arm.c (md_apply_fix <BFD_RELOC_ARM_TARGET2>): Write
the offset for REL targets here.

gas/testsuite/
* gas/arm/target-reloc-1.s: New.
* gas/arm/target-reloc-1.d: New.

ld/testsuite/
* ld-arm/arm-target2.s: Add addend cases.
* ld-arm/arm-target2-rel.d: Adjust.
* ld-arm/arm-target2-abs.d: Adjust.
* ld-arm/arm-target2-got-rel.d: Adjust.

14 years ago * globals.cc: Reorder constant UNICODE_STRINGs for clarity.
corinna [Thu, 16 Jul 2009 09:56:24 +0000 (09:56 +0000)]
* globals.cc: Reorder constant UNICODE_STRINGs for clarity.
* mount.h (fs_info::sttaus): Move filesystem type flags into
substructure.  Add union to allow simple test for having set any
one filesystem type flag.  Replace has_buggy_open flag with is_sunwnfs
flag.  Replace has_buggy_fileid_dirinfo with is_unixfs flag.
(fs_info::got_fs): New private method.
(fs_info::has_buggy_open): New explicit implementation.
(fs_info::has_buggy_fileid_dirinfo): Ditto.
* mount.cc (fs_info::update): Optimize filesystem checks for speed.
* winsup.h (IMPLEMENT_STATUS_FLAG): Change write accessor to return
value just set.

14 years ago2009-07-15 Kai Tietz <kai.tietz@onevision.com>
hjl [Thu, 16 Jul 2009 00:37:27 +0000 (00:37 +0000)]
2009-07-15  Kai Tietz  <kai.tietz@onevision.com>

* listing.c (print_source): Initialize cache by NULL.

14 years ago*** empty log message ***
gdbadmin [Thu, 16 Jul 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Thu, 16 Jul 2009 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago Code reorg in preparation for adding comdat types support.
devans [Wed, 15 Jul 2009 22:17:07 +0000 (22:17 +0000)]
Code reorg in preparation for adding comdat types support.
* dwarf2read.c (struct die_reader_specs): New struct.
(locate_pdi_sibling): New arg buffer.  All callers updated.
(load_partial_dies, read_partial_die): Ditto.
(read_8_bytes): Change return type to ULONGEST.
(read_comp_unit): Delete arg abfd.  All callers updated.
(read_die_and_children_1): Delete args abfd, cu.  New arg reader.
All callers updated.
(read_die_and_children, read_die_and_siblings): Ditto.
(read_full_die): Ditto.  Move closer to callers.
(skip_one_die): New arg buffer.  All callers updated.
(load_full_comp_unit): Change return type to void.  All callers
updated.
(partial_read_comp_unit_head): New args buffer, buffer_size.
All callers updated.
(process_psymtab_comp_unit): New function, split out from
dwarf2_build_psymtabs_hard.
(dwarf2_build_psymtabs_hard): Call it.
(load_partial_comp_unit): Renamed from load_comp_unit.
All callers updated.
(skip_children): New arg buffer.  All callers updated.
(init_cu_die_reader): New function.
(is_ref_attr): New function.
(dwarf2_get_ref_die_offset): Call it.
(alloc_one_comp_unit): New function.

14 years ago * fhandler_netdrive.cc (GET_RESOURCE_INFO): Remove.
corinna [Wed, 15 Jul 2009 18:18:02 +0000 (18:18 +0000)]
* fhandler_netdrive.cc (GET_RESOURCE_INFO): Remove.
(thread_netdrive): Drop GET_RESOURCE_INFO case.
(fhandler_netdrive::exists): Use GET_RESOURCE_OPENENUM info class
to check for existance.

14 years ago * gen-all-doc: Generate index.html.
devans [Wed, 15 Jul 2009 16:49:32 +0000 (16:49 +0000)]
* gen-all-doc: Generate index.html.

14 years ago * strace.cc (main): Open trace output file in UNIX mode.
corinna [Wed, 15 Jul 2009 15:18:51 +0000 (15:18 +0000)]
* strace.cc (main): Open trace output file in UNIX mode.

14 years ago * doc/c-arm.texi (mauto-it): Removed old option.
nickc [Wed, 15 Jul 2009 15:08:54 +0000 (15:08 +0000)]
    * doc/c-arm.texi (mauto-it): Removed old option.
        (mimplicit-it): Added right option.

14 years ago * fhandler_netdrive.cc (fhandler_netdrive::readdir): Remove useless
corinna [Wed, 15 Jul 2009 14:31:49 +0000 (14:31 +0000)]
* fhandler_netdrive.cc (fhandler_netdrive::readdir): Remove useless
alloca.

14 years ago * path.cc (cwdstuff::set): Only fix up UNC path in win32 so as not
corinna [Wed, 15 Jul 2009 13:27:34 +0000 (13:27 +0000)]
* path.cc (cwdstuff::set): Only fix up UNC path in win32 so as not
to overwrite incoming path.

14 years ago2009-07-14 Michael Snyder <msnyder@vmware.com>
msnyder [Wed, 15 Jul 2009 01:18:58 +0000 (01:18 +0000)]
2009-07-14  Michael Snyder  <msnyder@vmware.com>

* gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
to bring gdb to the beginning of the calling line.

14 years ago2009-07-14 Michael Snyder <msnyder@vmware.com>
msnyder [Wed, 15 Jul 2009 01:12:16 +0000 (01:12 +0000)]
2009-07-14  Michael Snyder  <msnyder@vmware.com>

* gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
confusing the i386 epilogue unwinder.

14 years ago*** empty log message ***
gdbadmin [Wed, 15 Jul 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Wed, 15 Jul 2009 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago * MAINTAINERS (Global Maintainers): Add Doug Evans.
shebs [Tue, 14 Jul 2009 22:56:28 +0000 (22:56 +0000)]
* MAINTAINERS (Global Maintainers): Add Doug Evans.

14 years ago gdb/
shebs [Tue, 14 Jul 2009 21:40:28 +0000 (21:40 +0000)]
gdb/
Conditional tracepoints.
* ax-gdb.h (gen_eval_for_expr): Declare.
* ax-gdb.c (gen_expr): Generate bytecodes for BINOP_EQUAL
and other comparisons.
(gen_eval_for_expr): New function.
(agent_eval_command): New maintenance command.
(_initialize_ax_gdb): Define the command.
* remote.c (struct remote_state): New field cond_tracepoints.
(PACKET_ConditionalTracepoints): New packet config type.
(remote_cond_tracepoint_feature): New function.
(remote_protocol_features): Add ConditionalTracepoints.
(remote_supports_cond_tracepoints): New function.
(_initialize_remote): Add ConditionalTracepoints.
* tracepoint.c (download_tracepoint): Add conditional.
* NEWS: Mention conditional tracepoints.

gdb/doc/
* gdb.texinfo (Tracepoint Conditions): New section.
(General Query Packets): Describe ConditionalTracepoints.
(Tracepoint Packets): Describe condition field.
(Maintenance Commands): Describe maint agent-eval.
* agentexpr.texi (Using Agent Expressions): Mention eval usage.

gdb/testsuite/
* gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.

14 years ago2009-07-14 Michael Snyder <msnyder@vmware.com>
msnyder [Tue, 14 Jul 2009 20:17:26 +0000 (20:17 +0000)]
2009-07-14  Michael Snyder  <msnyder@vmware.com>

* gdb.reverse/step-reverse.exp (stepi into function call):
Call instruction may not be first instruction in the line.
(reverse stepi from a function call): Used wrong line number.

14 years ago* mep/syscalls.S (sysret): Maintain 16-byte stack alignment.
dj [Tue, 14 Jul 2009 20:15:31 +0000 (20:15 +0000)]
* mep/syscalls.S (sysret): Maintain 16-byte stack alignment.

14 years ago Throughout avoid having to initialize constant UNICODE_STRINGs.
corinna [Tue, 14 Jul 2009 17:37:41 +0000 (17:37 +0000)]
Throughout avoid having to initialize constant UNICODE_STRINGs.
* globals.cc: Define constant UNICODE_STRINGs and store in .rdata
section.
* fhandler_disk_file.cc: Throughout, use readonly UNICODE_STRINGs
rather then initializing local UNICODE_STRING variable where
applicable.
* fhandler_mem.cc (fhandler_dev_mem::open): Ditto.
* flock.cc (inode_t::inode_t): Ditto.
* mmap.cc: Ditto.
* syscalls.cc: Ditto.
* mount.cc (fs_info::update): Ditto.
* path.cc: Ditto.

* ntdll.h (RtlEqualUnicodePathPrefix): Redefine to take prefix as
UNICODE_STRING.
(RtlEqualUnicodePathSuffix): Redefine to take suffix as UNICODE_STRING.
* fhandler_disk_file.cc: Accommodate throughout.
* mount.cc (fs_info::update): Ditto.
* path.cc (cwdstuff::set): Ditto.
* syscalls.cc: Ditto.

14 years agobinutils/
jkratoch [Tue, 14 Jul 2009 16:57:17 +0000 (16:57 +0000)]
binutils/
Support unordered .debug_info references to .debug_ranges.
* dwarf.c (struct range_entry, range_entry_compar): New.
(display_debug_ranges): Remove variables last_offset, first, j,
seen_first_offset, use_debug_info and next.  New variables
range_entries and range_entry_fill.  Create the sorted copy
range_entries.  Remove the FIXME error on detected unordered references.
* dwarf.h (debug_info <range_lists>): New comment.

binutils/testsuite/
* binutils-all/objcopy.exp (testranges): New test.
* binutils-all/testranges.d, binutils-all/testranges.s: New files.

14 years ago * globals.cc (active_codepage): Remove.
corinna [Tue, 14 Jul 2009 16:24:31 +0000 (16:24 +0000)]
* globals.cc (active_codepage): Remove.

14 years agoFix typo in earlier entry, s/iq20.cpu/iq10.cpu/
devans [Tue, 14 Jul 2009 16:14:25 +0000 (16:14 +0000)]
Fix typo in earlier entry, s/iq20.cpu/iq10.cpu/

14 years ago * config/tc-arm.h (MAX_MEM_ALIGNMENT_BYTES): Define.
nickc [Tue, 14 Jul 2009 15:47:12 +0000 (15:47 +0000)]
    * config/tc-arm.h (MAX_MEM_ALIGNMENT_BYTES): Define.
        (MAX_MEM_FOR_RS_ALIGN_CODE): Define in terms of
        MAX_MEM_ALIGNMENT_BYTES.
        * config/tc-arm.c (arm_frag_align_code): Replace hard coded
        constant with MAX_MEM_FOR_RS_ALIGN_CODE.

        * gas/arm/align64.s: New test case.
        * gas/arm/align64.d: Expected disassembly.

14 years ago PR 10387
nickc [Tue, 14 Jul 2009 15:38:19 +0000 (15:38 +0000)]
    PR 10387
        * config/tc-arm.h (THUMB_IS_FUNC): Handle a NULL pointer.
        (ARM_IS_FUNC): Likewise.

14 years ago * objfiles.c (objfile_relocate): Do not relocate the same
uweigand [Tue, 14 Jul 2009 14:55:06 +0000 (14:55 +0000)]
* objfiles.c (objfile_relocate): Do not relocate the same
BLOCKVECTOR_MAP address map multiple times.

14 years ago * remote.c (process_stop_reply): Access expedited target registers
uweigand [Tue, 14 Jul 2009 14:53:40 +0000 (14:53 +0000)]
* remote.c (process_stop_reply): Access expedited target registers
in target_gdbarch.

14 years ago PR 10288
nickc [Tue, 14 Jul 2009 14:16:33 +0000 (14:16 +0000)]
    PR 10288
        * arm-dis.c (arm_opcodes): Catch illegal Addressing Mode 1
        patterns.
        (arm_decode_shift): Catch illegal register based shifts.
        (print_insn_arm): Properly handle negative register r0
        post-indexed addressing.

14 years ago gas/
nickc [Tue, 14 Jul 2009 12:54:46 +0000 (12:54 +0000)]
gas/
    * config/tc-arm.c (md_assemble): Added validation.

    gas/testsuite
    * gas/arm/thumb-w-bad.d: New test case.
    * gas/arm/thumb-w-bad.l: New file.
    * gas/arm/thumb-w-bad.s: New file.
    * gas/arm/thumb-w-good.d: New test case.
    * gas/arm/thumb-w-good.s: New file.

14 years ago PR 10380
nickc [Tue, 14 Jul 2009 07:43:18 +0000 (07:43 +0000)]
    PR 10380
        * README: Document use of LDFLAGS="--static".

14 years agodaily update
amodra [Tue, 14 Jul 2009 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Tue, 14 Jul 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago Extend pmacro language, add testsuite.
devans [Mon, 13 Jul 2009 20:55:21 +0000 (20:55 +0000)]
Extend pmacro language, add testsuite.
* Makefile.am (SUBDIRS): Add testsuite.
* Makefile.in: Regenerate.
* configure.in (AC_OUTPUT): Create testsuite/Makefile,
testsuite/test-utils.sh.
* configure: Regenerate.
* dev.scm (cload): Handle testsuite app.
(load-testsuite): New function.
* pmacros.scm: (-pmacro-debug?): New global.
(-smacro-table): New global.
(-smacro-lookup, -smacro-set!): New functions.
(-pmacro-make): New argument `syntactic-form?', all callers updated.
(-pmacro-syntactic-form?): New function.
(-pmacro-expected-number, -pmacro-verify-number): New functions.
(-pmacro-expected-integer, -pmacro-verify-integer): New functions.
(-pmacro-expected-non-negative-integer): New function.
(-pmacro-verify-non-negative-integer): New function.
(-pmacro-expand-expr-list): New function.
(-pmacro-process-args-1): Renamed from -pmacro-process-args.
(-pmacro-process-args): Renamed from -pmacro-invoke.
(-pmacro-apply, -smacro-apply): New functions.
(-pmacro-expand): Rewrite syntactic form processing.
(-pmacro-build-lambda): Reformat.
(define-pmacro): Watch for more errors in definition.
(pmacro-debug): New function.
(pmacro-trace): Set/reset -pmacro-debug?.
(all existing builtin pmacro helpers): Rename to -pmacro-builtin-foo.
(-pmacro-builtin-substring): Fix.  Add support for `end' marker.
(-pmacro-builtin-for-each, et.al.): New helpers for .for-each, .let,
.if, .case, .cond, .begin, .print, .dump, .error, .list, .ref,
.length, .replicate, .equals, .and, .or, .not, .eq, .ne, .lt, .gt,
.le, .ge, .add, .sub, .mul, .div, .rem, .sll, .srl, .sra, .bitand,
.bitor, .bitxor, bitinv, .car, .cdr, .caar, .cadr, .cdar, .cddr.
(pmacros-init!): Initialize -smacro-table.
Rewrite pmacro initialization.
* read.scm (reader-process-expanded): Renamed from
-reader-process-expanded.  All callers updated.
Recognize () as a no-op.
(cpu-load): Tweak logging messages.
* utils.scm (message): Add comment.
* cpu/play.cpu: Add some instructions to play with .let.
* doc/cgenint.texi: Move some debugging related docs to here from
cgen.texi.
* doc/pmacros.texi: Reorganize.  Add docs for new builtin pmacros.
* testsuite/Makefile.am: New file.
* testsuite/Makefile.in: New file.
* testsuite/test-utils.sh.in: New file.
* testsuite/run-tests.sh: New file.
* testsuite/testsuite.cpu: New file.
* testsuite/pmacros-1.test: New file.

14 years agogdb/
jkratoch [Mon, 13 Jul 2009 20:16:46 +0000 (20:16 +0000)]
gdb/
Fix memory access from signed 32bit inferior registers on 64bit GDB.
* linux-nat.c (linux_xfer_partial <TARGET_OBJECT_MEMORY>): New variable
addr_bit.  Mask OFFSET by the ADDR_BIT width.

gdb/testsuite/
* gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.

14 years agogdb/testsuite/
jkratoch [Mon, 13 Jul 2009 19:24:17 +0000 (19:24 +0000)]
gdb/testsuite/
Fix gdb.base/macscp.exp when using custom inputrc.
* gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
* gdb.base/readline.exp: Remove env(INPUTRC) set and restore.  Remove
env(TERM) set.
* gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
* lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.

14 years agogdb/testsuite/
jkratoch [Mon, 13 Jul 2009 19:20:39 +0000 (19:20 +0000)]
gdb/testsuite/
Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
* gdb.base/annota1.exp (thread_test): Import global $testfile.
Change the compilation target to match the testcase name.
* gdb.base/sect-cmd.exp: Change the compilation target to match the
testcase name.
* a2-run.exp: Use for setup prepare_for_testing.  Change the
compilation target to match the testcase name.
* gdb.base/commands.exp: Likewise.
* gdb.base/finish.exp: Likewise.
* gdb.base/float.exp: Likewise.
* gdb.base/info-target.exp: Likewise.
* gdb.base/relational.exp: Likewise.
* gdb.base/term.exp: Likewise.
* gdb.base/until.exp: Likewise.
* gdb.base/volatile.exp: Likewise.
* gdb.base/whatis-exp.exp: Likewise.

14 years agoFix a typo.
hjl [Mon, 13 Jul 2009 16:55:09 +0000 (16:55 +0000)]
Fix a typo.

14 years ago2009-07-13 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 13 Jul 2009 16:52:36 +0000 (16:52 +0000)]
2009-07-13  H.J. Lu  <hongjiu.lu@intel.com>

* ld-ifunc/ifunc.exp: Don't use -shared/-static to build object
files.  Use ld_simple_link to build static non-ifunc-using
executable.  Re-enable static non-ifunc-using executable check.

14 years ago * decode.scm: Comment and formatting tweaks.
devans [Mon, 13 Jul 2009 15:56:04 +0000 (15:56 +0000)]
* decode.scm: Comment and formatting tweaks.
(-build-decode-table-guts): Add more data to logging message.

14 years ago * cygcheck.cc (dump_sysinfo): Remove "not yet supported" text.
corinna [Mon, 13 Jul 2009 10:40:41 +0000 (10:40 +0000)]
* cygcheck.cc (dump_sysinfo): Remove "not yet supported" text.

14 years agoAdd process recording support to the moxie gdb port.
green [Mon, 13 Jul 2009 04:56:12 +0000 (04:56 +0000)]
Add process recording support to the moxie gdb port.

14 years agodaily update
amodra [Mon, 13 Jul 2009 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Mon, 13 Jul 2009 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago2009-07-12 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Sun, 12 Jul 2009 23:02:10 +0000 (23:02 +0000)]
2009-07-12  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * mingwex/stdio/pformat.c: Fix compiler warnings with GCC 4.4.0.

14 years ago2009-06-28 Ozkan Sezer <sezero@users.sourceforge.net>
ironhead [Sun, 12 Jul 2009 22:44:36 +0000 (22:44 +0000)]
2009-06-28  Ozkan Sezer  <sezero@users.sourceforge.net>

        * mingwex/gdtoa/README.mingw mingwex/gdtoa/gdtoa_fltrnds.h: New files.
        * mingwex/gdtoa/README mingwex/gdtoa/dmisc.c mingwex/gdtoa/dtoa.c
        mingwex/gdtoa/g__fmt.c mingwex/gdtoa/g_dfmt.c mingwex/gdtoa/g_ffmt.c
        mingwex/gdtoa/g_xfmt.c mingwex/gdtoa/gd_arith.h mingwex/gdtoa/gd_qnan.h
        mingwex/gdtoa/gdtoa.c mingwex/gdtoa/gdtoa.h mingwex/gdtoa/gdtoaimp.h
        mingwex/gdtoa/gethex.c mingwex/gdtoa/gmisc.c mingwex/gdtoa/hd_init.c
        mingwex/gdtoa/hexnan.c mingwex/gdtoa/misc.c mingwex/gdtoa/qnan.c
        mingwex/gdtoa/smisc.c mingwex/gdtoa/strtodg.c mingwex/gdtoa/strtodnrp.c
        mingwex/gdtoa/strtof.c mingwex/gdtoa/strtopx.c mingwex/gdtoa/sum.c
        mingwex/gdtoa/ulp.c:  Update the gdtoa library to match the netlib.org
        sources as of Apr. 20, 2009.  Update further to match the sources in
        the mingw-w64 tree as of June 28, 2009, by removing IBM, CRAY and VAX
        code, removing KR_headers, ANSI, Void and Char ifdefs, renaming the
        double/ulong union from U to dbl_union for better grepping and white-
        space tidy-ups.

14 years ago* how-spawn-works.txt: Add "out of date" note.
cgf [Sun, 12 Jul 2009 21:26:40 +0000 (21:26 +0000)]
* how-spawn-works.txt: Add "out of date" note.
* how-vfork-works.txt: Ditto.

14 years ago* Makefile.in: Don't do anything special with any RCS directories.
cgf [Sun, 12 Jul 2009 21:15:46 +0000 (21:15 +0000)]
* Makefile.in: Don't do anything special with any RCS directories.
* ntdll.h (PROCESSINFOCLASS): Remove unneeded trailing comma.
* pinfo.cc (_pinfo::dup_proc_pipe): Remove unneeded assignment.
* sigproc.cc (sig_send): Don't send signal to myself if this is an exec stub.

14 years ago * Makefile.am (cpudir): Define.
devans [Sun, 12 Jul 2009 17:48:44 +0000 (17:48 +0000)]
* Makefile.am (cpudir): Define.
(cgen-m32r): Use src/cpu/m32r.cpu instead of src/cgen/cpu/m32r.cpu.
* Makefile.in: Regenerate.

14 years ago2009-07-12 Michael Snyder <msnyder@vmware.com>
msnyder [Sun, 12 Jul 2009 17:46:21 +0000 (17:46 +0000)]
2009-07-12  Michael Snyder  <msnyder@vmware.com>

* i386-tdep.c: Add a frame unwinder for function epilogues.
(i386_in_function_epilogue_p): New function.
(i386_epilogue_frame_sniffer): New function.
(i386_epilogue_frame_cache): New function.
(i386_epilogue_frame_this_id): New function.
(i386_epilogue_frame_unwind): New struct frame_unwind.
(i386_gdbarch_init): Hook the new unwinder.

14 years ago* common/Make-common.in (CPU_DIR): Define.
devans [Sun, 12 Jul 2009 16:59:34 +0000 (16:59 +0000)]
* common/Make-common.in (CPU_DIR): Define.
* iq2000/Makefile.in (stamp-arch): Use $(CPU_DIR) instead of $(CGEN_CPU_DIR).
(stamp-cpu): Ditto.
* m32r/Makefile.in (stamp-arch): Use $(CPU_DIR) instead of $(CGEN_CPU_DIR).
(stamp-cpu, stamp-xcpu, stamp-2cpu): Ditto.

14 years agoAdd xc16x back until opcodes is updated.
devans [Sun, 12 Jul 2009 16:23:37 +0000 (16:23 +0000)]
Add xc16x back until opcodes is updated.

14 years ago * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Don't use
corinna [Sun, 12 Jul 2009 13:00:35 +0000 (13:00 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Don't use
FileAllInformation info class since it needs a big buffer.  Add a
comment.

14 years agodaily update
amodra [Sun, 12 Jul 2009 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Sun, 12 Jul 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years agoThis is the part of prev commit.
teawater [Sat, 11 Jul 2009 14:41:38 +0000 (14:41 +0000)]
This is the part of prev commit.

14 years ago2009-07-11 Hui Zhu <teawater@gmail.com>
teawater [Sat, 11 Jul 2009 14:11:24 +0000 (14:11 +0000)]
2009-07-11  Hui Zhu  <teawater@gmail.com>

* gdb.base/help.exp (disassemble): Update expected help text.

14 years ago2009-07-11 Hui Zhu <teawater@gmail.com>
teawater [Sat, 11 Jul 2009 14:09:16 +0000 (14:09 +0000)]
2009-07-11  Hui Zhu  <teawater@gmail.com>

* gdb.texinfo (disassemble): Add a new modifier /r
to "disassemble" command to make it print the raw instructions
in hex as well as in symbolic form.