Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* breakpoint with arm gdb (android 4.4)
@ 2014-06-29  7:32 Aaron Lewis
  2014-06-30  4:05 ` Yao Qi
  0 siblings, 1 reply; 2+ messages in thread
From: Aaron Lewis @ 2014-06-29  7:32 UTC (permalink / raw)
  To: gdb

Hi,
I'm trying to debug a 3rd part JNI library with arm edition of gdb.

Now I need to break on __android_log_print, but:
> break __android_log_print
Is never triggered .. and

> break __android_log_print@got.plt
result in an inaccessible memory error

Non of them works, any ideas? I do see a log in adb logcat

-- 
Best Regards,
Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/
Finger Print:   9F67 391B B770 8FF6 99DC  D92D 87F6 2602 1371 4D33


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: breakpoint with arm gdb (android 4.4)
  2014-06-29  7:32 breakpoint with arm gdb (android 4.4) Aaron Lewis
@ 2014-06-30  4:05 ` Yao Qi
  0 siblings, 0 replies; 2+ messages in thread
From: Yao Qi @ 2014-06-30  4:05 UTC (permalink / raw)
  To: Aaron Lewis, gdb

On 06/29/2014 03:31 PM, Aaron Lewis wrote:
> Now I need to break on __android_log_print, but:
>> > break __android_log_print
> Is never triggered .. and
> 
>> > break __android_log_print@got.plt
> result in an inaccessible memory error
> 
> Non of them works, any ideas? I do see a log in adb logcat

Does 'b *__android_log_print' work for you?

-- 
Yao (齐尧)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-30  4:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-29  7:32 breakpoint with arm gdb (android 4.4) Aaron Lewis
2014-06-30  4:05 ` Yao Qi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox