diff options
author | Daniel Jacobowitz <drow@false.org> | 2008-06-26 15:51:28 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2008-06-26 15:51:28 +0000 |
commit | d5af19bafb85ea444b237ed2eab15aebeac1adca (patch) | |
tree | e09852d9c8d38d370fde461026c74d228597e3e8 /gdb/gdb_thread_db.h | |
parent | 00fbcec4ab2d975199647a43b5cb73734d40bea1 (diff) | |
download | gdb-d5af19bafb85ea444b237ed2eab15aebeac1adca.zip gdb-d5af19bafb85ea444b237ed2eab15aebeac1adca.tar.gz gdb-d5af19bafb85ea444b237ed2eab15aebeac1adca.tar.bz2 |
* Makefile.in (GNULIB_H): Use GNULIB_STDINT_H.
(gdb_stdint_h, gdb_stdint.h, stamp-int): Delete. Remove
all dependencies on $(gdb_stdint_h).
(distclean): Do not delete gdb_stdint.h.
* acinclude.m4: Do not use stdint.m4.
* configure.ac: Set GNULIB_STDINT_H. Remove tests for stdint.h,
uintptr_t, and gdb_stdint.h.
* defs.h: Include <stdint.h>.
* gdb_thread_db.h: Assume stdint.h is already included.
* breakpoint.c, findcmd.c, hppa-tdep.c, inf-ptrace.c, proc-service.c,
rs6000-nat.c, spu-linux-nat.c, target.c, win32-nat.c: Do not
include gdb_stdint.h.
* configure, config.in: Regenerate.
Diffstat (limited to 'gdb/gdb_thread_db.h')
-rw-r--r-- | gdb/gdb_thread_db.h | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/gdb/gdb_thread_db.h b/gdb/gdb_thread_db.h index 2590387..2621f6b 100644 --- a/gdb/gdb_thread_db.h +++ b/gdb/gdb_thread_db.h @@ -2,15 +2,6 @@ #include <thread_db.h> #else -#ifdef HAVE_STDINT_H -#include <stdint.h> -typedef uint32_t gdb_uint32_t; -#define GDB_UINT32_C(c) UINT32_C(c) -#else -typedef unsigned int gdb_uint32_t; -#define GDB_UINT32_C(c) c ## U -#endif - /* Copyright (C) 1999, 2000, 2007, 2008 Free Software Foundation, Inc. This file is part of the GNU C Library. @@ -119,14 +110,14 @@ typedef struct td_thrhandle /* Bitmask of enabled events. */ typedef struct td_thr_events { - gdb_uint32_t event_bits[TD_EVENTSIZE]; + uint32_t event_bits[TD_EVENTSIZE]; } td_thr_events_t; /* Event set manipulation macros. */ #define __td_eventmask(n) \ - (GDB_UINT32_C (1) << (((n) - 1) & BT_UIMASK)) + (UINT32_C (1) << (((n) - 1) & BT_UIMASK)) #define __td_eventword(n) \ - ((GDB_UINT32_C ((n) - 1)) >> BT_UISHIFT) + ((UINT32_C ((n) - 1)) >> BT_UISHIFT) #define td_event_emptyset(setp) \ do { \ @@ -139,7 +130,7 @@ typedef struct td_thr_events do { \ int __i; \ for (__i = TD_EVENTSIZE; __i > 0; --__i) \ - (setp)->event_bits[__i - 1] = GDB_UINT32_C (0xffffffff); \ + (setp)->event_bits[__i - 1] = UINT32_C (0xffffffff); \ } while (0) #define td_event_addset(setp, n) \ |