mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-25 16:57:52 +00:00
2010-05-16 Michael Snyder <msnyder@vmware.com>
* scm-exp.c: White space. * scm-lang.c: White space. * scm-valprint.c: White space. * sentinel-frame.c: White space. * ser-base.c: White space. * ser-go32.c: White space. * serial.c: White space. * ser-mingw.c: White space. * ser-pipe.c: White space. * ser-tcp.c: White space. * ser-unix.c: White space. * solib.c: White space. * solib-darwin.c: White space. * solib-frv.c: White space. * solib-irix.c: White space. * solib-osf.c: White space. * solib-pa64.c: White space. * solib-som.c: White space. * solib-spu.c: White space. * solib-svr4.c: White space. * solib-target.c: White space. * source.c: White space. * stabsread.c: White space. * stack.c: White space. * std-regs.c: White space. * symfile.c: White space. * symmisc.c: White space. * symtab.c: White space.
This commit is contained in:
@@ -267,6 +267,7 @@ select_source_symtab (struct symtab *s)
|
||||
{
|
||||
const char *name = s->filename;
|
||||
int len = strlen (name);
|
||||
|
||||
if (!(len > 2 && (strcmp (&name[len - 2], ".h") == 0
|
||||
|| strcmp (name, "<<C++-namespaces>>") == 0)))
|
||||
{
|
||||
@@ -519,6 +520,7 @@ add_path (char *dirname, char **which_path, int parse_separators)
|
||||
if (stat (name, &st) < 0)
|
||||
{
|
||||
int save_errno = errno;
|
||||
|
||||
fprintf_unfiltered (gdb_stderr, "Warning: ");
|
||||
print_sys_errmsg (name, save_errno);
|
||||
}
|
||||
@@ -813,6 +815,7 @@ done:
|
||||
IS_DIR_SEPARATOR (current_directory[strlen (current_directory) - 1])
|
||||
? "" : SLASH_STRING,
|
||||
filename, (char *)NULL);
|
||||
|
||||
*filename_opened = xfullpath (f);
|
||||
xfree (f);
|
||||
}
|
||||
@@ -1910,6 +1913,7 @@ void
|
||||
_initialize_source (void)
|
||||
{
|
||||
struct cmd_list_element *c;
|
||||
|
||||
current_source_symtab = 0;
|
||||
init_source_path ();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user