From: Jim Kingdon Date: Wed, 16 Mar 1994 18:05:57 +0000 (+0000) Subject: * main.c (main): Don't init_source_path for the -cd argument. Now X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a645ccc92603069c58d6ac7bb961c1a86054fa8c;p=binutils-gdb.git * main.c (main): Don't init_source_path for the -cd argument. Now that source_path doesn't contain the current_directory from when GDB started up, init_source_path is no longer useful (and is harmful because it clobbers a source_path set in $HOME/.gdbinit). --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3862548712c..a51dab0595f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ Wed Mar 16 07:18:43 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + * main.c (main): Don't init_source_path for the -cd argument. Now + that source_path doesn't contain the current_directory from when + GDB started up, init_source_path is no longer useful (and is + harmful because it clobbers a source_path set in $HOME/.gdbinit). + * TODO: Remove item about line numbers being off. It is useless and confusing without a reproducible test case (it mentions proceed(), but I was able to step through proceed without trouble).