From: Andrew Cagney <ac131313@redhat.com>
To: insight@sources.redhat.com
Subject: [patch] Use get_frame_type()
Date: Tue, 19 Nov 2002 11:35:00 -0000 [thread overview]
Message-ID: <3DDA926E.8010805@redhat.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 169 bytes --]
FYI,
I've committed the attached to the insight sources. Fixes a build
problem from my recent "frame.h" changes :-( Thanks to Pierre for
pointing this out.
Andrew
[-- Attachment #2: diffs --]
[-- Type: text/plain, Size: 1765 bytes --]
2002-11-19 Andrew Cagney <ac131313@redhat.com>
* generic/gdbtk-cmds.c (gdb_loc): Use get_frame_type instead of
->signal_handler_caller.
* generic/gdbtk-stack.c (get_frame_name): Ditto.
(get_frame_name): Ditto.
Index: generic/gdbtk-cmds.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk-cmds.c,v
retrieving revision 1.59
diff -u -r1.59 gdbtk-cmds.c
--- generic/gdbtk-cmds.c 12 Nov 2002 20:24:04 -0000 1.59
+++ generic/gdbtk-cmds.c 19 Nov 2002 19:32:57 -0000
@@ -2272,7 +2272,7 @@
pc = selected_frame->pc;
sal = find_pc_line (selected_frame->pc,
selected_frame->next != NULL
- && !selected_frame->next->signal_handler_caller
+ && !(get_frame_type (selected_frame->next) == SIGTRAMP_FRAME)
&& !deprecated_frame_in_dummy (selected_frame->next));
}
else
Index: generic/gdbtk-stack.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk-stack.c,v
retrieving revision 1.10
diff -u -r1.10 gdbtk-stack.c
--- generic/gdbtk-stack.c 12 Nov 2002 20:24:04 -0000 1.10
+++ generic/gdbtk-stack.c 19 Nov 2002 19:32:57 -0000
@@ -526,7 +526,7 @@
Tcl_ListObjAppendElement (interp, list, objv[0]);
return;
}
- if (fi->signal_handler_caller)
+ if ((get_frame_type (fi) == SIGTRAMP_FRAME))
{
objv[0] = Tcl_NewStringObj ("<signal handler called>\n", -1);
Tcl_ListObjAppendElement (interp, list, objv[0]);
@@ -536,7 +536,7 @@
sal =
find_pc_line (fi->pc,
fi->next != NULL
- && !fi->next->signal_handler_caller
+ && !(get_frame_type (fi) == SIGTRAMP_FRAME)
&& !deprecated_frame_in_dummy (fi->next));
func = find_pc_function (fi->pc);
reply other threads:[~2002-11-19 19:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3DDA926E.8010805@redhat.com \
--to=ac131313@redhat.com \
--cc=insight@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).