[TOC]

概述

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
(base) ntoaarch64-gdb Icp Icp.1.core 
GNU gdb (GDB) 8.2.1 [qnx710 r1522] (STABLE)
Copyright (C) 2018 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-pc-linux-gnu --target=aarch64-unknown-nto-qnx7.1.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.qnx.com/support/bugreports>.
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"...
Reading symbols from Icp...done.
[New pid 1654153332 tid 1]
// ......
[New pid 1654153332 tid 55]

warning: Host file libvision_service.so does not match target file /var/data/libvision_service.so

warning: Host file libvision.so does not match target file /var/data/libvision.so

warning: Host file /home/frewen/tools/qnx710/target/qnx7/aarch64le/usr/lib/libCL.so.1 does not match target file /ifs/lib64/libOpenCL.so

warning: Could not load shared library symbols for 47 libraries, e.g. /var/data/libvision_service.so.
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?
Program terminated with signal SIGBUS, Bus error.
#0 0x0000001e46cf62d8 in ?? ()
[Current thread is 17 (pid 1654153332 tid 17)]
warning: File "/home/frewen/tools/qnx710/target/qnx7/aarch64le/lib/libstdc++.so.6.0.25-gdb.py" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
To enable execution of this file add
add-auto-load-safe-path /home/frewen/tools/qnx710/target/qnx7/aarch64le/lib/libstdc++.so.6.0.25-gdb.py
line to your configuration file "/home/frewen/.gdbinit".
To completely disable this security protection add
set auto-load safe-path /
line to your configuration file "/home/frewen/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual. E.g., run from the shell:
info "(gdb)Auto-loading safe path"
(gdb) bt
#0 0x0000001e46cf62d8 in ?? ()
#1 0x0000004bdec65494 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)