This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [python] [patch] PR python/13345


>>>>> "Phil" == Phil Muldoon <pmuldoon@redhat.com> writes:

Phil> 2011-10-31  Phil Muldoon  <pmuldoon@redhat.com>
Phil> 	PR Python/13345
Phil> 	* python/python.c (python_run_simple_file): Expand tilde in path.

Phil> +  python_file = PyFile_FromString (full_path, "r");
Phil> +  if (! python_file)
Phil> +    {
Phil> +      do_cleanups (cleanup);
Phil> +      gdbpy_print_stack ();
Phil> +      error (_("Error sourcing Python file"));

I think the error should say "Error while opening file: %s"
and have the file name.

Ok with that change.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]