Jump to content

Recommended Posts

Any one can tell me how to use gdb because i have error when i use it.

 

That is how i make gdb: IMAGES

first;  i put game.core file in ther folder where i have game file in source

second;  I use command "file game" and he send me a Dwarf error wrong version

third; I use command "core game.core" and he send me things i dont understand, any one can help me. 

 

SORRY FOR BAD ENGLISH!

1-1.PNG

1-2.PNG

1-3.png

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

3 minutes ago, arves100 said:

Ok this problem is simple.

 

Your GDB is outdated. Compiling with Gcc5 broke Gdb6. If you are using a 64-bit environment you can switch to gdb7 typing this commands:

  Hide contents

mv /usr/bin/gdb /usr/bin/gdb6

pkg install gdb

Else you can compile with Gcc 4.8

clang better .

Link to comment
Share on other sites

4 hours ago, arves100 said:

Ok this problem is simple.

 

Your GDB is outdated. Compiling with Gcc5 broke Gdb6. If you are using a 64-bit environment you can switch to gdb7 typing this commands:

  Hide contents

mv /usr/bin/gdb /usr/bin/gdb6

pkg install gdb

Else you can compile with Gcc 4.8

I put "mv /usr/bin/gdb /usr/bin/gdb6" all correct

but when i put "pkg install gdb" say; No active remote repositories configured.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.