.gdbinit: no such file or directory

If you have a simple question and just want an answer.
Post Reply
tomb123
New User
Posts: 2
Joined: Tue Mar 15, 2016 6:08 pm

.gdbinit: no such file or directory

Post by tomb123 »

Hi,

I'm using xTIMEcomposer 14.1.2 on windows 8.1, I'm trying to debug following the example “Getting Started with Debugging in xTIMEcomposer Studio”, but every time I hit debug from the debug configuration window, I get the following message in the console:

.gdbinit: No such file or directory.

connect --adapter-id tqAupZjK
0xfff004c8 in ?? ()
load
Loading section .text, size 0x144 lma 0x40000
Loading section .cp.rodata, size 0x18 lma 0x40144
Loading section .dp.data, size 0x10 lma 0x4015c
Start address 0x40000, load size 364
Transfer rate: 2912 bits in <1 sec, 121 bytes/write.
Loading section .text, size 0x40 lma 0x40000
Loading section .cp.rodata, size 0x18 lma 0x40040
Start address 0x40000, load size 88
Transfer rate: 5 KB/sec, 44 bytes/write.
Loading section .text, size 0x4b0 lma 0x40000
Loading section .init, size 0x1c lma 0x404b0
Loading section .fini, size 0x30 lma 0x404cc
Loading section .eh_frame, size 0x24 lma 0x404fc
Loading section .cp.rodata, size 0x8 lma 0x40520
Loading section .cp.rodata.4, size 0x4 lma 0x40528
Loading section .cp.const4, size 0x24 lma 0x4052c
Loading section .cp.rodata.string, size 0x11 lma 0x40550
Loading section .dp.data, size 0x20 lma 0x40568
Loading section .dp.data.4, size 0x10 lma 0x40588
Start address 0x40000, load size 1425
Transfer rate: 92 KB/sec, 142 bytes/write.
Loading section .text, size 0xc lma 0x40000
Start address 0x40000, load size 12
Transfer rate: 96 bits in <1 sec, 12 bytes/write.
info program
Program stopped at 0xfff004c8.
It stopped with signal SIGTRAP, Trace/breakpoint trap.
Type "info stack" or "info registers" for more information.


Please could you advise on how to resolve this? I cant find any documentation on this other than the missing file is a java file. My version of java is Java SE dev kit 8 update 73


Choughtosh
Member++
Posts: 22
Joined: Thu Apr 10, 2014 9:39 am

Post by Choughtosh »

Hi,

I think there is a missing -g from the XCC_FLAGS in the make file.

Try adding this, rebuilding and re-running.

Rob
cjf1699
Active Member
Posts: 48
Joined: Fri Mar 16, 2018 2:30 pm

Post by cjf1699 »

Choughtosh wrote:Hi,

I think there is a missing -g from the XCC_FLAGS in the make file.

Try adding this, rebuilding and re-running.

Rob
Hi,I encountered the same problem and there is already "-g" in my XCC_FLAGS. Could you please tell me what to do?
Post Reply