public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
From: jkratoch@sourceware.org
To: archer-commits@sourceware.org
Subject: [SCM]  master: Merge remote branch 'gdb/master'
Date: Sat, 13 Feb 2010 22:51:00 -0000	[thread overview]
Message-ID: <20100213225138.21769.qmail@sourceware.org> (raw)

The branch, master has been updated
       via  37b5c31ccae82f7f9be290048c73c2e85f9fffc5 (commit)
       via  59ec84e6bdc758158a5043cce90320ceab786eb7 (commit)
       via  1f7c8203fe01165c0e4fd04f37c42bfc92013dc3 (commit)
       via  f02842e73c7abed3e77be88cb5b5d87df174bd60 (commit)
       via  7f5fe81c4a076d33cf5b0725e3ada7fb4fcd7fbe (commit)
       via  9f20db258493a7b37ac5da11c66c4ad7cf47dc53 (commit)
       via  d56e6f9d7a223b2acfb2de2d78265f5afb21f67b (commit)
       via  eca2228ba5a05545eaee1ba256d482fb606225b0 (commit)
       via  ee9af7804cf3aa2d01e005f024ab2f44bc7983d1 (commit)
       via  1d06b9ebc52e330cc045a277e821fe52a628890d (commit)
       via  d069ae5b6a0e1a93b600268d6eba6ab253824a5d (commit)
       via  71fadacfac822c161ba8410d8e9254063e969f2e (commit)
       via  57095064e159c09ee2af3c8bd8ff002258c0782f (commit)
       via  6b51955cbec69cd2605fe09ee0eb79b5092e846d (commit)
       via  86abe3f6a8811e6b0b22233422702ad4aa146086 (commit)
       via  d06a71829478d8c250e131eaf06640f13e193687 (commit)
       via  3d0bdcd4069504b30e5e90dfb34ecc49bb8bc716 (commit)
       via  b7783d93ed7e5b59b07b002e30ce65e074ec2f1f (commit)
       via  715ab176efb97cd57c6e5d99a19a90a39b042586 (commit)
       via  7427df42f9c7dffbdfcf5d6a8b36ec080c4b6ec6 (commit)
       via  8fce282e0182d70026d07c8cbc26a56d2a2e84e3 (commit)
       via  4481527da488fd6703315d72077dcc019d7c89b1 (commit)
       via  bff503e7a6e2e821483f34219940bed7fd7a194c (commit)
       via  63a17d3bde774b7cff5c6531219861ba8b43e5d2 (commit)
       via  f09f824e6e2a3b2aabe07905be8554a5999b26aa (commit)
       via  36663e6f040ca515380fc95aa80e162f4f748f91 (commit)
       via  415267d28ef90ab39995d6659bf7a0e3d925201e (commit)
       via  33e6eadefb7cc3b47dec9e2049c4121cf69e0a60 (commit)
       via  bacbb3545e164203e005e28b36c2b206b0228f2e (commit)
       via  dec1097401c00231536294d57de3318cd68e724f (commit)
       via  8f3a0977193da2f1ad128b56a6e5d00d45d532f3 (commit)
       via  490305e9ae294ad8d0129fbd32add846d7324156 (commit)
       via  29358440d19f9907e482575b6a2bb8b8733d0ebd (commit)
       via  12fb15aa6a46cb01ac0c70dd7b9cc3f1094d9428 (commit)
      from  b97aedc0ebe8e565b86b700acea4e4dc9f4c6308 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 37b5c31ccae82f7f9be290048c73c2e85f9fffc5
Merge: b97aedc0ebe8e565b86b700acea4e4dc9f4c6308 59ec84e6bdc758158a5043cce90320ceab786eb7
Author: Jan Kratochvil <jkratoch@host1.dyn.jankratochvil.net>
Date:   Sat Feb 13 23:51:19 2010 +0100

    Merge remote branch 'gdb/master'

commit 59ec84e6bdc758158a5043cce90320ceab786eb7
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sat Feb 13 13:36:55 2010 +0000

    gdb/
    	* solib-svr4.c: (LM_ADDR_CHECK): Move variable align to a more inner
    	block.

commit 1f7c8203fe01165c0e4fd04f37c42bfc92013dc3
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sat Feb 13 12:02:26 2010 +0000

    gdb/
    	* solib-svr4.c: (LM_ADDR_CHECK): Print successful prelink adjustment
    	only if INFO_VERBOSE.
    
    gdb/testsuite/
    	* gdb.base/prelink.exp (set verbose on): New.

commit f02842e73c7abed3e77be88cb5b5d87df174bd60
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Sat Feb 13 04:57:11 2010 +0000

    Document new gdb_test_timeout global variable.
    
            * gdbint.texinfo (Testsuite): New section "Testsuite Configuration",
            documenting the gdb_test_timeout variable.

commit 7f5fe81c4a076d33cf5b0725e3ada7fb4fcd7fbe
Author: Doug Evans <dje@google.com>
Date:   Sat Feb 13 04:44:41 2010 +0000

    regenerate cgen-based files

commit 9f20db258493a7b37ac5da11c66c4ad7cf47dc53
Author: Doug Evans <dje@google.com>
Date:   Sat Feb 13 04:38:57 2010 +0000

    	* lm32-opinst.c: Regenerate.

commit d56e6f9d7a223b2acfb2de2d78265f5afb21f67b
Author: Doug Evans <dje@google.com>
Date:   Sat Feb 13 01:13:54 2010 +0000

    	* linux-low.c (linux_supports_tracefork_flag): Document.
    	(linux_look_up_symbols): Add comment.

commit eca2228ba5a05545eaee1ba256d482fb606225b0
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sat Feb 13 00:00:33 2010 +0000

    *** empty log message ***

commit ee9af7804cf3aa2d01e005f024ab2f44bc7983d1
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Fri Feb 12 23:00:05 2010 +0000

    daily update

commit 1d06b9ebc52e330cc045a277e821fe52a628890d
Author: Michael Snyder <msnyder@specifix.com>
Date:   Fri Feb 12 21:39:27 2010 +0000

    2010-02-12  Tomas Holmberg <th@virtutech.com>
    
    	* mi-reverse.exp: New file. Test for reverse option to the
    	following MI commands: exec-continue, exec-finish, exec-next,
    	exec-step, exec-next-instruction, exec-step-instruction.

commit d069ae5b6a0e1a93b600268d6eba6ab253824a5d
Author: Michael Snyder <msnyder@specifix.com>
Date:   Fri Feb 12 21:35:54 2010 +0000

    2010-02-12  Jakob Engblom  <jakob@virtutech.com>
    
    	* gdb.texinfo (MI commands): Added documentation of --reverse
    	option to a set of MI commands. Restructured documentation of MI
    	commands --exec-continue to reflect the complexity of reverse
    	execution.

commit 71fadacfac822c161ba8410d8e9254063e969f2e
Author: Michael Snyder <msnyder@specifix.com>
Date:   Fri Feb 12 21:28:25 2010 +0000

    2010-02-12  Tomas Holmberg <th@virtutech.com>
    
    	* mi/mi-main.c: Added the --reverse flag to the following MI
    	commands: exec-continue, exec-finish, exec-next, exec-step,
    	exec-next-instruction, exec-step-instruction. This is to
    	support reverse execution over the MI interface to gdb.

