diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-01-28 06:16:49 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-01-28 06:16:49 +0000 |
commit | 6b08edadd9323771e6f533f7bac2c0656b89f11d (patch) | |
tree | 6eb2abef2b4f4038177307e05af8ad7325cda486 /gdb/hpacc-abi.c | |
parent | 108d6ead324614db8f129e4f7b336cbf4dc464e5 (diff) | |
download | gdb-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/hpacc-abi.c')
-rw-r--r-- | gdb/hpacc-abi.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/hpacc-abi.c b/gdb/hpacc-abi.c index a9dcdbf..9830b0d 100644 --- a/gdb/hpacc-abi.c +++ b/gdb/hpacc-abi.c @@ -1,9 +1,10 @@ /* Abstraction of HP aCC ABI. + Contributed by Daniel Berlin <dberlin@redhat.com> Most of the real code is from HP, i've just fiddled it to fit in the C++ ABI abstraction framework. - Copyright 2001 Free Software Foundation, Inc. + Copyright 2001, 2005 Free Software Foundation, Inc. This file is part of GDB. @@ -31,6 +32,7 @@ #include "gdbtypes.h" #include "gdbcore.h" #include "cp-abi.h" +#include "gnu-v2-abi.h" struct cp_abi_ops hpacc_abi_ops; @@ -285,9 +287,6 @@ hpacc_value_rtti_type (struct value *v, int *full, int *top, int *using_enc) return rtti_type; } -extern int gnuv2_baseclass_offset (struct type *type, int index, - char *valaddr, CORE_ADDR address); - static void init_hpacc_ops (void) { |