From 7776ac6e1045db8b30ca5f67502cc234e6d15c3b Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Tue, 17 Jan 2006 14:57:43 +0000 Subject: [PATCH] * complaints.c (stop_whining): Make signed. * linux-thread-db.c (thread_db_store_registers): Use gdb_byte. --- gdb/ChangeLog | 5 +++++ gdb/complaints.c | 4 ++-- gdb/linux-thread-db.c | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4445010608..ee9eb3fda1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 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 notices. diff --git a/gdb/complaints.c b/gdb/complaints.c index 7d8f23e284..b71d0fa0f0 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 536170e372..76b7d0cae7 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); -- 2.11.0