commit 57095064e159c09ee2af3c8bd8ff002258c0782f
Author: dgutson <dgutson>
Date:   Fri Feb 12 20:52:51 2010 +0000

    2010-02-12  Daniel Gutson  <dgutson@codesourcery.com>
    
    	bfd/
    	* elf32-arm.c (elf32_arm_output_arch_local_syms): add
    	missing mapping symbol to data only sections.
    
    	ld/testsuite/
    	* ld-arm/arm-elf.exp (armelftests): New test case added.
    	* ld-arm/data-only-map.s: New file.
    	* ld-arm/data-only-map.d: New file.
    	* ld-arm/data-only-map.ld: New file.

commit 6b51955cbec69cd2605fe09ee0eb79b5092e846d
Author: dgutson <dgutson>
Date:   Fri Feb 12 20:18:46 2010 +0000

    *** empty log message ***

commit 86abe3f6a8811e6b0b22233422702ad4aa146086
Author: dgutson <dgutson>
Date:   Fri Feb 12 20:15:12 2010 +0000

    	gas/
    	* config/tc-arm.c (asm_opcode): operands type
    	change.
    	(BAD_PC_ADDRESSING): New macro message.
    	(BAD_PC_WRITEBACK): Likewise.
    	(MIX_ARM_THUMB_OPERANDS): New macro.
    	(operand_parse_code): Added enum values.
    	(parse_operands): Added thumb/arm distinction,
    	plus new enum values handling.
    	(encode_arm_addr_mode_2): Validations enhanced.
    	(encode_arm_addr_mode_3): Likewise.
    	(do_rm_rd_rn): Likewise.
    	(encode_thumb32_addr_mode): Likewise.
    	(do_t_ldrex): Likewise.
    	(do_t_ldst): Likewise.
    	(do_t_strex): Likewise.
    	(md_assemble): Call parse_operands with
    	a new parameter.
    	(OPS_1): New macro.
    	(OPS_2): Likewise.
    	(OPS_3): Likewise.
    	(OPS_4): Likewise.
    	(OPS_5): Likewise.
    	(OPS_6): Likewise.
    	(insns): Updated insns operands.
    
    	gas/testsuite/
    	* gas/arm/sp-pc-validations-bad.d: New testcase.
    	* gas/arm/sp-pc-validations-bad.l: New file.
    	* gas/arm/sp-pc-validations-bad.s: New file.
    	* gas/arm/sp-pc-validations-bad-t.d: New testcase.
    	* gas/arm/sp-pc-validations-bad-t.l: New file.
    	* gas/arm/sp-pc-validations-bad-t.s: New file.
    	* gas/arm/sp-pc-usage-t.d: Removed invalid insns.
    	* gas/arm/sp-pc-usage-t.s: Likewise.
    	* gas/arm/unpredictable.d: Likewise.
    	* gas/arm/unpredictable.s: Likewise.
    	* gas/arm/thumb2_bcond.d: Added test.
    	* gas/arm/thumb2_bcond.s: Likewise.

commit d06a71829478d8c250e131eaf06640f13e193687
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Fri Feb 12 16:15:22 2010 +0000

    	gdb/doc/
    	* gdb.texinfo (Using the Collected Data): Specify that the address
    	range of `tfind outsize' is exclusive, and that the address range
    	of `tfind range' is inclusive.
    	(Tracepoint Packets): Specify that the address range of
    	`QTFrame:range' is inclusive, and that the address range of
    	`QTFrame:outside' is exclusive
    
    	gdb/
    	* tracepoint.c (_initialize_tracepoint): Specify that the address
    	range of `tfind outsize' is exclusive, and that the address range
    	of `tfind range' is inclusive, in the commands' help strings.

commit 3d0bdcd4069504b30e5e90dfb34ecc49bb8bc716
Author: Vladimir Prus <vladimir@codesourcery.com>
Date:   Fri Feb 12 10:34:47 2010 +0000

    	* gdb.texinfo (GDB/MI Result Records): Clarify ^running.

commit b7783d93ed7e5b59b07b002e30ce65e074ec2f1f
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Fri Feb 12 04:55:15 2010 +0000

    Spurious "dll not found" error messages on x64-windows.
    
            * windows-nat.c: Add include of complaints.h.
            (handle_unload_dll): Change dll-not-found error into a complaint.

commit 715ab176efb97cd57c6e5d99a19a90a39b042586
Author: Doug Evans <dje@google.com>
Date:   Fri Feb 12 04:42:27 2010 +0000

    	* cgen-dis.in (print_normal): Delete CGEN_PRINT_NORMAL.
    	(print_address): Delete CGEN_PRINT_ADDRESS.
    	* fr30-dis.c, * frv-dis.c, * ip2k-dis.c, * iq2000-dis.c,
    	* lm32-dis.c, * m32c-dis.c, * m32r-desc.c, * m32r-desc.h,
    	* m32r-dis.c, * mep-dis.c, * mt-dis.c, * openrisc-dis.c,
    	* xc16x-dis.c, * xstormy16-dis.c: Regenerate.

commit 7427df42f9c7dffbdfcf5d6a8b36ec080c4b6ec6
Author: Doug Evans <dje@google.com>
Date:   Fri Feb 12 04:38:21 2010 +0000

    	* m32r.cpu (HASH-PREFIX): Delete.
    	(duhpo, dshpo): New pmacros.
    	(simm8, simm16): Delete HASH-PREFIX attribute, define with dshpo.
    	(uimm3, uimm4, uimm5, uimm8, uimm16, imm1): Delete HASH-PREFIX
    	attribute, define with dshpo.
    	(uimm24): Delete HASH-PREFIX attribute.
    	* m32r.opc (CGEN_PRINT_NORMAL): Delete.
    	(print_signed_with_hash_prefix): New function.
    	(print_unsigned_with_hash_prefix): New function.
    	* xc16x.cpu (dowh): New pmacro.
    	(upof16): Define with dowh, specify print handler.
    	(qbit, qlobit, qhibit): Ditto.
    	(upag16): Ditto.
    	* xc16x.opc (CGEN_PRINT_NORMAL): Delete.
    	(print_with_dot_prefix): New functions.
    	(print_with_pof_prefix, print_with_pag_prefix): New functions.

commit 8fce282e0182d70026d07c8cbc26a56d2a2e84e3
Author: Doug Evans <dje@google.com>
Date:   Fri Feb 12 03:25:48 2010 +0000

    	* fr30-desc.c, * fr30-desc.h, * fr30-opc.c,
    	* frv-desc.c, * frv-desc.h, * frv-opc.c,
    	* ip2k-desc.c, * ip2k-desc.h, * ip2k-opc.c,
    	* iq2000-desc.c, * iq2000-desc.h, * iq2000-opc.c,
    	* lm32-desc.c, * lm32-desc.h, * lm32-opc.c, * lm32-opinst.c,
    	* m32c-desc.c, * m32c-desc.h, * m32c-opc.c,
    	* m32r-desc.c, * m32r-desc.h, * m32r-opc.c, * m32r-opinst.c,
    	* mep-desc.c, * mep-desc.h, * mep-opc.c,
    	* mt-desc.c, * mt-desc.h, * mt-opc.c,
    	* openrisc-desc.c, * openrisc-desc.h, * openrisc-opc.c,
    	* xc16x-desc.c, * xc16x-desc.h, * xc16x-opc.c,
    	* xstormy16-desc.c, * xstormy16-desc.h, * xstormy16-opc.c: Regenerate.

