aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2008-07-28 16:29:02 +0000
committerTom Tromey <tromey@redhat.com>2008-07-28 16:29:02 +0000
commit8641e68297c9812b59ab59f786c00087d15feec9 (patch)
treeec509357f42cdbdc5264d94934d4f528072ad7e9
parent2cfe26b654e346ed269e38426c4bd2ec05c227a4 (diff)
downloadgdb-8641e68297c9812b59ab59f786c00087d15feec9.zip
gdb-8641e68297c9812b59ab59f786c00087d15feec9.tar.gz
gdb-8641e68297c9812b59ab59f786c00087d15feec9.tar.bz2
* main.c (captured_main): Don't use BEFORE_MAIN_LOOP_HOOK.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/main.c7
2 files changed, 4 insertions, 7 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 37292bc..a93bee8 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2008-07-28 Tom Tromey <tromey@redhat.com>
+
+ * main.c (captured_main): Don't use BEFORE_MAIN_LOOP_HOOK.
+
2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
* configure.ac: Check for the GNU/Linux ptrace signature.
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)