mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-23 18:14:13 +08:00
* 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.
This commit is contained in:
parent
00fbcec4ab
commit
d5af19bafb
@ -1,3 +1,19 @@
|
||||
2008-06-26 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
* 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.
|
||||
|
||||
2008-06-26 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Handle passing
|
||||
|
@ -166,7 +166,7 @@ INCGNU = -I$(srcdir)/gnulib -Ignulib
|
||||
|
||||
# Generated headers in the gnulib directory. These must be listed
|
||||
# so that they are generated before other files are compiled.
|
||||
GNULIB_H = gnulib/string.h
|
||||
GNULIB_H = gnulib/string.h @GNULIB_STDINT_H@
|
||||
|
||||
#
|
||||
# CLI sub directory definitons
|
||||
@ -707,7 +707,6 @@ decimal32_h = $(LIBDECNUMBER_DIR)/dpd/decimal32.h
|
||||
config_h = config.h
|
||||
exc_request_U_h = exc_request_U.h
|
||||
exc_request_S_h = exc_request_S.h
|
||||
gdb_stdint_h = gdb_stdint.h
|
||||
msg_reply_S_h = msg_reply_S.h
|
||||
msg_U_h = msg_U.h
|
||||
notify_S_h = notify_S.h
|
||||
@ -1417,7 +1416,6 @@ distclean: clean
|
||||
rm -f gdbserver/tm.h gdbserver/xm.h gdbserver/nm.h
|
||||
rm -f gdbserver/Makefile gdbserver/config.cache
|
||||
rm -f nm.h config.status config.h stamp-h .gdbinit
|
||||
rm -f gdb_stdint.h
|
||||
rm -f y.output yacc.acts yacc.tmp y.tab.h
|
||||
rm -f config.log config.cache
|
||||
rm -f Makefile
|
||||
@ -1476,15 +1474,6 @@ stamp-h: config.in config.status
|
||||
CONFIG_LINKS= \
|
||||
$(SHELL) config.status
|
||||
|
||||
gdb_stdint.h: stamp-int ; @true
|
||||
stamp-int: config.status
|
||||
CONFIG_COMMANDS=gdb_stdint.h \
|
||||
CONFIG_FILES= \
|
||||
CONFIG_HEADERS= \
|
||||
CONFIG_LINKS= \
|
||||
$(SHELL) config.status
|
||||
echo stamp > stamp-int
|
||||
|
||||
config.status: configure configure.tgt configure.host
|
||||
$(SHELL) config.status --recheck
|
||||
|
||||
@ -1984,8 +1973,7 @@ breakpoint.o: breakpoint.c $(defs_h) $(symtab_h) $(frame_h) $(breakpoint_h) \
|
||||
$(objfiles_h) $(source_h) $(linespec_h) $(completer_h) $(gdb_h) \
|
||||
$(ui_out_h) $(cli_script_h) $(gdb_assert_h) $(block_h) $(solib_h) \
|
||||
$(solist_h) $(observer_h) $(exceptions_h) $(gdb_events_h) \
|
||||
$(mi_common_h) $(memattr_h) $(ada_lang_h) $(top_h) $(hashtab_h) \
|
||||
$(gdb_stdint_h)
|
||||
$(mi_common_h) $(memattr_h) $(ada_lang_h) $(top_h) $(hashtab_h)
|
||||
bsd-kvm.o: bsd-kvm.c $(defs_h) $(cli_cmds_h) $(command_h) $(frame_h) \
|
||||
$(regcache_h) $(target_h) $(value_h) $(gdbcore_h) $(gdb_assert_h) \
|
||||
$(readline_h) $(bsd_kvm_h)
|
||||
@ -2136,7 +2124,7 @@ f-exp.o: f-exp.c $(defs_h) $(gdb_string_h) $(expression_h) $(value_h) \
|
||||
$(parser_defs_h) $(language_h) $(f_lang_h) $(bfd_h) $(symfile_h) \
|
||||
$(objfiles_h) $(block_h)
|
||||
findcmd.o: findcmd.c $(defs_h) $(gdb_string_h) $(gdbcmd_h) $(value_h) \
|
||||
$(target_h) $(gdb_stdint_h)
|
||||
$(target_h)
|
||||
findvar.o: findvar.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(frame_h) \
|
||||
$(value_h) $(gdbcore_h) $(inferior_h) $(target_h) $(gdb_string_h) \
|
||||
$(gdb_assert_h) $(floatformat_h) $(symfile_h) $(regcache_h) \
|
||||
@ -2232,7 +2220,7 @@ hppa-linux-tdep.o: hppa-linux-tdep.c $(defs_h) $(gdbcore_h) $(osabi_h) \
|
||||
$(frame_unwind_h) $(trad_frame_h) $(dwarf2_frame_h) $(value_h) \
|
||||
$(hppa_tdep_h) $(elf_common_h) $(regset_h) $(regcache_h)
|
||||
hppa-tdep.o: hppa-tdep.c $(defs_h) $(bfd_h) $(inferior_h) $(regcache_h) \
|
||||
$(completer_h) $(osabi_h) $(gdb_assert_h) $(gdb_stdint_h) \
|
||||
$(completer_h) $(osabi_h) $(gdb_assert_h) \
|
||||
$(arch_utils_h) $(symtab_h) $(dis_asm_h) $(trad_frame_h) \
|
||||
$(frame_unwind_h) $(frame_base_h) $(gdbcore_h) $(gdbcmd_h) \
|
||||
$(objfiles_h) $(hppa_tdep_h) $(gdbtypes_h)
|
||||
@ -2339,7 +2327,7 @@ inflow.o: inflow.c $(defs_h) $(frame_h) $(inferior_h) $(command_h) \
|
||||
$(serial_h) $(terminal_h) $(target_h) $(gdbthread_h) $(gdb_string_h) \
|
||||
$(inflow_h) $(gdb_select_h)
|
||||
inf-ptrace.o: inf-ptrace.c $(defs_h) $(command_h) $(inferior_h) $(inflow_h) \
|
||||
$(gdbcore_h) $(regcache_h) $(gdb_stdint_h) $(gdb_assert_h) \
|
||||
$(gdbcore_h) $(regcache_h) $(gdb_assert_h) \
|
||||
$(gdb_string_h) $(gdb_ptrace_h) $(gdb_wait_h) $(inf_child_h)
|
||||
infrun.o: infrun.c $(defs_h) $(gdb_string_h) $(symtab_h) $(frame_h) \
|
||||
$(inferior_h) $(exceptions_h) $(breakpoint_h) $(gdb_wait_h) \
|
||||
@ -2645,8 +2633,7 @@ procfs.o: procfs.c $(defs_h) $(inferior_h) $(target_h) $(gdbcore_h) \
|
||||
$(gdb_string_h) $(gdb_assert_h) $(inflow_h) $(auxv_h) \
|
||||
$(gdb_dirent_h) $(gdb_stat_h) $(proc_utils_h) $(gregset_h)
|
||||
proc-service.o: proc-service.c $(defs_h) $(gdb_proc_service_h) $(inferior_h) \
|
||||
$(symtab_h) $(target_h) $(regcache_h) $(gregset_h) $(gdbcore_h) \
|
||||
$(gdb_stdint_h)
|
||||
$(symtab_h) $(target_h) $(regcache_h) $(gregset_h) $(gdbcore_h)
|
||||
proc-why.o: proc-why.c $(defs_h) $(proc_utils_h)
|
||||
prologue-value.o: prologue-value.c $(defs_h) $(gdb_string_h) $(gdb_assert_h) \
|
||||
$(prologue_value_h) $(regcache_h)
|
||||
@ -2689,7 +2676,7 @@ rs6000-nat.o: rs6000-nat.c $(defs_h) $(inferior_h) $(target_h) $(gdbcore_h) \
|
||||
$(xcoffsolib_h) $(symfile_h) $(objfiles_h) $(libbfd_h) $(bfd_h) \
|
||||
$(exceptions_h) $(gdb_stabs_h) $(regcache_h) $(arch_utils_h) \
|
||||
$(inf_ptrace_h) $(ppc_tdep_h) $(rs6000_tdep_h) $(exec_h) \
|
||||
$(gdb_stdint_h) $(observer_h) $(gdb_stat_h)
|
||||
$(observer_h) $(gdb_stat_h)
|
||||
rs6000-tdep.o: rs6000-tdep.c $(defs_h) $(frame_h) $(inferior_h) $(symtab_h) \
|
||||
$(target_h) $(gdbcore_h) $(gdbcmd_h) $(objfiles_h) $(arch_utils_h) \
|
||||
$(regcache_h) $(regset_h) $(doublest_h) $(value_h) $(parser_defs_h) \
|
||||
@ -2875,7 +2862,7 @@ sparc-tdep.o: sparc-tdep.c $(defs_h) $(arch_utils_h) $(dis_asm_h) \
|
||||
$(value_h) $(gdb_assert_h) $(gdb_string_h) $(sparc_tdep_h)
|
||||
spu-linux-nat.o: spu-linux-nat.c $(defs_h) $(gdbcore_h) $(gdb_string_h) \
|
||||
$(target_h) $(inferior_h) $(inf_ptrace_h) $(regcache_h) $(symfile_h) \
|
||||
$(gdb_wait_h) $(gdb_stdint_h) $(spu_tdep_h)
|
||||
$(gdb_wait_h) $(spu_tdep_h)
|
||||
spu-tdep.o: spu-tdep.c $(defs_h) $(arch_utils_h) $(gdbtypes_h) $(gdbcmd_h) \
|
||||
$(gdbcore_h) $(gdb_string_h) $(gdb_assert_h) $(frame_h) \
|
||||
$(frame_unwind_h) $(frame_base_h) $(trad_frame_h) $(symtab_h) \
|
||||
@ -2923,7 +2910,7 @@ symtab.o: symtab.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(gdbcore_h) \
|
||||
target.o: target.c $(defs_h) $(gdb_string_h) $(target_h) $(gdbcmd_h) \
|
||||
$(symtab_h) $(inferior_h) $(bfd_h) $(symfile_h) $(objfiles_h) \
|
||||
$(gdb_wait_h) $(dcache_h) $(regcache_h) $(gdb_assert_h) $(gdbcore_h) \
|
||||
$(exceptions_h) $(target_descriptions_h) $(gdb_stdint_h) $(gdbthread_h)
|
||||
$(exceptions_h) $(target_descriptions_h) $(gdbthread_h)
|
||||
target-descriptions.o: target-descriptions.c $(defs_h) $(arch_utils_h) \
|
||||
$(target_h) $(target_descriptions_h) $(vec_h) $(xml_tdesc_h) \
|
||||
$(gdbcmd_h) $(gdb_assert_h) $(gdbtypes_h) $(reggroups_h) \
|
||||
@ -3010,7 +2997,7 @@ win32-nat.o: win32-nat.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) \
|
||||
$(regcache_h) $(top_h) $(buildsym_h) $(symfile_h) $(objfiles_h) \
|
||||
$(gdb_string_h) $(gdbthread_h) $(gdbcmd_h) $(exec_h) $(solist_h) \
|
||||
$(solib_h) $(i386_tdep_h) $(i387_tdep_h) $(gdb_obstack_h) \
|
||||
$(xml_support_h) $(i386_cygwin_tdep_h) $(gdb_stdint_h)
|
||||
$(xml_support_h) $(i386_cygwin_tdep_h)
|
||||
win32-termcap.o: win32-termcap.c
|
||||
wrapper.o: wrapper.c $(defs_h) $(value_h) $(exceptions_h) $(wrapper_h) \
|
||||
$(ui_out_h)
|
||||
|
@ -10,9 +10,6 @@ sinclude(../config/acinclude.m4)
|
||||
dnl This gets autoconf bugfixes
|
||||
sinclude(../config/override.m4)
|
||||
|
||||
dnl This gets GCC_HEADER_STDINT.
|
||||
sinclude(../config/stdint.m4)
|
||||
|
||||
sinclude(../config/gettext-sister.m4)
|
||||
|
||||
dnl For AC_LIB_HAVE_LINKFLAGS.
|
||||
|
@ -60,8 +60,6 @@
|
||||
#include "gdb-events.h"
|
||||
#include "mi/mi-common.h"
|
||||
|
||||
#include "gdb_stdint.h"
|
||||
|
||||
/* Prototypes for local functions. */
|
||||
|
||||
static void until_break_command_continuation (struct continuation_arg *arg,
|
||||
|
@ -494,9 +494,6 @@
|
||||
/* Define to 1 if you have the `ttrace' function. */
|
||||
#undef HAVE_TTRACE
|
||||
|
||||
/* Define to 1 if the system has the type `uintptr_t'. */
|
||||
#undef HAVE_UINTPTR_T
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#undef HAVE_UNISTD_H
|
||||
|
||||
@ -609,21 +606,9 @@
|
||||
'sig_atomic_t'. */
|
||||
#undef SIG_ATOMIC_T_SUFFIX
|
||||
|
||||
/* The size of a `char', as computed by sizeof. */
|
||||
#undef SIZEOF_CHAR
|
||||
|
||||
/* The size of a `int', as computed by sizeof. */
|
||||
#undef SIZEOF_INT
|
||||
|
||||
/* The size of a `long', as computed by sizeof. */
|
||||
#undef SIZEOF_LONG
|
||||
|
||||
/* The size of a `short', as computed by sizeof. */
|
||||
#undef SIZEOF_SHORT
|
||||
|
||||
/* The size of a `void *', as computed by sizeof. */
|
||||
#undef SIZEOF_VOID_P
|
||||
|
||||
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
|
||||
'size_t'. */
|
||||
#undef SIZE_T_SUFFIX
|
||||
|
3482
gdb/configure
vendored
3482
gdb/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -62,6 +62,13 @@ fi
|
||||
|
||||
gl_INIT
|
||||
|
||||
# For Makefile dependencies.
|
||||
GNULIB_STDINT_H=
|
||||
if test x"$STDINT_H" != x; then
|
||||
GNULIB_STDINT_H=gnulib/$STDINT_H
|
||||
fi
|
||||
AC_SUBST(GNULIB_STDINT_H)
|
||||
|
||||
PACKAGE=gdb
|
||||
AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of this package. ])
|
||||
AC_SUBST(PACKAGE)
|
||||
@ -512,7 +519,6 @@ AC_CHECK_HEADERS(proc_service.h thread_db.h gnu/libc-version.h)
|
||||
AC_CHECK_HEADERS(signal.h)
|
||||
AC_CHECK_HEADERS(stddef.h)
|
||||
AC_CHECK_HEADERS(stdlib.h)
|
||||
AC_CHECK_HEADERS(stdint.h)
|
||||
AC_CHECK_HEADERS(string.h memory.h strings.h)
|
||||
AC_CHECK_HEADERS(sys/fault.h)
|
||||
AC_CHECK_HEADERS(sys/file.h)
|
||||
@ -566,9 +572,6 @@ AC_CHECK_HEADERS(elf_hp.h)
|
||||
# unconditionally, so what's the point in checking these?
|
||||
AC_CHECK_HEADERS(ctype.h time.h)
|
||||
|
||||
# Create a header we can use portably to get the standard integer types.
|
||||
GCC_HEADER_STDINT(gdb_stdint.h)
|
||||
|
||||
# ------------------------- #
|
||||
# Checks for declarations. #
|
||||
# ------------------------- #
|
||||
@ -593,7 +596,6 @@ AC_CHECK_TYPES(socklen_t, [], [],
|
||||
[#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
])
|
||||
AC_CHECK_TYPES(uintptr_t, [], [], [#include <stdint.h>])
|
||||
|
||||
# ------------------------------------- #
|
||||
# Checks for compiler characteristics. #
|
||||
|
@ -28,6 +28,7 @@
|
||||
#include <stdio.h>
|
||||
#include <errno.h> /* System call error return status. */
|
||||
#include <limits.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef HAVE_STDDEF_H
|
||||
#include <stddef.h>
|
||||
|
@ -23,7 +23,6 @@
|
||||
#include "gdbcmd.h"
|
||||
#include "value.h"
|
||||
#include "target.h"
|
||||
#include "gdb_stdint.h"
|
||||
|
||||
/* Copied from bfd_put_bits. */
|
||||
|
||||
|
@ -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) \
|
||||
|
@ -29,7 +29,6 @@
|
||||
#include "completer.h"
|
||||
#include "osabi.h"
|
||||
#include "gdb_assert.h"
|
||||
#include "gdb_stdint.h"
|
||||
#include "arch-utils.h"
|
||||
/* For argument passing to the inferior */
|
||||
#include "symtab.h"
|
||||
|
@ -26,7 +26,6 @@
|
||||
#include "gdbcore.h"
|
||||
#include "regcache.h"
|
||||
|
||||
#include "gdb_stdint.h"
|
||||
#include "gdb_assert.h"
|
||||
#include "gdb_string.h"
|
||||
#include "gdb_ptrace.h"
|
||||
|
@ -26,7 +26,6 @@
|
||||
#include "regcache.h"
|
||||
|
||||
#include "gdb_proc_service.h"
|
||||
#include "gdb_stdint.h"
|
||||
|
||||
#include <sys/procfs.h>
|
||||
|
||||
|
@ -36,7 +36,6 @@
|
||||
#include "ppc-tdep.h"
|
||||
#include "rs6000-tdep.h"
|
||||
#include "exec.h"
|
||||
#include "gdb_stdint.h"
|
||||
#include "observer.h"
|
||||
|
||||
#include <sys/ptrace.h>
|
||||
|
@ -27,7 +27,6 @@
|
||||
#include "regcache.h"
|
||||
#include "symfile.h"
|
||||
#include "gdb_wait.h"
|
||||
#include "gdb_stdint.h"
|
||||
|
||||
#include <sys/ptrace.h>
|
||||
#include <asm/ptrace.h>
|
||||
|
@ -39,7 +39,6 @@
|
||||
#include "gdbcore.h"
|
||||
#include "exceptions.h"
|
||||
#include "target-descriptions.h"
|
||||
#include "gdb_stdint.h"
|
||||
#include "gdbthread.h"
|
||||
|
||||
static void target_info (char *, int);
|
||||
|
@ -48,7 +48,6 @@
|
||||
#include "objfiles.h"
|
||||
#include "gdb_obstack.h"
|
||||
#include "gdb_string.h"
|
||||
#include "gdb_stdint.h"
|
||||
#include "gdbthread.h"
|
||||
#include "gdbcmd.h"
|
||||
#include <sys/param.h>
|
||||
|
@ -48,7 +48,6 @@
|
||||
#include "objfiles.h"
|
||||
#include "gdb_obstack.h"
|
||||
#include "gdb_string.h"
|
||||
#include "gdb_stdint.h"
|
||||
#include "gdbthread.h"
|
||||
#include "gdbcmd.h"
|
||||
#include <sys/param.h>
|
||||
|
Loading…
Reference in New Issue
Block a user