commit 4481527da488fd6703315d72077dcc019d7c89b1
Author: Doug Evans <dje@google.com>
Date:   Fri Feb 12 02:44:22 2010 +0000

    Regenerate cgen-derived files.

commit bff503e7a6e2e821483f34219940bed7fd7a194c
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Fri Feb 12 01:24:08 2010 +0000

    	* breakpoint.c (allocate_bp_location): Use bp_loc_other for
    	bp_tracepoint and bp_fast_tracepoint, not
    	bp_loc_software_breakpoint.
    	(update_global_location_list): Tracepoints are never duplicates of
    	anything.

commit 63a17d3bde774b7cff5c6531219861ba8b43e5d2
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Fri Feb 12 00:47:53 2010 +0000

    	* breakpoint.c (break_command_really): Change return type to int.
    	Return false if no breakpoint was created, true otherwise.
    	(trace_command): Don't set the tracepoint count if no tracepoint
    	was created.
    	(ftrace_command): Ditto.
    	(create_tracepoint_from_upload): Bail out if the tracepoint wasn't
    	created in the breakpoints table.

commit f09f824e6e2a3b2aabe07905be8554a5999b26aa
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Fri Feb 12 00:00:03 2010 +0000

    *** empty log message ***

commit 36663e6f040ca515380fc95aa80e162f4f748f91
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Thu Feb 11 23:07:22 2010 +0000

    gdb/
    	* solib-svr4.c (LM_ADDR_CHECK): New comment on PPC-aware condition.

commit 415267d28ef90ab39995d6659bf7a0e3d925201e
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Thu Feb 11 23:03:21 2010 +0000

    	* ax-gdb.c (gen_exp_binop_rest) [BINOP_SUBSCRIPT]: Error out if
    	the offset value isn't of integral type.

commit 33e6eadefb7cc3b47dec9e2049c4121cf69e0a60
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Thu Feb 11 23:00:04 2010 +0000

    daily update

commit bacbb3545e164203e005e28b36c2b206b0228f2e
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Thu Feb 11 22:25:26 2010 +0000

    gdb/
    	* breakpoint.c (delete_breakpoint) <bpt->related_breakpoint != NULL>:
    	New.

commit dec1097401c00231536294d57de3318cd68e724f
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Thu Feb 11 21:45:25 2010 +0000

    	* ax-gdb.c (gen_exp_binop_rest) [BINOP_SUBSCRIPT]: Error out on
    	non-subscriptable types.
    	* valarith.c (binop_types_user_defined_p): New, abstracted out
    	from ...
    	(binop_user_defined_p): ... this.
    	* value.h (binop_types_user_defined_p): Declare.

commit 8f3a0977193da2f1ad128b56a6e5d00d45d532f3
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Thu Feb 11 21:00:12 2010 +0000

    	* tracepoint.c (tfile_open): Remove spurious discard_cleanups.
    	Merge uploaded TSVs before merging uploaded tracepoints.

commit 490305e9ae294ad8d0129fbd32add846d7324156
Author: David S. Miller <davem@redhat.com>
Date:   Thu Feb 11 19:57:40 2010 +0000

    bfd/
    
    	* elfxx-sparc.c (_bfd_sparc_elf_check_relocs): For R_SPARC_GOTDATA_OP_HIX22
    	and R_SPARC_GOTDATA_OP_LOX10, only bump the GOT refcount for global
    	symbols.
    	(_bfd_sparc_elf_gc_sweep_hook): Likewise only decrement the GOT count for
    	these relocs on global symbols.
    	(gdopoff): New.
    	(_bfd_sparc_elf_relocate_section): Perform GOTDATA optimizations on
    	local symbol references which are not STT_GNU_IFUNC.  Handle
    	relocation of them like R_SPARC_HIX22 and R_SPARC_LOX10 respectively,
    	and deal with negative vs. non-negative values properly.
    
    ld/testsuite
    
    	* ld-sparc/gotop32.s: Add local symbol case.
    	* ld-sparc/gotop64.s: Likewise.
    	* ld-sparc/gotop32.rd: Adjust expected results.
    	* ld-sparc/gotop32.td: Likewise.
    	* ld-sparc/gotop64.dd: Likewise.
    	* ld-sparc/gotop64.rd: Likewise.
    	* ld-sparc/gotop64.td: Likewise.

commit 29358440d19f9907e482575b6a2bb8b8733d0ebd
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Thu Feb 11 18:24:57 2010 +0000

    	* ax-gdb.c (gen_deref): Don't allow dereferencing void pointers.

commit 12fb15aa6a46cb01ac0c70dd7b9cc3f1094d9428
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Feb 11 13:41:19 2010 +0000

    Update copyright.
    
    gas/
    
    2010-02-11  H.J. Lu  <hongjiu.lu@intel.com>
    
    	* config/tc-i386.c: Update copyright.
    
    opcodes/
    
    2010-02-11  H.J. Lu  <hongjiu.lu@intel.com>
    
    	* i386-dis.c: Update copyright.
    	* i386-gen.c: Likewise.
    	* i386-opc.h: Likewise.
    	* i386-opc.tbl: Likewise.

-----------------------------------------------------------------------

