Hi all,
I've built android AOSP pie under Mojave and goldfish kernel 3.18 under Debian ( because under OSX is too complicated with headers and full of errors ) .
I've built kernel with debug symbols.
When I try to run AOSP emulator with my goldfish kernel the breakpoints didn't work and execution continuos normally.
Launching AOSP emulator:
emulator -selinux permissive -kernel ../../goldfish_paolo/arch/x86_64/boot/bzImage -show-kernel -verbose -qemu -monitor unix:/tmp/qemuSocket,server,nowait -s -append nokaslr
Launching gdb ( from brew 8.2.1 ):

It seems like unmatch between where I set breakpoint and where really are located the function I want to break.
If I use android studio sdk emulator launching happens this:
emulator -selinux permissive -kernel ../../goldfish_paolo/arch/x86_64/boot/bzImage -show-kernel -verbose -qemu -monitor unix:/tmp/qemuSocket,server,nowait -s -append nokaslr
Launching gdb ( from brew 8.2.1 ):
Had Anyone got these problems?
has anyone some suggestion for me?
Thank you!