+2011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * symtab.c (output_partial_symbol_filename): Exchange the filename and
+ fullname parameters order.
+
2011-06-03 Tom Tromey <tromey@redhat.com>
* python/py-inferior.c (python_inferior_exit): Use inferior's exit
/* A callback for map_partial_symbol_filenames. */
static void
-output_partial_symbol_filename (const char *fullname, const char *filename,
+output_partial_symbol_filename (const char *filename, const char *fullname,
void *data)
{
output_source_filename (fullname ? fullname : filename, data);
+2011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
+
2011-05-31 Pedro Alves <pedro@codesourcery.com>
* gdb.arch/i386-dr3-watch.c: New file.
# is that the file and fullname fields are now inverted.
gdb_test "interpreter-exec mi -file-list-exec-source-files" \
".*{file=\"file1\\.txt\",fullname=\".+file1\\.txt\"}.*"
+
+# And `info sources' should return the fullname incl. the directories.
+gdb_test "info sources" {[/\\]file1\.txt}