* mcheck.c: Avoid warning about undeclared abort fn.
authorJohn Gilmore <gnu@cygnus>
Tue, 20 Aug 1991 03:02:39 +0000 (03:02 +0000)
committerJohn Gilmore <gnu@cygnus>
Tue, 20 Aug 1991 03:02:39 +0000 (03:02 +0000)
commit5e5215eba77007511fb040ac842a935ec624b4a6
treef658e7a0e4541ed5640fb9e5c5f998f272b19498
parent24e2462158f159377ed7f0c2fe96683c3e1063c9
* mcheck.c:  Avoid warning about undeclared abort fn.
* tm-sparc.h (PC_ADJUST):  Avoid calling error() from this;
it causes recursive calls to error() when used in cleanups.
To do so requires that we make it a function, so we do.
* sparc-tdep.c (sparc_pc_adjust):  New implem of PC_ADJUST.
* utils.c (do_cleanups):  Remove the current cleanup from the
chain *before* calling it, in case error() is called from it.
The result won't be pretty, but won't be an infinite loop either.
gdb/ChangeLog
gdb/mcheck.c
gdb/sparc-tdep.c
gdb/tm-sparc.h
gdb/utils.c
This page took 0.026221 seconds and 4 git commands to generate.