Author Topic: GDB error: not in executable format: file format nat recognized  (Read 6812 times)

kandysurya

  • New Community Member
  • Posts: 1
  • Hero Points: 0
Hi,

I am using SE2007 to debug HelloWorld C++ program, under SuSe 10 ES, 64bit version.
I built the program using Makefile.

When I started the SlickEdit debugger, following error message pops up
"Error Starting Debugger: GDB returned an error opening the executable
 "/home/xxx/yyy/zzz/Debug/HelloWorld" not in executable format: File format not recognized."

When I ran the same application in Eclipse CDT, it worked fine.  I believe the error is arising because of 64bit version libraries. 

How do I fix it?  I am evaluating SlickEdit just to use the C/C++ debugger.

thanks in advance.

Sloth

  • Community Member
  • Posts: 26
  • Hero Points: 1
Re: GDB error: not in executable format: file format nat recognized
« Reply #1 on: April 02, 2007, 07:52:31 pm »
Slickedit ships with their own, 32-bit, version of gdb.  You need to move that away and change it to a link to the 64-bit gdb and you should be good to go.

jmoliere

  • Community Member
  • Posts: 9
  • Hero Points: 0
Re: GDB error: not in executable format: file format nat recognized
« Reply #2 on: April 03, 2007, 05:08:00 pm »
Are there any plans to fix this?  GDB doesn't seem to stop at the breakpoints I select in the IDE.