mirror of
https://github.com/tromey/gdb-gui.git
synced 2025-07-21 04:51:20 +02:00
rename SourceMe.py to gdb-gui.py
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -3,3 +3,4 @@
|
|||||||
*.o
|
*.o
|
||||||
*.so
|
*.so
|
||||||
SourceMe.py
|
SourceMe.py
|
||||||
|
gdb-gui.py
|
||||||
|
12
Makefile
12
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
|
gdb-gui.py: gdb-gui.py.in
|
||||||
sed -e "s,HERE,`pwd`," < SourceMe.py.in > SourceMe.py
|
sed -e "s,HERE,`pwd`," < gdb-gui.py.in > gdb-gui.py
|
||||||
|
|
||||||
gui/fix_signals.so: gui/fix-signals.c
|
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`
|
gcc -shared -fPIC -g -o gui/fix_signals.so gui/fix-signals.c `pkg-config --cflags python` `pkg-config --libs python`
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
-rm SourceMe.py gui/fix_signals.so
|
-rm gdb-gui.py gui/fix_signals.so
|
||||||
|
|
||||||
hack-gdbinit:
|
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 \
|
else \
|
||||||
echo "source `pwd`/SourceMe.py" >> $$HOME/.gdbinit; \
|
echo "source `pwd`/gdb-gui.py" >> $$HOME/.gdbinit; \
|
||||||
fi
|
fi
|
||||||
|
2
README
2
README
@@ -25,7 +25,7 @@ On Fedora I think this suffices:
|
|||||||
sudo yum install gdb python-devel gtksourceview3 pygobject3
|
sudo yum install gdb python-devel gtksourceview3 pygobject3
|
||||||
|
|
||||||
After you install this, type "make". Now, start gdb and source the
|
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
|
always be available, you can use "make hack-gdbinit", which will add
|
||||||
the appropriate "source" line to your ~/.gdbinit.
|
the appropriate "source" line to your ~/.gdbinit.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user