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 gdb/19245] fix misparsing in remote_parse_stop_reply


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

Joel Brobecker <brobecker at gnat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |brobecker at gnat dot com

--- Comment #2 from Joel Brobecker <brobecker at gnat dot com> ---
And also in GDB 7.10 already. See:

commit e13cbb569965ee3baca2ad4801eeb910c2b2f03f
Author: Sandra Loosemore <sandra@codesourcery.com>
Date:   Tue Aug 18 10:37:31 2015 -0700

    Fix mis-parsing of hex register numbers in 'T' stop replies

    2015-08-18  Sandra Loosemore  <sandra@codesourcery.com>

        gdb/
        * remote.c (strprefix): New.
        (remote_parse_stop_reply): Use strprefix instead of strncmp
        to ensure exact match of keyword.

-- 
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]