This is the mail archive of the
mailing list for the GCC project.
Patch for .gdbinit
- To: egcs-patches at cygnus dot com
- Subject: Patch for .gdbinit
- From: Andreas Schwab <schwab at issan dot informatik dot uni-dortmund dot de>
- Date: 15 Mar 1999 10:28:02 +0100
gdb will complain that it cannot put a breakpoint on abort because the
compilers do not reference it any more unless USE_SYSTEM_ABORT is
defined. The command to set the breakpoint should be put at the end of
.gdbinit so that the other commands are still executed.
1999-03-14 Andreas Schwab <email@example.com>
* .gdbinit: Move command to put breakpoint at abort to end of file
so that gdb does not bail out early.
--- egcs-2.93/gcc/.gdbinit.~2~ Mon May 4 22:03:31 1998
+++ egcs-2.93/gcc/.gdbinit Sun Mar 14 12:01:27 1999
@@ -86,10 +86,6 @@
including the global binding level.
-# Don't let abort actually run, as it will make
-# stdio stop working and therefore the `pr' command below as well.
# Put breakpoints at exit and fancy_abort in case abort is mapped
# to either fprintf/exit or fancy_abort.
@@ -98,3 +94,9 @@
# Make gdb complain about symbol reading errors. This is so that gcc
# developers can see and fix bugs in gcc debug output.
set complaints 20
+# Don't let abort actually run, as it will make
+# stdio stop working and therefore the `pr' command above as well.
+# Put this last because gcc does not reference it any more unless
+# USE_SYSTEM_ABORT is defined, so gdb may complain and bail out.
Andreas Schwab "And now for something
firstname.lastname@example.org completely different"