aboutsummaryrefslogtreecommitdiff
path: root/gdb/gnu-v2-abi.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-01-28 06:16:49 +0000
committerAndrew Cagney <cagney@redhat.com>2005-01-28 06:16:49 +0000
commit6b08edadd9323771e6f533f7bac2c0656b89f11d (patch)
tree6eb2abef2b4f4038177307e05af8ad7325cda486 /gdb/gnu-v2-abi.h
parent108d6ead324614db8f129e4f7b336cbf4dc464e5 (diff)
downloadgdb-6b08edadd9323771e6f533f7bac2c0656b89f11d.zip
gdb-6b08edadd9323771e6f533f7bac2c0656b89f11d.tar.gz
gdb-6b08edadd9323771e6f533f7bac2c0656b89f11d.tar.bz2
2005-01-28 Andrew Cagney <cagney@gnu.org>
* gnu-v2-abi.h: New file. * gnu-v2-abi.c: Include "gnu-v2-abi.h". (gnuv2_baseclass_offset): Delete declaration. * hpacc-abi.c: Include "gnu-v2-abi.h". (gnuv2_baseclass_offset): Delete extern declaration. * Makefile.in: Update dependencies.
Diffstat (limited to 'gdb/gnu-v2-abi.h')
-rw-r--r--gdb/gnu-v2-abi.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/gdb/gnu-v2-abi.h b/gdb/gnu-v2-abi.h
new file mode 100644
index 0000000..baca2bf
--- /dev/null
+++ b/gdb/gnu-v2-abi.h
@@ -0,0 +1,30 @@
+/* Abstraction of GNU v2 abi.
+
+ Copyright 2005 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 GNU_V2_ABI_H
+#define GNU_V2_ABI_H
+
+extern int gnuv2_baseclass_offset (struct type *type, int index,
+ char *valaddr, CORE_ADDR address);
+
+#endif