Deal,
I followed "http://pdk.android.com/online-pdk/guide/debugging_gdb.html" to debug android PDK for deep understanding of Surfaceflinger.
When I type gdbclient system_server in the last step, I got
This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-elf-linux"... _dl_start () at bionic/linker/arch/arm/begin.S:35 35
mov r0, sp Current language: auto; currently asm (gdb) l 30
.align 4 31 .type _start,#function 32 .globl _start 33 34 _start: 35
mov r0, sp 36 mov
r1, #0 37 bl
__linker_init 38 39 /* linker init returns the _entry address in the main image */
and got
gdb: Unable to get location for thread creation breakpoint: requested event is not supported on emulator.
In this situation I couldn't make breakpoint on "eglSwapBuffers"
I even have done with this patch(https://review.source.android.com/#change,10587) but no effect.
Do you have any suggestion?
Thanks in advance.