aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2011-05-31 22:13:51 +0000
committerKeith Seitz <keiths@redhat.com>2011-05-31 22:13:51 +0000
commite8eb7bc5344476226012298ca2b1eb72c8d5cc03 (patch)
tree3d38c7af3b3c7ed5a5c818c8a391381b6912ce1f /gdb/ChangeLog
parentfa8b9902af001abd6644344997f323fbe3fe2c59 (diff)
downloadgdb-e8eb7bc5344476226012298ca2b1eb72c8d5cc03.zip
gdb-e8eb7bc5344476226012298ca2b1eb72c8d5cc03.tar.gz
gdb-e8eb7bc5344476226012298ca2b1eb72c8d5cc03.tar.bz2
PR c++/12750
* linespec.c (get_search_block): New function. (find_methods): Add FILE_SYMTATB parameter and use it and get_search_block to pass an appropriate block to lookup_symbol_in_namespace. (decode_line_1): Record if *ARGPTR is single-quote enclosed. Check if *ARGPTR starts with a filename first. If it does, call locate_first_half again to locate the next "first half" of the linespec. Pass FILE_SYMTATB to decode_objc and decode_compound. Swallow the trailing single-quote if IS_SQUOTE_ENCLOSED. (locate_first_half): Stop on the first colon seen. (decode_compound): Add FILE_SYMTAB parameter. Pass FILE_SYMTAB to lookup_prefix_sym and find_method. (lookup_prefix_sym): Add FILE_SYMTAB parameter and use get_search_block with lookup_symbol. (find_method): Add FILE_SYMTAB parameter and pass it to find_methods. (decode_objc): Use get_search_block.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog22
1 files changed, 22 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 2397534..42a047d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,27 @@
2010-05-31 Keith Seitz <keiths@redhat.com>
+ PR c++/12750
+ * linespec.c (get_search_block): New function.
+ (find_methods): Add FILE_SYMTATB parameter and use it and
+ get_search_block to pass an appropriate block to
+ lookup_symbol_in_namespace.
+ (decode_line_1): Record if *ARGPTR is single-quote enclosed.
+ Check if *ARGPTR starts with a filename first.
+ If it does, call locate_first_half again to locate the next
+ "first half" of the linespec.
+ Pass FILE_SYMTATB to decode_objc and decode_compound.
+ Swallow the trailing single-quote if IS_SQUOTE_ENCLOSED.
+ (locate_first_half): Stop on the first colon seen.
+ (decode_compound): Add FILE_SYMTAB parameter.
+ Pass FILE_SYMTAB to lookup_prefix_sym and find_method.
+ (lookup_prefix_sym): Add FILE_SYMTAB parameter and use
+ get_search_block with lookup_symbol.
+ (find_method): Add FILE_SYMTAB parameter and pass it to
+ find_methods.
+ (decode_objc): Use get_search_block.
+
+2010-05-31 Keith Seitz <keiths@redhat.com>
+
PR symtab/12704
* cp-namespace.c (ANONYMOUS_NAMESPACE_LEN): Remove.
(cp_scan_for_anonymous_namespaces): Use CP_ANONYMOUS_NAMESPACE_STR