View Single Post
  #7  
Old 04-18-2014, 00:52
deroko's Avatar
deroko deroko is offline
cr4zyserb
 
Join Date: Nov 2005
Posts: 217
Rept. Given: 13
Rept. Rcvd 30 Times in 14 Posts
Thanks Given: 7
Thanks Rcvd at 33 Times in 16 Posts
deroko Reputation: 30
Quote:
Originally Posted by typedef View Post
Try LLDB. It's got a python scripting interface and is far superior to GDB/EDB.
It has, but it's nothing compared to gdb python support, somehow they didn't expect somebody to customise it via python Also gdb has powerful scripting language, combine that and python it can solve any given problem. However, lldb has tendency to change internal quick, since they changed iohandler for console output all my colour output breaks lldb Thus I'm forced to stick with certain svn revision before they updated iohandlers

https://github.com/deroko/lldbinit <-- here is my lldbinit.py script which produces nice output with apple's lldb

As it seems gdb on mac is useless, as part which is in gdb release by apple is not in official version (to parse symbols) so lldb is only way to go, or to port these changes manually to latest version of gdb and make it more apple friendly
__________________
http://accessroot.com

Last edited by deroko; 04-18-2014 at 00:57.
Reply With Quote