Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(141)

Unified Diff: gdb/gdb-gdb.gdb.in

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/gdb-gdb.py ('k') | gdb/gdb-stabs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/gdb-gdb.gdb.in
diff --git a/gdb/gdb-gdb.gdb.in b/gdb/gdb-gdb.gdb.in
index ffb7f53b5007788a8177382a903c53587de7a540..05a38b2670b0547192844538386e96b0108dcc7a 100644
--- 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
-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
-dir @srcdir@/../libiberty
-dir @srcdir@/../bfd
-dir @srcdir@
-dir .
set prompt (top-gdb)
define pdie
« no previous file with comments | « gdb/gdb-gdb.py ('k') | gdb/gdb-stabs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698