aboutsummaryrefslogtreecommitdiff
path: root/gdb/main.c
diff options
context:
space:
mode:
authorDavid Taylor <taylor@redhat.com>1998-12-28 23:06:13 +0000
committerDavid Taylor <taylor@redhat.com>1998-12-28 23:06:13 +0000
commit4ef1f4677390c085543fe80eec41b0fe5d58ddca (patch)
treed0e8320e4871a81733155e8ce653507dd3d64825 /gdb/main.c
parentd6fdf61c78fbce1dad62cd1022e606fdaaad4202 (diff)
downloadgdb-4ef1f4677390c085543fe80eec41b0fe5d58ddca.zip
gdb-4ef1f4677390c085543fe80eec41b0fe5d58ddca.tar.gz
gdb-4ef1f4677390c085543fe80eec41b0fe5d58ddca.tar.bz2
hp merge changes -- too numerous to mention here; see ChangeLog and
ChangeLog-gdbtk for details.
Diffstat (limited to 'gdb/main.c')
-rw-r--r--gdb/main.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/gdb/main.c b/gdb/main.c
index b8b0837..78b88c9 100644
--- a/gdb/main.c
+++ b/gdb/main.c
@@ -54,11 +54,17 @@ int display_time;
int display_space;
+/* Whether xdb commands will be handled */
+int xdb_commands = 0;
+
+/* Whether dbx commands will be handled */
+int dbx_commands = 0;
+
static void print_gdb_help PARAMS ((GDB_FILE *));
extern void gdb_init PARAMS ((char *));
#ifdef __CYGWIN__
#include <windows.h> /* for MAX_PATH */
-#include <sys/cygwin.h> /* for cygwin_conv_to_posix_path */
+#include <sys/cygwin.h> /* for cygwin32_conv_to_posix_path */
#endif
int
@@ -405,7 +411,7 @@ main (argc, argv)
if (tmp != NULL)
{
homedir = (char *) alloca (MAX_PATH+1);
- cygwin_conv_to_posix_path (tmp, homedir);
+ cygwin32_conv_to_posix_path (tmp, homedir);
}
else
homedir = NULL;