aboutsummaryrefslogtreecommitdiff
path: root/gdb/main.c
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>1999-10-05 23:13:56 +0000
committerJason Molenda <jmolenda@apple.com>1999-10-05 23:13:56 +0000
commit2acceee2182a942e6a79a972009540990f4dfabf (patch)
tree2ed7ca473f0b49181f1d0214c3450a7eb17f7bcb /gdb/main.c
parent3e9c42873ee1d0bbb03039baea78c617174f9269 (diff)
downloadgdb-2acceee2182a942e6a79a972009540990f4dfabf.zip
gdb-2acceee2182a942e6a79a972009540990f4dfabf.tar.gz
gdb-2acceee2182a942e6a79a972009540990f4dfabf.tar.bz2
import gdb-1999-10-04 snapshot
Diffstat (limited to 'gdb/main.c')
-rw-r--r--gdb/main.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/main.c b/gdb/main.c
index feefaa5..20fd73b 100644
--- a/gdb/main.c
+++ b/gdb/main.c
@@ -62,6 +62,10 @@ GDB_FILE *gdb_stderr;
GDB_FILE *gdb_stdlog;
GDB_FILE *gdb_stdtarg;
+/* Used to initialize error() - defined in utils.c */
+
+extern void error_init (void);
+
/* Whether to enable writing into executable and core files */
extern int write_files;
@@ -169,6 +173,9 @@ main (argc, argv)
gdb_stdtarg = gdb_stderr; /* for moment */
#endif
+ /* initialize error() */
+ error_init ();
+
/* Parse arguments and options. */
{
int c;