aboutsummaryrefslogtreecommitdiff
path: root/gdb/demangle.c
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1993-03-03 02:09:02 +0000
committerFred Fish <fnf@specifix.com>1993-03-03 02:09:02 +0000
commit45364c8a2a8b0bbdac88b937f30459281fc4f00d (patch)
treec765dd97caffd7ec2f24294b919cb874099118d7 /gdb/demangle.c
parent312bef9d216edd079836fb258a0c234f169f65ca (diff)
downloadgdb-45364c8a2a8b0bbdac88b937f30459281fc4f00d.zip
gdb-45364c8a2a8b0bbdac88b937f30459281fc4f00d.tar.gz
gdb-45364c8a2a8b0bbdac88b937f30459281fc4f00d.tar.bz2
* c-exp.y (parse_number): Change high_bit to unsigned.
* demangle.c: Change all references to cfront to ARM, since the actual algorithm is the one specified in the Annotated Reference Manual. This was confusing users into thinking that full cfront support was implemented. * dwarfread.c (CFRONT_PRODUCER): Remove, was never really used. * eval.c (evaluate_subexp): For STRUCTOP_PTR pass the arg type directly to lookup_struct_elt_type, which will do the dereferencing itself. * gdbtypes.c (lookup_struct_elt_type): Expand comments. Fix NULL dereferencing bug for unnamed structs, comment out questionable code.
Diffstat (limited to 'gdb/demangle.c')
-rw-r--r--gdb/demangle.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/demangle.c b/gdb/demangle.c
index 45e130c..cdf7b40 100644
--- a/gdb/demangle.c
+++ b/gdb/demangle.c
@@ -31,7 +31,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Select the default C++ demangling style to use. The default is "auto",
which allows gdb to attempt to pick an appropriate demangling style for
the executable it has loaded. It can be set to a specific style ("gnu",
- "lucid", "cfront", etc.) in which case gdb will never attempt to do auto
+ "lucid", "arm", etc.) in which case gdb will never attempt to do auto
selection of the style unless you do an explicit "set demangle auto".
To select one of these as the default, set DEFAULT_DEMANGLING_STYLE in
the appropriate target configuration file. */
@@ -64,9 +64,9 @@ static const struct demangler
{LUCID_DEMANGLING_STYLE_STRING,
lucid_demangling,
"Lucid (lcc) style demangling"},
- {CFRONT_DEMANGLING_STYLE_STRING,
- cfront_demangling,
- "ARM (cfront) style demangling"},
+ {ARM_DEMANGLING_STYLE_STRING,
+ arm_demangling,
+ "ARM style demangling"},
{NULL, unknown_demangling, NULL}
};