Summary of changes:
 bfd/ChangeLog                       |   18 ++
 bfd/elf32-arm.c                     |   31 +++-
 bfd/elfxx-sparc.c                   |  111 ++++++++---
 bfd/version.h                       |    2 +-
 cpu/ChangeLog                       |   19 ++
 cpu/m32r.cpu                        |   48 +++--
 cpu/m32r.opc                        |   41 +++-
 cpu/xc16x.cpu                       |   19 ++-
 cpu/xc16x.opc                       |   67 +++++-
 gdb/ChangeLog                       |   80 +++++++
 gdb/ax-gdb.c                        |   39 +++-
 gdb/breakpoint.c                    |  115 ++++++-----
 gdb/doc/ChangeLog                   |   25 +++
 gdb/doc/gdb.texinfo                 |   94 ++++++---
 gdb/doc/gdbint.texinfo              |   32 +++
 gdb/gdbserver/ChangeLog             |    5 +
 gdb/gdbserver/linux-low.c           |    4 +
 gdb/mi/mi-main.c                    |   71 ++++++-
 gdb/solib-svr4.c                    |   29 ++-
 gdb/testsuite/ChangeLog             |   10 +
 gdb/testsuite/gdb.base/prelink.exp  |    3 +
 gdb/testsuite/gdb.mi/mi-reverse.exp |  174 +++++++++++++++
 gdb/tracepoint.c                    |   11 +-
 gdb/valarith.c                      |   21 ++-
 gdb/value.h                         |    4 +
 gdb/version.in                      |    2 +-
 gdb/windows-nat.c                   |   12 +-
 opcodes/ChangeLog                   |   33 +++
 opcodes/cgen-dis.in                 |    8 -
 opcodes/fr30-desc.c                 |   26 +---
 opcodes/fr30-desc.h                 |    4 -
 opcodes/fr30-dis.c                  |    8 -
 opcodes/fr30-opc.c                  |   24 --
 opcodes/frv-desc.c                  |   26 +---
 opcodes/frv-desc.h                  |    4 -
 opcodes/frv-dis.c                   |    8 -
 opcodes/frv-opc.c                   |   24 --
 opcodes/i386-dis.c                  |    2 +-
 opcodes/i386-gen.c                  |    4 +-
 opcodes/i386-opc.h                  |    2 +-
 opcodes/i386-opc.tbl                |    2 +-
 opcodes/ip2k-desc.c                 |   26 +---
 opcodes/ip2k-desc.h                 |    4 -
 opcodes/ip2k-dis.c                  |    8 -
 opcodes/ip2k-opc.c                  |   24 --
 opcodes/iq2000-desc.c               |   26 +---
 opcodes/iq2000-desc.h               |    4 -
 opcodes/iq2000-dis.c                |    8 -
 opcodes/iq2000-opc.c                |   24 --
 opcodes/lm32-desc.c                 |   26 +---
 opcodes/lm32-desc.h                 |    4 -
 opcodes/lm32-dis.c                  |    8 -
 opcodes/lm32-opc.c                  |   24 --
 opcodes/lm32-opinst.c               |   22 ++-
 opcodes/m32c-desc.c                 |   26 +---
 opcodes/m32c-desc.h                 |    6 -
 opcodes/m32c-dis.c                  |    8 -
 opcodes/m32c-opc.c                  |   24 --
 opcodes/m32r-desc.c                 |   45 +---
 opcodes/m32r-desc.h                 |    9 +-
 opcodes/m32r-dis.c                  |   65 ++++---
 opcodes/m32r-opc.c                  |   24 --
 opcodes/m32r-opinst.c               |    4 -
 opcodes/mep-desc.c                  |   26 +---
 opcodes/mep-desc.h                  |    4 -
 opcodes/mep-dis.c                   |    8 -
 opcodes/mep-opc.c                   |   24 --
 opcodes/mt-desc.c                   |   26 +---
 opcodes/mt-desc.h                   |    4 -
 opcodes/mt-dis.c                    |    8 -
 opcodes/mt-opc.c                    |   24 --
 opcodes/openrisc-desc.c             |   26 +---
 opcodes/openrisc-desc.h             |    4 -
 opcodes/openrisc-dis.c              |    8 -
 opcodes/openrisc-opc.c              |   24 --
 opcodes/xc16x-desc.c                |   26 +---
 opcodes/xc16x-desc.h                |    4 -
 opcodes/xc16x-dis.c                 |   85 ++++++--
 opcodes/xc16x-opc.c                 |   24 --
 opcodes/xstormy16-desc.c            |   26 +---
 opcodes/xstormy16-desc.h            |    4 -
 opcodes/xstormy16-dis.c             |    8 -
 opcodes/xstormy16-opc.c             |   24 --
 sim/ChangeLog                       |    7 +
 sim/cris/cpuv10.h                   |    2 +-
 sim/cris/cpuv32.h                   |    2 +-
 sim/cris/cris-desc.c                |   26 +---
 sim/cris/cris-desc.h                |    4 -
 sim/cris/decodev10.c                |   11 +-
 sim/cris/decodev32.c                |    9 +-
 sim/cris/modelv10.c                 |    6 +-
 sim/cris/modelv32.c                 |    4 +-
 sim/cris/semcrisv10f-switch.c       |   22 +--
 sim/cris/semcrisv32f-switch.c       |   20 +-
 sim/frv/ChangeLog                   |    8 +
 sim/frv/cpu.h                       |    2 +-
 sim/frv/decode.c                    |  408 ++++++++++++++++++++++++++++++++---
 sim/frv/decode.h                    |   79 ++++----
 sim/frv/model.c                     |  350 +++++++++++++++---------------
 sim/frv/sem.c                       |   66 +++---
 sim/iq2000/ChangeLog                |    4 +
 sim/iq2000/cpu.h                    |    2 +-
 sim/iq2000/decode.c                 |   11 +-
 sim/iq2000/model.c                  |  146 +++++++-------
 sim/iq2000/sem-switch.c             |  162 +++++++-------
 sim/iq2000/sem.c                    |  162 +++++++-------
 sim/lm32/ChangeLog                  |    4 +
 sim/lm32/cpu.h                      |    2 +-
 sim/lm32/decode.c                   |    7 +-
 sim/lm32/model.c                    |    4 +-
 sim/lm32/sem-switch.c               |   20 +-
 sim/lm32/sem.c                      |   20 +-
 sim/m32r/ChangeLog                  |    6 +
 sim/m32r/cpu.h                      |    2 +-
 sim/m32r/cpu2.h                     |    2 +-
 sim/m32r/cpux.h                     |    2 +-
 sim/m32r/decode.c                   |   11 +-
 sim/m32r/decode2.c                  |   13 +-
 sim/m32r/decodex.c                  |   13 +-
 sim/m32r/model.c                    |   16 +-
 sim/m32r/model2.c                   |   10 +-
 sim/m32r/modelx.c                   |   10 +-
 sim/m32r/sem-switch.c               |   24 +--
 sim/m32r/sem.c                      |   24 +--
 sim/m32r/sem2-switch.c              |   46 ++---
 sim/m32r/semx-switch.c              |   46 ++---
 sim/sh64/ChangeLog                  |   10 +
 sim/sh64/decode-compact.c           |   23 +-
 sim/sh64/decode-media.c             |  182 ++++++++++++++--
 sim/sh64/decode-media.h             |   40 ++--
 sim/sh64/defs-compact.h             |    2 +-
 sim/sh64/defs-media.h               |    2 +-
 sim/sh64/sem-compact-switch.c       |   38 ++--
 sim/sh64/sem-compact.c              |   38 ++--
 sim/sh64/sem-media-switch.c         |   28 +--
 sim/sh64/sem-media.c                |   28 +--
 sim/sh64/sh-desc.c                  |   26 +---
 sim/sh64/sh-desc.h                  |    4 -
 138 files changed, 2407 insertions(+), 1877 deletions(-)
 create mode 100644 gdb/testsuite/gdb.mi/mi-reverse.exp

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 0e0646e..a3bec44 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,21 @@
+2010-02-12  Daniel Gutson  <dgutson@codesourcery.com>
+
+	* elf32-arm.c (elf32_arm_output_arch_local_syms): add
+	missing mapping symbol to data only sections.
+
+2010-02-11  David S. Miller  <davem@davemloft.net>
+
+	* elfxx-sparc.c (_bfd_sparc_elf_check_relocs): For R_SPARC_GOTDATA_OP_HIX22
+	and R_SPARC_GOTDATA_OP_LOX10, only bump the GOT refcount for global
+	symbols.
+	(_bfd_sparc_elf_gc_sweep_hook): Likewise only decrement the GOT count for
+	these relocs on global symbols.
+	(gdopoff): New.
+	(_bfd_sparc_elf_relocate_section): Perform GOTDATA optimizations on
+	local symbol references which are not STT_GNU_IFUNC.  Handle
+	relocation of them like R_SPARC_HIX22 and R_SPARC_LOX10 respectively,
+	and deal with negative vs. non-negative values properly.
+
 2010-02-09  Tristan Gingold  <gingold@adacore.com>
 
 	* mach-o.c (bfd_mach_o_canonicalize_one_reloc): Adjust addend for
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
index 8f8d32c..0661369 100644
--- a/bfd/elf32-arm.c
+++ b/bfd/elf32-arm.c
@@ -13004,7 +13004,9 @@ arm_map_one_stub (struct bfd_hash_entry * gen_entry,
   return TRUE;
 }
 
