This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] "Error in re-setting breakpoint," c++/12750
- From: Tom Tromey <tromey at redhat dot com>
- To: Keith Seitz <keiths at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 31 May 2011 14:58:45 -0600
- Subject: Re: [RFA] "Error in re-setting breakpoint," c++/12750
- References: <4DD6B72D.3060706@redhat.com>
>>>>> "Keith" == Keith Seitz <keiths@redhat.com> writes:
Keith> PR c++/12750
Keith> * linespec.c (get_search_block): New function.
Keith> (find_methods): Add FILE_SYMTATB parameter and use it and
Keith> get_search_block to pass an appropriate block to
Keith> lookup_symbol_in_namespace.
Keith> (decode_line_1): Record if *ARGPTR is single-quote enclosed.
Keith> Check if *ARGPTR starts with a filename first.
Keith> If it does, call locate_first_half again to locate the next
Keith> "first half" of the linespec.
Keith> Pass FILE_SYMTATB to decode_objc and decode_compound.
Keith> Swallow the trailing single-quote if IS_SQUOTE_ENCLOSED.
Keith> (locate_first_half): Stop on the first colon seen.
Keith> (decode_compound): Add FILE_SYMTAB parameter.
Keith> Pass FILE_SYMTAB to lookup_prefix_sym and find_method.
Keith> (lookup_prefix_sym): Add FILE_SYMTAB parameter and use
Keith> get_search_block with lookup_symbol.
Keith> (find_method): Add FILE_SYMTAB parameter and pass it to
Keith> find_methods.
Keith> (decode_objc): Use get_search_block.
Keith> 2010-05-18 Keith Seitz <keiths@redhat.com>
Keith> PR c++/12750
Keith> * gdb.cp/static-method.cc: New file.
Keith> * gdb.cp/static-method.exp: New file.
Ok.
Tom