From 3bfce4dfb6c54d353d5b7c433772dc294dddf854 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 4 May 2015 19:41:32 -0600 Subject: [PATCH] rename SourceMe.py to gdb-gui.py --- .gitignore | 1 + Makefile | 12 ++++++------ README | 2 +- SourceMe.py.in => gdb-gui.py.in | 0 4 files changed, 8 insertions(+), 7 deletions(-) rename SourceMe.py.in => gdb-gui.py.in (100%) diff --git a/.gitignore b/.gitignore index 1047cb6..28a719d 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ *.o *.so SourceMe.py +gdb-gui.py diff --git a/Makefile b/Makefile index 10e5dd7..63336be 100644 --- a/Makefile +++ b/Makefile @@ -1,18 +1,18 @@ -all: SourceMe.py gui/fix_signals.so +all: gdb-gui.py gui/fix_signals.so @: -SourceMe.py: SourceMe.py.in - sed -e "s,HERE,`pwd`," < SourceMe.py.in > SourceMe.py +gdb-gui.py: gdb-gui.py.in + sed -e "s,HERE,`pwd`," < gdb-gui.py.in > gdb-gui.py gui/fix_signals.so: gui/fix-signals.c gcc -shared -fPIC -g -o gui/fix_signals.so gui/fix-signals.c `pkg-config --cflags python` `pkg-config --libs python` clean: - -rm SourceMe.py gui/fix_signals.so + -rm gdb-gui.py gui/fix_signals.so hack-gdbinit: - if test -f $$HOME/.gdbinit && `grep -q SourceMe $$HOME/.gdbinit`; then \ + if test -f $$HOME/.gdbinit && `grep -q gdb-gui $$HOME/.gdbinit`; then \ :; \ else \ - echo "source `pwd`/SourceMe.py" >> $$HOME/.gdbinit; \ + echo "source `pwd`/gdb-gui.py" >> $$HOME/.gdbinit; \ fi diff --git a/README b/README index 5f773c9..619a78f 100644 --- a/README +++ b/README @@ -25,7 +25,7 @@ On Fedora I think this suffices: sudo yum install gdb python-devel gtksourceview3 pygobject3 After you install this, type "make". Now, start gdb and source the -"SourceMe.py" file. This sets everything up. If you want it to +"gdb-gui.py" file. This sets everything up. If you want it to always be available, you can use "make hack-gdbinit", which will add the appropriate "source" line to your ~/.gdbinit. diff --git a/SourceMe.py.in b/gdb-gui.py.in similarity index 100% rename from SourceMe.py.in rename to gdb-gui.py.in