for a negative return value.
+2006-12-28 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * ia64-tdep.c (get_kernel_table): Correct signedness in check
+ for a negative return value.
+
2006-12-27 Gary Funck <gary@intrepid.com>
* dwarf2read.c (dwarf_attr_name, dwarf_cfi_name)
* MAINTAINERS (Write After Approval): Add myself.
-2006-12-26 Joel brobecker <brobecker@adacore.com>
+2006-12-26 Joel Brobecker <brobecker@adacore.com>
* sparc64-tdep.c (sparc64_extract_return_value): Add handling
for array types.
if (!ktab)
{
gdb_byte *ktab_buf;
- size_t size;
+ LONGEST size;
- ktab_size = getunwind_table (&ktab_buf);
- if (ktab_size <= 0)
+ size = getunwind_table (&ktab_buf);
+ if (size <= 0)
return -UNW_ENOINFO;
- else
- ktab = (struct ia64_table_entry *) ktab_buf;
+
+ ktab = (struct ia64_table_entry *) ktab_buf;
+ ktab_size = size;
for (etab = ktab; etab->start_offset; ++etab)
etab->info_offset += KERNEL_START;