vscode/gdbserver/arm

2020-08-13 14:35:25

sysbol put into   $target  /usr/local/lib/debug/

 

=thread-group-added,id="i1"
GNU gdb (GDB) 7.10
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-unknown-linux-gnu --target=arm-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
=cmd-param-changed,param="pagination",value="off"
Reading /lib/ld-linux-armhf.so.3 from remote target...
Reading /lib/ld-linux-armhf.so.3 from remote target...
Reading /lib/ld-2.25.so.debug from remote target...
Reading /lib/.debug/ld-2.25.so.debug from remote target...
0xb6fcfa40 in ?? () from target:/lib/ld-linux-armhf.so.3
Loaded 'target:/lib/ld-linux-armhf.so.3'. Symbols loaded.
Reading /lib/libpthread.so.0 from remote target...
Reading /usr/lib/libcurl.so.4 from remote target...
Reading /usr/lib/libcommondbg.so from remote target...
Reading /usr/lib/libIpc.so from remote target...
Reading /usr/lib/libutils.so from remote target...
Reading /usr/lib/libEvent.so from remote target...
Reading /usr/lib/librpcinternal.so from remote target...
Reading /usr/lib/libtoi.so from remote target...
Reading /usr/lib/libstdc++.so.6 from remote target...
Reading /usr/lib/libgcc_s.so.1 from remote target...
Reading /lib/libc.so.6 from remote target...
Reading /usr/lib/libssl.so.1.0.0 from remote target...
Reading /usr/lib/libcrypto.so.1.0.0 from remote target...
Reading /usr/lib/libz.so.1 from remote target...
Reading /usr/lib/libksocket.so from remote target...
Reading /lib/libm.so.6 from remote target...
Reading /lib/librt.so.1 from remote target...
Reading /lib/libdl.so.2 from remote target...
Reading /lib/libpthread-2.25.so.debug from remote target...
Reading /lib/.debug/libpthread-2.25.so.debug from remote target...
Reading /usr/lib/libcurl.so.4.6.0.debug from remote target...
Reading /usr/lib/.debug/libcurl.so.4.6.0.debug from remote target...
Reading /usr/lib/libcommondbg.so.debug from remote target...
Reading /usr/lib/.debug/libcommondbg.so.debug from remote target...
Reading /usr/lib/libIpc.so.debug from remote target...
Reading /usr/lib/.debug/libIpc.so.debug from remote target...
Reading /usr/lib/libutils.so.debug from remote target...
Reading /usr/lib/.debug/libutils.so.debug from remote target...
Reading /usr/lib/libEvent.so.debug from remote target...
Reading /usr/lib/.debug/libEvent.so.debug from remote target...
Reading /usr/lib/librpcinternal.so.debug from remote target...
Reading /usr/lib/.debug/librpcinternal.so.debug from remote target...
Reading /usr/lib/libtoi.so.debug from remote target...
Reading /usr/lib/.debug/libtoi.so.debug from remote target...
Reading /usr/lib/libstdc++.so.6.0.20.debug from remote target...
Reading /usr/lib/.debug/libstdc++.so.6.0.20.debug from remote target...
Reading /usr/lib/libgcc_s.so.1.debug from remote target...
Reading /usr/lib/.debug/libgcc_s.so.1.debug from remote target...
Reading /lib/libc-2.25.so.debug from remote target...
Reading /lib/.debug/libc-2.25.so.debug from remote target...
Reading /usr/lib/libssl.so.1.0.0.debug from remote target...
Reading /usr/lib/.debug/libssl.so.1.0.0.debug from remote target...
Reading /usr/lib/libcrypto.so.1.0.0.debug from remote target...
Reading /usr/lib/.debug/libcrypto.so.1.0.0.debug from remote target...
Reading /usr/lib/libz.so.1.2.8.debug from remote target...
Reading /usr/lib/.debug/libz.so.1.2.8.debug from remote target...
Reading /usr/lib/libksocket.so.debug from remote target...
Reading /usr/lib/.debug/libksocket.so.debug from remote target...
Reading /lib/libm-2.25.so.debug from remote target...
Reading /lib/.debug/libm-2.25.so.debug from remote target...
Reading /lib/librt-2.25.so.debug from remote target...
Reading /lib/.debug/librt-2.25.so.debug from remote target...
Reading /lib/libdl-2.25.so.debug from remote target...
Reading /lib/.debug/libdl-2.25.so.debug from remote target...

