diff options
author | Michael Meissner <meissner@cygnus.com> | 1998-04-27 08:49:53 +0000 |
---|---|---|
committer | Michael Meissner <meissner@gcc.gnu.org> | 1998-04-27 08:49:53 +0000 |
commit | 22c4957e6b744aed9b442a6e0075fbb70f469b47 (patch) | |
tree | 2ed7d0789f9ba1f4d88b4964a3f3e56422310726 /gcc/.gdbinit | |
parent | 563c063f761d5f25fe0cb3821f36f9635b9832b3 (diff) | |
download | gcc-22c4957e6b744aed9b442a6e0075fbb70f469b47.zip gcc-22c4957e6b744aed9b442a6e0075fbb70f469b47.tar.gz gcc-22c4957e6b744aed9b442a6e0075fbb70f469b47.tar.bz2 |
Redefine abort to report linenumber and filename of the error
From-SVN: r19423
Diffstat (limited to 'gcc/.gdbinit')
-rw-r--r-- | gcc/.gdbinit | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/.gdbinit b/gcc/.gdbinit index dea758b..fe4592b 100644 --- a/gcc/.gdbinit +++ b/gcc/.gdbinit @@ -90,6 +90,11 @@ end # stdio stop working and therefore the `pr' command below as well. b abort +# Put breakpoints at exit and fancy_abort in case abort is mapped +# to either fprintf/exit or fancy_abort. +b exit +b fancy_abort + # 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 |