Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
c710c61d
Commit
c710c61d
authored
Nov 23, 2011
by
Mario Hlawitschka
Browse files
Modified debug script to run in current directory so relative paths stay valid
parent
314d2492
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
tools/debugging/bin/openwalnut-gdb
tools/debugging/bin/openwalnut-gdb
+5
-1
No files found.
tools/debugging/bin/openwalnut-gdb
View file @
c710c61d
#!/bin/sh
# get the current directory
PWD
=
`
pwd
`
# get path of this script
BINDIR
=
`
dirname
"
$0
"
`
...
...
@@ -12,6 +15,7 @@ echo run $@ > $PARAM_FILENAME
cd
"
$BINDIR
"
# run walnut
gdb ./openwalnut-qt4
-command
=
$PARAM_FILENAME
gdb ./openwalnut-qt4
-cd
=
$PWD
-command
=
$PARAM_FILENAME
rm
$PARAM_FILENAME
cd
$PWD
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment