No symbol table is loaded. Only assembly is displayed.

Sysprogs forums Forums VisualGDB No symbol table is loaded. Only assembly is displayed.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #9970
    picante
    Participant

    Hi,

    Excuse again if my questions if these are obvious. I’m evaluating the product and there is a very steep learning curve for me, I have managed to resolve a number of issues but I have been really stuck for a few days with this one issue and the Eval license will finish in about a week.

    End goal:

    I’m hoping that I can learn about technology from an existing open source project, with the goal of debugging this code remotely, understand how it works and potentially improving it. This code has been designed to run on Raspberry Pi and it uses other hardware like the Pi’s camera.

     

    Problem:
    I have setup a Linux project by using the import wizard, I have eventually managed to solve some issues by adding folders into the Intellisense directories, the debugger is now running as root with sudo, and the exception handling has been modified to ignore SIGILL for visual studio and for VisualDGB.

    The current issue I have is that the when I debug the code, I can only step through assembly, I’m hoping that I can step through the code.

    In the GDB session window, I see the following message “No symbol table is loaded.  Use the “file” command.”

    Any suggestions would be greatly appreciated.

    #9971
    picante
    Participant

    The following is the output of the log file, it might help.

     

     

    Your VisualGDB trial expires in 10 days!
    gdb –interpreter mi –args “/var/tmp/VisualGDB/P1/src/freelss”
    =thread-group-added,id=”i1″
    GNU gdb (Raspbian 7.7.1+dfsg-5+rpi1) 7.7.1
    Copyright (C) 2014 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html&gt;
    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 “arm-linux-gnueabihf”.
    Type “show configuration” for configuration details.
    -gdb-version
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/&gt;.
    Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/&gt;.
    For help, type “help”.
    Type “apropos word” to search for commands related to “word”…
    Reading symbols from /var/tmp/VisualGDB/P1/src/freelss…
    (no debugging symbols found)…done.
    GNU gdb (Raspbian 7.7.1+dfsg-5+rpi1) 7.7.1
    Copyright (C) 2014 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html&gt;
    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 “arm-linux-gnueabihf”.
    Type “show configuration” for configuration details.
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/&gt;.
    Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/&gt;.
    For help, type “help”.
    Type “apropos word” to search for commands related to “word”.
    OK
    -list-features
    ^done,features=[“frozen-varobjs”,”pending-breakpoints”,”thread-info”,”data-read-memory-bytes”,”breakpoint-notifications”,”ada-task-info”,”language-option”,”info-gdb-mi-command”,”undefined-command-error-code”,”exec-run-start-option”,”python”]
    -gdb-set disassembly-flavor intel
    No symbol table is loaded. Use the “file” command.
    -gdb-set print demangle off
    OK
    -break-insert -f main
    ^done,bkpt={number=”1″,type=”breakpoint”,disp=”keep”,enabled=”y”,addr=”0x00015910″,at=”<main>”,thread-groups=[“i1″],times=”0″,original-location=”main”}
    -inferior-tty-set /dev/pts/2
    OK
    info target
    &”info target\n”
    Symbols from “/var/tmp/VisualGDB/P1/src/freelss”.
    Local exec file:
    `/var/tmp/VisualGDB/P1/src/freelss’, file type elf32-littlearm.
    Entry point: 0x162bc
    0x00010134 – 0x0001014d is .interp
    0x00010150 – 0x00010170 is .note.ABI-tag
    0x00010170 – 0x00010194 is .note.gnu.build-id
    0x00010194 – 0x00010994 is .gnu.hash
    0x00010994 – 0x00011974 is .dynsym
    0x00011974 – 0x000130b8 is .dynstr
    0x000130b8 – 0x000132b4 is .gnu.version
    0x000132b4 – 0x00013424 is .gnu.version_r
    0x00013424 – 0x000134c4 is .rel.dyn
    0x000134c4 – 0x00013b7c is .rel.plt
    0x00013b7c – 0x00013b88 is .init
    0x00013b88 – 0x000145b0 is .plt
    0x000145b0 – 0x0006b810 is .text
    0x0006b810 – 0x0006b818 is .fini
    0x0006b818 – 0x00073ff4 is .rodata
    0x00073ff4 – 0x0007919c is .ARM.extab
    0x0007919c – 0x00079c6c is .ARM.exidx
    0x00079c6c – 0x00079c70 is .eh_frame
    0x0008a000 – 0x0008a094 is .init_array
    0x0008a094 – 0x0008a098 is .fini_array
    0x0008a098 – 0x0008a09c is .jcr
    0x0008a09c – 0x0008a214 is .dynamic
    0x0008a214 – 0x0008a588 is .got
    0x0008a588 – 0x001013fc is .data
    0x00101400 – 0x00101a18 is .bss
    OK
    -break-insert -f /var/tmp/VisualGDB/P1/src/Main.cpp:21
    &”No symbol table is loaded. Use the \”file\” command.\n”
    ^done,bkpt={number=”2″,type=”breakpoint”,disp=”keep”,enabled=”y”,addr=”<PENDING>”,pending=”/var/tmp/VisualGDB/P1/src/Main.cpp:21″,times=”0″,original-location=”/var/tmp/VisualGDB/P1/src/Main.cpp:21″}
    -file-list-exec-source-files
    ^done,files=[]
    -break-after 2 0
    OK
    -break-insert -f /var/tmp/VisualGDB/P1/src/Main.cpp:45
    &”No symbol table is loaded. Use the \”file\” command.\n”
    ^done,bkpt={number=”3″,type=”breakpoint”,disp=”keep”,enabled=”y”,addr=”<PENDING>”,pending=”/var/tmp/VisualGDB/P1/src/Main.cpp:45″,times=”0″,original-location=”/var/tmp/VisualGDB/P1/src/Main.cpp:45″}
    -break-after 3 0
    OK
    -break-insert -f /var/tmp/VisualGDB/P1/src/Main.cpp:112
    &”No symbol table is loaded. Use the \”file\” command.\n”
    ^done,bkpt={number=”4″,type=”breakpoint”,disp=”keep”,enabled=”y”,addr=”<PENDING>”,pending=”/var/tmp/VisualGDB/P1/src/Main.cpp:112″,times=”0″,original-location=”/var/tmp/VisualGDB/P1/src/Main.cpp:112″}
    -break-after 4 0
    OK
    -break-insert -f /var/tmp/VisualGDB/P1/src/Main.cpp:42
    &”No symbol table is loaded. Use the \”file\” command.\n”
    ^done,bkpt={number=”5″,type=”breakpoint”,disp=”keep”,enabled=”y”,addr=”<PENDING>”,pending=”/var/tmp/VisualGDB/P1/src/Main.cpp:42″,times=”0″,original-location=”/var/tmp/VisualGDB/P1/src/Main.cpp:42″}
    -break-after 5 0
    OK
    -break-insert -f /var/tmp/VisualGDB/P1/src/Main.cpp:329
    &”No symbol table is loaded. Use the \”file\” command.\n”
    ^done,bkpt={number=”6″,type=”breakpoint”,disp=”keep”,enabled=”y”,addr=”<PENDING>”,pending=”/var/tmp/VisualGDB/P1/src/Main.cpp:329″,times=”0″,original-location=”/var/tmp/VisualGDB/P1/src/Main.cpp:329″}
    -break-after 6 0
    OK
    -break-insert -f /var/tmp/VisualGDB/P1/src/Camera.cpp:32
    &”No symbol table is loaded. Use the \”file\” command.\n”
    ^done,bkpt={number=”7″,type=”breakpoint”,disp=”keep”,enabled=”y”,addr=”<PENDING>”,pending=”/var/tmp/VisualGDB/P1/src/Camera.cpp:32″,times=”0″,original-location=”/var/tmp/VisualGDB/P1/src/Camera.cpp:32″}
    -break-after 7 0
    OK
    -break-insert -f *main
    ^done,bkpt={number=”8″,type=”breakpoint”,disp=”keep”,enabled=”y”,addr=”0x00015910″,at=”<main>”,thread-groups=[“i1″],times=”0″,original-location=”*main”}
    -break-after 8 0
    OK
    -break-disable 8
    OK
    info symbol 0x15910
    &”info symbol 0x15910\n”
    main in section .text
    OK
    info line *0x15910
    &”info line *0x15910\n”
    No line number information available for address 0x15910 <main>
    OK
    -break-insert -f /var/tmp/VisualGDB/P1/src/Main.cpp:114
    &”No symbol table is loaded. Use the \”file\” command.\n”
    ^done,bkpt={number=”9″,type=”breakpoint”,disp=”keep”,enabled=”y”,addr=”<PENDING>”,pending=”/var/tmp/VisualGDB/P1/src/Main.cpp:114″,times=”0″,original-location=”/var/tmp/VisualGDB/P1/src/Main.cpp:114″}
    -break-after 9 0
    OK
    -break-insert -f *fork
    No symbol table is loaded. Use the “file” command.
    -break-insert -f /var/tmp/VisualGDB/P1/src/Main.cpp:116
    &”No symbol table is loaded. Use the \”file\” command.\n”
    ^done,bkpt={number=”10″,type=”breakpoint”,disp=”keep”,enabled=”y”,addr=”<PENDING>”,pending=”/var/tmp/VisualGDB/P1/src/Main.cpp:116″,times=”0″,original-location=”/var/tmp/VisualGDB/P1/src/Main.cpp:116″}
    -break-after 10 0
    OK
    info signals
    &”info signals\n”
    Signal Stop Print Pass to program Description

    SIGHUP Yes Yes Yes Hangup
    SIGINT Yes Yes No Interrupt
    SIGQUIT Yes Yes Yes Quit
    SIGILL Yes Yes Yes Illegal instruction
    SIGTRAP Yes Yes No Trace/breakpoint trap
    SIGABRT Yes Yes Yes Aborted
    SIGEMT Yes Yes Yes Emulation trap
    SIGFPE Yes Yes Yes Arithmetic exception
    SIGKILL Yes Yes Yes Killed
    SIGBUS Yes Yes Yes Bus error
    SIGSEGV Yes Yes Yes Segmentation fault
    SIGSYS Yes Yes Yes Bad system call
    SIGPIPE Yes Yes Yes Broken pipe
    SIGALRM No No Yes Alarm clock
    SIGTERM Yes Yes Yes Terminated
    SIGURG No No Yes Urgent I/O condition
    SIGSTOP Yes Yes Yes Stopped (signal)
    SIGTSTP Yes Yes Yes Stopped (user)
    SIGCONT Yes Yes Yes Continued
    SIGCHLD No No Yes Child status changed
    SIGTTIN Yes Yes Yes Stopped (tty input)
    SIGTTOU Yes Yes Yes Stopped (tty output)
    SIGIO No No Yes I/O possible
    SIGXCPU Yes Yes Yes CPU time limit exceeded
    SIGXFSZ Yes Yes Yes File size limit exceeded
    SIGVTALRM No No Yes Virtual timer expired
    SIGPROF No No Yes Profiling timer expired
    SIGWINCH No No Yes Window size changed
    SIGLOST Yes Yes Yes Resource lost
    SIGUSR1 Yes Yes Yes User defined signal 1
    SIGUSR2 Yes Yes Yes User defined signal 2
    SIGPWR Yes Yes Yes Power fail/restart
    SIGPOLL No No Yes Pollable event occurred
    SIGWIND Yes Yes Yes SIGWIND
    SIGPHONE Yes Yes Yes SIGPHONE
    SIGWAITING No No Yes Process’s LWPs are blocked
    SIGLWP No No Yes Signal LWP
    SIGDANGER Yes Yes Yes Swap space dangerously low
    SIGGRANT Yes Yes Yes Monitor mode granted
    SIGRETRACT Yes Yes Yes Need to relinquish monitor mode
    SIGMSG Yes Yes Yes Monitor mode data available
    SIGSOUND Yes Yes Yes Sound completed
    SIGSAK Yes Yes Yes Secure attention
    SIGPRIO No No Yes SIGPRIO
    SIG33 Yes Yes Yes Real-time event 33
    SIG34 Yes Yes Yes Real-time event 34
    SIG35 Yes Yes Yes Real-time event 35
    SIG36 Yes Yes Yes Real-time event 36
    SIG37 Yes Yes Yes Real-time event 37
    SIG38 Yes Yes Yes Real-time event 38
    SIG39 Yes Yes Yes Real-time event 39
    SIG40 Yes Yes Yes Real-time event 40
    SIG41 Yes Yes Yes Real-time event 41
    SIG42 Yes Yes Yes Real-time event 42
    SIG43 Yes Yes Yes Real-time event 43
    SIG44 Yes Yes Yes Real-time event 44
    SIG45 Yes Yes Yes Real-time event 45
    SIG46 Yes Yes Yes Real-time event 46
    SIG47 Yes Yes Yes Real-time event 47
    SIG48 Yes Yes Yes Real-time event 48
    SIG49 Yes Yes Yes Real-time event 49
    SIG50 Yes Yes Yes Real-time event 50
    SIG51 Yes Yes Yes Real-time event 51
    SIG52 Yes Yes Yes Real-time event 52
    SIG53 Yes Yes Yes Real-time event 53
    SIG54 Yes Yes Yes Real-time event 54
    SIG55 Yes Yes Yes Real-time event 55
    SIG56 Yes Yes Yes Real-time event 56
    SIG57 Yes Yes Yes Real-time event 57
    SIG58 Yes Yes Yes Real-time event 58
    SIG59 Yes Yes Yes Real-time event 59
    SIG60 Yes Yes Yes Real-time event 60
    SIG61 Yes Yes Yes Real-time event 61
    SIG62 Yes Yes Yes Real-time event 62
    SIG63 Yes Yes Yes Real-time event 63
    SIGCANCEL No No Yes LWP internal signal
    SIG32 Yes Yes Yes Real-time event 32
    SIG64 Yes Yes Yes Real-time event 64
    SIG65 Yes Yes Yes Real-time event 65
    SIG66 Yes Yes Yes Real-time event 66
    SIG67 Yes Yes Yes Real-time event 67
    SIG68 Yes Yes Yes Real-time event 68
    SIG69 Yes Yes Yes Real-time event 69
    SIG70 Yes Yes Yes Real-time event 70
    SIG71 Yes Yes Yes Real-time event 71
    SIG72 Yes Yes Yes Real-time event 72
    SIG73 Yes Yes Yes Real-time event 73
    SIG74 Yes Yes Yes Real-time event 74
    SIG75 Yes Yes Yes Real-time event 75
    SIG76 Yes Yes Yes Real-time event 76
    SIG77 Yes Yes Yes Real-time event 77
    SIG78 Yes Yes Yes Real-time event 78
    SIG79 Yes Yes Yes Real-time event 79
    SIG80 Yes Yes Yes Real-time event 80
    SIG81 Yes Yes Yes Real-time event 81
    SIG82 Yes Yes Yes Real-time event 82
    SIG83 Yes Yes Yes Real-time event 83
    SIG84 Yes Yes Yes Real-time event 84
    SIG85 Yes Yes Yes Real-time event 85
    SIG86 Yes Yes Yes Real-time event 86
    SIG87 Yes Yes Yes Real-time event 87
    SIG88 Yes Yes Yes Real-time event 88
    SIG89 Yes Yes Yes Real-time event 89
    SIG90 Yes Yes Yes Real-time event 90
    SIG91 Yes Yes Yes Real-time event 91
    SIG92 Yes Yes Yes Real-time event 92
    SIG93 Yes Yes Yes Real-time event 93
    SIG94 Yes Yes Yes Real-time event 94
    SIG95 Yes Yes Yes Real-time event 95
    SIG96 Yes Yes Yes Real-time event 96
    SIG97 Yes Yes Yes Real-time event 97
    SIG98 Yes Yes Yes Real-time event 98
    SIG99 Yes Yes Yes Real-time event 99
    SIG100 Yes Yes Yes Real-time event 100
    SIG101 Yes Yes Yes Real-time event 101
    SIG102 Yes Yes Yes Real-time event 102
    SIG103 Yes Yes Yes Real-time event 103
    SIG104 Yes Yes Yes Real-time event 104
    SIG105 Yes Yes Yes Real-time event 105
    SIG106 Yes Yes Yes Real-time event 106
    SIG107 Yes Yes Yes Real-time event 107
    SIG108 Yes Yes Yes Real-time event 108
    SIG109 Yes Yes Yes Real-time event 109
    SIG110 Yes Yes Yes Real-time event 110
    SIG111 Yes Yes Yes Real-time event 111
    SIG112 Yes Yes Yes Real-time event 112
    SIG113 Yes Yes Yes Real-time event 113
    SIG114 Yes Yes Yes Real-time event 114
    SIG115 Yes Yes Yes Real-time event 115
    SIG116 Yes Yes Yes Real-time event 116
    SIG117 Yes Yes Yes Real-time event 117
    SIG118 Yes Yes Yes Real-time event 118
    SIG119 Yes Yes Yes Real-time event 119
    SIG120 Yes Yes Yes Real-time event 120
    SIG121 Yes Yes Yes Real-time event 121
    SIG122 Yes Yes Yes Real-time event 122
    SIG123 Yes Yes Yes Real-time event 123
    SIG124 Yes Yes Yes Real-time event 124
    SIG125 Yes Yes Yes Real-time event 125
    SIG126 Yes Yes Yes Real-time event 126
    SIG127 Yes Yes Yes Real-time event 127
    SIGINFO Yes Yes Yes Information request
    EXC_BAD_ACCESS Yes Yes Yes Could not access memory
    EXC_BAD_INSTRUCTION Yes Yes Yes Illegal instruction/operand
    EXC_ARITHMETIC Yes Yes Yes Arithmetic exception
    EXC_EMULATION Yes Yes Yes Emulation instruction
    EXC_SOFTWARE Yes Yes Yes Software generated exception
    EXC_BREAKPOINT Yes Yes Yes Breakpoint
    32 Yes Yes Yes LinuxThreads restart signal
    33 Yes Yes Yes LinuxThreads cancel signal
    34 Yes Yes Yes LinuxThreads debug signal
    Use the “handle” command to change these tables.
    OK
    -data-evaluate-expression “sizeof(void *)”
    ^done,value=”4″
    handle SIGILL nostop
    &”handle SIGILL nostop\n”
    Signal Stop Print Pass to program Description
    SIGILL No Yes Yes Illegal instruction
    OK
    -data-evaluate-expression “sizeof(int)”
    ^done,value=”4″
    handle SIG33 nostop noprint
    &”handle SIG33 nostop noprint\n”
    Signal Stop Print Pass to program Description
    SIG33 No No Yes Real-time event 33
    OK
    -data-evaluate-expression “sizeof(short)”
    ^done,value=”2″
    handle SIG32 nostop noprint
    &”handle SIG32 nostop noprint\n”
    Signal Stop Print Pass to program Description
    SIG32 No No Yes Real-time event 32
    OK
    -data-evaluate-expression “sizeof(long)”
    ^done,value=”4″
    -exec-run
    =thread-group-started,id=”i1″,pid=”23758″
    =thread-created,id=”1″,group-id=”i1″
    ^running
    *running,thread-id=”all”
    =library-loaded,id=”/lib/ld-linux-armhf.so.3″,target-name=”/lib/ld-linux-armhf.so.3″,host-name=”/lib/ld-linux-armhf.so.3″,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”linux-vdso.so.1″,target-name=”linux-vdso.so.1″,host-name=”linux-vdso.so.1″,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/usr/lib/arm-linux-gnueabihf/libarmmem.so”,target-name=”/usr/lib/arm-linux-gnueabihf/libarmmem.so”,host-name=”/usr/lib/arm-linux-gnueabihf/libarmmem.so”,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/lib/arm-linux-gnueabihf/libiw.so.30″,target-name=”/lib/arm-linux-gnueabihf/libiw.so.30″,host-name=”/lib/arm-linux-gnueabihf/libiw.so.30″,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/usr/lib/arm-linux-gnueabihf/libcurl.so.4″,target-name=”/usr/lib/arm-linux-gnueabihf/libcurl.so.4″,host-name=”/usr/lib/arm-linux-gnueabihf/libcurl.so.4″,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/opt/vc/lib/libmmal.so”,target-name=”/opt/vc/lib/libmmal.so”,host-name=”/opt/vc/lib/libmmal.so”,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/opt/vc/lib/libmmal_core.so”,target-name=”/opt/vc/lib/libmmal_core.so”,host-name=”/opt/vc/lib/libmmal_core.so”,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/opt/vc/lib/libmmal_util.so”,target-name=”/opt/vc/lib/libmmal_util.so”,host-name=”/opt/vc/lib/libmmal_util.so”,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/opt/vc/lib/libvcos.so”,target-name=”/opt/vc/lib/libvcos.so”,host-name=”/opt/vc/lib/libvcos.so”,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/lib/arm-linux-gnueabihf/libpthread.so.0″,target-name=”/lib/arm-linux-gnueabihf/libpthread.so.0″,host-name=”/lib/arm-linux-gnueabihf/libpthread.so.0″,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/lib/arm-linux-gnueabihf/libpng12.so.0″,target-name=”/lib/arm-linux-gnueabihf/libpng12.so.0″,host-name=”/lib/arm-linux-gnueabihf/libpng12.so.0″,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/usr/lib/arm-linux-gnueabihf/libjpeg.so.62″,target-name=”/usr/lib/arm-linux-gnueabihf/libjpeg.so.62″,host-name=”/usr/lib/arm-linux-gnueabihf/libjpeg.so.62″,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/usr/lib/arm-linux-gnueabihf/libsqlite3.so.0″,target-name=”/usr/lib/arm-linux-gnueabihf/libsqlite3.so.0″,host-name=”/usr/lib/arm-linux-gnueabihf/libsqlite3.so.0″,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/usr/local/lib/libwiringPi.so”,target-name=”/usr/local/lib/libwiringPi.so”,host-name=”/usr/local/lib/libwiringPi.so”,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/usr/lib/arm-linux-gnueabihf/libmicrohttpd.so.10″,target-name=”/usr/lib/arm-linux-gnueabihf/libmicrohttpd.so.10″,host-name=”/usr/lib/arm-linux-gnueabihf/libmicrohttpd.so.10″,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/usr/lib/arm-linux-gnueabihf/libssl.so.1.0.0″,target-name=”/usr/lib/arm-linux-gnueabihf/libssl.so.1.0.0″,host-name=”/usr/lib/arm-linux-gnueabihf/libssl.so.1.0.0″,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0″,target-name=”/usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0″,host-name=”/usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0″,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/opt/vc/lib/libbcm_host.so”,target-name=”/opt/vc/lib/libbcm_host.so”,host-name=”/opt/vc/lib/libbcm_host.so”,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/usr/lib/arm-linux-gnueabihf/libstdc++.so.6″,target-name=”/usr/lib/arm-linux-gnueabihf/libstdc++.so.6″,host-name=”/usr/lib/arm-linux-gnueabihf/libstdc++.so.6″,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/lib/arm-linux-gnueabihf/libm.so.6″,target-name=”/lib/arm-linux-gnueabihf/libm.so.6″,host-name=”/lib/arm-linux-gnueabihf/libm.so.6″,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/lib/arm-linux-gnueabihf/libgcc_s.so.1″,target-name=”/lib/arm-linux-gnueabihf/libgcc_s.so.1″,host-name=”/lib/arm-linux-gnueabihf/libgcc_s.so.1″,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/lib/arm-linux-gnueabihf/libc.so.6″,target-name=”/lib/arm-linux-gnueabihf/libc.so.6″,host-name=”/lib/arm-linux-gnueabihf/libc.so.6″,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/usr/lib/arm-linux-gnueabihf/libidn.so.11″,target-name=”/usr/lib/arm-linux-gnueabihf/libidn.so.11″,host-name=”/usr/lib/arm-linux-gnueabihf/libidn.so.11″,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/usr/lib/arm-linux-gnueabihf/librtmp.so.1″,target-name=”/usr/lib/arm-linux-gnueabihf/librtmp.so.1″,host-name=”/usr/lib/arm-linux-gnueabihf/librtmp.so.1″,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/usr/lib/arm-linux-gnueabihf/libssh2.so.1″,target-name=”/usr/lib/arm-linux-gnueabihf/libssh2.so.1″,host-name=”/usr/lib/arm-linux-gnueabihf/libssh2.so.1″,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/usr/lib/arm-linux-gnueabihf/libgssapi_krb5.so.2″,target-name=”/usr/lib/arm-linux-gnueabihf/libgssapi_krb5.so.2″,host-name=”/usr/lib/arm-linux-gnueabihf/libgssapi_krb5.so.2″,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/usr/lib/arm-linux-gnueabihf/libkrb5.so.3″,target-name=”/usr/lib/arm-linux-gnueabihf/libkrb5.so.3″,host-name=”/usr/lib/arm-linux-gnueabihf/libkrb5.so.3″,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/usr/lib/arm-linux-gnueabihf/libk5crypto.so.3″,target-name=”/usr/lib/arm-linux-gnueabihf/libk5crypto.so.3″,host-name=”/usr/lib/arm-linux-gnueabihf/libk5crypto.so.3″,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/lib/arm-linux-gnueabihf/libcom_err.so.2″,target-name=”/lib/arm-linux-gnueabihf/libcom_err.so.2″,host-name=”/lib/arm-linux-gnueabihf/libcom_err.so.2″,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/usr/lib/arm-linux-gnueabihf/liblber-2.4.so.2″,target-name=”/usr/lib/arm-linux-gnueabihf/liblber-2.4.so.2″,host-name=”/usr/lib/arm-linux-gnueabihf/liblber-2.4.so.2″,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/usr/lib/arm-linux-gnueabihf/libldap_r-2.4.so.2″,target-name=”/usr/lib/arm-linux-gnueabihf/libldap_r-2.4.so.2″,host-name=”/usr/lib/arm-linux-gnueabihf/libldap_r-2.4.so.2″,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/lib/arm-linux-gnueabihf/libz.so.1″,target-name=”/lib/arm-linux-gnueabihf/libz.so.1″,host-name=”/lib/arm-linux-gnueabihf/libz.so.1″,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/opt/vc/lib/libmmal_vc_client.so”,target-name=”/opt/vc/lib/libmmal_vc_client.so”,host-name=”/opt/vc/lib/libmmal_vc_client.so”,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/opt/vc/lib/libmmal_components.so”,target-name=”/opt/vc/lib/libmmal_components.so”,host-name=”/opt/vc/lib/libmmal_components.so”,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/opt/vc/lib/libvchiq_arm.so”,target-name=”/opt/vc/lib/libvchiq_arm.so”,host-name=”/opt/vc/lib/libvchiq_arm.so”,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/opt/vc/lib/libvcsm.so”,target-name=”/opt/vc/lib/libvcsm.so”,host-name=”/opt/vc/lib/libvcsm.so”,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/opt/vc/lib/libcontainers.so”,target-name=”/opt/vc/lib/libcontainers.so”,host-name=”/opt/vc/lib/libcontainers.so”,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/lib/arm-linux-gnueabihf/libdl.so.2″,target-name=”/lib/arm-linux-gnueabihf/libdl.so.2″,host-name=”/lib/arm-linux-gnueabihf/libdl.so.2″,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/lib/arm-linux-gnueabihf/librt.so.1″,target-name=”/lib/arm-linux-gnueabihf/librt.so.1″,host-name=”/lib/arm-linux-gnueabihf/librt.so.1″,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/usr/lib/arm-linux-gnueabihf/libgnutls-deb0.so.28″,target-name=”/usr/lib/arm-linux-gnueabihf/libgnutls-deb0.so.28″,host-name=”/usr/lib/arm-linux-gnueabihf/libgnutls-deb0.so.28″,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/lib/arm-linux-gnueabihf/libgcrypt.so.20″,target-name=”/lib/arm-linux-gnueabihf/libgcrypt.so.20″,host-name=”/lib/arm-linux-gnueabihf/libgcrypt.so.20″,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/usr/lib/arm-linux-gnueabihf/libhogweed.so.2″,target-name=”/usr/lib/arm-linux-gnueabihf/libhogweed.so.2″,host-name=”/usr/lib/arm-linux-gnueabihf/libhogweed.so.2″,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/usr/lib/arm-linux-gnueabihf/libnettle.so.4″,target-name=”/usr/lib/arm-linux-gnueabihf/libnettle.so.4″,host-name=”/usr/lib/arm-linux-gnueabihf/libnettle.so.4″,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/usr/lib/arm-linux-gnueabihf/libgmp.so.10″,target-name=”/usr/lib/arm-linux-gnueabihf/libgmp.so.10″,host-name=”/usr/lib/arm-linux-gnueabihf/libgmp.so.10″,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/usr/lib/arm-linux-gnueabihf/libkrb5support.so.0″,target-name=”/usr/lib/arm-linux-gnueabihf/libkrb5support.so.0″,host-name=”/usr/lib/arm-linux-gnueabihf/libkrb5support.so.0″,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/lib/arm-linux-gnueabihf/libkeyutils.so.1″,target-name=”/lib/arm-linux-gnueabihf/libkeyutils.so.1″,host-name=”/lib/arm-linux-gnueabihf/libkeyutils.so.1″,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/lib/arm-linux-gnueabihf/libresolv.so.2″,target-name=”/lib/arm-linux-gnueabihf/libresolv.so.2″,host-name=”/lib/arm-linux-gnueabihf/libresolv.so.2″,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/usr/lib/arm-linux-gnueabihf/libsasl2.so.2″,target-name=”/usr/lib/arm-linux-gnueabihf/libsasl2.so.2″,host-name=”/usr/lib/arm-linux-gnueabihf/libsasl2.so.2″,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/usr/lib/arm-linux-gnueabihf/libp11-kit.so.0″,target-name=”/usr/lib/arm-linux-gnueabihf/libp11-kit.so.0″,host-name=”/usr/lib/arm-linux-gnueabihf/libp11-kit.so.0″,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/usr/lib/arm-linux-gnueabihf/libtasn1.so.6″,target-name=”/usr/lib/arm-linux-gnueabihf/libtasn1.so.6″,host-name=”/usr/lib/arm-linux-gnueabihf/libtasn1.so.6″,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/lib/arm-linux-gnueabihf/libgpg-error.so.0″,target-name=”/lib/arm-linux-gnueabihf/libgpg-error.so.0″,host-name=”/lib/arm-linux-gnueabihf/libgpg-error.so.0″,symbols-loaded=”0″,thread-group=”i1″
    =library-loaded,id=”/usr/lib/arm-linux-gnueabihf/libffi.so.6″,target-name=”/usr/lib/arm-linux-gnueabihf/libffi.so.6″,host-name=”/usr/lib/arm-linux-gnueabihf/libffi.so.6″,symbols-loaded=”0″,thread-group=”i1″
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library “/lib/arm-linux-gnueabihf/libthread_db.so.1″.
    =breakpoint-modified,bkpt={number=”1″,type=”breakpoint”,disp=”keep”,enabled=”y”,addr=”0x00015910″,at=”<main>”,thread-groups=[“i1″],times=”1″,original-location=”main”}
    *stopped,reason=”signal-received”,signal-name=”SIGILL”,signal-meaning=”Illegal instruction”,reason=”breakpoint-hit”,disp=”keep”,bkptno=”1″,frame={addr=”0x00015910″,func=”main”,args=[]},thread-id=”1″,stopped-threads=”all”,core=”1″
    info shared
    &”info shared\n”
    From To Syms Read Shared Object Library
    0x76fcf820 0x76fea4ec Yes /lib/ld-linux-armhf.so.3
    No linux-vdso.so.1
    0x76fba568 0x76fbe2c4 Yes /usr/lib/arm-linux-gnueabihf/libarmmem.so
    0x76f96910 0x76f9a40c Yes /lib/arm-linux-gnueabihf/libiw.so.30
    0x76f2ad68 0x76f7868c Yes /usr/lib/arm-linux-gnueabihf/libcurl.so.4
    0x76f11a78 0x76f12878 Yes /opt/vc/lib/libmmal.so
    0x76ef5c3c 0x76eff02c Yes /opt/vc/lib/libmmal_core.so
    0x76ed5d80 0x76ee01c0 Yes /opt/vc/lib/libmmal_util.so
    0x76ebba9c 0x76ec0878 Yes /opt/vc/lib/libvcos.so
    0x76e95070 0x76ea30bc Yes /lib/arm-linux-gnueabihf/libpthread.so.0
    0x76e64680 0x76e7c41c Yes /lib/arm-linux-gnueabihf/libpng12.so.0
    0x76e0e9b0 0x76e3d31c Yes /usr/lib/arm-linux-gnueabihf/libjpeg.so.62
    0x76d580b8 0x76def034 Yes /usr/lib/arm-linux-gnueabihf/libsqlite3.so.0
    0x76d35848 0x76d3c7ac Yes /usr/local/lib/libwiringPi.so
    0x76d11778 0x76d1f430 Yes /usr/lib/arm-linux-gnueabihf/libmicrohttpd.so.10
    0x76cc0440 0x76cf42c0 Yes /usr/lib/arm-linux-gnueabihf/libssl.so.1.0.0
    0x76b88340 0x76c61094 Yes /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
    0x76b24648 0x76b31b54 Yes /opt/vc/lib/libbcm_host.so
    0x76a8bb78 0x76af8a70 Yes /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
    0x769cdc70 0x769fe520 Yes /lib/arm-linux-gnueabihf/libm.so.6
    0x769aa160 0x769b901c Yes /lib/arm-linux-gnueabihf/libgcc_s.so.1
    0x76871c40 0x76966ad8 Yes /lib/arm-linux-gnueabihf/libc.so.6
    0x7681cce8 0x76821988 Yes /usr/lib/arm-linux-gnueabihf/libidn.so.11
    0x767f5798 0x76804c94 Yes /usr/lib/arm-linux-gnueabihf/librtmp.so.1
    0x767d31f8 0x767ec414 Yes /usr/lib/arm-linux-gnueabihf/libssh2.so.1
    0x7678d6c8 0x767b9d3c Yes /usr/lib/arm-linux-gnueabihf/libgssapi_krb5.so.2
    0x766e54bc 0x7673c148 Yes /usr/lib/arm-linux-gnueabihf/libkrb5.so.3
    0x76696b7c 0x766b5b00 Yes /usr/lib/arm-linux-gnueabihf/libk5crypto.so.3
    0x76681ea0 0x76682c00 Yes /lib/arm-linux-gnueabihf/libcom_err.so.2
    0x76667504 0x7666e41c Yes /usr/lib/arm-linux-gnueabihf/liblber-2.4.so.2
    0x7661b868 0x7664cec0 Yes /usr/lib/arm-linux-gnueabihf/libldap_r-2.4.so.2
    0x765eb86c 0x765fba54 Yes /lib/arm-linux-gnueabihf/libz.so.1
    0x765d0b50 0x765d59a8 Yes /opt/vc/lib/libmmal_vc_client.so
    0x765b5bc0 0x765bd998 Yes /opt/vc/lib/libmmal_components.so
    0x7659f628 0x765a2bf4 Yes /opt/vc/lib/libvchiq_arm.so
    0x7658aaa0 0x7658d024 Yes /opt/vc/lib/libvcsm.so
    0x7656c528 0x765783c8 Yes /opt/vc/lib/libcontainers.so
    0x76556990 0x7655776c Yes /lib/arm-linux-gnueabihf/libdl.so.2
    0x76540830 0x76544220 Yes /lib/arm-linux-gnueabihf/librt.so.1
    0x76449d1c 0x76517618 Yes /usr/lib/arm-linux-gnueabihf/libgnutls-deb0.so.28
    0x76393f00 0x763fe38c Yes /lib/arm-linux-gnueabihf/libgcrypt.so.20
    0x7635abfc 0x76365418 Yes /usr/lib/arm-linux-gnueabihf/libhogweed.so.2
    0x7631a504 0x7633aaa4 Yes /usr/lib/arm-linux-gnueabihf/libnettle.so.4
    0x762acb00 0x762fb634 Yes /usr/lib/arm-linux-gnueabihf/libgmp.so.10
    0x7628d080 0x762924d4 Yes /usr/lib/arm-linux-gnueabihf/libkrb5support.so.0
    0x7628101c 0x76281c20 Yes /lib/arm-linux-gnueabihf/libkeyutils.so.1
    0x7625d540 0x7626ab1c Yes /lib/arm-linux-gnueabihf/libresolv.so.2
    0x762361d8 0x76247d80 Yes /usr/lib/arm-linux-gnueabihf/libsasl2.so.2
    0x761f8bd4 0x76216464 Yes /usr/lib/arm-linux-gnueabihf/libp11-kit.so.0
    0x761d4818 0x761df778 Yes /usr/lib/arm-linux-gnueabihf/libtasn1.so.6
    0x761b6ce0 0x761bf724 Yes /lib/arm-linux-gnueabihf/libgpg-error.so.0
    0x761a5354 0x761a9c34 Yes /usr/lib/arm-linux-gnueabihf/libffi.so.6
    OK
    -break-delete 1
    OK
    -exec-continue
    ^running
    *running,thread-id=”all”
    =thread-exited,id=”1″,group-id=”i1″
    =thread-group-exited,id=”i1″,exit-code=”0″
    *stopped,reason=”exited-normally”

    #9981
    support
    Keymaster

    Hi,

    First of all, if your evaluation license runs out before you get things to work, please contact our sales and they will give you a trial extension.

    Regarding the “no symbol table” error, most likely your program was built without the “-ggdb” argument and hence does not contain information required to map the disassembly back to the source code. If you are using VisualGDB Project Wizard to generate a project, it should setup everything automatically, but if you are importing a 3rd-party project, you may need to adjust its build files.

    If the project is built with GNU Make, please search the Makefiles in different directories for lines defining CFLAGS (you can search for -O1, -O2 and -O3 options that define the optimization level). Once you locate them, please add -ggdb to the list of CFLAGS and rebuild the project. If this does not help, please enable verbose build logging and double-check that the -ggdb argument actually gets passed to gcc.

    If you are not sure, feel free to post further details here and we will point you to the right direction.

    #10032
    picante
    Participant

    Thank you, I managed to add that flag and the debugger progresses a bit further, but it goes into the assembly after a couple of lines again, this time the logs come up with the following message.

    No symbol \”disassembly\” in current context.”

    If you could point me to a direction on how to enable “verbose build logging” would also be appreciated.

    It might be important to mention that there are external components/header files like CURL, that are are refereed to by the project but are outside the project folder.

    Regards,

     

     

    #10034
    picante
    Participant

    The log file that it generated can be accessed here, thanks in advance again.

    https://drive.google.com/open?id=0B95FFrDYkZBjdHAxcW55SHhreFk

    #10051
    support
    Keymaster

    Hi,

    Thanks for the log file. It looks like after you run the ‘step over’ command, the main() function exits and the next stop is in the library code:

    [   41648 ms] -stack-list-frames --thread 1
    [   41653 ms] ^done,stack=[frame={level="0",addr="0x76874294",func="__libc_start_main",file="libc-start.c",fullname="/build/glibc-mqlSLF/glibc-2.19/csu/libc-start.c",line="321"},frame={level="1",addr="0x000162e8",func="_start"}]

    Please try disabling optimization for your project to make stepping more transparent. This can also be a gdb bug related to stepping. In that case setting breakpoints and pressing F5 instead of stepping over the lines may help.

    Regarding the verbose build logging, this depends on the internal structure of your project. Typically it is enabled by adding V=1, _V=1 or VERBOSE=1 to Make arguments, but it may be different in your case.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.