Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <palves@redhat.com>
To: Thiago Jung Bauermann <thiago.bauermann@linaro.org>
Cc: gdb-patches ml <gdb-patches@sourceware.org>
Subject: Re: [patch] Support bionic's jmp_buf.
Date: Mon, 21 May 2012 11:38:00 -0000	[thread overview]
Message-ID: <4FBA2920.4070909@redhat.com> (raw)
In-Reply-To: <1337560528.4363.13.camel@hactar>

On 05/21/2012 01:35 AM, Thiago Jung Bauermann wrote:

> Hello,
> 
> Android uses a libc (bionic) which is derived from BSD instead of glibc,
> and stores the PC value at a different location in the jump buffer than
> regular arm-linux. Also, since there's no PC mangling this code works
> even without SystemTap probes.
> 
> I'm using the ELF interpreter field to identify an Android binary (the
> program loader is /system/bin/linker).


Urgh.  Isn't there a better way?  This doesn't work with shared libraries,
for starters.

But I think question number one is:

- Shouldn't there be an "Android" or "Bionic/Linux" OSABI instead
of abusing "GNU/Linux" ?

-- 
Pedro Alves


  reply	other threads:[~2012-05-21 11:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-21  0:36 Thiago Jung Bauermann
2012-05-21 11:38 ` Pedro Alves [this message]
2012-05-21 17:59   ` Thiago Jung Bauermann
2012-06-24 21:46     ` Thiago Jung Bauermann
2012-06-25 13:32       ` Yao Qi
2012-06-25 17:55         ` Thiago Jung Bauermann
2012-06-25 20:49           ` Schnell, Fabian
2012-06-27 10:18       ` Pedro Alves
2012-07-04 21:08         ` Thiago Jung Bauermann

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=4FBA2920.4070909@redhat.com \
    --to=palves@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=thiago.bauermann@linaro.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