2004-08-06 19:14:44 +00:00
|
|
|
/* Native-dependent definitions for VAXen under 4.2 BSD and ULTRIX.
|
|
|
|
|
2007-01-09 17:59:20 +00:00
|
|
|
Copyright 1986, 1987, 1989, 1992, 2004, 2007 Free Software Foundation, Inc.
|
1999-04-16 01:35:26 +00:00
|
|
|
|
1999-07-07 20:19:36 +00:00
|
|
|
This file is part of GDB.
|
1999-04-16 01:35:26 +00:00
|
|
|
|
1999-07-07 20:19:36 +00:00
|
|
|
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.
|
1999-04-16 01:35:26 +00:00
|
|
|
|
1999-07-07 20:19:36 +00:00
|
|
|
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.
|
1999-04-16 01:35:26 +00:00
|
|
|
|
1999-07-07 20:19:36 +00:00
|
|
|
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. */
|
1999-04-16 01:35:26 +00:00
|
|
|
|
2004-08-06 19:14:44 +00:00
|
|
|
#ifndef NM_VAX_H
|
|
|
|
#define NM_VAX_H
|
|
|
|
|
|
|
|
extern CORE_ADDR vax_kernel_u_addr;
|
|
|
|
#define KERNEL_U_ADDR vax_kernel_u_addr
|
2002-06-26 17:20:36 +00:00
|
|
|
|
2004-08-06 19:14:44 +00:00
|
|
|
extern CORE_ADDR vax_register_u_addr (CORE_ADDR u_ar0, int regnum);
|
|
|
|
#define REGISTER_U_ADDR(addr, u_ar0, regnum) \
|
|
|
|
(addr) = vax_register_u_addr (u_ar0, regnum)
|
2004-07-29 20:53:27 +00:00
|
|
|
|
2004-08-06 19:14:44 +00:00
|
|
|
#endif /* nm-vax.h */
|