aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2006-01-17 14:57:43 +0000
committerDaniel Jacobowitz <drow@false.org>2006-01-17 14:57:43 +0000
commita0841d7ad2cd86e901b6961f1616144aebe8c336 (patch)
tree69af47bcb124e7a1670314266a81f3bc5b3026a6 /gdb
parent939b2b425df67a530038614d9e4655152391b556 (diff)
downloadgdb-a0841d7ad2cd86e901b6961f1616144aebe8c336.zip
gdb-a0841d7ad2cd86e901b6961f1616144aebe8c336.tar.gz
gdb-a0841d7ad2cd86e901b6961f1616144aebe8c336.tar.bz2
* complaints.c (stop_whining): Make signed.
* linux-thread-db.c (thread_db_store_registers): Use gdb_byte.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/complaints.c4
-rw-r--r--gdb/linux-thread-db.c4
3 files changed, 9 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4445010..ee9eb3f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/complaints.c b/gdb/complaints.c
index 7d8f23e..b71d0fa 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 536170e..76b7d0c 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);