From 1b56eb55405f0222188073473e1ab563899424ca Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Sun, 3 Feb 2013 16:09:33 +0000 Subject: gdb/ Add a new variable that controls a way in which filenames are displayed. * NEWS (set filename-display): New entry. * source.c (filename_display_basename, filename_display_relative) (filename_display_absolute, filename_display_kind_names) (filename_display_string, show_filename_display_string) (symtab_to_filename_for_display): New. (_initialize_source): Added initialization of 'filename-display' variable. * source.h (symtab_to_filename_for_display): Added declaration. * stack.c (print_frame): Added new variable and calling of a new function and condition with this variable. Changed third argument of calling of a function. gdb/doc/ * gdb.texinfo (Backtrace): Added description of 'filename-display' variable in 'set/show backtrace' section. gdb/testsuite/ * gdb.dwarf2/dw2-dir-file-name.exp: New file. * gdb.dwarf2/dw2-dir-file-name.c: New file. --- gdb/ChangeLog | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'gdb/ChangeLog') diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 793188a..82eebfa 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,20 @@ +2013-02-03 Eldar Gaynetdinov + Jan Kratochvil + + Add a new variable that controls a way in which filenames are + displayed. + * NEWS (set filename-display): New entry. + * source.c (filename_display_basename, filename_display_relative) + (filename_display_absolute, filename_display_kind_names) + (filename_display_string, show_filename_display_string) + (symtab_to_filename_for_display): New. + (_initialize_source): Added initialization of 'filename-display' + variable. + * source.h (symtab_to_filename_for_display): Added declaration. + * stack.c (print_frame): Added new variable and calling of a new + function and condition with this variable. Changed third argument of + calling of a function. + 2013-02-03 Jan Kratochvil * tui/tui-data.c (init_win_info, tui_del_window, tui_free_window): -- cgit v1.1