mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-16 07:27:56 +00:00
* top.c (gdb_init): Don't set the current directory here; that's
already been done in captured_main.
This commit is contained in:
parent
6fe8fd2093
commit
fdb7262ae4
@ -1,3 +1,8 @@
|
||||
2009-01-06 Jim Blandy <jimb@red-bean.com>
|
||||
|
||||
* top.c (gdb_init): Don't set the current directory here; that's
|
||||
already been done in captured_main.
|
||||
|
||||
2009-01-06 Sandra Loosemore <sandra@codesourcery.com>
|
||||
|
||||
* ser-tcp.c: Adjust includes.
|
||||
|
@ -1643,9 +1643,6 @@ gdb_init (char *argv0)
|
||||
|
||||
/* Run the init function of each source file */
|
||||
|
||||
getcwd (gdb_dirbuf, sizeof (gdb_dirbuf));
|
||||
current_directory = gdb_dirbuf;
|
||||
|
||||
#ifdef __MSDOS__
|
||||
/* Make sure we return to the original directory upon exit, come
|
||||
what may, since the OS doesn't do that for us. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user