tm-ppc-next.h   [plain text]


/* Target support for NextStep/Rhapsody on PowerPC for GDB, the GNU debugger.
   Copyright (C) 1997
   Free Software Foundation, Inc.

This file is part of GDB.

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
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
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.  */

#ifndef _TM_PPC_NEXT_H_
#define _TM_PPC_NEXT_H_

#include "tm-ppc.h"
#include "tm-nextstep.h"

extern CORE_ADDR ppc_next_skip_trampoline_code (CORE_ADDR pc);
#define	SKIP_TRAMPOLINE_CODE(pc) ppc_next_skip_trampoline_code (pc)

extern CORE_ADDR ppc_next_dynamic_trampoline_nextpc (CORE_ADDR pc);
#define DYNAMIC_TRAMPOLINE_NEXTPC(pc) ppc_next_dynamic_trampoline_nextpc (pc)

extern int ppc_next_in_solib_dynsym_resolve_code (CORE_ADDR pc);
#define IN_SOLIB_DYNSYM_RESOLVE_CODE(pc) ppc_next_in_solib_dynsym_resolve_code (pc)

extern int ppc_next_in_solib_call_trampoline (CORE_ADDR pc, char *name);
#define IN_SOLIB_CALL_TRAMPOLINE(pc, name) ppc_next_in_solib_call_trampoline (pc, name)

extern int ppc_next_in_solib_return_trampoline (CORE_ADDR pc, char *name);
#define IN_SOLIB_RETURN_TRAMPOLINE(pc,name) ppc_next_in_solib_return_trampoline (pc, name)

#endif /* _TM_PPC_NEXT_H_ */