From 85ec6ce7d58c48d6474981c428a4f0d92e447173 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 14 Aug 2013 17:57:09 +0000 Subject: use the libiberty crc code gdb has a copy of some CRC code that also appears in libiberty. This patch just removes the local copy. You may notice that "crc32" returns unsigned long but "xcrc32" returns unsigned int. However, this does not matter, because crc32 actually does all its operations in unsigned int type, and only the return result is widened. So, the difference does not matter. * remote.c (crc32_table, crc32): Remove. (remote_verify_memory): Use xcrc32. --- gdb/ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gdb/ChangeLog') diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 35d6bcc..bde9c2d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-08-14 Tom Tromey + + * remote.c (crc32_table, crc32): Remove. + (remote_verify_memory): Use xcrc32. + 2013-08-13 Sergio Durigan Junior * value.h (create_internalvar_type_lazy): Adjust prototype -- cgit v1.1