aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-01-16 20:40:53 +0000
committerTom Tromey <tromey@redhat.com>2012-01-16 20:40:53 +0000
commit4aac40c83727ce9e8ec9d6968d589df0939c9827 (patch)
tree6dd54fa985311dd9b7d78ed28315dac7f1ffdf7e /gdb/NEWS
parentcafec441901459c36ad92f1cd9eef648534ea53b (diff)
downloadgdb-4aac40c83727ce9e8ec9d6968d589df0939c9827.zip
gdb-4aac40c83727ce9e8ec9d6968d589df0939c9827.tar.gz
gdb-4aac40c83727ce9e8ec9d6968d589df0939c9827.tar.bz2
gdb
* NEWS: Add item. * symtab.h (compare_filenames_for_search): Declare. * symtab.c (compare_filenames_for_search): New function. (iterate_over_some_symtabs): Use it. * symfile.h (struct quick_symbol_functions) <map_symtabs_matching_filename>: Change spec. * psymtab.c (partial_map_symtabs_matching_filename): Use compare_filenames_for_search. Update for new spec. * dwarf2read.c (dw2_map_symtabs_matching_filename): Use compare_filenames_for_search. Update for new spec. * breakpoint.c (clear_command): Use compare_filenames_for_search. gdb/doc * gdb.texinfo (Specify Location): Document relative file name handling. gdb/testsuite * gdb.linespec/linespec.exp: Change some tests to use $decimal. Add tests for relative directory.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r--gdb/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index 02082a3..efb53a7 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -25,6 +25,11 @@
** A new class, gdb.printing.FlagEnumerationPrinter, can be used to
apply "flag enum"-style pretty-printing to any enum.
+* The filename part of a linespec will now match trailing components
+ of a source file name. For example, "break gcc/expr.c:1000" will
+ now set a breakpoint in build/gcc/expr.c, but not
+ build/libcpp/expr.c.
+
*** Changes in GDB 7.4
* GDB now handles ambiguous linespecs more consistently; the existing