[ RUN ] netdb.gethostbyname
===========================
(gdb) up
#2 0xf736890e in netdb_getnameinfo_localhost_Test::TestBody (
this=<optimized out>) at bionic/tests/netdb_test.cpp:151
151 bionic/tests/netdb_test.cpp: No such file or directory.
(gdb) print host
$1 = "127.0.0.1\000"
Checked we do have localhost entry in both /etc/hosts and /system/etc/hosts, and there is no error in dmesg/syslog. @@"
[ RUN ] netdb.gethostbyname ======= ======= ====== fo_localhost_ Test::TestBody ( tests/netdb_ test.cpp: 151 tests/netdb_ test.cpp: No such file or directory.
=======
(gdb) up
#2 0xf736890e in netdb_getnamein
this=<optimized out>) at bionic/
151 bionic/
(gdb) print host
$1 = "127.0.0.1\000"
Checked we do have localhost entry in both /etc/hosts and /system/etc/hosts, and there is no error in dmesg/syslog. @@"