X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=sim%2Fppc%2Fsim_callbacks.h;h=61c6e2f42142c72b960292c4fe9bc678db05b938;hb=0d037fafed44c6704d0f15e8d49815caebcd7814;hp=322af9de8a11776c1f351459dd7af36612926af8;hpb=30727aa6d12fb866494020c0b62ab265a2bdcdfe;p=deliverable%2Fbinutils-gdb.git diff --git a/sim/ppc/sim_callbacks.h b/sim/ppc/sim_callbacks.h index 322af9de8a..61c6e2f421 100644 --- a/sim/ppc/sim_callbacks.h +++ b/sim/ppc/sim_callbacks.h @@ -4,7 +4,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or + the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -13,8 +13,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + along with this program; if not, see . */ @@ -103,6 +102,10 @@ void sim_io_flush_stdoutput (void); +/* Simulator instance. */ +extern psim *simulator; + + /* Memory management with an allocator that clears memory before use. */ void *zalloc @@ -110,6 +113,4 @@ void *zalloc #define ZALLOC(TYPE) (TYPE*)zalloc(sizeof (TYPE)) -void zfree(void*); - #endif