Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jeff Johnston <jjohnstn@redhat.com>
To: gdb-patches@sources.redhat.com
Subject: [RFA]: patch to ia64.inc in gdb.asm testsuite
Date: Thu, 05 Feb 2004 00:37:00 -0000	[thread overview]
Message-ID: <4021904F.1060106@redhat.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 686 bytes --]

The attached patch is needed to get the gdb.asm testsuite running 
successfully for ia64.  A recent patch changed the link step to use the 
target linker rather than gcc.  The old method was defaulting dynamic 
loading.  The new code causes a static executable to be created with the 
first insn being that of gdbasm_startup.  Previously, the first insn was 
just a mov, but this should be an alloc insn.  Without this change, a 
SIGILL is caused for the first insn and the tests all fail.

Ok to commit?

-- Jeff J.


2004-02-04  Jeff Johnston  <jjohnstn@redhat.com>

        * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
        executed is an alloc instruction.



[-- Attachment #2: ia64asm.patch --]
[-- Type: text/plain, Size: 387 bytes --]

Index: ia64.inc
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.asm/ia64.inc,v
retrieving revision 1.1
diff -u -r1.1 ia64.inc
--- ia64.inc	25 Aug 2003 23:43:40 -0000	1.1
+++ ia64.inc	5 Feb 2004 00:34:57 -0000
@@ -36,6 +36,7 @@
 
 	comment "crt0 startup"
 	.macro gdbasm_startup
+	gdbasm_enter
 	mov r32=r0
 	nop.i 0
 	nop.i 0

             reply	other threads:[~2004-02-05  0:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-05  0:37 Jeff Johnston [this message]
2004-02-10 21:30 ` Andrew Cagney
2004-02-11 22:15   ` Jeff Johnston

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=4021904F.1060106@redhat.com \
    --to=jjohnstn@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    /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