Remove ancient workaround

This commit removes a workaround for a bug in glibc 2.1.3, which
was released 2000-02-24 and superseded 2000-11-09.

gdb/ChangeLog:

	* gdb_proc_service.h (gdb_prfpregset_t): Remove typedef.
	* proc-service.c (ps_lgetfpregs, ps_lsetfpregs): Use
	prfpregset_t instead of gdb_prfpregset_t.
	* configure.ac (PRFPREGSET_T_BROKEN): Remove check.
	* configure, config.in: Rebuild.
This commit is contained in:
Gary Benson 2018-10-01 10:37:39 +01:00
parent 7c619dbdae
commit 12b164e9a9
6 changed files with 11 additions and 87 deletions

View file

@ -21,22 +21,8 @@
#include "common/gdb_proc_service.h"
#include "gregset.h"
struct thread_info;
/* Fix-up some broken systems. */
/* Unfortunately glibc 2.1.3 was released with a broken prfpregset_t
type. We let configure check for this lossage, and make
appropriate typedefs here. */
#ifdef PRFPREGSET_T_BROKEN
typedef gdb_fpregset_t gdb_prfpregset_t;
#else
typedef prfpregset_t gdb_prfpregset_t;
#endif
/* GDB specific structure that identifies the target process. */
struct ps_prochandle
{