This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog defs.h source.c mi/mi-cmd-env.c
- From: drow at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 22 Sep 2009 22:33:47 -0000
- Subject: src/gdb ChangeLog defs.h source.c mi/mi-cmd-env.c
CVSROOT: /cvs/src
Module name: src
Branch: gdb_7_0-branch
Changes by: drow@sourceware.org 2009-09-22 22:33:47
Modified files:
gdb : ChangeLog defs.h source.c
gdb/mi : mi-cmd-env.c
Log message:
* source.c (forget_cached_source_info): Clear last_source_visited.
(init_last_source_visited): Delete.
(directory_command): Do not clear last_source_visited. Call
forget_cached_source_info only if required.
(unset_substitute_path_command, set_substitute_path_command): Call
forget_cached_source_info.
* mi/mi-cmd-env.c (mi_cmd_env_dir): Do not call
init_last_source_visited.
* defs.h (init_last_source_visited): Delete declaration.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&only_with_tag=gdb_7_0-branch&r1=1.10874.2.17&r2=1.10874.2.18
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/defs.h.diff?cvsroot=src&only_with_tag=gdb_7_0-branch&r1=1.254&r2=1.254.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/source.c.diff?cvsroot=src&only_with_tag=gdb_7_0-branch&r1=1.103&r2=1.103.4.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/mi/mi-cmd-env.c.diff?cvsroot=src&only_with_tag=gdb_7_0-branch&r1=1.17&r2=1.17.4.1