Note on handling Android special symbols

Pedro Alves palves@redhat.com
Mon Jan 29 11:27:00 GMT 2018


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



More information about the Gdb mailing list