From: Daniel Jacobowitz Date: Tue, 17 Jan 2006 14:57:43 +0000 (+0000) Subject: * complaints.c (stop_whining): Make signed. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a0841d7ad2cd86e901b6961f1616144aebe8c336;p=binutils-gdb.git * complaints.c (stop_whining): Make signed. * linux-thread-db.c (thread_db_store_registers): Use gdb_byte. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 44450106084..ee9eb3fda1e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2006-01-17 Daniel Jacobowitz + + * complaints.c (stop_whining): Make signed. + * linux-thread-db.c (thread_db_store_registers): Use gdb_byte. + 2006-01-17 Daniel Jacobowitz * dwarf2read.c, remote-fileio.c, remote.h: Update copyright diff --git a/gdb/complaints.c b/gdb/complaints.c index 7d8f23e2841..b71d0fa0f01 100644 --- a/gdb/complaints.c +++ b/gdb/complaints.c @@ -1,7 +1,7 @@ /* Support for complaint handling during symbol reading in GDB. Copyright (C) 1990, 1991, 1992, 1993, 1995, 1998, 1999, 2000, 2002, - 2004, 2005 Free Software Foundation, Inc. + 2004, 2005, 2006 Free Software Foundation, Inc. This file is part of GDB. @@ -161,7 +161,7 @@ find_complaint (struct complaints *complaints, const char *file, before we stop whining about it? Default is no whining at all, since so many systems have ill-constructed symbol files. */ -static unsigned int stop_whining = 0; +static int stop_whining = 0; /* Print a complaint, and link the complaint block into a chain for later handling. */ diff --git a/gdb/linux-thread-db.c b/gdb/linux-thread-db.c index 536170e3720..76b7d0cae7f 100644 --- a/gdb/linux-thread-db.c +++ b/gdb/linux-thread-db.c @@ -1,6 +1,6 @@ /* libthread_db assisted debugging support, generic parts. - Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005 + Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. This file is part of GDB. @@ -1048,7 +1048,7 @@ thread_db_store_registers (int regno) if (regno != -1) { - char raw[MAX_REGISTER_SIZE]; + gdb_byte raw[MAX_REGISTER_SIZE]; deprecated_read_register_gen (regno, raw); thread_db_fetch_registers (-1);