* gdbtk-cmds.c (get_frame_name): Demangle function names, too.

This commit is contained in:
Keith Seitz 1998-09-18 23:45:45 +00:00
parent 46fca0d897
commit 864e89fc9d
2 changed files with 12 additions and 1 deletions

View file

@ -1,3 +1,7 @@
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

View file

@ -3118,7 +3118,14 @@ get_frame_name (interp, list, fi)
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