+1998-09-18 Keith Seitz <keiths@cygnus.com>
+
+ * gdbtk-cmds.c (get_frame_name): Demangle function names, too.
+
Thu Sep 10 22:10:29 1998 Jim Ingham <jingham@cygnus.com>
*gdbtk-cmds.c (gdb_disassemble): Make sure the symtab's linetable is not
if (sal.symtab)
{
- objv[0] = Tcl_NewStringObj (funname, -1);
+ char *name = NULL;
+
+ if (funlang == language_cplus)
+ name = cplus_demangle (funname, 0);
+ if (name == NULL)
+ name = funname;
+
+ objv[0] = Tcl_NewStringObj (name, -1);
Tcl_ListObjAppendElement (interp, list, objv[0]);
}
else