import gdb-1999-12-06 snapshot

This commit is contained in:
Jason Molenda 1999-12-07 03:56:43 +00:00
parent 1e37c28164
commit c2d11a7da0
115 changed files with 19925 additions and 1063 deletions

View file

@ -90,7 +90,7 @@ core_file_command (filename, from_tty)
symfile = t->to_core_file_to_sym_file (filename);
if (symfile)
{
char *symfile_copy = strdup (symfile);
char *symfile_copy = xstrdup (symfile);
make_cleanup (free, symfile_copy);
symbol_file_command (symfile_copy, from_tty);
@ -185,7 +185,7 @@ reopen_exec_file ()
return;
/* If the timestamp of the exec file has changed, reopen it. */
filename = strdup (bfd_get_filename (exec_bfd));
filename = xstrdup (bfd_get_filename (exec_bfd));
make_cleanup (free, filename);
mtime = bfd_get_mtime (exec_bfd);
res = stat (filename, &st);