Index: gdb/tui/tui-out.c |
diff --git a/gdb/tui/tui-out.c b/gdb/tui/tui-out.c |
index 87311d8717bc574ae302fb55f538bc69910d514e..32cf6cbcefdb32250d0e127c035e686580e89d07 100644 |
--- a/gdb/tui/tui-out.c |
+++ b/gdb/tui/tui-out.c |
@@ -1,7 +1,6 @@ |
/* Output generating routines for GDB CLI. |
- Copyright (C) 1999-2003, 2005, 2007-2012 Free Software Foundation, |
- Inc. |
+ Copyright (C) 1999-2013 Free Software Foundation, Inc. |
Contributed by Cygnus Solutions. |
Written by Fernando Nasser for Cygnus. |
@@ -25,7 +24,7 @@ |
#include "ui-out.h" |
#include "cli-out.h" |
#include "tui.h" |
-#include "gdb_string.h" |
+#include <string.h> |
#include "gdb_assert.h" |
struct tui_ui_out_data |
@@ -85,7 +84,7 @@ tui_field_string (struct ui_out *uiout, |
if (data->base.suppress_output) |
return; |
- if (fldname && data->line > 0 && strcmp (fldname, "file") == 0) |
+ if (fldname && data->line > 0 && strcmp (fldname, "fullname") == 0) |
{ |
data->start_of_line ++; |
if (data->line > 0) |