-/* Output mapping symbols for linker generated sections.  */
+/* Output mapping symbols for linker generated sections,
+   and for those data-only sections that do not have a
+   $d.  */
 
 static bfd_boolean
 elf32_arm_output_arch_local_syms (bfd *output_bfd,
@@ -13019,6 +13021,7 @@ elf32_arm_output_arch_local_syms (bfd *output_bfd,
   struct elf32_arm_link_hash_table *htab;
   bfd_vma offset;
   bfd_size_type size;
+  bfd *input_bfd;
 
   htab = elf32_arm_hash_table (info);
   if (htab == NULL)
@@ -13030,6 +13033,32 @@ elf32_arm_output_arch_local_syms (bfd *output_bfd,
   osi.info = info;
   osi.func = func;
 
+  /* Add a $d mapping symbol to data-only sections that
+     don't have any mapping symbol.  This may result in (harmless) redundant
+     mapping symbols.  */
+  for (input_bfd = info->input_bfds;
+       input_bfd != NULL;
+       input_bfd = input_bfd->link_next)
+    {
+      if ((input_bfd->flags & (BFD_LINKER_CREATED | HAS_SYMS)) == HAS_SYMS)
+	for (osi.sec = input_bfd->sections;
+	     osi.sec != NULL;
+	     osi.sec = osi.sec->next)
+	  {
+	    if (osi.sec->output_section != NULL
+		&& (osi.sec->flags & (SEC_HAS_CONTENTS | SEC_LINKER_CREATED))
+		   == SEC_HAS_CONTENTS
+		&& get_arm_elf_section_data (osi.sec) != NULL
+		&& get_arm_elf_section_data (osi.sec)->mapcount == 0)
+	      {
+		osi.sec_shndx = _bfd_elf_section_from_bfd_section
+		  (output_bfd, osi.sec->output_section);
+		if (osi.sec_shndx != (int)SHN_BAD)
+		  elf32_arm_output_map_sym (&osi, ARM_MAP_DATA, 0);
+	      }
+	  }
+    }
+
   /* ARM->Thumb glue.  */
   if (htab->arm_glue_size > 0)
     {
diff --git a/bfd/elfxx-sparc.c b/bfd/elfxx-sparc.c
index bc36920..1947d1a 100644
--- a/bfd/elfxx-sparc.c
+++ b/bfd/elfxx-sparc.c
@@ -1345,8 +1345,6 @@ _bfd_sparc_elf_check_relocs (bfd *abfd, struct bfd_link_info *info,
 	      case R_SPARC_GOT10:
 	      case R_SPARC_GOT13:
 	      case R_SPARC_GOT22:
-	      case R_SPARC_GOTDATA_HIX22:
-	      case R_SPARC_GOTDATA_LOX10:
 	      case R_SPARC_GOTDATA_OP_HIX22:
 	      case R_SPARC_GOTDATA_OP_LOX10:
 		tls_type = GOT_NORMAL;
@@ -1386,7 +1384,16 @@ _bfd_sparc_elf_check_relocs (bfd *abfd, struct bfd_link_info *info,
 		    _bfd_sparc_elf_local_got_tls_type (abfd)
 		      = (char *) (local_got_refcounts + symtab_hdr->sh_info);
 		  }
-		local_got_refcounts[r_symndx] += 1;
+		switch (r_type)
+		  {
+		  case R_SPARC_GOTDATA_OP_HIX22:
+		  case R_SPARC_GOTDATA_OP_LOX10:
+		    break;
+
+		  default:
+		    local_got_refcounts[r_symndx] += 1;
+		    break;
+		  }
 		old_tls_type = _bfd_sparc_elf_local_got_tls_type (abfd) [r_symndx];
 	      }
 
@@ -1766,8 +1773,17 @@ _bfd_sparc_elf_gc_sweep_hook (bfd *abfd, struct bfd_link_info *info,
 	    }
 	  else
 	    {
-	      if (local_got_refcounts[r_symndx] > 0)
-		local_got_refcounts[r_symndx]--;
+	      switch (r_type)
+		{
+		case R_SPARC_GOTDATA_OP_HIX22:
+		case R_SPARC_GOTDATA_OP_LOX10:
+		  break;
+
+		default:
+		  if (local_got_refcounts[r_symndx] > 0)
+		    local_got_refcounts[r_symndx]--;
+		  break;
+		}
 	    }
 	  break;
 
@@ -2672,6 +2688,21 @@ tpoff (struct bfd_link_info *info, bfd_vma address)
   return address - htab->tls_size - htab->tls_sec->vma;
 }
 
+/* Return the relocation value for a %gdop relocation.  */
+
+static bfd_vma
+gdopoff (struct bfd_link_info *info, bfd_vma address)
+{
+  struct elf_link_hash_table *htab = elf_hash_table (info);
+  bfd_vma got_base;
+
+  got_base = (htab->hgot->root.u.def.value
+	      + htab->hgot->root.u.def.section->output_offset
+	      + htab->hgot->root.u.def.section->output_section->vma);
+
+  return address - got_base;
+}
+
 /* Relocate a SPARC ELF section.  */
 
 bfd_boolean
@@ -2821,10 +2852,17 @@ _bfd_sparc_elf_relocate_section (bfd *output_bfd,
 
 	  switch (r_type)
 	    {
-	    case R_SPARC_GOTDATA_HIX22:
-	    case R_SPARC_GOTDATA_LOX10:
+	    case R_SPARC_GOTDATA_OP:
+	      continue;
+
 	    case R_SPARC_GOTDATA_OP_HIX22:
 	    case R_SPARC_GOTDATA_OP_LOX10:
+	      r_type = (r_type == R_SPARC_GOTDATA_OP_HIX22
+			? R_SPARC_GOT22
+			: R_SPARC_GOT10);
+	      howto = _bfd_sparc_elf_howto_table + r_type;
+	      /* Fall through.  */
+
 	    case R_SPARC_GOT10:
 	    case R_SPARC_GOT13:
 	    case R_SPARC_GOT22:
@@ -2911,19 +2949,37 @@ _bfd_sparc_elf_relocate_section (bfd *output_bfd,
 
       switch (r_type)
 	{
-	case R_SPARC_GOTDATA_HIX22:
-	case R_SPARC_GOTDATA_LOX10:
 	case R_SPARC_GOTDATA_OP_HIX22:
 	case R_SPARC_GOTDATA_OP_LOX10:
-	  /* We don't support these code transformation optimizations
-	     yet, so just leave the sequence alone and treat as
-	     GOT22/GOT10.  */
-	  if (r_type == R_SPARC_GOTDATA_HIX22
-	      || r_type == R_SPARC_GOTDATA_OP_HIX22)
-	    r_type = R_SPARC_GOT22;
+	  if (SYMBOL_REFERENCES_LOCAL (info, h))
+	    r_type = (r_type == R_SPARC_GOTDATA_OP_HIX22
+		      ? R_SPARC_GOTDATA_HIX22
+		      : R_SPARC_GOTDATA_LOX10);
 	  else
-	    r_type = R_SPARC_GOT10;
-	  /* Fall through. */
+	    r_type = (r_type == R_SPARC_GOTDATA_OP_HIX22
+		      ? R_SPARC_GOT22
+		      : R_SPARC_GOT10);
+	  howto = _bfd_sparc_elf_howto_table + r_type;
+	  break;
+
+	case R_SPARC_GOTDATA_OP:
+	  if (SYMBOL_REFERENCES_LOCAL (info, h))
+	    {
+	      bfd_vma insn = bfd_get_32 (input_bfd, contents + rel->r_offset);
+
+	      /* {ld,ldx} [%rs1 + %rs2], %rd --> add %rs1, %rs2, %rd */
+	      relocation = 0x80000000 | (insn & 0x3e07c01f);
+	      bfd_put_32 (output_bfd, relocation, contents + rel->r_offset);
+	    }
+	  continue;
+	}
+
+      switch (r_type)
+	{
+	case R_SPARC_GOTDATA_HIX22:
+	case R_SPARC_GOTDATA_LOX10:
+	  relocation = gdopoff (info, relocation);
+	  break;
 
 	case R_SPARC_GOT10:
 	case R_SPARC_GOT13:
@@ -3576,11 +3632,6 @@ _bfd_sparc_elf_relocate_section (bfd *output_bfd,
 	    }
 	  continue;
 
-	case R_SPARC_GOTDATA_OP:
-	  /* We don't support gotdata code transformation optimizations
-	     yet, so simply leave the sequence as-is.  */
-	  continue;
-
 	case R_SPARC_TLS_IE_LD:
 	case R_SPARC_TLS_IE_LDX:
 	  if (! info->shared && (h == NULL || h->dynindx == -1))
@@ -3704,12 +3755,15 @@ _bfd_sparc_elf_relocate_section (bfd *output_bfd,
 
 	  r = bfd_reloc_ok;
 	}
-      else if (r_type == R_SPARC_HIX22)
+      else if (r_type == R_SPARC_HIX22
+	       || r_type == R_SPARC_GOTDATA_HIX22)
 	{
 	  bfd_vma x;
 
 	  relocation += rel->r_addend;
-	  relocation = relocation ^ MINUS_ONE;
+	  if (r_type == R_SPARC_HIX22
+	      || (bfd_signed_vma) relocation < 0)
+	    relocation = relocation ^ MINUS_ONE;
 
 	  x = bfd_get_32 (input_bfd, contents + rel->r_offset);
 	  x = (x & ~(bfd_vma) 0x3fffff) | ((relocation >> 10) & 0x3fffff);
@@ -3720,12 +3774,17 @@ _bfd_sparc_elf_relocate_section (bfd *output_bfd,
 				  bfd_arch_bits_per_address (input_bfd),
 				  relocation);
 	}
-      else if (r_type == R_SPARC_LOX10)
+      else if (r_type == R_SPARC_LOX10
+	       || r_type == R_SPARC_GOTDATA_LOX10)
 	{
 	  bfd_vma x;
 
 	  relocation += rel->r_addend;
-	  relocation = (relocation & 0x3ff) | 0x1c00;
+	  if (r_type == R_SPARC_LOX10
+	      || (bfd_signed_vma) relocation < 0)
+	    relocation = (relocation & 0x3ff) | 0x1c00;
+	  else
+	    relocation = (relocation & 0x3ff);
 
 	  x = bfd_get_32 (input_bfd, contents + rel->r_offset);
 	  x = (x & ~(bfd_vma) 0x1fff) | relocation;
diff --git a/bfd/version.h b/bfd/version.h
index e405ed3..df75bf5 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20100211
+#define BFD_VERSION_DATE 20100213
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/cpu/ChangeLog b/cpu/ChangeLog
index 939544c..975feea 100644
--- a/cpu/ChangeLog
+++ b/cpu/ChangeLog
@@ -1,3 +1,22 @@
+2010-02-11  Doug Evans  <dje@sebabeach.org>
+
+	* m32r.cpu (HASH-PREFIX): Delete.
+	(duhpo, dshpo): New pmacros.
+	(simm8, simm16): Delete HASH-PREFIX attribute, define with dshpo.
+	(uimm3, uimm4, uimm5, uimm8, uimm16, imm1): Delete HASH-PREFIX
+	attribute, define with dshpo.
+	(uimm24): Delete HASH-PREFIX attribute.
+	* m32r.opc (CGEN_PRINT_NORMAL): Delete.
+	(print_signed_with_hash_prefix): New function.
+	(print_unsigned_with_hash_prefix): New function.
+	* xc16x.cpu (dowh): New pmacro.
+	(upof16): Define with dowh, specify print handler.
+	(qbit, qlobit, qhibit): Ditto.
+	(upag16): Ditto.
+	* xc16x.opc (CGEN_PRINT_NORMAL): Delete.
+	(print_with_dot_prefix): New functions.
+	(print_with_pof_prefix, print_with_pag_prefix): New functions.
+
 2010-01-24  Doug Evans  <dje@sebabeach.org>
 
 	* frv.cpu (floating-point-conversion): Update call to fp conv op.
diff --git a/cpu/m32r.cpu b/cpu/m32r.cpu
index e24fc3d..003c848 100644
--- a/cpu/m32r.cpu
+++ b/cpu/m32r.cpu
@@ -638,13 +638,21 @@
 ; code.  Usually there's a bit of over-specification, but in more complicated
 ; instruction sets there isn't.
 
-; M32R specific operand attributes:
+;; Print some operands take a hash prefix.
+;; ??? Why don't we also handle one when parsing?
 
-(define-attr
-  (for operand)
-  (type boolean)
-  (name HASH-PREFIX)
-  (comment "immediates have an optional '#' prefix")
+(define-pmacro (duhpo x-name x-comment x-attrs x-type x-index)
+  (define-operand (name x-name) (comment x-comment)
+    (.splice attrs (.unsplice x-attrs))
+    (type x-type) (index x-index)
+    (handlers (print "unsigned_with_hash_prefix")))
+)
+
+(define-pmacro (dshpo x-name x-comment x-attrs x-type x-index)
+  (define-operand (name x-name) (comment x-comment)
+    (.splice attrs (.unsplice x-attrs))
+    (type x-type) (index x-index)
+    (handlers (print "signed_with_hash_prefix")))
 )
 
 ; ??? Convention says this should be o-sr, but then the insn definitions
@@ -662,21 +670,23 @@
 (dnop scr    "source control register"      () h-cr   f-r2)
 (dnop dcr    "destination control register" () h-cr   f-r1)
 
-(dnop simm8  "8 bit signed immediate"       (HASH-PREFIX) h-sint f-simm8)
-(dnop simm16 "16 bit signed immediate"      (HASH-PREFIX) h-sint f-simm16)
-(dnop uimm3  "3 bit unsigned number"        (HASH-PREFIX) h-uint f-uimm3)
-(dnop uimm4  "4 bit trap number"            (HASH-PREFIX) h-uint f-uimm4)
-(dnop uimm5  "5 bit shift count"            (HASH-PREFIX) h-uint f-uimm5)
-(dnop uimm8  "8 bit unsigned immediate"     (HASH-PREFIX) h-uint f-uimm8)
-(dnop uimm16 "16 bit unsigned immediate"    (HASH-PREFIX) h-uint f-uimm16)
+(dshpo simm8  "8 bit signed immediate"       () h-sint f-simm8)
+(dshpo simm16 "16 bit signed immediate"      () h-sint f-simm16)
+(duhpo uimm3  "3 bit unsigned number"        () h-uint f-uimm3)
+(duhpo uimm4  "4 bit trap number"            () h-uint f-uimm4)
+(duhpo uimm5  "5 bit shift count"            () h-uint f-uimm5)
+(duhpo uimm8  "8 bit unsigned immediate"     () h-uint f-uimm8)
+(duhpo uimm16 "16 bit unsigned immediate"    () h-uint f-uimm16)
+
+(duhpo imm1 "1 bit immediate" ((MACH m32rx,m32r2)) h-uint f-imm1)
 
-(dnop imm1   "1 bit immediate"              ((MACH m32rx,m32r2) HASH-PREFIX) h-uint f-imm1)
-(dnop accd   "accumulator destination register" ((MACH m32rx,m32r2))        h-accums f-accd)
-(dnop accs   "accumulator source register"  ((MACH m32rx,m32r2))            h-accums f-accs)
-(dnop acc    "accumulator reg (d)"          ((MACH m32rx,m32r2))            h-accums f-acc)
+(dnop accd   "accumulator destination register" ((MACH m32rx,m32r2)) h-accums f-accd)
+(dnop accs   "accumulator source register"  ((MACH m32rx,m32r2))     h-accums f-accs)
+(dnop acc    "accumulator reg (d)"          ((MACH m32rx,m32r2))     h-accums f-acc)
 
 ; slo16,ulo16 are used in both with-hash-prefix/no-hash-prefix cases.
-; e.g. add3 r3,r3,#1 and ld r3,@(4,r4).  We could use HASH-PREFIX.
+; e.g. add3 r3,r3,#1 and ld r3,@(4,r4).  We could use special handlers on
+; the operands themselves.
 ; Instead we create a fake operand `hash'.  The m32r is an illustration port,
 ; so we often try out various ways of doing things.
 
@@ -716,7 +726,7 @@
   (handlers (parse "ulo16"))
 )
 
-(dnop uimm24 "24 bit address" (HASH-PREFIX) h-addr f-uimm24)
+(dnop uimm24 "24 bit address" () h-addr f-uimm24)
 
 (define-operand
   (name disp8)
diff --git a/cpu/m32r.opc b/cpu/m32r.opc
index 3100fee..30e0956 100644
--- a/cpu/m32r.opc
+++ b/cpu/m32r.opc
@@ -238,15 +238,38 @@ parse_ulo16 (CGEN_CPU_DESC cd,
 /* -- */
 \f
 /* -- dis.c */
-/* Immediate values are prefixed with '#'.  */
-
-#define CGEN_PRINT_NORMAL(cd, info, value, attrs, pc, length)	\
-  do								\
-    {								\
-      if (CGEN_BOOL_ATTR ((attrs), CGEN_OPERAND_HASH_PREFIX))	\
-	(*info->fprintf_func) (info->stream, "#");		\
-    }								\
-  while (0)
+
+/* Print signed operands with '#' prefixes.  */
+
+static void
+print_signed_with_hash_prefix (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED,
+			       void * dis_info,
+			       long value,
+			       unsigned int attrs ATTRIBUTE_UNUSED,
+			       bfd_vma pc ATTRIBUTE_UNUSED,
+			       int length ATTRIBUTE_UNUSED)
+{
+  disassemble_info *info = (disassemble_info *) dis_info;
+
+  (*info->fprintf_func) (info->stream, "#");
+  (*info->fprintf_func) (info->stream, "%ld", value);
+}
+
+/* Print unsigned operands with '#' prefixes.  */
+
+static void
+print_unsigned_with_hash_prefix (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED,
+				 void * dis_info,
+				 long value,
+				 unsigned int attrs ATTRIBUTE_UNUSED,
+				 bfd_vma pc ATTRIBUTE_UNUSED,
+				 int length ATTRIBUTE_UNUSED)
+{
+  disassemble_info *info = (disassemble_info *) dis_info;
+
+  (*info->fprintf_func) (info->stream, "#");
+  (*info->fprintf_func) (info->stream, "0x%lx", value);
+}
 
 /* Handle '#' prefixes as operands.  */
 
diff --git a/cpu/xc16x.cpu b/cpu/xc16x.cpu
index 1d2057a..4903b81 100644
--- a/cpu/xc16x.cpu
+++ b/cpu/xc16x.cpu
@@ -528,6 +528,15 @@
   (comment "segment")
 )
 
+;; Define an operand that takes a set of handlers.
+;; dowh: define-operand-with-handlers
+(define-pmacro (dowh x-name x-comment x-attrs x-type x-index x-handlers)
+  (define-operand (name x-name) (comment x-comment)
+    (.splice attrs (.unsplice x-attrs))
+    (type x-type) (index x-index)
+    (.splice handlers (.unsplice x-handlers)))
+)
+
 (dnop sr      "source register"              () h-gr    f-r2)
 (dnop dr      "destination register"         () h-gr    f-r1)
 (dnop dri     "destination register"         () h-gr    f-r4)
@@ -544,7 +553,7 @@
 (dnop uimm7   "7 bit trap number"            (HASH-PREFIX) h-uint f-uimm7)
 (dnop uimm8   "8 bit unsigned immediate"     (HASH-PREFIX) h-uint f-uimm8)
 (dnop uimm16  "16 bit unsigned immediate"    (HASH-PREFIX) h-uint f-uimm16)
-(dnop upof16  "16 bit unsigned immediate"    (POF-PREFIX) h-addr f-memory)
+(dowh upof16  "16 bit unsigned immediate"    (POF-PREFIX) h-addr f-memory ((print "with_pof_prefix")))
 (dnop reg8    "8 bit word register number"   () h-r8 f-reg8)
 (dnop regmem8 "8 bit word register number"   () h-regmem8 f-regmem8)
 (dnop regbmem8 "8 bit byte register number"  () h-regbmem8 f-regmem8)
@@ -573,16 +582,16 @@
 (dnop memory  "16 bit memory" 		     () h-addr f-memory)
 (dnop memgr8  "16 bit memory"		     () h-memgr8 f-memgr8)
 (dnop cbit    "carry bit"                    (SEM-ONLY) h-cbit  f-nil)
-(dnop qbit    "bit addr"               	     (DOT-PREFIX) h-uint  f-qbit)
-(dnop qlobit  "bit addr"                     (DOT-PREFIX) h-uint  f-qlobit)
-(dnop qhibit  "bit addr"                     (DOT-PREFIX) h-uint  f-qhibit)
+(dowh qbit    "bit addr"               	     (DOT-PREFIX) h-uint f-qbit ((print "with_dot_prefix")))
+(dowh qlobit  "bit addr"                     (DOT-PREFIX) h-uint f-qlobit ((print "with_dot_prefix")))
+(dowh qhibit  "bit addr"                     (DOT-PREFIX) h-uint f-qhibit ((print "with_dot_prefix")))
 (dnop mask8   "8 bit mask"     		     (HASH-PREFIX) h-uint f-mask8)
 (dnop masklo8 "8 bit mask"     		     (HASH-PREFIX) h-uint f-datahi8)
 (dnop pagenum "10 bit page number"     	     (HASH-PREFIX) h-uint f-pagenum)
 (dnop data8   "8 bit data"     		     (HASH-PREFIX) h-uint f-data8)
 (dnop datahi8 "8 bit data"     	             (HASH-PREFIX) h-uint f-datahi8)
 (dnop sgtdisbit "segmentation enable bit"    (SEM-ONLY) h-sgtdis f-nil)
-(dnop upag16  "16 bit unsigned immediate"    (PAG-PREFIX) h-uint f-uimm16)
+(dowh upag16  "16 bit unsigned immediate"    (PAG-PREFIX) h-uint f-uimm16 ((print "with_pag_prefix")))
 (dnop useg8   "8 bit segment "    	     (SEG-PREFIX) h-uint f-seg8)
 (dnop useg16  "16 bit address offset"        (SEG-PREFIX) h-uint f-offset16)
 (dnop usof16  "16 bit address offset"        (SOF-PREFIX) h-uint f-offset16)
diff --git a/cpu/xc16x.opc b/cpu/xc16x.opc
index 455f3fb..47b7c69 100644
--- a/cpu/xc16x.opc
+++ b/cpu/xc16x.opc
@@ -149,17 +149,62 @@ parse_seg (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED,
 \f
 /* -- dis.c */
 
-#define CGEN_PRINT_NORMAL(cd, info, value, attrs, pc, length)	\
-  do								\
-    {								\


hooks/post-receive
--
Repository for Project Archer.


             reply	other threads:[~2010-02-13 22:51 UTC|newest]

Thread overview: 120+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-13 22:51 jkratoch [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-02-01 19:25 jkratoch
2011-01-29 16:44 jkratoch
2011-01-25 12:53 pmuldoon
2011-01-25  9:10 jkratoch
2011-01-17 13:31 pmuldoon
2011-01-15 11:35 jkratoch
2011-01-14  8:04 jkratoch
2011-01-10 12:00 pmuldoon
2011-01-10  9:10 jkratoch
2011-01-07  5:57 jkratoch
2011-01-06 12:22 pmuldoon
2011-01-04  4:59 jkratoch
2010-12-31 22:30 jkratoch
2010-12-30  7:22 jkratoch
2010-12-22 20:11 swagiaal
2010-12-14 17:13 jkratoch
2010-12-14  8:27 pmuldoon
2010-12-10 17:16 jkratoch
2010-12-08 15:55 pmuldoon
2010-12-06  6:40 jkratoch
2010-12-04  1:03 jkratoch
2010-12-02 15:47 pmuldoon
2010-11-30  0:15 jkratoch
2010-11-28 18:02 jkratoch
2010-11-28  5:41 jkratoch
2010-11-16  5:04 jkratoch
2010-11-12 11:47 pmuldoon
2010-11-11 11:39 pmuldoon
2010-11-10  9:09 pmuldoon
2010-11-08  9:34 pmuldoon
2010-11-07 18:15 jkratoch
2010-10-22 14:28 pmuldoon
2010-10-20 12:48 pmuldoon
2010-10-19 16:01 pmuldoon
2010-10-17 20:27 jkratoch
2010-10-15 17:07 jkratoch
2010-10-14 20:55 jkratoch
2010-10-13 15:06 jkratoch
2010-10-12 16:45 jkratoch
2010-10-11  9:21 jkratoch
2010-10-11  8:47 pmuldoon
2010-10-06  9:00 pmuldoon
2010-09-30  8:56 pmuldoon
2010-09-27  9:48 jkratoch
2010-09-20 12:34 pmuldoon
2010-09-16 20:49 ratmice
2010-09-04 19:59 jkratoch
2010-09-03  7:26 jkratoch
2010-09-02 15:04 jkratoch
2010-09-01 15:29 swagiaal
2010-08-23 13:54 jkratoch
2010-08-20 17:49 jkratoch
2010-08-12 15:19 swagiaal
2010-08-06 15:32 jkratoch
2010-07-29 19:17 swagiaal
2010-07-22 16:57 jkratoch
2010-07-22 16:26 jkratoch
2010-07-20 18:51 jkratoch
2010-07-09  8:09 jkratoch
2010-06-24  8:55 jkratoch
2010-06-23 20:56 jkratoch
2010-06-17 12:53 jkratoch
2010-06-07  8:14 jkratoch
2010-06-02 19:03 jkratoch
2010-05-28 21:27 jkratoch
2010-05-26 18:36 swagiaal
2010-05-17 18:02 jkratoch
2010-05-17  1:04 jkratoch
2010-05-10 19:30 swagiaal
2010-05-05 14:24 swagiaal
2010-05-03 13:49 jkratoch
2010-05-03  8:48 jkratoch
2010-05-02 23:10 jkratoch
2010-05-02 15:54 jkratoch
2010-04-30  7:11 jkratoch
2010-04-28 11:44 jkratoch
2010-04-25 20:22 jkratoch
2010-04-09 20:37 jkratoch
2010-04-07  1:41 jkratoch
2010-04-05 10:11 jkratoch
2010-04-04 11:58 jkratoch
2010-03-22 23:58 jkratoch
2010-03-20 17:23 jkratoch
2010-03-18 10:01 jkratoch
2010-03-17 18:04 jkratoch
2010-03-12 18:35 jkratoch
2010-03-04 22:28 jkratoch
2010-03-01 22:16 jkratoch
2010-02-26 22:16 jkratoch
2010-02-26 17:50 jkratoch
2010-02-17 16:01 swagiaal
2010-02-11 12:51 jkratoch
2010-02-09 19:01 jkratoch
2010-02-08 21:46 jkratoch
2010-02-03  4:38 jkratoch
2010-01-31 17:25 jkratoch
2010-01-28 19:17 swagiaal
2010-01-28 10:56 jkratoch
2010-01-27 19:21 swagiaal
2010-01-27  8:08 jkratoch
2010-01-26 18:58 swagiaal
2010-01-20 21:48 jkratoch
2010-01-15  2:09 jkratoch
2010-01-15  0:52 jkratoch
2010-01-14 22:23 jkratoch
2010-01-13 20:53 jkratoch
2010-01-10 20:47 jkratoch
2010-01-09 10:03 jkratoch
2010-01-09  8:41 jkratoch
2010-01-08 19:16 jkratoch
2009-12-06 17:43 jkratoch
2009-12-03 16:32 jkratoch
2009-11-30 13:59 jkratoch
2009-11-24 21:21 jkratoch
2009-11-21  9:24 jkratoch
2009-11-20 21:06 jkratoch
2009-11-20 15:57 jkratoch
2009-11-17 19:59 jkratoch
2009-11-16  2:22 jkratoch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100213225138.21769.qmail@sourceware.org \
    --to=jkratoch@sourceware.org \
    --cc=archer-commits@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).