From: Tom Tromey <tromey@redhat.com>
To: gdb-patches@sourceware.org
Subject: RFA: remove BEFORE_MAIN_LOOP_HOOK
Date: Mon, 28 Jul 2008 15:48:00 -0000 [thread overview]
Message-ID: <m3ej5eau3f.fsf@fleche.redhat.com> (raw)
I happened to notice that BEFORE_MAIN_LOOP_HOOK is completely unused.
It is mentioned in main.c and the ChangeLogs, but not in any other
file in the gdb tree.
So, this patch removes it.
Built and regression tested on the gcc compile farm (x86-64).
Ok?
Tom
2008-07-27 Tom Tromey <tromey@redhat.com>
* main.c (captured_main): Don't use BEFORE_MAIN_LOOP_HOOK.
diff --git a/gdb/main.c b/gdb/main.c
index 91d751a..c4b7951 100644
--- a/gdb/main.c
+++ b/gdb/main.c
@@ -818,13 +818,6 @@ Can't attach to process and specify a core file at the same time."));
quit_force (NULL, 0);
}
- /* Do any host- or target-specific hacks. This is used for i960 targets
- to force the user to set a nindy target and spec its parameters. */
-
-#ifdef BEFORE_MAIN_LOOP_HOOK
- BEFORE_MAIN_LOOP_HOOK;
-#endif
-
/* Show time and/or space usage. */
if (display_time)
next reply other threads:[~2008-07-28 15:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-28 15:48 Tom Tromey [this message]
2008-07-28 16:15 ` Stan Shebs
2008-07-28 16:29 ` Tom Tromey
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=m3ej5eau3f.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=gdb-patches@sourceware.org \
/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