Menu

#2 OS X 10.9 Doesn't work with ebe

2.0
closed
nobody
None
2017-02-24
2014-08-07
Anonymous
No

I tried to install ebe but it just freezes no matter what.

I follow the instructions on your site http://www.rayseyfarth.com/ebe/ but I believe those to be Linux specific (or at least they don't work for 10.9)

After following those instructions I get a pop up that says

"Some tools used by ebe are missing:

critical: gdb
non-critical: astyle

Critical tools are needed by almost everyone.
Non-critical tools are not needed by everyone.

Click Ignore to ignore this test in the future.     
Click OK to run ebe and test again next time"

If I try to use gdb I get

-bash: gdb: command not found

However, if I try ggdb I get

GNU gdb (GDB) 7.7.1
Copyright (C) 2014 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 "x86_64-apple-darwin13.2.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
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".

I aliased gdb to ggdb to see if that would work and it did not.

Let me know what other info you need me to provide so we can fix this.

Discussion

  • Ray Seyfarth

    Ray Seyfarth - 2014-08-07

    The program is written expecting gdb to be named gdb. I tried to remove everything and start over to verify the OS X installation instructions. It seems that I must have made a link to ggdb a long time ago. Try this

    sudo ln -s $(which ggdb) /usr/bin/gdb

    This command inside &(...) will evaluate to the current location where ggdb is being found. The overall command will make a symbolic link so that any future ggdb will be used. (Leaving out the -s makes a hard link and a new ggdb would result in ggdb and gdb being different files.)

    Aliasing is a good guess. An alias is a replacement for a command within your shell. Ebe runs gdb independently of your shell.

    I will update the OS X instructions.

    The astyle program is used to "prettify" C/C++ source code and can be ignored safely for assembly.

    Please post an update letting me if this gets the program working.

     
  • Ray Seyfarth

    Ray Seyfarth - 2017-02-24
    • status: open --> closed
     

Log in to post a comment.