* complaints.c (stop_whining): Make signed.
authorDaniel Jacobowitz <drow@false.org>
Tue, 17 Jan 2006 14:57:43 +0000 (14:57 +0000)
committerDaniel Jacobowitz <drow@false.org>
Tue, 17 Jan 2006 14:57:43 +0000 (14:57 +0000)
* linux-thread-db.c (thread_db_store_registers): Use gdb_byte.

gdb/ChangeLog
gdb/complaints.c
gdb/linux-thread-db.c

index 4445010..ee9eb3f 100644 (file)
@@ -1,5 +1,10 @@
 2006-01-17  Daniel Jacobowitz  <dan@codesourcery.com>
 
+       * complaints.c (stop_whining): Make signed.
+       * linux-thread-db.c (thread_db_store_registers): Use gdb_byte.
+
+2006-01-17  Daniel Jacobowitz  <dan@codesourcery.com>
+
        * dwarf2read.c, remote-fileio.c, remote.h: Update copyright
        notices.
 
index 7d8f23e..b71d0fa 100644 (file)
@@ -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.  */
index 536170e..76b7d0c 100644 (file)
@@ -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);