* complaints.c (stop_whining): Make signed.

* linux-thread-db.c (thread_db_store_registers): Use gdb_byte.
This commit is contained in:
Daniel Jacobowitz 2006-01-17 14:57:43 +00:00
parent 939b2b425d
commit a0841d7ad2
3 changed files with 9 additions and 4 deletions

View file

@ -1,3 +1,8 @@
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

View 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. */

View 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);