Program received signal SIGILL, Illegal instruction.
0xb690aee8 in _armv7_tick () from target:/usr/lib/libcrypto.so.1.0.0
Loaded 'target:/lib/libpthread.so.0'. Symbols loaded.
Loaded 'target:/usr/lib/libcurl.so.4'. Symbols loaded.
Loaded 'target:/usr/lib/libcommondbg.so'. Symbols loaded.
Loaded 'target:/usr/lib/libIpc.so'. Symbols loaded.
Loaded 'target:/usr/lib/libutils.so'. Symbols loaded.
Loaded 'target:/usr/lib/libEvent.so'. Symbols loaded.
Loaded 'target:/usr/lib/librpcinternal.so'. Symbols loaded.
Loaded 'target:/usr/lib/libtoi.so'. Symbols loaded.
Loaded 'target:/usr/lib/libstdc++.so.6'. Symbols loaded.
Loaded 'target:/usr/lib/libgcc_s.so.1'. Symbols loaded.
Loaded 'target:/lib/libc.so.6'. Symbols loaded.
Loaded 'target:/usr/lib/libssl.so.1.0.0'. Symbols loaded.
Loaded 'target:/usr/lib/libcrypto.so.1.0.0'. Symbols loaded.
Loaded 'target:/usr/lib/libz.so.1'. Symbols loaded.
Loaded 'target:/usr/lib/libksocket.so'. Symbols loaded.
Loaded 'target:/lib/libm.so.6'. Symbols loaded.
Loaded 'target:/lib/librt.so.1'. Symbols loaded.
Loaded 'target:/lib/libdl.so.2'. Symbols loaded.
Execute debugger commands using "-exec <command>", for example "-exec info registers" will list registers in use (when GDB is the debugger) 

Breakpoint 1, main () at main.cpp:43
43    {

Program received signal SIGABRT, Aborted.
0xb6ad9548 in ?? () from target:/lib/libc.so.6
-exec info  sharedlibrary
From        To          Syms Read   Shared Object Library
0xb6fcf740  0xb6fea634  Yes         target:/lib/ld-linux-armhf.so.3
0xb6faa100  0xb6fba1f8  Yes         target:/lib/libpthread.so.0
0xb6f4c7a0  0xb6f8df10  Yes         target:/usr/lib/libcurl.so.4
0xb6f2e994  0xb6f34614  Yes         target:/usr/lib/libcommondbg.so
0xb6f10608  0xb6f1751c  Yes         target:/usr/lib/libIpc.so
0xb6ed9588  0xb6ef2328  Yes         target:/usr/lib/libutils.so
0xb6eac370  0xb6eb29f0  Yes         target:/usr/lib/libEvent.so
0xb6e3bbf0  0xb6e7db70  Yes         target:/usr/lib/librpcinternal.so
0xb6d2e8e8  0xb6dbc8bc  Yes         target:/usr/lib/libtoi.so
0xb6c57730  0xb6c9f890  Yes         target:/usr/lib/libstdc++.so.6
0xb6bf0118  0xb6bfe9b8  Yes         target:/usr/lib/libgcc_s.so.1
0xb6ac4180  0xb6bb2710  Yes         target:/lib/libc.so.6
0xb6a5bd88  0xb6a9384c  Yes         target:/usr/lib/libssl.so.1.0.0
0xb6906d40  0xb69ff988  Yes         target:/usr/lib/libcrypto.so.1.0.0
0xb68aa710  0xb68b5878  Yes         target:/usr/lib/libz.so.1
0xb6894318  0xb6897208  Yes         target:/usr/lib/libksocket.so
0xb68145c0  0xb684a768  Yes         target:/lib/libm.so.6
0xb67fa730  0xb67fdf08  Yes         target:/lib/librt.so.1
0xb67e6998  0xb67e7710  Yes         target:/lib/libdl.so.2