forked from Imagelibrary/binutils-gdb
* 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.
This commit is contained in:
@@ -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}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user