Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <palves@redhat.com>
To: Luis Machado <lgustavo@codesourcery.com>, gdb-patches@sourceware.org
Subject: Re: [PATCH] Restrict gdb.base/gcore-relro-pie.exp to native/linux targets
Date: Thu, 23 Feb 2017 14:25:00 -0000	[thread overview]
Message-ID: <093bd3d5-9723-2412-a736-8f29686d4a8a@redhat.com> (raw)
In-Reply-To: <1487859197-6269-1-git-send-email-lgustavo@codesourcery.com>

On 02/23/2017 02:13 PM, Luis Machado wrote:
> This particular test doesn't work correctly on aarch64-elf for a couple
> reasons.
> 
> First, the test is supposed to crash and bare-metal targets are not always
> ready to handle such exceptions like Linux does. In our case the board just
> keeps cycling within an ISR function.

Hmm?  AFAICS, the testcase is generating the core with gdb_gcore_cmd.
How on earth is that causing this cycling?

Either I'm missing something, or the reason for the cycling is
something else, like for example, the fact that the test is
compiled with flags (-fpie -pie Wl,-z,relro) that might generate a
binary that does not work correctly, or strip is broken for that
target, or something like that.

Thanks,
Pedro Alves


  reply	other threads:[~2017-02-23 14:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-23 14:13 Luis Machado
2017-02-23 14:25 ` Pedro Alves [this message]
2017-02-23 14:47   ` Luis Machado
2017-02-23 14:54     ` Pedro Alves
2017-02-23 15:10       ` Luis Machado
2017-02-23 15:43         ` Pedro Alves
2017-02-23 16:16           ` Luis Machado

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=093bd3d5-9723-2412-a736-8f29686d4a8a@redhat.com \
    --to=palves@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=lgustavo@codesourcery.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