summaryrefslogtreecommitdiff
path: root/gdb/gnu-v2-abi.c
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.c
parent108d6ead324614db8f129e4f7b336cbf4dc464e5 (diff)
downloadbinutils-gdb-6b08edadd9323771e6f533f7bac2c0656b89f11d.tar.gz
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.c')
-rw-r--r--gdb/gnu-v2-abi.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/gnu-v2-abi.c b/gdb/gnu-v2-abi.c
index b89bdb9c8fa..20b697550f9 100644
--- a/gdb/gnu-v2-abi.c
+++ b/gdb/gnu-v2-abi.c
@@ -1,6 +1,6 @@
/* Abstraction of GNU v2 abi.
- Copyright 2001, 2002, 2003 Free Software Foundation, Inc.
+ Copyright 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
Contributed by Daniel Berlin <dberlin@redhat.com>
@@ -31,14 +31,13 @@
#include "demangle.h"
#include "cp-abi.h"
#include "cp-support.h"
+#include "gnu-v2-abi.h"
#include <ctype.h>
struct cp_abi_ops gnu_v2_abi_ops;
static int vb_match (struct type *, int, struct type *);
-int gnuv2_baseclass_offset (struct type *type, int index, char *valaddr,
- CORE_ADDR address);
static enum dtor_kinds
gnuv2_is_destructor_name (const char *name)