This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug symtab/17602] iterate_name_matcher passes arguments to strcmp_iw in reverse order?


https://sourceware.org/bugzilla/show_bug.cgi?id=17602

--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".

The branch, master has been updated
       via  642a8d806780150b62e3a0381a8d995212bdf442 (commit)
      from  ddb9f679fa9f54633442c46574b8e5b0ca45a786 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=642a8d806780150b62e3a0381a8d995212bdf442

commit 642a8d806780150b62e3a0381a8d995212bdf442
Author: Doug Evans <xdje42@gmail.com>
Date:   Fri Dec 5 00:53:56 2014 -0800

    Revert: linespec.c (iterate_name_matcher): Fix arguments to
symbol_name_cmp.

    This patch causes regressions in ada's operator_bp.exp test.
    That's because it uses wild_match which expects arguments in
    the original order.

    There is still a bug here.  It's hard to see because either minsyms
    save the day, or the needed symtab gets expanded before linespecs
    need it because of the call to cp_canonicalize_string_no_typedefs
    in linespec.c:find_linespec_symbols.
    But if you disable both of those things, then the bug is visible.

    bash$ ./gdb -D ./data-directory testsuite/gdb.cp/anon-ns
    (gdb) b doit(void)
    Function "doit(void)" not defined.

    gdb/ChangeLog:

        Revert:
        PR symtab/17602
        * linespec.c (iterate_name_matcher): Fix arguments to symbol_name_cmp.

-----------------------------------------------------------------------

Summary of changes:
 gdb/ChangeLog  |    6 ++++++
 gdb/linespec.c |    7 +------
 2 files changed, 7 insertions(+), 6 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]