From 4363022793abc0b05ebce2ce217c8d866212db38 Mon Sep 17 00:00:00 2001 From: Peter Schauer Date: Wed, 27 Feb 2002 18:22:24 +0000 Subject: [PATCH] * symtab.c (gdb_mangle_name): Handle fully mangled v3 abi physnames. --- gdb/ChangeLog | 4 ++++ gdb/symtab.c | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bb41c600410..785cd4ce518 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2002-02-27 Peter Schauer + + * symtab.c (gdb_mangle_name): Handle fully mangled v3 abi physnames. + 2002-02-27 Rodney Brown * utils.c (gdb_realpath): Add pathconf fallback for sco3.2v5. diff --git a/gdb/symtab.c b/gdb/symtab.c index 3aa334e6f89..e464b0bc374 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -291,7 +291,10 @@ gdb_mangle_name (struct type *type, int method_id, int signature_id) char buf[20]; int len = (newname == NULL ? 0 : strlen (newname)); - if (is_operator_name (field_name)) + /* Nothing to do if physname already contains a fully mangled v3 abi name + or an operator name. */ + if ((physname[0] == '_' && physname[1] == 'Z') + || is_operator_name (field_name)) return xstrdup (physname); is_full_physname_constructor = is_constructor_name (physname); -- 2.30.2