Mathias Hasselmann

libtool aware gdb wrapper and mergetool

Just want to mention some small and rough tools I've written recently to easy my daily hacker's life:

Both tools are quite rough, but maybe some of you find them useful.

Update: Seems that "libtool --mode=execute cmdline..." works similar to my wrapper script. Thanks for pointing me on this.

Comments

Benoît Dejean commented on August 21, 2008 at 12:47 p.m.

Use Nemiver !

Mathias Hasselmann commented on August 21, 2008 at 1 p.m.

Benoît: Not an option when various reason require you build and test your code in a chroot like environment.

Brad Hards commented on August 21, 2008 at 1:35 p.m.

You'll find that more recent versions of git don't support git-foo style commands. You have to use the git foo equivalents.

Damien Merenne commented on August 21, 2008 at 1:41 p.m.

For your GDB problem, you can use

$libtool gdb myexecutable

It's written in the libtool doc:

http://www.gnu.org/software/libtool/m...

Mathias Hasselmann commented on August 21, 2008 at 1:43 p.m.

Damien: Oh! Thanks alot.

Brad: Oh! No! So I'd have to activate those completly broken bash-completion scripts to get shell completion for git commands!? This is horrible!

Karl Lattimer commented on August 21, 2008 at 3:10 p.m.

I'd be happy if you'd merge, mergetool into giggle :)

Maciej Piechorka commented on August 21, 2008 at 6:20 p.m.

Mathias Hasselmann: At least zsh complete the commands (git reb<TAB>).

Ka-Hing Cheung commented on August 21, 2008 at 7:42 p.m.

How does mergetool compare to git-gui^Wgit gui?

Mathias Hasselmann commented on August 21, 2008 at 10:45 p.m.

Ka-Hing: mergetool is much more primitive since it does just one single task: Merging changes from some other branch. On the other hand is uses some reasonable UI toolkit. Tcl/Tk doesn't even match the minimum requirement for a useful UI toolkit: It is not even capable of rendering readable text.

I seriously wonder why people waste time on obsolete stuff like Tcl/Tk: http://taschenorakel.de/pictures/scre...

Ka-Hing Cheung commented on August 22, 2008 at 1:25 a.m.

I wonder why so much stuff is done in tk either. git gui, gitk, isn't make menuconfig also tk?

As to git rebase --interactive being sane, I am going to disagree here. I could never wrap my head around enough to use either git add -i or git rebase -i.