aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2011-06-10 21:50:55 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2011-06-10 21:50:55 +0000
commit533a737ed5f6de1299ced68234b2b147cd4396c7 (patch)
tree7d10506c172b818da316fede59fe30eab0660324 /gdb/symtab.c
parent44b13c5a41d3b0fc2f122071e8c64987564dbf21 (diff)
downloadgdb-533a737ed5f6de1299ced68234b2b147cd4396c7.zip
gdb-533a737ed5f6de1299ced68234b2b147cd4396c7.tar.gz
gdb-533a737ed5f6de1299ced68234b2b147cd4396c7.tar.bz2
gdb/
* symtab.c (output_partial_symbol_filename): Exchange the filename and fullname parameters order. gdb/testsuite/ * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r--gdb/symtab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c
index 8879ddf..ba86dec 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -2837,7 +2837,7 @@ output_source_filename (const char *name, int *first)
/* 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);