Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Antoine Tremblay <antoine.tremblay@ericsson.com>
To: Yao Qi <qiyaoltc@gmail.com>
Cc: <gdb@sourceware.org>
Subject: Re: Random SIGILL / SIGSEGV on ARMv7 while debugging ?
Date: Fri, 20 Nov 2015 12:55:00 -0000	[thread overview]
Message-ID: <564F182D.2080801@ericsson.com> (raw)
In-Reply-To: <86poz5yr12.fsf@gmail.com>

On 11/20/2015 04:11 AM, Yao Qi wrote:
> Antoine Tremblay <antoine.tremblay@ericsson.com> writes:
>
> I didn't see any SIGILL/SIGSEGV in my testing.
>
>> Program received signal SIGILL, Illegal instruction.
>> 0xb6fd99e2 in ?? () from target:/lib/ld-linux-armhf.so.3
>> (gdb) FAIL: gdb.trace/change-loc.exp: Can't run to main to check for
>> trace support
>
> Did you see SIGILL with vanilla GDB or GDB with your tracepoint patches?

I tested both and the problem was present with vanilla too :

gdb --version
GNU gdb (Ubuntu 7.9-1ubuntu1) 7.9


> You can turn on debugging output, like "set debug infrun 1" and "set
> debug remote 1", and you may find some clues from them.

Yes I did that with gdbserver --debug and compared the output from a 
successful run with a failed run and there was no change.

This leads me to suspect the problem is not gdb/gdbserver. Especially 
since the Pi2 with the same gdb/gdbserver does not have the problem.

I'm guessing from your answer you've never seen that in your tests...

I think I'll have to work around it by using an other board, I'm looking 
at the testing the firefly one now : 
http://en.t-firefly.com/en/firenow/firefly_rk3288/

If ever you have another suggestion of a powerful ARMv7 board with eMMC 
storage that you know works well it's quite welcome.

Thank you,
Antoine


  reply	other threads:[~2015-11-20 12:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-19 18:22 Antoine Tremblay
2015-11-20  9:11 ` Yao Qi
2015-11-20 12:55   ` Antoine Tremblay [this message]
2015-11-20 14:16     ` Antoine Tremblay
2016-05-11 12:21       ` Antoine Tremblay

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=564F182D.2080801@ericsson.com \
    --to=antoine.tremblay@ericsson.com \
    --cc=gdb@sourceware.org \
    --cc=qiyaoltc@gmail.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