From: Daniel Berlin <dberlin@redhat.com>
To: gdb-patches@sources.redhat.com
Subject: [PATCH] New C++ abstraction patch
Date: Tue, 20 Feb 2001 16:02:00 -0000 [thread overview]
Message-ID: <x7bsrwj42w.fsf@dynamic-addr-83-177.resnet.rochester.edu> (raw)
Includes Elena's requested changes, moves gnu-v2-abi.c and gnu-v3-abi.c to
the root directory.
cp-abi.c is gone temporarily until the next set of patches.
This patch includes the new files in diff format.
2001-02-20 Daniel Berlin <dberlin@redhat.com>
* Makefile.in (SFILES): Add gnu-v2-abi.c, gnu-v3-abi.c
(COMMON_OBJS): Add gnu-v2-abi.o, gnu-v3-abi.o
(gnu-v3-abi.o): Add.
(gnu-v2-abi.o): Add.
(symtab.o): Add cp-abi.h.
(linespec.o): Add cp-abi.h.
(dbxread.o): Add cp-abi.h.
(c-typeprint.o): Add cp-abi.h.
* cp-abi.h: New file. C++ abi abstraction
* gnu-v2-abi.c: New file. C++ abi abstraction implementation for
v2 abi.
* gnu-v3-abi.c New file. C++ abi abstraction implementation for v3
abi.
* valops.c (value_rtti_type): VTBL_PREFIX_P -> vtbl_prefix_p.
Add cp-abi.h to the include list.
* symtab.c (gdb_mangle_name): DESTRUCTOR_PREFIX_P ->
destructor_prefix_p.
Replace hardcoded g++ v2 constructor name test with
constructor_prefix_p.
Add cp-abi.h to the include list.
* linespec.c (find_methods): Change SYMBOL_TYPE (sym_class) to
CHECK_TYPEDEF (t), remove FIXME.
Change method name comparison from STREQ to strcmp_iw.
DESTRUCTOR_PREFIX_P -> destructor_prefix_p, fix test so it works
(it was broken before, it was doing the reverse of what it
should).
Add cp-abi.h to include list.
* dbxread.c (record_minimal_symbol): VTBL_PREFIX_P ->
vtbl_prefix_p.
Add cp-abi.h to include list.
* c-typeprint.c (c_type_print_base): Remove hardcoded g++ v2
destructor/constructor name test, replace with
destructor_prefix_p, constructor_prefix_p.
Change STREQN (method_name, "~", 1) to method_name[0] == '~'.
Add cp-abi.h to include list
* jv-typeprint.c (java_type_print_base): Remove hardcoded g++ v2
destructor/constructor name test, replace with
destructor_prefix_p, constructor_prefix_p.
* symtab.h: Remove VTBL_PREFIX_P macro.
Remove DESTRUCTOR_PREFIX_P macro.
next reply other threads:[~2001-02-20 16:02 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-20 16:02 Daniel Berlin [this message]
2001-02-21 1:53 ` Eli Zaretskii
2001-02-21 10:56 ` Andrew Cagney
2001-02-21 13:31 ` Daniel Berlin
2001-02-20 17:35 Michael Elizabeth Chastain
2001-02-20 19:42 ` Daniel Berlin
2001-02-21 10:42 ` Andrew Cagney
2001-02-21 13:03 ` Daniel Berlin
2001-02-21 13:25 ` Andrew Cagney
2001-02-21 15:19 ` Michael Snyder
2001-02-22 8:14 ` Andrew Cagney
2001-02-20 20:42 Michael Elizabeth Chastain
2001-02-20 23:42 ` Daniel Berlin
2001-02-21 11:53 ` Michael Snyder
2001-02-21 14:24 ` J.T. Conklin
2001-02-21 15:21 ` Michael Snyder
2001-02-21 7:43 Michael Elizabeth Chastain
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=x7bsrwj42w.fsf@dynamic-addr-83-177.resnet.rochester.edu \
--to=dberlin@redhat.com \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox