This is the mail archive of the gdb-patches@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]

[PATCH] Fix linespec.c vs padding on 32bit targets


Hi,
  The problem here is there is padding in address_entry so
iterative_hash_object on the full object cannot be done as the padding
would be some junk.  This causes lots of gdb failures on
mips64-linux-gnu.

OK?  Tested on mips64-linux-gnu.

Thanks,
Andrew Pinski

PS I don't have write access for gdb.


gdb/ChangeLog:
* linespec.c (hash_address_entry): Use iterative_hash_object on each
field rather than the struct itself.

Attachment: fixhash.diff.txt
Description: Text document


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