* gdbtk-cmds.c (get_frame_name): Demangle function names, too.
This commit is contained in:
parent
46fca0d897
commit
864e89fc9d
2 changed files with 12 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue