aboutsummaryrefslogtreecommitdiff
path: root/gdb/main.c
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1994-06-23 00:08:09 +0000
committerFred Fish <fnf@specifix.com>1994-06-23 00:08:09 +0000
commitb7ec5b8da56966c85857d052f713fde753f1d1dc (patch)
tree990a461dfb1a181fb9896fc7fc3d428c3226fc33 /gdb/main.c
parent3bf36e67e2528f0cb0ba9f9911ab362e20e1e23f (diff)
downloadgdb-b7ec5b8da56966c85857d052f713fde753f1d1dc.zip
gdb-b7ec5b8da56966c85857d052f713fde753f1d1dc.tar.gz
gdb-b7ec5b8da56966c85857d052f713fde753f1d1dc.tar.bz2
* energize-patches, main.c (main), top.c (gdb_init, pwd_command),
top.h: Change all occurances of dirbuf to gdb_dirbuf. Collides with global variable of same name in libnsl.so on UnixWare.
Diffstat (limited to 'gdb/main.c')
-rw-r--r--gdb/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/main.c b/gdb/main.c
index eb0b8e2..2e0c00d 100644
--- a/gdb/main.c
+++ b/gdb/main.c
@@ -123,8 +123,8 @@ main (argc, argv)
line[0] = '\0'; /* Terminate saved (now empty) cmd line */
instream = stdin;
- getcwd (dirbuf, sizeof (dirbuf));
- current_directory = dirbuf;
+ getcwd (gdb_dirbuf, sizeof (gdb_dirbuf));
+ current_directory = gdb_dirbuf;
/* Parse arguments and options. */
{