Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
operating-systems
ws21
assignments
Commits
2c394fe4
Commit
2c394fe4
authored
Oct 20, 2015
by
Curd Becker
Browse files
adapted path for GDBMACROS in pintos-gdb. the environment variable
PINTOSPATH should always point to the pintos src folder
parent
ed550b5e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/utils/pintos-gdb
View file @
2c394fe4
#! /bin/sh
# Path to GDB macros file.
Customize for your site.
GDBMACROS
=
/usr/class/cs140/pintos/pintos/src
/misc/gdb-macros
# Path to GDB macros file.
GDBMACROS
=
"
$PINTOSPATH
/misc/gdb-macros
"
# Choose correct GDB.
if
command
-v
i386-elf-gdb
>
/dev/null 2>&1
;
then
...
...
@@ -16,5 +16,7 @@ if test -f "$GDBMACROS"; then
else
echo
"***
$GDBMACROS
does not exist ***"
echo
"*** Pintos GDB macros will not be available ***"
echo
"*** The environment variable
\$
PINTOSPATH should to point"
echo
" to your location of the pintos src folder ***"
exec
$GDB
"
$@
"
fi
Write
Preview
Supports
Markdown
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