projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change ARI usage to GNU style
[deliverable/binutils-gdb.git]
/
gdb
/
gdb-gdb.gdb.in
diff --git
a/gdb/gdb-gdb.gdb.in
b/gdb/gdb-gdb.gdb.in
index ffb7f53b5007788a8177382a903c53587de7a540..05a38b2670b0547192844538386e96b0108dcc7a 100644
(file)
--- a/
gdb/gdb-gdb.gdb.in
+++ b/
gdb/gdb-gdb.gdb.in
@@
-1,19
+1,26
@@
echo Setting up the environment for debugging gdb.\n
echo Setting up the environment for debugging gdb.\n
-set complaints 1
+if !$gdb_init_done
+ set variable $gdb_init_done = 1
-b internal_error
+ set complaints 1
-b info_command
-commands
- silent
- return
+ b internal_error
+
+ b info_command
+ commands
+ silent
+ return
+ end
+
+ dir @srcdir@/../libiberty
+ dir @srcdir@/../bfd
+ dir @srcdir@
+ dir .
+
+ # Commands below are not fully compatible with wrapping into an 'if' block.
end
end
-dir @srcdir@/../libiberty
-dir @srcdir@/../bfd
-dir @srcdir@
-dir .
set prompt (top-gdb)
define pdie
set prompt (top-gdb)
define pdie
This page took
0.024772 seconds
and
4
git commands to generate.