summaryrefslogtreecommitdiffstats
path: root/gdb/main.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-06-18 02:32:27 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-06-18 02:32:27 +0000
commitfc61e9eeec88f29c61c9bf41e55c415aaf562251 (patch)
treefcad9d18becc89b1cd56daadc563ac15057987fd /gdb/main.c
parent1d2bb445898a2511db544b7ea6765051f51522c8 (diff)
downloadppe42-binutils-fc61e9eeec88f29c61c9bf41e55c415aaf562251.tar.gz
ppe42-binutils-fc61e9eeec88f29c61c9bf41e55c415aaf562251.zip
* Makefile.in (INTERNAL_CFLAGS): Include ../include as well as
${srcdir}/../include. * config/m88k/xm-delta88.h: Comment out unused defines which conflict with system headers. * printcmd.c (printf_command): Cast second arg to vprintf to PTR. Use VPRINTF macro if defined. * config/m88k/xm-delta88.h: Define VPRINTF. Include <sys/siginfo.h>. Define TIOC{GETC,GLTC}_BROKEN. * m88k-nat.c: Uncomment include of <sys/ptrace.h>. * main.c: Rename initialize_{main,cmd_lists,history} to init_* to make things easier on munch (apparently this matters on the delta88 with svr3).
Diffstat (limited to 'gdb/main.c')
-rw-r--r--gdb/main.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/gdb/main.c b/gdb/main.c
index d842197935..5e00b8639a 100644
--- a/gdb/main.c
+++ b/gdb/main.c
@@ -78,13 +78,13 @@ static void
quit_command PARAMS ((char *, int));
static void
-initialize_main PARAMS ((void));
+init_main PARAMS ((void));
static void
-initialize_history PARAMS ((void));
+init_history PARAMS ((void));
static void
-initialize_cmd_lists PARAMS ((void));
+init_cmd_lists PARAMS ((void));
static void
float_handler PARAMS ((int));
@@ -729,9 +729,9 @@ GDB manual (available as on-line info or a printed manual).\n", stderr);
/* Run the init function of each source file */
- initialize_cmd_lists (); /* This needs to be done first */
+ init_cmd_lists (); /* This needs to be done first */
initialize_all_files ();
- initialize_main (); /* But that omits this file! Do it now */
+ init_main (); /* But that omits this file! Do it now */
init_signals ();
if (!quiet)
@@ -882,7 +882,7 @@ GDB manual (available as on-line info or a printed manual).\n", stderr);
free ((PTR)cmdarg);
/* Read in the old history after all the command files have been read. */
- initialize_history();
+ init_history();
if (batch)
{
@@ -2369,7 +2369,7 @@ batch_mode ()
static void
-initialize_cmd_lists ()
+init_cmd_lists ()
{
cmdlist = NULL;
infolist = NULL;
@@ -2401,7 +2401,7 @@ initialize_cmd_lists ()
*/
static void
-initialize_history()
+init_history()
{
char *tmpenv;
@@ -2426,7 +2426,7 @@ initialize_history()
}
static void
-initialize_main ()
+init_main ()
{
struct cmd_list_element *c;
OpenPOWER on IntegriCloud