Module Name: src Committed By: christos Date: Mon Aug 17 13:17:44 UTC 2015
Modified Files: src/external/gpl3/gdb/lib/libgdb/arch/coldfire: config.h defs.mk init.c jit-reader.h observer.h observer.inc version.c xml-builtin.c src/external/gpl3/gdb/lib/libgdb/arch/coldfire/build-gnulib: config.h Log Message: regen coldfire To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 \ src/external/gpl3/gdb/lib/libgdb/arch/coldfire/config.h \ src/external/gpl3/gdb/lib/libgdb/arch/coldfire/defs.mk \ src/external/gpl3/gdb/lib/libgdb/arch/coldfire/init.c \ src/external/gpl3/gdb/lib/libgdb/arch/coldfire/observer.h \ src/external/gpl3/gdb/lib/libgdb/arch/coldfire/observer.inc \ src/external/gpl3/gdb/lib/libgdb/arch/coldfire/version.c \ src/external/gpl3/gdb/lib/libgdb/arch/coldfire/xml-builtin.c cvs rdiff -u -r1.2 -r1.3 \ src/external/gpl3/gdb/lib/libgdb/arch/coldfire/jit-reader.h cvs rdiff -u -r1.2 -r1.3 \ src/external/gpl3/gdb/lib/libgdb/arch/coldfire/build-gnulib/config.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/gpl3/gdb/lib/libgdb/arch/coldfire/config.h diff -u src/external/gpl3/gdb/lib/libgdb/arch/coldfire/config.h:1.3 src/external/gpl3/gdb/lib/libgdb/arch/coldfire/config.h:1.4 --- src/external/gpl3/gdb/lib/libgdb/arch/coldfire/config.h:1.3 Sun Jun 22 23:16:29 2014 +++ src/external/gpl3/gdb/lib/libgdb/arch/coldfire/config.h Mon Aug 17 09:17:44 2015 @@ -36,7 +36,7 @@ #define DEFAULT_BFD_ARCH bfd_m68k_arch /* Define to BFD's default target vector. */ -#define DEFAULT_BFD_VEC bfd_elf32_m68k_vec +#define DEFAULT_BFD_VEC m68k_elf32_vec /* Define to 1 if translation of program messages to the user's native language is requested. */ @@ -80,9 +80,6 @@ /* Define to 1 if you have the `btowc' function. */ #define HAVE_BTOWC 1 -/* Define to 1 if you have the `canonicalize_file_name' function. */ -/* #undef HAVE_CANONICALIZE_FILE_NAME */ - /* Define to 1 if you have the <cursesX.h> header file. */ /* #undef HAVE_CURSESX_H */ @@ -164,6 +161,9 @@ /* Define if <sys/procfs.h> has gregset_t. */ /* #undef HAVE_GREGSET_T */ +/* Define if Guile interpreter is being linked in. */ +/* #undef HAVE_GUILE */ + /* Define if you have the iconv() function. */ #define HAVE_ICONV 1 @@ -227,9 +227,6 @@ /* Define to 1 if the compiler supports long double. */ #define HAVE_LONG_DOUBLE 1 -/* Define to 1 if you have the `lstat' function. */ -#define HAVE_LSTAT 1 - /* Define if <sys/procfs.h> has lwpid_t. */ /* #undef HAVE_LWPID_T */ @@ -239,6 +236,9 @@ /* Define to 1 if you have the <memory.h> header file. */ #define HAVE_MEMORY_H 1 +/* Define to 1 if you have the `mkdtemp' function. */ +#define HAVE_MKDTEMP 1 + /* Define to 1 if you have a working `mmap' system call. */ #define HAVE_MMAP 1 @@ -332,18 +332,15 @@ /* Define if Python interpreter is being linked in. */ /* #undef HAVE_PYTHON */ -/* Define to 1 if you have the `readlink' function. */ -#define HAVE_READLINK 1 - -/* Define to 1 if you have the `realpath' function. */ -#define HAVE_REALPATH 1 - /* Define to 1 if you have the `resize_term' function. */ /* #undef HAVE_RESIZE_TERM */ /* Define to 1 if you have the `sbrk' function. */ #define HAVE_SBRK 1 +/* Define to 1 if you have the `scm_new_smob' function. */ +/* #undef HAVE_SCM_NEW_SMOB */ + /* Define to 1 if you have the `setlocale' function. */ #define HAVE_SETLOCALE 1 @@ -365,6 +362,9 @@ /* Define to 1 if you have the `sigaction' function. */ #define HAVE_SIGACTION 1 +/* Define to 1 if you have the `sigaltstack' function. */ +#define HAVE_SIGALTSTACK 1 + /* Define to 1 if you have the <signal.h> header file. */ #define HAVE_SIGNAL_H 1 @@ -521,6 +521,9 @@ /* Define to 1 if you have the `wborder' function. */ #define HAVE_WBORDER 1 +/* Define to 1 if you have the <windows.h> header file. */ +/* #undef HAVE_WINDOWS_H */ + /* Define to 1 if `fork' works. */ #define HAVE_WORKING_FORK 1 Index: src/external/gpl3/gdb/lib/libgdb/arch/coldfire/defs.mk diff -u src/external/gpl3/gdb/lib/libgdb/arch/coldfire/defs.mk:1.3 src/external/gpl3/gdb/lib/libgdb/arch/coldfire/defs.mk:1.4 --- src/external/gpl3/gdb/lib/libgdb/arch/coldfire/defs.mk:1.3 Sun Jun 22 23:16:29 2014 +++ src/external/gpl3/gdb/lib/libgdb/arch/coldfire/defs.mk Mon Aug 17 09:17:44 2015 @@ -3,5 +3,5 @@ # Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp # G_INTERNAL_CFLAGS= -I. -I${GNUHOSTDIST}/gdb -I${GNUHOSTDIST}/gdb/common -I${GNUHOSTDIST}/gdb/config -DLOCALEDIR="\"/usr/share/locale\"" -DHAVE_CONFIG_H -I${GNUHOSTDIST}/gdb/../include/opcode -I${GNUHOSTDIST}/gdb/../opcodes/.. -I${GNUHOSTDIST}/gdb/../readline/.. -I../bfd -I${GNUHOSTDIST}/gdb/../bfd -I${GNUHOSTDIST}/gdb/../include -I../libdecnumber -I${GNUHOSTDIST}/gdb/../libdecnumber -I./../intl -I${GNUHOSTDIST}/gdb/gnulib/import -Ibuild-gnulib/import -DTUI=1 -Wall -Wdeclaration-after-statement -Wpointer-arith -Wpointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -Wmissing-parameter-type -Wold-style-declaration -Wold-style-definition -Wformat-nonliteral -G_LIBGDB_OBS=m68k-tdep.o m68kbsd-tdep.o solib-svr4.o ser-base.o ser-unix.o ser-pipe.o ser-tcp.o nbsd-nat.o m68kbsd-nat.o bsd-kvm.o fork-child.o inf-ptrace.o nbsd-thread.o remote.o dcache.o tracepoint.o ax-general.o ax-gdb.o remote-fileio.o remote-notif.o ctf.o cli-dump.o cli-decode.o cli-script.o cli-cmds.o cli-setshow.o cli-logging.o cli-interp.o cli-utils.o mi-out.o mi-console.o mi-cmds.o mi-cmd-catch.o mi-cmd-env.o mi-cmd-var.o mi-cmd-break.o mi-cmd-stack.o mi-cmd-file.o mi-cmd-disas.o mi-symbol-cmds.o mi-cmd-target.o mi-cmd-info.o mi-interp.o mi-main.o mi-parse.o mi-getopt.o tui-command.o tui-data.o tui-disasm.o tui-file.o tui-hooks.o tui-interp.o tui-io.o tui-layout.o tui-out.o tui-regs.o tui-source.o tui-stack.o tui-win.o tui-windata.o tui-wingeneral.o tui-winsource.o tui.o python.o py-value.o py-prettyprint.o py-auto-load.o elfread.o stap-probe.o posix-hdep.o c-exp.o cp-name-parser.o ada-exp.o jv-exp.o f-exp.o go-exp.o m2-exp.o p-exp.o version.o annotate.o addrmap.o auto-load.o auxv.o agent.o bfd-target.o blockframe.o breakpoint.o break-catch-sig.o break-catch-throw.o findvar.o regcache.o cleanups.o charset.o continuations.o corelow.o disasm.o dummy-frame.o dfp.o source.o value.o eval.o valops.o valarith.o valprint.o printcmd.o block.o symtab.o psymtab.o symfile.o symfile-debug.o symmisc.o linespec.o dictionary.o infcall.o infcmd.o infrun.o expprint.o environ.o stack.o thread.o exceptions.o filesystem.o filestuff.o inf-child.o interps.o minidebug.o main.o macrotab.o macrocmd.o macroexp.o macroscope.o mi-common.o event-loop.o event-top.o inf-loop.o completer.o gdbarch.o arch-utils.o gdbtypes.o gdb_bfd.o gdb_obstack.o osabi.o copying.o memattr.o mem-break.o target.o target-dcache.o parse.o language.o build-id.o buildsym.o findcmd.o std-regs.o signals.o exec.o reverse.o bcache.o objfiles.o observer.o minsyms.o maint.o demangle.o dbxread.o coffread.o coff-pe-read.o dwarf2rea d.o mipsread.o stabsread.o corefile.o dwarf2expr.o dwarf2loc.o dwarf2-frame.o dwarf2-frame-tailcall.o ada-lang.o c-lang.o d-lang.o f-lang.o objc-lang.o ada-tasks.o ada-varobj.o c-varobj.o ui-out.o cli-out.o varobj.o vec.o go-lang.o go-valprint.o go-typeprint.o jv-lang.o jv-valprint.o jv-typeprint.o jv-varobj.o m2-lang.o opencl-lang.o p-lang.o p-typeprint.o p-valprint.o sentinel-frame.o complaints.o typeprint.o ada-typeprint.o c-typeprint.o f-typeprint.o m2-typeprint.o ada-valprint.o c-valprint.o cp-valprint.o d-valprint.o f-valprint.o m2-valprint.o serial.o mdebugread.o top.o utils.o ui-file.o user-regs.o frame.o frame-unwind.o doublest.o frame-base.o inline-frame.o gnu-v2-abi.o gnu-v3-abi.o cp-abi.o cp-support.o cp-namespace.o reggroups.o regset.o trad-frame.o tramp-frame.o solib.o solib-target.o prologue-value.o memory-map.o memrange.o xml-support.o xml-syscall.o xml-utils.o target-descriptions.o target-memory.o xml-tdesc.o xml-builtin.o inferi or.o osdata.o gdb_usleep.o record.o record-full.o gcore.o gdb_vecs.o jit.o progspace.o skip.o probe.o common-utils.o buffer.o ptid.o gdb-dlfcn.o common-agent.o format.o registry.o btrace.o record-btrace.o waitstatus.o inflow.o init.o +G_LIBGDB_OBS=m68k-tdep.o m68kbsd-tdep.o solib-svr4.o ser-base.o ser-unix.o ser-pipe.o ser-tcp.o nbsd-nat.o m68kbsd-nat.o bsd-kvm.o fork-child.o inf-ptrace.o nbsd-thread.o remote.o dcache.o tracepoint.o ax-general.o ax-gdb.o remote-fileio.o remote-notif.o ctf.o tracefile.o tracefile-tfile.o cli-dump.o cli-decode.o cli-script.o cli-cmds.o cli-setshow.o cli-logging.o cli-interp.o cli-utils.o mi-out.o mi-console.o mi-cmds.o mi-cmd-catch.o mi-cmd-env.o mi-cmd-var.o mi-cmd-break.o mi-cmd-stack.o mi-cmd-file.o mi-cmd-disas.o mi-symbol-cmds.o mi-cmd-target.o mi-cmd-info.o mi-interp.o mi-main.o mi-parse.o mi-getopt.o tui-command.o tui-data.o tui-disasm.o tui-file.o tui-hooks.o tui-interp.o tui-io.o tui-layout.o tui-out.o tui-regs.o tui-source.o tui-stack.o tui-win.o tui-windata.o tui-wingeneral.o tui-winsource.o tui.o python.o guile.o elfread.o stap-probe.o posix-hdep.o c-exp.o cp-name-parser.o ada-exp.o jv-exp.o d-exp.o f-exp.o go-exp.o m2-exp.o p-exp .o version.o annotate.o addrmap.o auto-load.o auxv.o agent.o bfd-target.o blockframe.o breakpoint.o break-catch-sig.o break-catch-throw.o findvar.o regcache.o cleanups.o charset.o continuations.o corelow.o disasm.o dummy-frame.o dfp.o source.o value.o eval.o valops.o valarith.o valprint.o printcmd.o block.o symtab.o psymtab.o symfile.o symfile-debug.o symmisc.o linespec.o dictionary.o infcall.o infcmd.o infrun.o expprint.o environ.o stack.o thread.o exceptions.o extension.o filesystem.o filestuff.o inf-child.o interps.o minidebug.o main.o macrotab.o macrocmd.o macroexp.o macroscope.o mi-common.o event-loop.o event-top.o inf-loop.o completer.o gdbarch.o arch-utils.o gdbtypes.o gdb_bfd.o gdb_obstack.o osabi.o copying.o memattr.o mem-break.o target.o target-dcache.o parse.o language.o build-id.o buildsym.o findcmd.o std-regs.o signals.o exec.o reverse.o bcache.o objfiles.o observer.o minsyms.o maint.o demangle.o dbxread.o coffread.o coff-pe-r ead.o dwarf2read.o mipsread.o stabsread.o corefile.o dwarf2expr.o dwarf2loc.o dwarf2-frame.o dwarf2-frame-tailcall.o ada-lang.o c-lang.o d-lang.o f-lang.o objc-lang.o ada-tasks.o ada-varobj.o c-varobj.o ui-out.o cli-out.o varobj.o vec.o go-lang.o go-valprint.o go-typeprint.o jv-lang.o jv-valprint.o jv-typeprint.o jv-varobj.o m2-lang.o opencl-lang.o p-lang.o p-typeprint.o p-valprint.o sentinel-frame.o complaints.o typeprint.o ada-typeprint.o c-typeprint.o f-typeprint.o m2-typeprint.o ada-valprint.o c-valprint.o cp-valprint.o d-valprint.o f-valprint.o m2-valprint.o serial.o mdebugread.o top.o utils.o ui-file.o user-regs.o frame.o frame-unwind.o doublest.o frame-base.o inline-frame.o gnu-v2-abi.o gnu-v3-abi.o cp-abi.o cp-support.o cp-namespace.o reggroups.o trad-frame.o tramp-frame.o solib.o solib-target.o prologue-value.o memory-map.o memrange.o xml-support.o xml-syscall.o xml-utils.o target-descriptions.o target-memory.o xml-tdesc.o xml-builtin.o inferior.o osdata.o gdb_usleep.o record.o record-full.o gcore.o gdb_vecs.o jit.o progspace.o skip.o probe.o common-utils.o buffer.o ptid.o gdb-dlfcn.o common-agent.o format.o registry.o btrace.o record-btrace.o waitstatus.o print-utils.o rsp-low.o errors.o common-debug.o debug.o common-exceptions.o compile.o compile-c-symbols.o compile-c-types.o compile-object-load.o compile-object-run.o compile-loc2c.o compile-c-support.o inflow.o init.o G_SIM_OBS= Index: src/external/gpl3/gdb/lib/libgdb/arch/coldfire/init.c diff -u src/external/gpl3/gdb/lib/libgdb/arch/coldfire/init.c:1.3 src/external/gpl3/gdb/lib/libgdb/arch/coldfire/init.c:1.4 --- src/external/gpl3/gdb/lib/libgdb/arch/coldfire/init.c:1.3 Sun Jun 22 23:16:29 2014 +++ src/external/gpl3/gdb/lib/libgdb/arch/coldfire/init.c Mon Aug 17 09:17:44 2015 @@ -22,6 +22,8 @@ extern initialize_file_ftype _initialize extern initialize_file_ftype _initialize_ax_gdb; extern initialize_file_ftype _initialize_notif; extern initialize_file_ftype _initialize_ctf; +extern initialize_file_ftype _initialize_tracefile; +extern initialize_file_ftype _initialize_tracefile_tfile; extern initialize_file_ftype _initialize_elfread; extern initialize_file_ftype _initialize_stap_probe; extern initialize_file_ftype _initialize_annotate; @@ -52,6 +54,7 @@ extern initialize_file_ftype _initialize extern initialize_file_ftype _initialize_infrun; extern initialize_file_ftype _initialize_stack; extern initialize_file_ftype _initialize_thread; +extern initialize_file_ftype _initialize_extension; extern initialize_file_ftype _initialize_filesystem; extern initialize_file_ftype _initialize_interpreter; extern initialize_file_ftype _initialize_macrocmd; @@ -137,6 +140,7 @@ extern initialize_file_ftype _initialize extern initialize_file_ftype _initialize_mi_cmds; extern initialize_file_ftype _initialize_mi_cmd_env; extern initialize_file_ftype _initialize_mi_interp; +extern initialize_file_ftype _initialize_mi_main; extern initialize_file_ftype _initialize_tui_hooks; extern initialize_file_ftype _initialize_tui_interp; extern initialize_file_ftype _initialize_tui_layout; @@ -145,6 +149,8 @@ extern initialize_file_ftype _initialize extern initialize_file_ftype _initialize_tui_stack; extern initialize_file_ftype _initialize_tui_win; extern initialize_file_ftype _initialize_python; +extern initialize_file_ftype _initialize_guile; +extern initialize_file_ftype _initialize_compile; void initialize_all_files (void) { @@ -164,6 +170,8 @@ initialize_all_files (void) _initialize_ax_gdb (); _initialize_notif (); _initialize_ctf (); + _initialize_tracefile (); + _initialize_tracefile_tfile (); _initialize_elfread (); _initialize_stap_probe (); _initialize_annotate (); @@ -194,6 +202,7 @@ initialize_all_files (void) _initialize_infrun (); _initialize_stack (); _initialize_thread (); + _initialize_extension (); _initialize_filesystem (); _initialize_interpreter (); _initialize_macrocmd (); @@ -279,6 +288,7 @@ initialize_all_files (void) _initialize_mi_cmds (); _initialize_mi_cmd_env (); _initialize_mi_interp (); + _initialize_mi_main (); _initialize_tui_hooks (); _initialize_tui_interp (); _initialize_tui_layout (); @@ -287,4 +297,6 @@ initialize_all_files (void) _initialize_tui_stack (); _initialize_tui_win (); _initialize_python (); + _initialize_guile (); + _initialize_compile (); } Index: src/external/gpl3/gdb/lib/libgdb/arch/coldfire/observer.h diff -u src/external/gpl3/gdb/lib/libgdb/arch/coldfire/observer.h:1.3 src/external/gpl3/gdb/lib/libgdb/arch/coldfire/observer.h:1.4 --- src/external/gpl3/gdb/lib/libgdb/arch/coldfire/observer.h:1.3 Sun Jun 22 23:16:29 2014 +++ src/external/gpl3/gdb/lib/libgdb/arch/coldfire/observer.h Mon Aug 17 09:17:44 2015 @@ -4,7 +4,7 @@ /* GDB Notifications to Observers. - Copyright (C) 2004-2014 Free Software Foundation, Inc. + Copyright (C) 2004-2015 Free Software Foundation, Inc. This file is part of GDB. @@ -44,6 +44,62 @@ extern struct observer *observer_attach_ extern void observer_detach_normal_stop (struct observer *observer); extern void observer_notify_normal_stop (struct bpstats *bs, int print_frame); +/* signal_received notifications. */ + +typedef void (observer_signal_received_ftype) (enum gdb_signal siggnal); + +extern struct observer *observer_attach_signal_received (observer_signal_received_ftype *f); +extern void observer_detach_signal_received (struct observer *observer); +extern void observer_notify_signal_received (enum gdb_signal siggnal); + +/* end_stepping_range notifications. */ + +typedef void (observer_end_stepping_range_ftype) (void); + +extern struct observer *observer_attach_end_stepping_range (observer_end_stepping_range_ftype *f); +extern void observer_detach_end_stepping_range (struct observer *observer); +extern void observer_notify_end_stepping_range (void); + +/* signal_exited notifications. */ + +typedef void (observer_signal_exited_ftype) (enum gdb_signal siggnal); + +extern struct observer *observer_attach_signal_exited (observer_signal_exited_ftype *f); +extern void observer_detach_signal_exited (struct observer *observer); +extern void observer_notify_signal_exited (enum gdb_signal siggnal); + +/* exited notifications. */ + +typedef void (observer_exited_ftype) (int exitstatus); + +extern struct observer *observer_attach_exited (observer_exited_ftype *f); +extern void observer_detach_exited (struct observer *observer); +extern void observer_notify_exited (int exitstatus); + +/* no_history notifications. */ + +typedef void (observer_no_history_ftype) (void); + +extern struct observer *observer_attach_no_history (observer_no_history_ftype *f); +extern void observer_detach_no_history (struct observer *observer); +extern void observer_notify_no_history (void); + +/* sync_execution_done notifications. */ + +typedef void (observer_sync_execution_done_ftype) (void); + +extern struct observer *observer_attach_sync_execution_done (observer_sync_execution_done_ftype *f); +extern void observer_detach_sync_execution_done (struct observer *observer); +extern void observer_notify_sync_execution_done (void); + +/* command_error notifications. */ + +typedef void (observer_command_error_ftype) (void); + +extern struct observer *observer_attach_command_error (observer_command_error_ftype *f); +extern void observer_detach_command_error (struct observer *observer); +extern void observer_notify_command_error (void); + /* target_changed notifications. */ typedef void (observer_target_changed_ftype) (struct target_ops *target); @@ -284,6 +340,30 @@ extern struct observer *observer_attach_ extern void observer_detach_tsv_modified (struct observer *observer); extern void observer_notify_tsv_modified (const struct trace_state_variable *tsv); +/* inferior_call_pre notifications. */ + +typedef void (observer_inferior_call_pre_ftype) (ptid_t thread, CORE_ADDR address); + +extern struct observer *observer_attach_inferior_call_pre (observer_inferior_call_pre_ftype *f); +extern void observer_detach_inferior_call_pre (struct observer *observer); +extern void observer_notify_inferior_call_pre (ptid_t thread, CORE_ADDR address); + +/* inferior_call_post notifications. */ + +typedef void (observer_inferior_call_post_ftype) (ptid_t thread, CORE_ADDR address); + +extern struct observer *observer_attach_inferior_call_post (observer_inferior_call_post_ftype *f); +extern void observer_detach_inferior_call_post (struct observer *observer); +extern void observer_notify_inferior_call_post (ptid_t thread, CORE_ADDR address); + +/* register_changed notifications. */ + +typedef void (observer_register_changed_ftype) (struct frame_info *frame, int regnum); + +extern struct observer *observer_attach_register_changed (observer_register_changed_ftype *f); +extern void observer_detach_register_changed (struct observer *observer); +extern void observer_notify_register_changed (struct frame_info *frame, int regnum); + /* test_notification notifications. */ typedef void (observer_test_notification_ftype) (int somearg); Index: src/external/gpl3/gdb/lib/libgdb/arch/coldfire/observer.inc diff -u src/external/gpl3/gdb/lib/libgdb/arch/coldfire/observer.inc:1.3 src/external/gpl3/gdb/lib/libgdb/arch/coldfire/observer.inc:1.4 --- src/external/gpl3/gdb/lib/libgdb/arch/coldfire/observer.inc:1.3 Sun Jun 22 23:16:29 2014 +++ src/external/gpl3/gdb/lib/libgdb/arch/coldfire/observer.inc Mon Aug 17 09:17:44 2015 @@ -4,7 +4,7 @@ /* GDB Notifications to Observers. - Copyright (C) 2004-2014 Free Software Foundation, Inc. + Copyright (C) 2004-2015 Free Software Foundation, Inc. This file is part of GDB. @@ -65,6 +65,259 @@ observer_notify_normal_stop (struct bpst generic_observer_notify (normal_stop_subject, &args); } +/* signal_received notifications. */ + +static struct observer_list *signal_received_subject = NULL; + +struct signal_received_args { enum gdb_signal siggnal; }; + +static void +observer_signal_received_notification_stub (const void *data, const void *args_data) +{ + observer_signal_received_ftype *notify = (observer_signal_received_ftype *) data; + const struct signal_received_args *args = args_data; + notify (args->siggnal); +} + +struct observer * +observer_attach_signal_received (observer_signal_received_ftype *f) +{ + return generic_observer_attach (&signal_received_subject, + &observer_signal_received_notification_stub, + (void *) f); +} + +void +observer_detach_signal_received (struct observer *observer) +{ + generic_observer_detach (&signal_received_subject, observer); +} + +void +observer_notify_signal_received (enum gdb_signal siggnal) +{ + struct signal_received_args args; + args.siggnal = siggnal; + + if (observer_debug) + fprintf_unfiltered (gdb_stdlog, "observer_notify_signal_received() called\n"); + generic_observer_notify (signal_received_subject, &args); +} + +/* end_stepping_range notifications. */ + +static struct observer_list *end_stepping_range_subject = NULL; + +static void +observer_end_stepping_range_notification_stub (const void *data, const void *args_data) +{ + observer_end_stepping_range_ftype *notify = (observer_end_stepping_range_ftype *) data; + notify (); +} + +struct observer * +observer_attach_end_stepping_range (observer_end_stepping_range_ftype *f) +{ + return generic_observer_attach (&end_stepping_range_subject, + &observer_end_stepping_range_notification_stub, + (void *) f); +} + +void +observer_detach_end_stepping_range (struct observer *observer) +{ + generic_observer_detach (&end_stepping_range_subject, observer); +} + +void +observer_notify_end_stepping_range (void) +{ +char *args = NULL; + if (observer_debug) + fprintf_unfiltered (gdb_stdlog, "observer_notify_end_stepping_range() called\n"); + generic_observer_notify (end_stepping_range_subject, &args); +} + +/* signal_exited notifications. */ + +static struct observer_list *signal_exited_subject = NULL; + +struct signal_exited_args { enum gdb_signal siggnal; }; + +static void +observer_signal_exited_notification_stub (const void *data, const void *args_data) +{ + observer_signal_exited_ftype *notify = (observer_signal_exited_ftype *) data; + const struct signal_exited_args *args = args_data; + notify (args->siggnal); +} + +struct observer * +observer_attach_signal_exited (observer_signal_exited_ftype *f) +{ + return generic_observer_attach (&signal_exited_subject, + &observer_signal_exited_notification_stub, + (void *) f); +} + +void +observer_detach_signal_exited (struct observer *observer) +{ + generic_observer_detach (&signal_exited_subject, observer); +} + +void +observer_notify_signal_exited (enum gdb_signal siggnal) +{ + struct signal_exited_args args; + args.siggnal = siggnal; + + if (observer_debug) + fprintf_unfiltered (gdb_stdlog, "observer_notify_signal_exited() called\n"); + generic_observer_notify (signal_exited_subject, &args); +} + +/* exited notifications. */ + +static struct observer_list *exited_subject = NULL; + +struct exited_args { int exitstatus; }; + +static void +observer_exited_notification_stub (const void *data, const void *args_data) +{ + observer_exited_ftype *notify = (observer_exited_ftype *) data; + const struct exited_args *args = args_data; + notify (args->exitstatus); +} + +struct observer * +observer_attach_exited (observer_exited_ftype *f) +{ + return generic_observer_attach (&exited_subject, + &observer_exited_notification_stub, + (void *) f); +} + +void +observer_detach_exited (struct observer *observer) +{ + generic_observer_detach (&exited_subject, observer); +} + +void +observer_notify_exited (int exitstatus) +{ + struct exited_args args; + args.exitstatus = exitstatus; + + if (observer_debug) + fprintf_unfiltered (gdb_stdlog, "observer_notify_exited() called\n"); + generic_observer_notify (exited_subject, &args); +} + +/* no_history notifications. */ + +static struct observer_list *no_history_subject = NULL; + +static void +observer_no_history_notification_stub (const void *data, const void *args_data) +{ + observer_no_history_ftype *notify = (observer_no_history_ftype *) data; + notify (); +} + +struct observer * +observer_attach_no_history (observer_no_history_ftype *f) +{ + return generic_observer_attach (&no_history_subject, + &observer_no_history_notification_stub, + (void *) f); +} + +void +observer_detach_no_history (struct observer *observer) +{ + generic_observer_detach (&no_history_subject, observer); +} + +void +observer_notify_no_history (void) +{ +char *args = NULL; + if (observer_debug) + fprintf_unfiltered (gdb_stdlog, "observer_notify_no_history() called\n"); + generic_observer_notify (no_history_subject, &args); +} + +/* sync_execution_done notifications. */ + +static struct observer_list *sync_execution_done_subject = NULL; + +static void +observer_sync_execution_done_notification_stub (const void *data, const void *args_data) +{ + observer_sync_execution_done_ftype *notify = (observer_sync_execution_done_ftype *) data; + notify (); +} + +struct observer * +observer_attach_sync_execution_done (observer_sync_execution_done_ftype *f) +{ + return generic_observer_attach (&sync_execution_done_subject, + &observer_sync_execution_done_notification_stub, + (void *) f); +} + +void +observer_detach_sync_execution_done (struct observer *observer) +{ + generic_observer_detach (&sync_execution_done_subject, observer); +} + +void +observer_notify_sync_execution_done (void) +{ +char *args = NULL; + if (observer_debug) + fprintf_unfiltered (gdb_stdlog, "observer_notify_sync_execution_done() called\n"); + generic_observer_notify (sync_execution_done_subject, &args); +} + +/* command_error notifications. */ + +static struct observer_list *command_error_subject = NULL; + +static void +observer_command_error_notification_stub (const void *data, const void *args_data) +{ + observer_command_error_ftype *notify = (observer_command_error_ftype *) data; + notify (); +} + +struct observer * +observer_attach_command_error (observer_command_error_ftype *f) +{ + return generic_observer_attach (&command_error_subject, + &observer_command_error_notification_stub, + (void *) f); +} + +void +observer_detach_command_error (struct observer *observer) +{ + generic_observer_detach (&command_error_subject, observer); +} + +void +observer_notify_command_error (void) +{ +char *args = NULL; + if (observer_debug) + fprintf_unfiltered (gdb_stdlog, "observer_notify_command_error() called\n"); + generic_observer_notify (command_error_subject, &args); +} + /* target_changed notifications. */ static struct observer_list *target_changed_subject = NULL; @@ -1220,6 +1473,123 @@ observer_notify_tsv_modified (const stru generic_observer_notify (tsv_modified_subject, &args); } +/* inferior_call_pre notifications. */ + +static struct observer_list *inferior_call_pre_subject = NULL; + +struct inferior_call_pre_args { ptid_t thread; CORE_ADDR address; }; + +static void +observer_inferior_call_pre_notification_stub (const void *data, const void *args_data) +{ + observer_inferior_call_pre_ftype *notify = (observer_inferior_call_pre_ftype *) data; + const struct inferior_call_pre_args *args = args_data; + notify (args->thread, args->address); +} + +struct observer * +observer_attach_inferior_call_pre (observer_inferior_call_pre_ftype *f) +{ + return generic_observer_attach (&inferior_call_pre_subject, + &observer_inferior_call_pre_notification_stub, + (void *) f); +} + +void +observer_detach_inferior_call_pre (struct observer *observer) +{ + generic_observer_detach (&inferior_call_pre_subject, observer); +} + +void +observer_notify_inferior_call_pre (ptid_t thread, CORE_ADDR address) +{ + struct inferior_call_pre_args args; + args.thread = thread, args.address = address; + + if (observer_debug) + fprintf_unfiltered (gdb_stdlog, "observer_notify_inferior_call_pre() called\n"); + generic_observer_notify (inferior_call_pre_subject, &args); +} + +/* inferior_call_post notifications. */ + +static struct observer_list *inferior_call_post_subject = NULL; + +struct inferior_call_post_args { ptid_t thread; CORE_ADDR address; }; + +static void +observer_inferior_call_post_notification_stub (const void *data, const void *args_data) +{ + observer_inferior_call_post_ftype *notify = (observer_inferior_call_post_ftype *) data; + const struct inferior_call_post_args *args = args_data; + notify (args->thread, args->address); +} + +struct observer * +observer_attach_inferior_call_post (observer_inferior_call_post_ftype *f) +{ + return generic_observer_attach (&inferior_call_post_subject, + &observer_inferior_call_post_notification_stub, + (void *) f); +} + +void +observer_detach_inferior_call_post (struct observer *observer) +{ + generic_observer_detach (&inferior_call_post_subject, observer); +} + +void +observer_notify_inferior_call_post (ptid_t thread, CORE_ADDR address) +{ + struct inferior_call_post_args args; + args.thread = thread, args.address = address; + + if (observer_debug) + fprintf_unfiltered (gdb_stdlog, "observer_notify_inferior_call_post() called\n"); + generic_observer_notify (inferior_call_post_subject, &args); +} + +/* register_changed notifications. */ + +static struct observer_list *register_changed_subject = NULL; + +struct register_changed_args { struct frame_info *frame; int regnum; }; + +static void +observer_register_changed_notification_stub (const void *data, const void *args_data) +{ + observer_register_changed_ftype *notify = (observer_register_changed_ftype *) data; + const struct register_changed_args *args = args_data; + notify (args->frame, args->regnum); +} + +struct observer * +observer_attach_register_changed (observer_register_changed_ftype *f) +{ + return generic_observer_attach (®ister_changed_subject, + &observer_register_changed_notification_stub, + (void *) f); +} + +void +observer_detach_register_changed (struct observer *observer) +{ + generic_observer_detach (®ister_changed_subject, observer); +} + +void +observer_notify_register_changed (struct frame_info *frame, int regnum) +{ + struct register_changed_args args; + args.frame = frame, args.regnum = regnum; + + if (observer_debug) + fprintf_unfiltered (gdb_stdlog, "observer_notify_register_changed() called\n"); + generic_observer_notify (register_changed_subject, &args); +} + /* test_notification notifications. */ static struct observer_list *test_notification_subject = NULL; Index: src/external/gpl3/gdb/lib/libgdb/arch/coldfire/version.c diff -u src/external/gpl3/gdb/lib/libgdb/arch/coldfire/version.c:1.3 src/external/gpl3/gdb/lib/libgdb/arch/coldfire/version.c:1.4 --- src/external/gpl3/gdb/lib/libgdb/arch/coldfire/version.c:1.3 Sun Jun 22 23:16:29 2014 +++ src/external/gpl3/gdb/lib/libgdb/arch/coldfire/version.c Mon Aug 17 09:17:44 2015 @@ -3,6 +3,6 @@ /* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp */ #include "version.h" -const char version[] = "7.7.1"; +const char version[] = "7.9.1"; const char host_name[] = "m5407--netbsdelf"; const char target_name[] = "m5407--netbsdelf"; Index: src/external/gpl3/gdb/lib/libgdb/arch/coldfire/xml-builtin.c diff -u src/external/gpl3/gdb/lib/libgdb/arch/coldfire/xml-builtin.c:1.3 src/external/gpl3/gdb/lib/libgdb/arch/coldfire/xml-builtin.c:1.4 --- src/external/gpl3/gdb/lib/libgdb/arch/coldfire/xml-builtin.c:1.3 Sun Jun 22 23:16:29 2014 +++ src/external/gpl3/gdb/lib/libgdb/arch/coldfire/xml-builtin.c Mon Aug 17 09:17:44 2015 @@ -5,7 +5,7 @@ static const char xml_feature_gdb_target_dtd[] = { '<', '!', '-', '-', ' ', 'C', 'o', 'p', 'y', 'r', 'i', 'g', 'h', 't', ' ', '(', 'C', ')', ' ', '2', - '0', '0', '7', '-', '2', '0', '1', '4', ' ', 'F', + '0', '0', '7', '-', '2', '0', '1', '5', ' ', 'F', 'r', 'e', 'e', ' ', 'S', 'o', 'f', 't', 'w', 'a', 'r', 'e', ' ', 'F', 'o', 'u', 'n', 'd', 'a', 't', 'i', 'o', 'n', ',', ' ', 'I', 'n', 'c', '.', '\n', @@ -200,7 +200,7 @@ static const char xml_feature_gdb_target static const char xml_feature_xinclude_dtd[] = { '<', '!', '-', '-', ' ', 'C', 'o', 'p', 'y', 'r', 'i', 'g', 'h', 't', ' ', '(', 'C', ')', ' ', '2', - '0', '0', '7', '-', '2', '0', '1', '4', ' ', 'F', + '0', '0', '7', '-', '2', '0', '1', '5', ' ', 'F', 'r', 'e', 'e', ' ', 'S', 'o', 'f', 't', 'w', 'a', 'r', 'e', ' ', 'F', 'o', 'u', 'n', 'd', 'a', 't', 'i', 'o', 'n', ',', ' ', 'I', 'n', 'c', '.', '\n', @@ -258,7 +258,7 @@ static const char xml_feature_xinclude_d static const char xml_feature_library_list_dtd[] = { '<', '!', '-', '-', ' ', 'C', 'o', 'p', 'y', 'r', 'i', 'g', 'h', 't', ' ', '(', 'C', ')', ' ', '2', - '0', '0', '7', '-', '2', '0', '1', '4', ' ', 'F', + '0', '0', '7', '-', '2', '0', '1', '5', ' ', 'F', 'r', 'e', 'e', ' ', 'S', 'o', 'f', 't', 'w', 'a', 'r', 'e', ' ', 'F', 'o', 'u', 'n', 'd', 'a', 't', 'i', 'o', 'n', ',', ' ', 'I', 'n', 'c', '.', '\n', @@ -339,7 +339,7 @@ static const char xml_feature_library_li static const char xml_feature_library_list_aix_dtd[] = { '<', '!', '-', '-', ' ', 'C', 'o', 'p', 'y', 'r', 'i', 'g', 'h', 't', ' ', '(', 'C', ')', ' ', '2', - '0', '1', '3', '-', '2', '0', '1', '4', ' ', 'F', + '0', '1', '3', '-', '2', '0', '1', '5', ' ', 'F', 'r', 'e', 'e', ' ', 'S', 'o', 'f', 't', 'w', 'a', 'r', 'e', ' ', 'F', 'o', 'u', 'n', 'd', 'a', 't', 'i', 'o', 'n', ',', ' ', 'I', 'n', 'c', '.', '\n', @@ -426,7 +426,7 @@ static const char xml_feature_library_li static const char xml_feature_library_list_svr4_dtd[] = { '<', '!', '-', '-', ' ', 'C', 'o', 'p', 'y', 'r', 'i', 'g', 'h', 't', ' ', '(', 'C', ')', ' ', '2', - '0', '1', '1', '-', '2', '0', '1', '4', ' ', 'F', + '0', '1', '1', '-', '2', '0', '1', '5', ' ', 'F', 'r', 'e', 'e', ' ', 'S', 'o', 'f', 't', 'w', 'a', 'r', 'e', ' ', 'F', 'o', 'u', 'n', 'd', 'a', 't', 'i', 'o', 'n', ',', ' ', 'I', 'n', 'c', '.', '\n', @@ -509,7 +509,7 @@ static const char xml_feature_library_li static const char xml_feature_osdata_dtd[] = { '<', '!', '-', '-', ' ', 'C', 'o', 'p', 'y', 'r', 'i', 'g', 'h', 't', ' ', '(', 'C', ')', ' ', '2', - '0', '0', '8', '-', '2', '0', '1', '4', ' ', 'F', + '0', '0', '8', '-', '2', '0', '1', '5', ' ', 'F', 'r', 'e', 'e', ' ', 'S', 'o', 'f', 't', 'w', 'a', 'r', 'e', ' ', 'F', 'o', 'u', 'n', 'd', 'a', 't', 'i', 'o', 'n', ',', ' ', 'I', 'n', 'c', '.', '\n', @@ -570,7 +570,7 @@ static const char xml_feature_osdata_dtd static const char xml_feature_threads_dtd[] = { '<', '!', '-', '-', ' ', 'C', 'o', 'p', 'y', 'r', 'i', 'g', 'h', 't', ' ', '(', 'C', ')', ' ', '2', - '0', '0', '8', '-', '2', '0', '1', '4', ' ', 'F', + '0', '0', '8', '-', '2', '0', '1', '5', ' ', 'F', 'r', 'e', 'e', ' ', 'S', 'o', 'f', 't', 'w', 'a', 'r', 'e', ' ', 'F', 'o', 'u', 'n', 'd', 'a', 't', 'i', 'o', 'n', ',', ' ', 'I', 'n', 'c', '.', '\n', @@ -622,7 +622,7 @@ static const char xml_feature_threads_dt static const char xml_feature_traceframe_info_dtd[] = { '<', '!', '-', '-', ' ', 'C', 'o', 'p', 'y', 'r', 'i', 'g', 'h', 't', ' ', '(', 'C', ')', ' ', '2', - '0', '1', '0', '-', '2', '0', '1', '4', ' ', 'F', + '0', '1', '0', '-', '2', '0', '1', '5', ' ', 'F', 'r', 'e', 'e', ' ', 'S', 'o', 'f', 't', 'w', 'a', 'r', 'e', ' ', 'F', 'o', 'u', 'n', 'd', 'a', 't', 'i', 'o', 'n', ',', ' ', 'I', 'n', 'c', '.', '\n', @@ -696,7 +696,7 @@ static const char xml_feature_traceframe static const char xml_feature_btrace_dtd[] = { '<', '!', '-', '-', ' ', 'C', 'o', 'p', 'y', 'r', 'i', 'g', 'h', 't', ' ', '(', 'C', ')', ' ', '2', - '0', '1', '3', '-', '2', '0', '1', '4', ' ', 'F', + '0', '1', '3', '-', '2', '0', '1', '5', ' ', 'F', 'r', 'e', 'e', ' ', 'S', 'o', 'f', 't', 'w', 'a', 'r', 'e', ' ', 'F', 'o', 'u', 'n', 'd', 'a', 't', 'i', 'o', 'n', ',', ' ', 'I', 'n', 'c', '.', '\n', Index: src/external/gpl3/gdb/lib/libgdb/arch/coldfire/jit-reader.h diff -u src/external/gpl3/gdb/lib/libgdb/arch/coldfire/jit-reader.h:1.2 src/external/gpl3/gdb/lib/libgdb/arch/coldfire/jit-reader.h:1.3 --- src/external/gpl3/gdb/lib/libgdb/arch/coldfire/jit-reader.h:1.2 Sun Jun 22 23:16:29 2014 +++ src/external/gpl3/gdb/lib/libgdb/arch/coldfire/jit-reader.h Mon Aug 17 09:17:44 2015 @@ -4,7 +4,7 @@ /* JIT declarations for GDB, the GNU Debugger. - Copyright (C) 2011-2014 Free Software Foundation, Inc. + Copyright (C) 2011-2015 Free Software Foundation, Inc. This file is part of GDB. Index: src/external/gpl3/gdb/lib/libgdb/arch/coldfire/build-gnulib/config.h diff -u src/external/gpl3/gdb/lib/libgdb/arch/coldfire/build-gnulib/config.h:1.2 src/external/gpl3/gdb/lib/libgdb/arch/coldfire/build-gnulib/config.h:1.3 --- src/external/gpl3/gdb/lib/libgdb/arch/coldfire/build-gnulib/config.h:1.2 Sun Jun 22 23:16:29 2014 +++ src/external/gpl3/gdb/lib/libgdb/arch/coldfire/build-gnulib/config.h Mon Aug 17 09:17:44 2015 @@ -38,12 +38,57 @@ /* Define as the word index where to find the exponent of 'double'. */ #define DBL_EXPBIT0_WORD 0 +/* the name of the file descriptor member of DIR */ +/* #undef DIR_FD_MEMBER_NAME */ + +#ifdef DIR_FD_MEMBER_NAME +# define DIR_TO_FD(Dir_p) ((Dir_p)->DIR_FD_MEMBER_NAME) +#else +# define DIR_TO_FD(Dir_p) -1 +#endif + + +/* Define to 1 if // is a file system root distinct from /. */ +/* #undef DOUBLE_SLASH_IS_DISTINCT_ROOT */ + +/* Define to 1 if realpath() can malloc memory, always gives an absolute path, + and handles trailing slash correctly. */ +/* #undef FUNC_REALPATH_WORKS */ + +/* Define to a C preprocessor expression that evaluates to 1 or 0, depending + whether the gnulib module canonicalize-lgpl shall be considered present. */ +#define GNULIB_CANONICALIZE_LGPL 1 + +/* Define to a C preprocessor expression that evaluates to 1 or 0, depending + whether the gnulib module fscanf shall be considered present. */ +#define GNULIB_FSCANF 1 + +/* Define to a C preprocessor expression that evaluates to 1 or 0, depending + whether the gnulib module scanf shall be considered present. */ +#define GNULIB_SCANF 1 + +/* Define to 1 when the gnulib module canonicalize_file_name should be tested. + */ +#define GNULIB_TEST_CANONICALIZE_FILE_NAME 1 + +/* Define to 1 when the gnulib module chdir should be tested. */ +#define GNULIB_TEST_CHDIR 1 + +/* Define to 1 when the gnulib module dirfd should be tested. */ +#define GNULIB_TEST_DIRFD 1 + /* Define to 1 when the gnulib module frexp should be tested. */ #define GNULIB_TEST_FREXP 1 /* Define to 1 when the gnulib module frexpl should be tested. */ #define GNULIB_TEST_FREXPL 1 +/* Define to 1 when the gnulib module lstat should be tested. */ +#define GNULIB_TEST_LSTAT 1 + +/* Define to 1 when the gnulib module malloc-posix should be tested. */ +#define GNULIB_TEST_MALLOC_POSIX 1 + /* Define to 1 when the gnulib module mbrtowc should be tested. */ #define GNULIB_TEST_MBRTOWC 1 @@ -59,6 +104,21 @@ /* Define to 1 when the gnulib module memmem should be tested. */ #define GNULIB_TEST_MEMMEM 1 +/* Define to 1 when the gnulib module readlink should be tested. */ +#define GNULIB_TEST_READLINK 1 + +/* Define to 1 when the gnulib module realpath should be tested. */ +#define GNULIB_TEST_REALPATH 1 + +/* Define to 1 when the gnulib module rename should be tested. */ +#define GNULIB_TEST_RENAME 1 + +/* Define to 1 when the gnulib module rmdir should be tested. */ +#define GNULIB_TEST_RMDIR 1 + +/* Define to 1 when the gnulib module stat should be tested. */ +#define GNULIB_TEST_STAT 1 + /* Define to 1 when the gnulib module strstr should be tested. */ #define GNULIB_TEST_STRSTR 1 @@ -79,6 +139,13 @@ /* Define to 1 if you have the `btowc' function. */ #define HAVE_BTOWC 1 +/* Define to 1 if you have the `canonicalize_file_name' function. */ +/* #undef HAVE_CANONICALIZE_FILE_NAME */ + +/* Define to 1 if you have the declaration of `dirfd', and to 0 if you don't. + */ +#define HAVE_DECL_DIRFD 1 + /* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you don't. */ #define HAVE_DECL_GETC_UNLOCKED 1 @@ -110,6 +177,9 @@ /* Define to 1 if you have the <dirent.h> header file. */ #define HAVE_DIRENT_H 1 +/* Define to 1 if you have the `dirfd' function. */ +/* #undef HAVE_DIRFD */ + /* Define to 1 if you have the <features.h> header file. */ /* #undef HAVE_FEATURES_H */ @@ -119,6 +189,9 @@ /* Define if the frexpl() function is available. */ /* #undef HAVE_FREXPL */ +/* Define to 1 if you have the `getcwd' function. */ +#define HAVE_GETCWD 1 + /* Define to 1 if you have the <inttypes.h> header file. */ #define HAVE_INTTYPES_H 1 @@ -140,9 +213,18 @@ /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */ #define HAVE_LANGINFO_CODESET 1 +/* Define to 1 if you have the `link' function. */ +#define HAVE_LINK 1 + /* Define to 1 if the system has the type 'long long int'. */ #define HAVE_LONG_LONG_INT 1 +/* Define to 1 if you have the `lstat' function. */ +#define HAVE_LSTAT 1 + +/* Define if the 'malloc' function is POSIX compliant. */ +#define HAVE_MALLOC_POSIX 1 + /* Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including config.h and <sys/mman.h>. */ #define HAVE_MAP_ANONYMOUS 1 @@ -195,9 +277,16 @@ /* Define to 1 if atanl is declared even after undefining macros. */ #define HAVE_RAW_DECL_ATANL 1 +/* Define to 1 if atoll is declared even after undefining macros. */ +#define HAVE_RAW_DECL_ATOLL 1 + /* Define to 1 if btowc is declared even after undefining macros. */ #define HAVE_RAW_DECL_BTOWC 1 +/* Define to 1 if canonicalize_file_name is declared even after undefining + macros. */ +/* #undef HAVE_RAW_DECL_CANONICALIZE_FILE_NAME */ + /* Define to 1 if cbrt is declared even after undefining macros. */ #define HAVE_RAW_DECL_CBRT 1 @@ -243,6 +332,9 @@ /* Define to 1 if dirfd is declared even after undefining macros. */ /* #undef HAVE_RAW_DECL_DIRFD */ +/* Define to 1 if dprintf is declared even after undefining macros. */ +#define HAVE_RAW_DECL_DPRINTF 1 + /* Define to 1 if dup is declared even after undefining macros. */ #define HAVE_RAW_DECL_DUP 1 @@ -339,12 +431,18 @@ /* Define to 1 if fmodl is declared even after undefining macros. */ #define HAVE_RAW_DECL_FMODL 1 +/* Define to 1 if fpurge is declared even after undefining macros. */ +#define HAVE_RAW_DECL_FPURGE 1 + /* Define to 1 if frexpf is declared even after undefining macros. */ #define HAVE_RAW_DECL_FREXPF 1 /* Define to 1 if frexpl is declared even after undefining macros. */ #define HAVE_RAW_DECL_FREXPL 1 +/* Define to 1 if fseeko is declared even after undefining macros. */ +#define HAVE_RAW_DECL_FSEEKO 1 + /* Define to 1 if fstat is declared even after undefining macros. */ #define HAVE_RAW_DECL_FSTAT 1 @@ -354,6 +452,9 @@ /* Define to 1 if fsync is declared even after undefining macros. */ #define HAVE_RAW_DECL_FSYNC 1 +/* Define to 1 if ftello is declared even after undefining macros. */ +#define HAVE_RAW_DECL_FTELLO 1 + /* Define to 1 if ftruncate is declared even after undefining macros. */ #define HAVE_RAW_DECL_FTRUNCATE 1 @@ -363,6 +464,9 @@ /* Define to 1 if getcwd is declared even after undefining macros. */ #define HAVE_RAW_DECL_GETCWD 1 +/* Define to 1 if getdelim is declared even after undefining macros. */ +#define HAVE_RAW_DECL_GETDELIM 1 + /* Define to 1 if getdomainname is declared even after undefining macros. */ #define HAVE_RAW_DECL_GETDOMAINNAME 1 @@ -375,6 +479,12 @@ /* Define to 1 if gethostname is declared even after undefining macros. */ #define HAVE_RAW_DECL_GETHOSTNAME 1 +/* Define to 1 if getline is declared even after undefining macros. */ +#define HAVE_RAW_DECL_GETLINE 1 + +/* Define to 1 if getloadavg is declared even after undefining macros. */ +#define HAVE_RAW_DECL_GETLOADAVG 1 + /* Define to 1 if getlogin is declared even after undefining macros. */ #define HAVE_RAW_DECL_GETLOGIN 1 @@ -384,9 +494,18 @@ /* Define to 1 if getpagesize is declared even after undefining macros. */ #define HAVE_RAW_DECL_GETPAGESIZE 1 +/* Define to 1 if gets is declared even after undefining macros. */ +#define HAVE_RAW_DECL_GETS 1 + +/* Define to 1 if getsubopt is declared even after undefining macros. */ +/* #undef HAVE_RAW_DECL_GETSUBOPT */ + /* Define to 1 if getusershell is declared even after undefining macros. */ #define HAVE_RAW_DECL_GETUSERSHELL 1 +/* Define to 1 if grantpt is declared even after undefining macros. */ +#define HAVE_RAW_DECL_GRANTPT 1 + /* Define to 1 if group_member is declared even after undefining macros. */ /* #undef HAVE_RAW_DECL_GROUP_MEMBER */ @@ -411,6 +530,12 @@ /* Define to 1 if imaxdiv is declared even after undefining macros. */ #define HAVE_RAW_DECL_IMAXDIV 1 +/* Define to 1 if initstate is declared even after undefining macros. */ +#define HAVE_RAW_DECL_INITSTATE 1 + +/* Define to 1 if initstate_r is declared even after undefining macros. */ +/* #undef HAVE_RAW_DECL_INITSTATE_R */ + /* Define to 1 if isatty is declared even after undefining macros. */ #define HAVE_RAW_DECL_ISATTY 1 @@ -513,6 +638,9 @@ /* Define to 1 if mkdirat is declared even after undefining macros. */ #define HAVE_RAW_DECL_MKDIRAT 1 +/* Define to 1 if mkdtemp is declared even after undefining macros. */ +#define HAVE_RAW_DECL_MKDTEMP 1 + /* Define to 1 if mkfifo is declared even after undefining macros. */ #define HAVE_RAW_DECL_MKFIFO 1 @@ -525,6 +653,18 @@ /* Define to 1 if mknodat is declared even after undefining macros. */ #define HAVE_RAW_DECL_MKNODAT 1 +/* Define to 1 if mkostemp is declared even after undefining macros. */ +#define HAVE_RAW_DECL_MKOSTEMP 1 + +/* Define to 1 if mkostemps is declared even after undefining macros. */ +#define HAVE_RAW_DECL_MKOSTEMPS 1 + +/* Define to 1 if mkstemp is declared even after undefining macros. */ +#define HAVE_RAW_DECL_MKSTEMP 1 + +/* Define to 1 if mkstemps is declared even after undefining macros. */ +/* #undef HAVE_RAW_DECL_MKSTEMPS */ + /* Define to 1 if modf is declared even after undefining macros. */ #define HAVE_RAW_DECL_MODF 1 @@ -537,21 +677,42 @@ /* Define to 1 if opendir is declared even after undefining macros. */ #define HAVE_RAW_DECL_OPENDIR 1 +/* Define to 1 if pclose is declared even after undefining macros. */ +#define HAVE_RAW_DECL_PCLOSE 1 + /* Define to 1 if pipe is declared even after undefining macros. */ #define HAVE_RAW_DECL_PIPE 1 /* Define to 1 if pipe2 is declared even after undefining macros. */ #define HAVE_RAW_DECL_PIPE2 1 +/* Define to 1 if popen is declared even after undefining macros. */ +#define HAVE_RAW_DECL_POPEN 1 + +/* Define to 1 if posix_openpt is declared even after undefining macros. */ +#define HAVE_RAW_DECL_POSIX_OPENPT 1 + /* Define to 1 if powf is declared even after undefining macros. */ #define HAVE_RAW_DECL_POWF 1 /* Define to 1 if pread is declared even after undefining macros. */ #define HAVE_RAW_DECL_PREAD 1 +/* Define to 1 if ptsname is declared even after undefining macros. */ +#define HAVE_RAW_DECL_PTSNAME 1 + +/* Define to 1 if ptsname_r is declared even after undefining macros. */ +#define HAVE_RAW_DECL_PTSNAME_R 1 + /* Define to 1 if pwrite is declared even after undefining macros. */ #define HAVE_RAW_DECL_PWRITE 1 +/* Define to 1 if random is declared even after undefining macros. */ +#define HAVE_RAW_DECL_RANDOM 1 + +/* Define to 1 if random_r is declared even after undefining macros. */ +/* #undef HAVE_RAW_DECL_RANDOM_R */ + /* Define to 1 if rawmemchr is declared even after undefining macros. */ /* #undef HAVE_RAW_DECL_RAWMEMCHR */ @@ -564,6 +725,9 @@ /* Define to 1 if readlinkat is declared even after undefining macros. */ #define HAVE_RAW_DECL_READLINKAT 1 +/* Define to 1 if realpath is declared even after undefining macros. */ +#define HAVE_RAW_DECL_REALPATH 1 + /* Define to 1 if remainder is declared even after undefining macros. */ #define HAVE_RAW_DECL_REMAINDER 1 @@ -573,6 +737,9 @@ /* Define to 1 if remainderl is declared even after undefining macros. */ #define HAVE_RAW_DECL_REMAINDERL 1 +/* Define to 1 if renameat is declared even after undefining macros. */ +/* #undef HAVE_RAW_DECL_RENAMEAT */ + /* Define to 1 if rewinddir is declared even after undefining macros. */ #define HAVE_RAW_DECL_REWINDDIR 1 @@ -597,12 +764,24 @@ /* Define to 1 if roundl is declared even after undefining macros. */ #define HAVE_RAW_DECL_ROUNDL 1 +/* Define to 1 if rpmatch is declared even after undefining macros. */ +/* #undef HAVE_RAW_DECL_RPMATCH */ + /* Define to 1 if scandir is declared even after undefining macros. */ #define HAVE_RAW_DECL_SCANDIR 1 +/* Define to 1 if setenv is declared even after undefining macros. */ +#define HAVE_RAW_DECL_SETENV 1 + /* Define to 1 if sethostname is declared even after undefining macros. */ #define HAVE_RAW_DECL_SETHOSTNAME 1 +/* Define to 1 if setstate is declared even after undefining macros. */ +#define HAVE_RAW_DECL_SETSTATE 1 + +/* Define to 1 if setstate_r is declared even after undefining macros. */ +/* #undef HAVE_RAW_DECL_SETSTATE_R */ + /* Define to 1 if setusershell is declared even after undefining macros. */ #define HAVE_RAW_DECL_SETUSERSHELL 1 @@ -618,12 +797,21 @@ /* Define to 1 if sleep is declared even after undefining macros. */ #define HAVE_RAW_DECL_SLEEP 1 +/* Define to 1 if snprintf is declared even after undefining macros. */ +#define HAVE_RAW_DECL_SNPRINTF 1 + /* Define to 1 if sqrtf is declared even after undefining macros. */ #define HAVE_RAW_DECL_SQRTF 1 /* Define to 1 if sqrtl is declared even after undefining macros. */ #define HAVE_RAW_DECL_SQRTL 1 +/* Define to 1 if srandom is declared even after undefining macros. */ +#define HAVE_RAW_DECL_SRANDOM 1 + +/* Define to 1 if srandom_r is declared even after undefining macros. */ +/* #undef HAVE_RAW_DECL_SRANDOM_R */ + /* Define to 1 if stat is declared even after undefining macros. */ #define HAVE_RAW_DECL_STAT 1 @@ -663,12 +851,21 @@ /* Define to 1 if strsignal is declared even after undefining macros. */ #define HAVE_RAW_DECL_STRSIGNAL 1 +/* Define to 1 if strtod is declared even after undefining macros. */ +#define HAVE_RAW_DECL_STRTOD 1 + /* Define to 1 if strtoimax is declared even after undefining macros. */ #define HAVE_RAW_DECL_STRTOIMAX 1 /* Define to 1 if strtok_r is declared even after undefining macros. */ #define HAVE_RAW_DECL_STRTOK_R 1 +/* Define to 1 if strtoll is declared even after undefining macros. */ +#define HAVE_RAW_DECL_STRTOLL 1 + +/* Define to 1 if strtoull is declared even after undefining macros. */ +#define HAVE_RAW_DECL_STRTOULL 1 + /* Define to 1 if strtoumax is declared even after undefining macros. */ #define HAVE_RAW_DECL_STRTOUMAX 1 @@ -690,6 +887,9 @@ /* Define to 1 if tanl is declared even after undefining macros. */ #define HAVE_RAW_DECL_TANL 1 +/* Define to 1 if tmpfile is declared even after undefining macros. */ +#define HAVE_RAW_DECL_TMPFILE 1 + /* Define to 1 if towctrans is declared even after undefining macros. */ #define HAVE_RAW_DECL_TOWCTRANS 1 @@ -711,12 +911,24 @@ /* Define to 1 if unlinkat is declared even after undefining macros. */ #define HAVE_RAW_DECL_UNLINKAT 1 +/* Define to 1 if unlockpt is declared even after undefining macros. */ +#define HAVE_RAW_DECL_UNLOCKPT 1 + +/* Define to 1 if unsetenv is declared even after undefining macros. */ +#define HAVE_RAW_DECL_UNSETENV 1 + /* Define to 1 if usleep is declared even after undefining macros. */ #define HAVE_RAW_DECL_USLEEP 1 /* Define to 1 if utimensat is declared even after undefining macros. */ #define HAVE_RAW_DECL_UTIMENSAT 1 +/* Define to 1 if vdprintf is declared even after undefining macros. */ +#define HAVE_RAW_DECL_VDPRINTF 1 + +/* Define to 1 if vsnprintf is declared even after undefining macros. */ +#define HAVE_RAW_DECL_VSNPRINTF 1 + /* Define to 1 if wcpcpy is declared even after undefining macros. */ /* #undef HAVE_RAW_DECL_WCPCPY */ @@ -822,6 +1034,15 @@ /* Define to 1 if wmemset is declared even after undefining macros. */ #define HAVE_RAW_DECL_WMEMSET 1 +/* Define to 1 if _Exit is declared even after undefining macros. */ +#define HAVE_RAW_DECL__EXIT 1 + +/* Define to 1 if you have the `readlink' function. */ +#define HAVE_READLINK 1 + +/* Define to 1 if you have the `realpath' function. */ +#define HAVE_REALPATH 1 + /* Define to 1 if 'long double' and 'double' have the same representation. */ #define HAVE_SAME_LONG_DOUBLE_AS_DOUBLE 1 @@ -916,6 +1137,13 @@ /* Define as the word index where to find the exponent of 'long double'. */ /* #undef LDBL_EXPBIT0_WORD */ +/* Define to 1 if 'lstat' dereferences a symlink specified with a trailing + slash. */ +/* #undef LSTAT_FOLLOWS_SLASHED_SYMLINK */ + +/* If malloc(0) is != NULL, define this to 1. Otherwise define this to 0. */ +#define MALLOC_0_IS_NONNULL 1 + /* Define to a substitute value for mmap()'s MAP_ANONYMOUS flag. */ #define MAP_ANONYMOUS MAP_ANON @@ -956,6 +1184,33 @@ 'ptrdiff_t'. */ /* #undef PTRDIFF_T_SUFFIX */ +/* Define to 1 if readlink fails to recognize a trailing slash. */ +#define READLINK_TRAILING_SLASH_BUG 1 + +/* Define if rename does not work when the destination file exists, as on + Cygwin 1.5 or Windows. */ +#define RENAME_DEST_EXISTS_BUG 1 + +/* Define if rename fails to leave hard links alone, as on NetBSD 1.6 or + Cygwin 1.5. */ +#define RENAME_HARD_LINK_BUG 1 + +/* Define if rename does not correctly handle slashes on the destination + argument, such as on Solaris 10 or NetBSD 1.6. */ +#define RENAME_TRAILING_SLASH_DEST_BUG 1 + +/* Define if rename does not correctly handle slashes on the source argument, + such as on Solaris 9 or cygwin 1.5. */ +#define RENAME_TRAILING_SLASH_SOURCE_BUG 1 + +/* Define to 1 if stat needs help when passed a directory name with a trailing + slash */ +/* #undef REPLACE_FUNC_STAT_DIR */ + +/* Define to 1 if stat needs help when passed a file name with a trailing + slash */ +#define REPLACE_FUNC_STAT_FILE 1 + /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 'sig_atomic_t'. */ /* #undef SIG_ATOMIC_T_SUFFIX */ @@ -998,10 +1253,21 @@ # endif #endif +/* Enable large inode numbers on Mac OS X. */ +#ifndef _DARWIN_USE_64_BIT_INODE +# define _DARWIN_USE_64_BIT_INODE 1 +#endif + +/* Number of bits in a file offset, on hosts where this is settable. */ +/* #undef _FILE_OFFSET_BITS */ + /* Define to 1 if Gnulib overrides 'struct stat' on Windows so that struct stat.st_size becomes 64-bit. */ /* #undef _GL_WINDOWS_64_BIT_ST_SIZE */ +/* Define for large files, on AIX-style hosts. */ +/* #undef _LARGE_FILES */ + /* Define to 1 if on MINIX. */ /* #undef _MINIX */