mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 01:28:46 +00:00
* acinclude.m4: Correct quoting.
* aclocal.m4: Regenerated. Suggested by SZOKOVACS Robert <szo@ies.hu>: * thread-db.c (thread_db_err_str): Handle TD_VERSION. (thread_db_init): Call thread_db_err_str. * configure.ac: Check for TD_VERSION. * config.in, configure: Regenerated.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/* Thread management interface, for the remote server for GDB.
|
||||
Copyright 2002
|
||||
Copyright 2002, 2004, 2005
|
||||
Free Software Foundation, Inc.
|
||||
|
||||
Contributed by MontaVista Software.
|
||||
@@ -103,6 +103,10 @@ thread_db_err_str (td_err_e err)
|
||||
return "only part of register set was written/read";
|
||||
case TD_NOXREGS:
|
||||
return "X register set not available for this thread";
|
||||
#ifdef HAVE_TD_VERSION
|
||||
case TD_VERSION:
|
||||
return "version mismatch between libthread_db and libpthread";
|
||||
#endif
|
||||
default:
|
||||
snprintf (buf, sizeof (buf), "unknown thread_db error '%d'", err);
|
||||
return buf;
|
||||
@@ -361,7 +365,8 @@ thread_db_init ()
|
||||
return 1;
|
||||
|
||||
default:
|
||||
warning ("error initializing thread_db library.");
|
||||
warning ("error initializing thread_db library: %s",
|
||||
thread_db_err_str (err));
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user