mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-23 12:09:49 +00:00
Fix compile time warning about pointer comparison.
PR 21034 * stabs.c (parse_stab_members): Fix thinko checking for g++ version 1 stabs information.
This commit is contained in:
parent
07e8e62387
commit
b972a0d61a
@ -1,3 +1,9 @@
|
|||||||
|
2017-01-10 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
PR 21034
|
||||||
|
* stabs.c (parse_stab_members): Fix thinko checking for g++
|
||||||
|
version 1 stabs information.
|
||||||
|
|
||||||
2017-01-09 Nick Clifton <nickc@redhat.com>
|
2017-01-09 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
* objdump.c (display_file): Add new parameter 'last_file'. If
|
* objdump.c (display_file): Add new parameter 'last_file'. If
|
||||||
|
@ -2702,7 +2702,7 @@ parse_stab_members (void *dhandle, struct stab_handle *info,
|
|||||||
++*pp;
|
++*pp;
|
||||||
voffset &= 0x7fffffff;
|
voffset &= 0x7fffffff;
|
||||||
|
|
||||||
if (**pp == ';' || *pp == '\0')
|
if (**pp == ';' || **pp == '\0')
|
||||||
{
|
{
|
||||||
/* Must be g++ version 1. */
|
/* Must be g++ version 1. */
|
||||||
context = DEBUG_TYPE_NULL;
|
context = DEBUG_TYPE_NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user