This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Note on handling Android special symbols
- From: Pedro Alves <palves at redhat dot com>
- To: Dmitry Antipov <dantipov at nvidia dot com>, gdb at sourceware dot org
- Cc: Ryan Bissell <rbissell at nvidia dot com>, Mikhail Filimonov <mfilimonov at nvidia dot com>
- Date: Mon, 29 Jan 2018 11:26:58 +0000
- Subject: Re: Note on handling Android special symbols
- Authentication-results: sourceware.org; auth=none
- References: <CAOMFOmW-CcOLpM47JXn4_y9mwR+Ba7qr-zi5sa=n6O2PWNKcww@mail.gmail.com> <86a796cd-666a-6eb0-e438-41dc43fb01dd@nvidia.com>
Hi Dmitry,
On 01/29/2018 10:17 AM, Dmitry Antipov wrote:
> It seems that some special Android ART symbols in .oat and .odex framework
> libraries can prevent GDB to detect ARM/Thumb mode under some circumstances;
> since LLDB is known to have a kinda workaround, shouldn't GDB incorporate
> something similar? See https://github.com/android-ndk/ndk/issues/628 and
> https://reviews.llvm.org/rL274500 for details.
Maybe, hard to say without knowing anything about what these symbols really
are (or much about Android-specifics, for the matter). IWBN to have some clearer
rationale / comment than "stolen from LLDB".
Note, patches should be sent to the gdb-patches list instead of here.
See also:
https://sourceware.org/gdb/wiki/ContributionChecklist
if you haven't already.
Thanks!
Pedro Alves