From 6b08edadd9323771e6f533f7bac2c0656b89f11d Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 28 Jan 2005 06:16:49 +0000 Subject: 2005-01-28 Andrew Cagney * 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. --- gdb/gnu-v2-abi.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gdb/gnu-v2-abi.c') diff --git a/gdb/gnu-v2-abi.c b/gdb/gnu-v2-abi.c index b89bdb9..20b6975 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 @@ -31,14 +31,13 @@ #include "demangle.h" #include "cp-abi.h" #include "cp-support.h" +#include "gnu-v2-abi.h" #include 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) -- cgit v1.1