From: Andrew Cagney <cagney@gnu.org>
To: gdb-patches@sources.redhat.com
Cc: Mark Kettenis <kettenis@chello.nl>
Subject: Re: [commit] Deprecate MIPS only IGNORE_HELPER_CALL
Date: Fri, 23 Jul 2004 19:38:00 -0000 [thread overview]
Message-ID: <41016927.9040300@gnu.org> (raw)
In-Reply-To: <41012BAB.8070803@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 35 bytes --]
I've also checked this in.
Andrew
[-- Attachment #2: diffs --]
[-- Type: text/plain, Size: 1447 bytes --]
2004-07-23 Andrew Cagney <cagney@gnu.org>
* infrun.c (handle_inferior_event): Separate the STEP_OVER_ALL and
DEPRECATED_IGNORE_HELPER_CALL cases, only #ifdef the latter.
Index: infrun.c
===================================================================
RCS file: /cvs/src/src/gdb/infrun.c,v
retrieving revision 1.170
diff -p -u -r1.170 infrun.c
--- infrun.c 21 Jul 2004 14:23:36 -0000 1.170
+++ infrun.c 23 Jul 2004 19:12:21 -0000
@@ -2344,8 +2344,7 @@ process_event_stop_test:
DEPRECATED_IGNORE_HELPER_CALL, SKIP_TRAMPOLINE_CODE,
skip_language_trampoline frame, et.al.) need to be replaced
with generic attributes bound to the frame's function. */
- if (step_over_calls == STEP_OVER_ALL
- || DEPRECATED_IGNORE_HELPER_CALL (stop_pc))
+ if (DEPRECATED_IGNORE_HELPER_CALL (stop_pc))
{
/* We're doing a "next", set a breakpoint at callee's return
address (the address at which the caller will
@@ -2356,6 +2355,16 @@ process_event_stop_test:
return;
}
#endif
+ if (step_over_calls == STEP_OVER_ALL)
+ {
+ /* We're doing a "next", set a breakpoint at callee's return
+ address (the address at which the caller will
+ resume). */
+ insert_step_resume_breakpoint (get_prev_frame (get_current_frame ()),
+ ecs);
+ keep_going (ecs);
+ return;
+ }
/* If we are in a function call trampoline (a stub between the
calling routine and the real function), locate the real
next prev parent reply other threads:[~2004-07-23 19:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-21 14:26 Andrew Cagney
2004-07-23 0:59 ` Mark Kettenis
2004-07-23 16:02 ` Andrew Cagney
2004-07-23 19:38 ` Andrew Cagney [this message]
2004-07-24 21:21 ` Mark Kettenis
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=41016927.9040300@gnu.org \
--to=cagney@gnu.org \
--cc=gdb-patches@sources.redhat.com \
--cc=kettenis@chello.nl \
/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