This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch] a few more frame_in_dummy's
- From: David Carlton <carlton at math dot stanford dot edu>
- To: gdb-patches at sources dot redhat dot com
- Cc: Keith Seitz <keiths at redhat dot com>, Andrew Cagney <ac131313 at ges dot redhat dot com>
- Date: 11 Nov 2002 13:15:31 -0800
- Subject: [patch] a few more frame_in_dummy's
Andrew's recent patch deprecating frame_in_dummy missed some instances
in gdbtk; here's a patch changing them over. It seems obvious; I'll
apply it unless somebody complains.
David Carlton
carlton@math.stanford.edu
2002-11-11 David Carlton <carlton@math.stanford.edu>
* generic/gdbtk-stack.c (get_frame_name): Replace call to
frame_in_dummy with one to deprecated_frame_in_dummy.
* generic/gdbtk-cmds.c (gdb_loc): Ditto.
Index: gdbtk-stack.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk-stack.c,v
retrieving revision 1.9
diff -u -p -r1.9 gdbtk-stack.c
--- gdbtk-stack.c 23 Apr 2002 00:03:09 -0000 1.9
+++ gdbtk-stack.c 11 Nov 2002 21:11:22 -0000
@@ -520,7 +520,7 @@ get_frame_name (Tcl_Interp *interp, Tcl_
enum language funlang = language_unknown;
Tcl_Obj *objv[1];
- if (frame_in_dummy (fi))
+ if (deprecated_frame_in_dummy (fi))
{
objv[0] = Tcl_NewStringObj ("<function called from gdb>\n", -1);
Tcl_ListObjAppendElement (interp, list, objv[0]);
@@ -537,7 +537,7 @@ get_frame_name (Tcl_Interp *interp, Tcl_
find_pc_line (fi->pc,
fi->next != NULL
&& !fi->next->signal_handler_caller
- && !frame_in_dummy (fi->next));
+ && !deprecated_frame_in_dummy (fi->next));
func = find_pc_function (fi->pc);
if (func)
Index: gdbtk-cmds.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk-cmds.c,v
retrieving revision 1.58
diff -u -p -r1.58 gdbtk-cmds.c
--- gdbtk-cmds.c 10 Oct 2002 23:55:36 -0000 1.58
+++ gdbtk-cmds.c 11 Nov 2002 21:11:17 -0000
@@ -2273,7 +2273,7 @@ gdb_loc (ClientData clientData, Tcl_Inte
sal = find_pc_line (selected_frame->pc,
selected_frame->next != NULL
&& !selected_frame->next->signal_handler_caller
- && !frame_in_dummy (selected_frame->next));
+ && !deprecated_frame_in_dummy (selected_frame->next));
}
else
{