From e514a9d64262fcceccd85180b20b7adc3c4a5eed Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Tue, 26 Oct 1999 03:43:48 +0000 Subject: [PATCH] import gdb-1999-10-25 snapshot --- gdb/ChangeLog | 71 ++++++++ gdb/Makefile.in | 7 +- gdb/breakpoint.c | 347 +++++++++++++++++++++----------------- gdb/breakpoint.h | 23 ++- gdb/config/i386/tm-i386.h | 4 +- gdb/event-top.c | 1 + gdb/gdbarch.c | 29 ++++ gdb/gdbarch.h | 6 + gdb/gdbarch.sh | 35 ++++ gdb/remote.c | 23 ++- gdb/stack.c | 1 + gdb/top.c | 1 + gdb/utils.c | 2 +- sim/common/ChangeLog | 15 ++ sim/common/cgen-par.c | 41 ++++- sim/common/cgen-par.h | 8 + sim/mips/configure | 339 +++++++++++++++++++------------------ sim/mips/mips.igen | 7 +- 18 files changed, 616 insertions(+), 344 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1fb60e9222..af0c40dea9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,74 @@ +Mon Oct 25 18:22:06 1999 Andrew Cagney + + * remote.c: Document future of compare_sections_command. + (remote_insert_breakpoint, remote_remove_breakpoint, + remote_insert_watchpoint, remote_insert_watchpoint, + remote_remove_watchpoint, remote_insert_hw_breakpoint, + remote_remove_hw_breakpoint): Use alloca instead of GCC's dynamic + array feature. + +Mon Oct 25 18:08:31 1999 Andrew Cagney + + * gdbarch.h (REGISTER_GDBARCH_SWAP): Define. + * gdbarch.sh: Update. + +Sat Oct 23 16:39:34 1999 Andrew Cagney + + * gdbarch.c (initialize_current_architecture): Make ``choice'' + const. + +1999-10-22 Tom Tromey + + * gdbarch.sh: Updated for gdbarch.[ch] changes. + * top.c (gdb_init): Call initialize_current_architecture. + * gdbarch.h (initialize_current_architecture): Declare. + * gdbarch.c (initialize_current_architecture): New function. + +1999-10-21 Michael Snyder + + * utils.c (chars_per_line): fix typo in comment. + +1999-10-21 Elena Zannoni + + * breakpoint.h (bp_print_how): New enum, used for deciding how to + print bpstat information when we stop, instead of having 3 + different functions. + (struct bpstat): Change print_it field to be an enum instead of a + function pointer. + + * breakpoint.c (print_it_typical): New name for print_it_normal(). + (print_bp_stop_message): New function. High level routine for + printing of why we stopped. + (bpstat_print): Call print_bp_stop_message instead of using the + print_it function pointer. + (print_it_done, print_it_noop): Delete these functions. + +1999-10-21 Elena Zannoni + + * breakpoint.c (print_it_normal): Reorganize into a switch + statement. + +1999-10-21 Elena Zannoni + + * Makefile.in (event-top.o): Add dependency on target.h. + * event-top.c: Make dependency on target.h explicit. + + * breakpoint.c (bpstat_print): Clean up logic. Remove recursion. + (catch_exec_command_1): Surround with appropriate ifdef's, + to avoid compiler warnings. + (catch_fork_command_1): Ditto. + +1999-10-20 Jim Blandy + + * Makefile.in (dwarf2read.o): Note that this depends on bfd/elf-bfd.h. + (elf_bfd_h): New variable. + +1999-10-19 Jim Blandy + + * config/i386/tm-i386.h (REGISTER_NAMES): Change names of FPU + instruction and operand pointer registers to improve consistency, + following J. T. Conklin's suggestions. + 1999-10-18 Elena Zannoni * breakpoint.h: Change return type of field print_it of struct diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 0dfabdac56..edb38eed08 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -229,7 +229,7 @@ CDEPS = $(XM_CDEPS) $(TM_CDEPS) $(NAT_CDEPS) $(SIM) $(BFD) $(READLINE) \ ADD_FILES = $(REGEX) $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES) ADD_DEPS = $(REGEX1) $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES) -VERSION = 19991018 +VERSION = 19991025 DIST=gdb LINT=/usr/5bin/lint @@ -414,6 +414,7 @@ LINTFILES = $(SFILES) $(YYFILES) @CONFIG_SRCS@ init.c getopt_h = $(INCLUDE_DIR)/getopt.h floatformat_h = $(INCLUDE_DIR)/floatformat.h bfd_h = $(BFD_DIR)/bfd.h +elf_bfd_h = $(BFD_DIR)/elf-bfd.h wait_h = $(INCLUDE_DIR)/wait.h dis-asm_h = $(INCLUDE_DIR)/dis-asm.h remote-sim_h = $(INCLUDE_DIR)/remote-sim.h @@ -1121,7 +1122,7 @@ dwarfread.o: dwarfread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \ $(expression_h) $(gdbtypes_h) language.h objfiles.h symfile.h \ $(symtab_h) gdb_string.h -dwarf2read.o: dwarf2read.c $(bfd_h) buildsym.h $(defs_h) \ +dwarf2read.o: dwarf2read.c $(bfd_h) $(elf_bfd_h) buildsym.h $(defs_h) \ $(expression_h) $(gdbtypes_h) language.h objfiles.h symfile.h \ $(symtab_h) gdb_string.h @@ -1139,7 +1140,7 @@ event-loop.o: event-loop.c $(defs_h) $(top_h) $(event_loop_h) $(event_top_h) event-top.o: event-top.c top.h $(readline_headers) \ $(defs_h) $(inferior_h) $(event_loop_h) $(event_top_h) terminal.h \ - $(gdbcmd_h) + $(gdbcmd_h) target.h inf-loop.o: inf-loop.c $(defs_h) $(inferior_h) $(inf_loop_h) $(event_loop_h) \ $(event_top_h) diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index ec78b31c78..82085b0b12 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -157,7 +157,9 @@ insertion_state_t; static int remove_breakpoint PARAMS ((struct breakpoint *, insertion_state_t)); -static enum print_stop_action print_it_normal PARAMS ((bpstat)); +static enum print_stop_action print_it_typical PARAMS ((bpstat)); + +static enum print_stop_action print_bp_stop_message (bpstat bs); typedef struct { @@ -170,10 +172,6 @@ static int watchpoint_check PARAMS ((PTR)); static int cover_target_enable_exception_callback PARAMS ((PTR)); -static enum print_stop_action print_it_done PARAMS ((bpstat)); - -static enum print_stop_action print_it_noop PARAMS ((bpstat)); - static void maintenance_info_breakpoints PARAMS ((char *, int)); #ifdef GET_LONGJMP_TARGET @@ -226,8 +224,10 @@ static char *ep_parse_optional_if_clause PARAMS ((char **arg)); static char *ep_parse_optional_filename PARAMS ((char **arg)); +#if defined(CHILD_INSERT_EXEC_CATCHPOINT) static void catch_exec_command_1 PARAMS ((char *arg, int tempflag, int from_tty)); +#endif static void create_exception_catchpoint PARAMS ((int tempflag, char *cond_string, @@ -1740,91 +1740,98 @@ top: discard_cleanups (old_chain); } -/* This is the normal print_it function for a bpstat. In the future, +/* This is the normal print function for a bpstat. In the future, much of this logic could (should?) be moved to bpstat_stop_status, - by having it set different print_it functions. + by having it set different print_it values. - Current scheme: When we stop, bpstat_print() is called. - It loops through the bpstat list of things causing this stop, - calling the print_it function for each one. The default - print_it function, used for breakpoints, is print_it_normal(). - (Also see print_it_noop() and print_it_done()). + Current scheme: When we stop, bpstat_print() is called. It loops + through the bpstat list of things causing this stop, calling the + print_bp_stop_message function on each one. The behavior of the + print_bp_stop_message function depends on the print_it field of + bpstat. If such field so indicates, call this function here. - Return values from this routine (used by bpstat_print() to - decide what to do): - PRINT_NOTHING: Means we already printed all we needed to print, don't - print anything else. - PRINT_SRC_ONLY: Means we printed something, and we do *not* desire that - something to be followed by a location. - PRINT_SCR_AND_LOC: Means we printed something, and we *do* desire that - something to be followed by a location. - PRINT_UNKNOWN: Means we printed nothing or we need to do some more analysis. */ + Return values from this routine (ultimately used by bpstat_print() + and normal_stop() to decide what to do): + PRINT_NOTHING: Means we already printed all we needed to print, + don't print anything else. + PRINT_SRC_ONLY: Means we printed something, and we do *not* desire + that something to be followed by a location. + PRINT_SCR_AND_LOC: Means we printed something, and we *do* desire + that something to be followed by a location. + PRINT_UNKNOWN: Means we printed nothing or we need to do some more + analysis. */ static enum print_stop_action -print_it_normal (bs) +print_it_typical (bs) bpstat bs; { /* bs->breakpoint_at can be NULL if it was a momentary breakpoint which has since been deleted. */ - if (bs->breakpoint_at == NULL - || (bs->breakpoint_at->type != bp_breakpoint - && bs->breakpoint_at->type != bp_shlib_event - && bs->breakpoint_at->type != bp_catch_load - && bs->breakpoint_at->type != bp_catch_unload - && bs->breakpoint_at->type != bp_catch_fork - && bs->breakpoint_at->type != bp_catch_vfork - && bs->breakpoint_at->type != bp_catch_exec - && bs->breakpoint_at->type != bp_catch_catch - && bs->breakpoint_at->type != bp_catch_throw - && bs->breakpoint_at->type != bp_hardware_breakpoint - && bs->breakpoint_at->type != bp_watchpoint - && bs->breakpoint_at->type != bp_read_watchpoint - && bs->breakpoint_at->type != bp_access_watchpoint - && bs->breakpoint_at->type != bp_hardware_watchpoint)) + if (bs->breakpoint_at == NULL) return PRINT_UNKNOWN; - if (ep_is_shlib_catchpoint (bs->breakpoint_at)) + switch (bs->breakpoint_at->type) { - annotate_catchpoint (bs->breakpoint_at->number); - printf_filtered ("\nCatchpoint %d (", bs->breakpoint_at->number); - if (bs->breakpoint_at->type == bp_catch_load) - printf_filtered ("loaded"); - else if (bs->breakpoint_at->type == bp_catch_unload) - printf_filtered ("unloaded"); - printf_filtered (" %s), ", bs->breakpoint_at->triggered_dll_pathname); + case bp_breakpoint: + case bp_hardware_breakpoint: + /* I think the user probably only wants to see one breakpoint + number, not all of them. */ + annotate_breakpoint (bs->breakpoint_at->number); + printf_filtered ("\nBreakpoint %d, ", bs->breakpoint_at->number); return PRINT_SRC_AND_LOC; - } - else if (bs->breakpoint_at->type == bp_shlib_event) - { + break; + + case bp_shlib_event: /* Did we stop because the user set the stop_on_solib_events variable? (If so, we report this as a generic, "Stopped due to shlib event" message.) */ - printf_filtered ("Stopped due to shared library event\n"); - return PRINT_NOTHING; - } - else if (bs->breakpoint_at->type == bp_catch_fork || - bs->breakpoint_at->type == bp_catch_vfork) - { + printf_filtered ("Stopped due to shared library event\n"); + return PRINT_NOTHING; + break; + + case bp_catch_load: annotate_catchpoint (bs->breakpoint_at->number); printf_filtered ("\nCatchpoint %d (", bs->breakpoint_at->number); - if (bs->breakpoint_at->type == bp_catch_fork) - printf_filtered ("forked"); - else if (bs->breakpoint_at->type == bp_catch_vfork) - printf_filtered ("vforked"); + printf_filtered ("loaded"); + printf_filtered (" %s), ", bs->breakpoint_at->triggered_dll_pathname); + return PRINT_SRC_AND_LOC; + break; + + case bp_catch_unload: + annotate_catchpoint (bs->breakpoint_at->number); + printf_filtered ("\nCatchpoint %d (", bs->breakpoint_at->number); + printf_filtered ("unloaded"); + printf_filtered (" %s), ", bs->breakpoint_at->triggered_dll_pathname); + return PRINT_SRC_AND_LOC; + break; + + case bp_catch_fork: + annotate_catchpoint (bs->breakpoint_at->number); + printf_filtered ("\nCatchpoint %d (", bs->breakpoint_at->number); + printf_filtered ("forked"); printf_filtered (" process %d), ", bs->breakpoint_at->forked_inferior_pid); return PRINT_SRC_AND_LOC; - } - else if (bs->breakpoint_at->type == bp_catch_exec) - { + break; + + case bp_catch_vfork: + annotate_catchpoint (bs->breakpoint_at->number); + printf_filtered ("\nCatchpoint %d (", bs->breakpoint_at->number); + printf_filtered ("vforked"); + printf_filtered (" process %d), ", + bs->breakpoint_at->forked_inferior_pid); + return PRINT_SRC_AND_LOC; + break; + + case bp_catch_exec: annotate_catchpoint (bs->breakpoint_at->number); printf_filtered ("\nCatchpoint %d (exec'd %s), ", bs->breakpoint_at->number, bs->breakpoint_at->exec_pathname); return PRINT_SRC_AND_LOC; - } - else if (bs->breakpoint_at->type == bp_catch_catch) - { + break; + + case bp_catch_catch: if (current_exception_event && (CURRENT_EXCEPTION_KIND == EX_EVENT_CATCH)) { @@ -1848,15 +1855,17 @@ print_it_normal (bs) printf_filtered ("unknown"); printf_filtered ("\n"); - return PRINT_SRC_ONLY; /* don't bother to print location frame info */ + /* don't bother to print location frame info */ + return PRINT_SRC_ONLY; } else { - return PRINT_UNKNOWN; /* really throw, some other bpstat will handle it */ + /* really throw, some other bpstat will handle it */ + return PRINT_UNKNOWN; } - } - else if (bs->breakpoint_at->type == bp_catch_throw) - { + break; + + case bp_catch_throw: if (current_exception_event && (CURRENT_EXCEPTION_KIND == EX_EVENT_THROW)) { @@ -1880,64 +1889,122 @@ print_it_normal (bs) printf_filtered ("unknown"); printf_filtered ("\n"); - return PRINT_SRC_ONLY; /* don't bother to print location frame info */ + /* don't bother to print location frame info */ + return PRINT_SRC_ONLY; } else { - return PRINT_UNKNOWN; /* really catch, some other bpstat willhandle it */ + /* really catch, some other bpstat will handle it */ + return PRINT_UNKNOWN; } - } + break; - else if (bs->breakpoint_at->type == bp_breakpoint || - bs->breakpoint_at->type == bp_hardware_breakpoint) - { - /* I think the user probably only wants to see one breakpoint - number, not all of them. */ - annotate_breakpoint (bs->breakpoint_at->number); - printf_filtered ("\nBreakpoint %d, ", bs->breakpoint_at->number); - return PRINT_SRC_AND_LOC; - } - else if ((bs->old_val != NULL) && - (bs->breakpoint_at->type == bp_watchpoint || - bs->breakpoint_at->type == bp_access_watchpoint || - bs->breakpoint_at->type == bp_hardware_watchpoint)) - { - annotate_watchpoint (bs->breakpoint_at->number); - mention (bs->breakpoint_at); - printf_filtered ("\nOld value = "); - value_print (bs->old_val, gdb_stdout, 0, Val_pretty_default); - printf_filtered ("\nNew value = "); - value_print (bs->breakpoint_at->val, gdb_stdout, 0, - Val_pretty_default); - printf_filtered ("\n"); - value_free (bs->old_val); - bs->old_val = NULL; + case bp_watchpoint: + case bp_hardware_watchpoint: + if (bs->old_val != NULL) + { + annotate_watchpoint (bs->breakpoint_at->number); + mention (bs->breakpoint_at); + printf_filtered ("\nOld value = "); + value_print (bs->old_val, gdb_stdout, 0, Val_pretty_default); + printf_filtered ("\nNew value = "); + value_print (bs->breakpoint_at->val, gdb_stdout, 0, + Val_pretty_default); + printf_filtered ("\n"); + value_free (bs->old_val); + bs->old_val = NULL; + } /* More than one watchpoint may have been triggered. */ return PRINT_UNKNOWN; - } - else if (bs->breakpoint_at->type == bp_access_watchpoint || - bs->breakpoint_at->type == bp_read_watchpoint) - { + break; + + case bp_read_watchpoint: mention (bs->breakpoint_at); printf_filtered ("\nValue = "); value_print (bs->breakpoint_at->val, gdb_stdout, 0, Val_pretty_default); printf_filtered ("\n"); return PRINT_UNKNOWN; + break; + + case bp_access_watchpoint: + if (bs->old_val != NULL) + { + annotate_watchpoint (bs->breakpoint_at->number); + mention (bs->breakpoint_at); + printf_filtered ("\nOld value = "); + value_print (bs->old_val, gdb_stdout, 0, Val_pretty_default); + value_free (bs->old_val); + bs->old_val = NULL; + printf_filtered ("\nNew value = "); + } + else + { + mention (bs->breakpoint_at); + printf_filtered ("\nValue = "); + } + value_print (bs->breakpoint_at->val, gdb_stdout, 0, + Val_pretty_default); + printf_filtered ("\n"); + return PRINT_UNKNOWN; + break; + /* Fall through, we don't deal with these types of breakpoints + here. */ + + case bp_none: + case bp_until: + case bp_finish: + case bp_longjmp: + case bp_longjmp_resume: + case bp_step_resume: + case bp_through_sigtramp: + case bp_watchpoint_scope: + case bp_call_dummy: + default: + return PRINT_UNKNOWN; } - /* We can't deal with it. - Maybe another member of the bpstat chain can. */ - return PRINT_UNKNOWN; } -/* Print a message indicating what happened. - This is called from normal_stop(). - The input to this routine is the head of the bpstat list - a list - of the eventpoints that caused this stop. - This routine calls the "print_it" routine(s) associated - with these eventpoints. This will print (for example) - the "Breakpoint n," part of the output. - The return value of this routine is one of: +/* Generic routine for printing messages indicating why we + stopped. The behavior of this function depends on the value + 'print_it' in the bpstat structure. Under some circumstances we + may decide not to print anything here and delegate the task to + normal_stop(). */ + +static enum print_stop_action +print_bp_stop_message (bpstat bs) +{ + switch (bs->print_it) + { + case print_it_noop: + /* Nothing should be printed for this bpstat entry. */ + return PRINT_UNKNOWN; + break; + + case print_it_done: + /* We still want to print the frame, but we already printed the + relevant messages. */ + return PRINT_SRC_AND_LOC; + break; + + case print_it_normal: + /* Normal case, we handle everything in print_it_typical. */ + return print_it_typical (bs); + break; + default: + internal_error ("print_bp_stop_message: unrecognized enum value"); + break; + } +} + + +/* Print a message indicating what happened. This is called from + normal_stop(). The input to this routine is the head of the bpstat + list - a list of the eventpoints that caused this stop. This + routine calls the generic print routine for printing a message + about reasons for stopping. This will print (for example) the + "Breakpoint n," part of the output. The return value of this + routine is one of: PRINT_UNKNOWN: Means we printed nothing PRINT_SRC_AND_LOC: Means we printed something, and expect subsequent @@ -1957,21 +2024,21 @@ bpstat_print (bs) { int val; - if (bs == NULL) - return PRINT_UNKNOWN; - - val = (*bs->print_it) (bs); - if (val == PRINT_SRC_ONLY || val == PRINT_SRC_AND_LOC || val == PRINT_NOTHING) - return val; - /* Maybe another breakpoint in the chain caused us to stop. (Currently all watchpoints go on the bpstat whether hit or not. That probably could (should) be changed, provided care is taken with respect to bpstat_explains_signal). */ - if (bs->next) - return bpstat_print (bs->next); + for (; bs; bs = bs->next) + { + val = print_bp_stop_message (bs); + if (val == PRINT_SRC_ONLY + || val == PRINT_SRC_AND_LOC + || val == PRINT_NOTHING) + return val; + } - /* We reached the end of the chain without printing anything. */ + /* We reached the end of the chain, or we got a null BS to start + with and nothing was printed. */ return PRINT_UNKNOWN; } @@ -2098,40 +2165,6 @@ which its expression is valid.\n", bs->breakpoint_at->number); } } -/* This is used when everything which needs to be printed has - already been printed. But we still want to print the frame. */ - -/* Background: When we stop, bpstat_print() is called. - It loops through the bpstat list of things causing this stop, - calling the print_it function for each one. The default - print_it function, used for breakpoints, is print_it_normal(). - Also see print_it_noop() and print_it_done() are the other - two possibilities. See comments in bpstat_print() and - in header of print_it_normal() for more detail. */ - -static enum print_stop_action -print_it_done (bs) - bpstat bs; -{ - return PRINT_SRC_AND_LOC; -} - -/* This is used when nothing should be printed for this bpstat entry. */ -/* Background: When we stop, bpstat_print() is called. - It loops through the bpstat list of things causing this stop, - calling the print_it function for each one. The default - print_it function, used for breakpoints, is print_it_normal(). - Also see print_it_noop() and print_it_done() are the other - two possibilities. See comments in bpstat_print() and - in header of print_it_normal() for more detail. */ - -static enum print_stop_action -print_it_noop (bs) - bpstat bs; -{ - return PRINT_UNKNOWN; -} - /* Get a bpstat associated with having just stopped at address *PC and frame address CORE_ADDRESS. Update *PC to point at the breakpoint (if we hit a breakpoint). NOT_A_BREAKPOINT is nonzero @@ -5139,6 +5172,7 @@ typedef enum } catch_fork_kind; +#if defined(CHILD_INSERT_FORK_CATCHPOINT) || defined(CHILD_INSERT_VFORK_CATCHPOINT) static void catch_fork_command_1 PARAMS ((catch_fork_kind fork_kind, char *arg, int tempflag, @@ -5180,7 +5214,9 @@ catch_fork_command_1 (fork_kind, arg, tempflag, from_tty) break; } } +#endif +#if defined(CHILD_INSERT_EXEC_CATCHPOINT) static void catch_exec_command_1 (arg, tempflag, from_tty) char *arg; @@ -5205,6 +5241,7 @@ catch_exec_command_1 (arg, tempflag, from_tty) and enable reporting of such events. */ create_exec_event_catchpoint (tempflag, cond_string); } +#endif #if defined(SOLIB_ADD) static void diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h index 89655fe452..a59708490b 100644 --- a/gdb/breakpoint.h +++ b/gdb/breakpoint.h @@ -434,6 +434,22 @@ extern void bpstat_clear_actions PARAMS ((bpstat)); extern void bpstat_get_triggered_catchpoints PARAMS ((bpstat, bpstat *)); /* Implementation: */ + +/* Values used to tell the printing routine how to behave for this bpstat. */ +enum bp_print_how + { + /* This is used when we want to do a normal printing of the reason + for stopping. The output will depend on the type of eventpoint + we are dealing with. This is the default value, most commonly + used. */ + print_it_normal, + /* This is used when nothing should be printed for this bpstat entry. */ + print_it_noop, + /* This is used when everything which needs to be printed has + already been printed. But we still want to print the frame. */ + print_it_done + }; + struct bpstats { /* Linked list because there can be two breakpoints at the same @@ -452,10 +468,9 @@ struct bpstats /* Nonzero if this breakpoint tells us to stop. */ char stop; - /* Function called by bpstat_print to print stuff associated with - this element of the bpstat chain. Returns 0 or 1 just like - bpstat_print, or -1 if it can't deal with it. */ - enum print_stop_action (*print_it) PARAMS ((bpstat bs)); + /* Tell bpstat_print and print_bp_stop_message how to print stuff + associated with this element of the bpstat chain. */ + enum bp_print_how print_it; }; enum inf_context diff --git a/gdb/config/i386/tm-i386.h b/gdb/config/i386/tm-i386.h index 051b3c7017..9f4aaed621 100644 --- a/gdb/config/i386/tm-i386.h +++ b/gdb/config/i386/tm-i386.h @@ -123,8 +123,8 @@ extern int i386_skip_prologue PARAMS ((int)); "ds", "es", "fs", "gs", \ "st0", "st1", "st2", "st3", \ "st4", "st5", "st6", "st7", \ - "fctrl", "fstat", "ftag", "fcs", \ - "fcoff", "fds", "fdoff", "fop", \ + "fctrl", "fstat", "ftag", "fiseg", \ + "fioff", "foseg", "fooff", "fop", \ "xmm0", "xmm1", "xmm2", "xmm3", \ "xmm4", "xmm5", "xmm6", "xmm7", \ "mxcsr" \ diff --git a/gdb/event-top.c b/gdb/event-top.c index 7e6cf8351a..cac492220b 100644 --- a/gdb/event-top.c +++ b/gdb/event-top.c @@ -22,6 +22,7 @@ #include "defs.h" #include "top.h" #include "inferior.h" +#include "target.h" #include "terminal.h" /* for job_control */ #include "signals.h" #include "event-loop.h" diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index 54fd44469b..f7fbea45ea 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -3161,6 +3161,35 @@ int sizeof_call_dummy_words = sizeof (call_dummy_words); #endif +/* Initialize the current architecture. */ +void +initialize_current_architecture () +{ + if (GDB_MULTI_ARCH) + { + struct gdbarch_init_registration *rego; + const struct bfd_arch_info *chosen = NULL; + for (rego = gdbarch_init_registrary; rego != NULL; rego = rego->next) + { + const struct bfd_arch_info *ap + = bfd_lookup_arch (rego->bfd_architecture, 0); + + /* Choose the first architecture alphabetically. */ + if (chosen == NULL + || strcmp (ap->printable_name, chosen->printable_name) < 0) + chosen = ap; + } + + if (chosen != NULL) + { + struct gdbarch_info info; + memset (&info, 0, sizeof info); + info.bfd_arch_info = chosen; + gdbarch_update (info); + } + } +} + extern void _initialize_gdbarch (void); void _initialize_gdbarch () diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h index 95776adf6f..34075c6146 100644 --- a/gdb/gdbarch.h +++ b/gdb/gdbarch.h @@ -948,6 +948,7 @@ extern void *gdbarch_data (struct gdbarch_data*); typedef void (gdbarch_swap_ftype) (void); extern void register_gdbarch_swap (void *data, unsigned long size, gdbarch_swap_ftype *init); +#define REGISTER_GDBARCH_SWAP(VAR) register_gdbarch_swap (&(VAR), sizeof ((VAR)), NULL) @@ -1097,6 +1098,11 @@ extern void set_gdbarch_from_file (bfd *); extern void set_architecture_from_arch_mach (enum bfd_architecture, unsigned long); +/* Initialize the current architecture to the "first" one we find on + our list. */ + +extern void initialize_current_architecture (void); + /* Helper function for targets that don't know how my arguments are being passed */ diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh index 7da02047af..92f3170902 100755 --- a/gdb/gdbarch.sh +++ b/gdb/gdbarch.sh @@ -564,6 +564,7 @@ extern void *gdbarch_data (struct gdbarch_data*); typedef void (gdbarch_swap_ftype) (void); extern void register_gdbarch_swap (void *data, unsigned long size, gdbarch_swap_ftype *init); +#define REGISTER_GDBARCH_SWAP(VAR) register_gdbarch_swap (&(VAR), sizeof ((VAR)), NULL) @@ -713,6 +714,11 @@ extern void set_gdbarch_from_file (bfd *); extern void set_architecture_from_arch_mach (enum bfd_architecture, unsigned long); +/* Initialize the current architecture to the "first" one we find on + our list. */ + +extern void initialize_current_architecture (void); + /* Helper function for targets that don't know how my arguments are being passed */ @@ -1889,6 +1895,35 @@ int sizeof_call_dummy_words = sizeof (call_dummy_words); #endif +/* Initialize the current architecture. */ +void +initialize_current_architecture () +{ + if (GDB_MULTI_ARCH) + { + struct gdbarch_init_registration *rego; + const struct bfd_arch_info *chosen = NULL; + for (rego = gdbarch_init_registrary; rego != NULL; rego = rego->next) + { + const struct bfd_arch_info *ap + = bfd_lookup_arch (rego->bfd_architecture, 0); + + /* Choose the first architecture alphabetically. */ + if (chosen == NULL + || strcmp (ap->printable_name, chosen->printable_name) < 0) + chosen = ap; + } + + if (chosen != NULL) + { + struct gdbarch_info info; + memset (&info, 0, sizeof info); + info.bfd_arch_info = chosen; + gdbarch_update (info); + } + } +} + extern void _initialize_gdbarch (void); void _initialize_gdbarch () diff --git a/gdb/remote.c b/gdb/remote.c index 24d382e86e..cd4eda0a08 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -3977,7 +3977,8 @@ remote_insert_breakpoint (addr, contents_cache) if ((remote_protocol_Z.support == PACKET_ENABLE) || (remote_protocol_Z.support == PACKET_SUPPORT_UNKNOWN)) { - char buf[PBUFSIZ], *p = buf; + char *buf = alloca (PBUFSIZ); + char *p = buf; addr = remote_address_masked (addr); *(p++) = 'Z'; @@ -4040,7 +4041,8 @@ remote_remove_breakpoint (addr, contents_cache) if ((remote_protocol_Z.support == PACKET_ENABLE) || (remote_protocol_Z.support == PACKET_SUPPORT_UNKNOWN)) { - char buf[PBUFSIZ], *p = buf; + char *buf = alloca (PBUFSIZ); + char *p = buf; *(p++) = 'z'; *(p++) = '0'; @@ -4071,7 +4073,8 @@ remote_insert_watchpoint (addr, len, type) int len; int type; { - char buf[PBUFSIZ], *p; + char *buf = alloca (PBUFSIZ); + char *p; if (remote_protocol_Z.support == PACKET_DISABLE) error ("Can't set hardware watchpoints without the 'Z' packet\n"); @@ -4097,7 +4100,8 @@ remote_remove_watchpoint (addr, len, type) int len; int type; { - char buf[PBUFSIZ], *p; + char *buf = alloca (PBUFSIZ); + char *p; sprintf (buf, "z%x,", type + 2 ); p = strchr (buf, '\0'); @@ -4118,7 +4122,8 @@ remote_insert_hw_breakpoint (addr, len) CORE_ADDR addr; int len; { - char buf[PBUFSIZ], *p = buf; + char *buf = alloca (PBUFSIZ); + char *p = buf; if (remote_protocol_Z.support == PACKET_DISABLE) error ("Can't set hardware breakpoints without the 'Z' packet\n"); @@ -4145,7 +4150,8 @@ remote_remove_hw_breakpoint (addr, len) CORE_ADDR addr; int len; { - char buf[PBUFSIZ], *p = buf; + char *buf = alloca (PBUFSIZ); + char *p = buf; *(p++) = 'z'; *(p++) = '1'; @@ -4239,6 +4245,11 @@ crc32 (buf, len, crc) Useful for verifying the image on the target against the exec file. Depends on the target understanding the new "qCRC:" request. */ +/* FIXME: cagney/1999-10-26: This command should be broken down into a + target method (target verify memory) and generic version of the + actual command. This will allow other high-level code (especially + generic_load()) to make use of this target functionality. */ + static void compare_sections_command (args, from_tty) char *args; diff --git a/gdb/stack.c b/gdb/stack.c index 30486be7c9..52a7d9984b 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -575,6 +575,7 @@ print_frame_info_base (fi, level, source, args) } current_source_line = max (sal.line - lines_to_list / 2, 1); } + if (source != 0) set_default_breakpoint (1, fi->pc, sal.symtab, sal.line); diff --git a/gdb/top.c b/gdb/top.c index 5baf38a51b..73b286caa1 100644 --- a/gdb/top.c +++ b/gdb/top.c @@ -686,6 +686,7 @@ gdb_init (argv0) initialize_targets (); /* Setup target_terminal macros for utils.c */ initialize_utils (); /* Make errors and warnings possible */ initialize_all_files (); + initialize_current_architecture (); init_main (); /* But that omits this file! Do it now */ /* The signal handling mechanism is different depending whether or diff --git a/gdb/utils.c b/gdb/utils.c index 61d9e46796..e657c5a374 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -1367,7 +1367,7 @@ fputstrn_unfiltered (str, n, quoter, stream) /* Number of lines per page or UINT_MAX if paging is disabled. */ static unsigned int lines_per_page; -/* Number of chars per line or UNIT_MAX is line folding is disabled. */ +/* Number of chars per line or UNIT_MAX if line folding is disabled. */ static unsigned int chars_per_line; /* Current count of lines printed on this page, chars on this line. */ static unsigned int lines_printed, chars_printed; diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index a1df5fef8c..1d8bfeafed 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,18 @@ +1999-10-22 Dave Brolley + + * cgen-par.h (insn_address): New field in CGEN_WRITE_QUEUE_ELEMENT. + (CGEN_WRITE_QUEUE_ELEMENT_IADDR): New macro. + * cgen-par.c: Set insn_address for each queued write. Get pc from + cpu when executing queued writes. + +1999-10-19 Dave Brolley + + * cgen-par.h (sim_queue_fn_pc_write): New function. + (CGEN_FN_PC_WRITE): New enumerator. + (fn_pc_write): New union member. + * cgen-par.c (sim_queue_fn_pc_write): New function. + (cgen_write_queue_element_execute): Handle CGEN_FN_PC_WRITE. + 1999-10-18 Dave Brolley * cgen-par.h (CGEN_MEM_DI_WRITE): New enumerator. diff --git a/sim/common/cgen-par.c b/sim/common/cgen-par.c index d6450db0ab..e2af54e873 100644 --- a/sim/common/cgen-par.c +++ b/sim/common/cgen-par.c @@ -29,6 +29,7 @@ void sim_queue_bi_write (SIM_CPU *cpu, BI *target, BI value) CGEN_WRITE_QUEUE *q = CPU_WRITE_QUEUE (cpu); CGEN_WRITE_QUEUE_ELEMENT *element = CGEN_WRITE_QUEUE_NEXT (q); element->kind = CGEN_BI_WRITE; + element->insn_address = CPU_PC_GET (cpu); element->kinds.bi_write.target = target; element->kinds.bi_write.value = value; } @@ -38,6 +39,7 @@ void sim_queue_qi_write (SIM_CPU *cpu, UQI *target, UQI value) CGEN_WRITE_QUEUE *q = CPU_WRITE_QUEUE (cpu); CGEN_WRITE_QUEUE_ELEMENT *element = CGEN_WRITE_QUEUE_NEXT (q); element->kind = CGEN_QI_WRITE; + element->insn_address = CPU_PC_GET (cpu); element->kinds.qi_write.target = target; element->kinds.qi_write.value = value; } @@ -47,6 +49,7 @@ void sim_queue_si_write (SIM_CPU *cpu, SI *target, SI value) CGEN_WRITE_QUEUE *q = CPU_WRITE_QUEUE (cpu); CGEN_WRITE_QUEUE_ELEMENT *element = CGEN_WRITE_QUEUE_NEXT (q); element->kind = CGEN_SI_WRITE; + element->insn_address = CPU_PC_GET (cpu); element->kinds.si_write.target = target; element->kinds.si_write.value = value; } @@ -56,6 +59,7 @@ void sim_queue_sf_write (SIM_CPU *cpu, SI *target, SF value) CGEN_WRITE_QUEUE *q = CPU_WRITE_QUEUE (cpu); CGEN_WRITE_QUEUE_ELEMENT *element = CGEN_WRITE_QUEUE_NEXT (q); element->kind = CGEN_SF_WRITE; + element->insn_address = CPU_PC_GET (cpu); element->kinds.sf_write.target = target; element->kinds.sf_write.value = value; } @@ -65,6 +69,7 @@ void sim_queue_pc_write (SIM_CPU *cpu, USI value) CGEN_WRITE_QUEUE *q = CPU_WRITE_QUEUE (cpu); CGEN_WRITE_QUEUE_ELEMENT *element = CGEN_WRITE_QUEUE_NEXT (q); element->kind = CGEN_PC_WRITE; + element->insn_address = CPU_PC_GET (cpu); element->kinds.pc_write.value = value; } @@ -78,6 +83,7 @@ void sim_queue_fn_hi_write ( CGEN_WRITE_QUEUE *q = CPU_WRITE_QUEUE (cpu); CGEN_WRITE_QUEUE_ELEMENT *element = CGEN_WRITE_QUEUE_NEXT (q); element->kind = CGEN_FN_HI_WRITE; + element->insn_address = CPU_PC_GET (cpu); element->kinds.fn_hi_write.function = write_function; element->kinds.fn_hi_write.regno = regno; element->kinds.fn_hi_write.value = value; @@ -93,6 +99,7 @@ void sim_queue_fn_si_write ( CGEN_WRITE_QUEUE *q = CPU_WRITE_QUEUE (cpu); CGEN_WRITE_QUEUE_ELEMENT *element = CGEN_WRITE_QUEUE_NEXT (q); element->kind = CGEN_FN_SI_WRITE; + element->insn_address = CPU_PC_GET (cpu); element->kinds.fn_si_write.function = write_function; element->kinds.fn_si_write.regno = regno; element->kinds.fn_si_write.value = value; @@ -108,6 +115,7 @@ void sim_queue_fn_di_write ( CGEN_WRITE_QUEUE *q = CPU_WRITE_QUEUE (cpu); CGEN_WRITE_QUEUE_ELEMENT *element = CGEN_WRITE_QUEUE_NEXT (q); element->kind = CGEN_FN_DI_WRITE; + element->insn_address = CPU_PC_GET (cpu); element->kinds.fn_di_write.function = write_function; element->kinds.fn_di_write.regno = regno; element->kinds.fn_di_write.value = value; @@ -123,16 +131,32 @@ void sim_queue_fn_df_write ( CGEN_WRITE_QUEUE *q = CPU_WRITE_QUEUE (cpu); CGEN_WRITE_QUEUE_ELEMENT *element = CGEN_WRITE_QUEUE_NEXT (q); element->kind = CGEN_FN_DF_WRITE; + element->insn_address = CPU_PC_GET (cpu); element->kinds.fn_df_write.function = write_function; element->kinds.fn_df_write.regno = regno; element->kinds.fn_df_write.value = value; } +void sim_queue_fn_pc_write ( + SIM_CPU *cpu, + void (*write_function)(SIM_CPU *cpu, USI), + USI value +) +{ + CGEN_WRITE_QUEUE *q = CPU_WRITE_QUEUE (cpu); + CGEN_WRITE_QUEUE_ELEMENT *element = CGEN_WRITE_QUEUE_NEXT (q); + element->kind = CGEN_FN_PC_WRITE; + element->insn_address = CPU_PC_GET (cpu); + element->kinds.fn_pc_write.function = write_function; + element->kinds.fn_pc_write.value = value; +} + void sim_queue_mem_qi_write (SIM_CPU *cpu, SI address, QI value) { CGEN_WRITE_QUEUE *q = CPU_WRITE_QUEUE (cpu); CGEN_WRITE_QUEUE_ELEMENT *element = CGEN_WRITE_QUEUE_NEXT (q); element->kind = CGEN_MEM_QI_WRITE; + element->insn_address = CPU_PC_GET (cpu); element->kinds.mem_qi_write.address = address; element->kinds.mem_qi_write.value = value; } @@ -142,6 +166,7 @@ void sim_queue_mem_hi_write (SIM_CPU *cpu, SI address, HI value) CGEN_WRITE_QUEUE *q = CPU_WRITE_QUEUE (cpu); CGEN_WRITE_QUEUE_ELEMENT *element = CGEN_WRITE_QUEUE_NEXT (q); element->kind = CGEN_MEM_HI_WRITE; + element->insn_address = CPU_PC_GET (cpu); element->kinds.mem_hi_write.address = address; element->kinds.mem_hi_write.value = value; } @@ -151,6 +176,7 @@ void sim_queue_mem_si_write (SIM_CPU *cpu, SI address, SI value) CGEN_WRITE_QUEUE *q = CPU_WRITE_QUEUE (cpu); CGEN_WRITE_QUEUE_ELEMENT *element = CGEN_WRITE_QUEUE_NEXT (q); element->kind = CGEN_MEM_SI_WRITE; + element->insn_address = CPU_PC_GET (cpu); element->kinds.mem_si_write.address = address; element->kinds.mem_si_write.value = value; } @@ -160,6 +186,7 @@ void sim_queue_mem_di_write (SIM_CPU *cpu, SI address, DI value) CGEN_WRITE_QUEUE *q = CPU_WRITE_QUEUE (cpu); CGEN_WRITE_QUEUE_ELEMENT *element = CGEN_WRITE_QUEUE_NEXT (q); element->kind = CGEN_MEM_DI_WRITE; + element->insn_address = CPU_PC_GET (cpu); element->kinds.mem_di_write.address = address; element->kinds.mem_di_write.value = value; } @@ -169,6 +196,7 @@ void sim_queue_mem_df_write (SIM_CPU *cpu, SI address, DF value) CGEN_WRITE_QUEUE *q = CPU_WRITE_QUEUE (cpu); CGEN_WRITE_QUEUE_ELEMENT *element = CGEN_WRITE_QUEUE_NEXT (q); element->kind = CGEN_MEM_DF_WRITE; + element->insn_address = CPU_PC_GET (cpu); element->kinds.mem_df_write.address = address; element->kinds.mem_df_write.value = value; } @@ -215,28 +243,31 @@ cgen_write_queue_element_execute (SIM_CPU *cpu, CGEN_WRITE_QUEUE_ELEMENT *item) item->kinds.fn_df_write.regno, item->kinds.fn_df_write.value); break; + case CGEN_FN_PC_WRITE: + item->kinds.fn_pc_write.function (cpu, item->kinds.fn_pc_write.value); + break; case CGEN_MEM_QI_WRITE: - pc = CPU_PC_GET (cpu); + pc = item->insn_address; SETMEMQI (cpu, pc, item->kinds.mem_qi_write.address, item->kinds.mem_qi_write.value); break; case CGEN_MEM_HI_WRITE: - pc = CPU_PC_GET (cpu); + pc = item->insn_address; SETMEMHI (cpu, pc, item->kinds.mem_hi_write.address, item->kinds.mem_hi_write.value); break; case CGEN_MEM_SI_WRITE: - pc = CPU_PC_GET (cpu); + pc = item->insn_address; SETMEMSI (cpu, pc, item->kinds.mem_si_write.address, item->kinds.mem_si_write.value); break; case CGEN_MEM_DI_WRITE: - pc = CPU_PC_GET (cpu); + pc = item->insn_address; SETMEMDI (cpu, pc, item->kinds.mem_di_write.address, item->kinds.mem_di_write.value); break; case CGEN_MEM_DF_WRITE: - pc = CPU_PC_GET (cpu); + pc = item->insn_address; SETMEMDF (cpu, pc, item->kinds.mem_df_write.address, item->kinds.mem_df_write.value); break; diff --git a/sim/common/cgen-par.h b/sim/common/cgen-par.h index c786d1c489..9cf5e8c49e 100644 --- a/sim/common/cgen-par.h +++ b/sim/common/cgen-par.h @@ -26,6 +26,7 @@ enum cgen_write_queue_kind { CGEN_BI_WRITE, CGEN_QI_WRITE, CGEN_SI_WRITE, CGEN_SF_WRITE, CGEN_PC_WRITE, CGEN_FN_HI_WRITE, CGEN_FN_SI_WRITE, CGEN_FN_DI_WRITE, CGEN_FN_DF_WRITE, + CGEN_FN_PC_WRITE, CGEN_MEM_QI_WRITE, CGEN_MEM_HI_WRITE, CGEN_MEM_SI_WRITE, CGEN_MEM_DI_WRITE, CGEN_MEM_DF_WRITE, CGEN_NUM_WRITE_KINDS @@ -34,6 +35,7 @@ enum cgen_write_queue_kind { /* Element of the write queue. */ typedef struct { enum cgen_write_queue_kind kind; /* Used to select union member below. */ + IADDR insn_address; /* Address of the insn performing the write. */ union { struct { BI *target; @@ -74,6 +76,10 @@ typedef struct { DI value; void (*function)(SIM_CPU *, UINT, DI); } fn_df_write; + struct { + USI value; + void (*function)(SIM_CPU *, USI); + } fn_pc_write; struct { SI address; QI value; @@ -98,6 +104,7 @@ typedef struct { } CGEN_WRITE_QUEUE_ELEMENT; #define CGEN_WRITE_QUEUE_ELEMENT_KIND(element) ((element)->kind) +#define CGEN_WRITE_QUEUE_ELEMENT_IADDR(element) ((element)->insn_address) extern void cgen_write_queue_element_execute ( SIM_CPU *, CGEN_WRITE_QUEUE_ELEMENT * @@ -136,6 +143,7 @@ extern void sim_queue_fn_hi_write (SIM_CPU *, void (*)(SIM_CPU *, UINT, UHI), UI extern void sim_queue_fn_si_write (SIM_CPU *, void (*)(SIM_CPU *, UINT, USI), UINT, SI); extern void sim_queue_fn_di_write (SIM_CPU *, void (*)(SIM_CPU *, UINT, DI), UINT, DI); extern void sim_queue_fn_df_write (SIM_CPU *, void (*)(SIM_CPU *, UINT, DI), UINT, DF); +extern void sim_queue_fn_pc_write (SIM_CPU *, void (*)(SIM_CPU *, USI), USI); extern void sim_queue_mem_qi_write (SIM_CPU *, SI, QI); extern void sim_queue_mem_hi_write (SIM_CPU *, SI, HI); diff --git a/sim/mips/configure b/sim/mips/configure index 0bdd512f95..be1a97b96a 100755 --- a/sim/mips/configure +++ b/sim/mips/configure @@ -195,6 +195,7 @@ program_suffix=NONE program_transform_name=s,x,x, silent= site= +sitefile= srcdir= target=NONE verbose= @@ -309,6 +310,7 @@ Configuration: --help print this message --no-create do not create output files --quiet, --silent do not print \`checking...' messages + --site-file=FILE use FILE as the site file --version print the version of autoconf that created configure Directory and file names: --prefix=PREFIX install architecture-independent files in PREFIX @@ -479,6 +481,11 @@ EOF -site=* | --site=* | --sit=*) site="$ac_optarg" ;; + -site-file | --site-file | --site-fil | --site-fi | --site-f) + ac_prev=sitefile ;; + -site-file=* | --site-file=* | --site-fil=* | --site-fi=* | --site-f=*) + sitefile="$ac_optarg" ;; + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) @@ -644,12 +651,16 @@ fi srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` # Prefer explicitly selected file to automatically selected ones. -if test -z "$CONFIG_SITE"; then - if test "x$prefix" != xNONE; then - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" - else - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" +if test -z "$sitefile"; then + if test -z "$CONFIG_SITE"; then + if test "x$prefix" != xNONE; then + CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" + else + CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" + fi fi +else + CONFIG_SITE="$sitefile" fi for ac_site_file in $CONFIG_SITE; do if test -r "$ac_site_file"; then @@ -690,7 +701,7 @@ fi echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 -echo "configure:694: checking how to run the C preprocessor" >&5 +echo "configure:705: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= @@ -705,13 +716,13 @@ else # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:715: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:726: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -722,13 +733,13 @@ else rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:732: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:743: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -739,13 +750,13 @@ else rm -rf conftest* CPP="${CC-cc} -nologo -E" cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:749: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -770,7 +781,7 @@ fi echo "$ac_t""$CPP" 1>&6 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 -echo "configure:774: checking whether ${MAKE-make} sets \${MAKE}" >&5 +echo "configure:785: checking whether ${MAKE-make} sets \${MAKE}" >&5 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -797,7 +808,7 @@ else fi echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 -echo "configure:801: checking for POSIXized ISC" >&5 +echo "configure:812: checking for POSIXized ISC" >&5 if test -d /etc/conf/kconfig.d && grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 then @@ -818,12 +829,12 @@ else fi echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 -echo "configure:822: checking for ANSI C header files" >&5 +echo "configure:833: checking for ANSI C header files" >&5 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -831,7 +842,7 @@ else #include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:835: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:846: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -848,7 +859,7 @@ rm -f conftest* if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat > conftest.$ac_ext < EOF @@ -866,7 +877,7 @@ fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat > conftest.$ac_ext < EOF @@ -887,7 +898,7 @@ if test "$cross_compiling" = yes; then : else cat > conftest.$ac_ext < #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') @@ -898,7 +909,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); exit (0); } EOF -if { (eval echo configure:902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then : else @@ -922,12 +933,12 @@ EOF fi echo $ac_n "checking for working const""... $ac_c" 1>&6 -echo "configure:926: checking for working const" >&5 +echo "configure:937: checking for working const" >&5 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:991: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_const=yes else @@ -997,21 +1008,21 @@ EOF fi echo $ac_n "checking for inline""... $ac_c" 1>&6 -echo "configure:1001: checking for inline" >&5 +echo "configure:1012: checking for inline" >&5 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1026: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_inline=$ac_kw; break else @@ -1037,12 +1048,12 @@ EOF esac echo $ac_n "checking for off_t""... $ac_c" 1>&6 -echo "configure:1041: checking for off_t" >&5 +echo "configure:1052: checking for off_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@ -1070,12 +1081,12 @@ EOF fi echo $ac_n "checking for size_t""... $ac_c" 1>&6 -echo "configure:1074: checking for size_t" >&5 +echo "configure:1085: checking for size_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@ -1105,19 +1116,19 @@ fi # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works # for constant arguments. Useless! echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 -echo "configure:1109: checking for working alloca.h" >&5 +echo "configure:1120: checking for working alloca.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { char *p = alloca(2 * sizeof(int)); ; return 0; } EOF -if { (eval echo configure:1121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_header_alloca_h=yes else @@ -1138,12 +1149,12 @@ EOF fi echo $ac_n "checking for alloca""... $ac_c" 1>&6 -echo "configure:1142: checking for alloca" >&5 +echo "configure:1153: checking for alloca" >&5 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_func_alloca_works=yes else @@ -1203,12 +1214,12 @@ EOF echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 -echo "configure:1207: checking whether alloca needs Cray hooks" >&5 +echo "configure:1218: checking whether alloca needs Cray hooks" >&5 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 if test $ac_cv_os_cray = yes; then for ac_func in _getb67 GETB67 getb67; do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:1237: checking for $ac_func" >&5 +echo "configure:1248: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -1288,7 +1299,7 @@ done fi echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 -echo "configure:1292: checking stack direction for C alloca" >&5 +echo "configure:1303: checking stack direction for C alloca" >&5 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1296,7 +1307,7 @@ else ac_cv_c_stack_direction=0 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:1330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_c_stack_direction=1 else @@ -1340,17 +1351,17 @@ for ac_hdr in unistd.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:1344: checking for $ac_hdr" >&5 +echo "configure:1355: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1365: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -1379,12 +1390,12 @@ done for ac_func in getpagesize do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:1383: checking for $ac_func" >&5 +echo "configure:1394: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -1432,7 +1443,7 @@ fi done echo $ac_n "checking for working mmap""... $ac_c" 1>&6 -echo "configure:1436: checking for working mmap" >&5 +echo "configure:1447: checking for working mmap" >&5 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1440,7 +1451,7 @@ else ac_cv_func_mmap_fixed_mapped=no else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:1595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_func_mmap_fixed_mapped=yes else @@ -1603,12 +1614,12 @@ EOF fi echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 -echo "configure:1607: checking for Cygwin environment" >&5 +echo "configure:1618: checking for Cygwin environment" >&5 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1634: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_cygwin=yes else @@ -1636,19 +1647,19 @@ echo "$ac_t""$ac_cv_cygwin" 1>&6 CYGWIN= test "$ac_cv_cygwin" = yes && CYGWIN=yes echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 -echo "configure:1640: checking for mingw32 environment" >&5 +echo "configure:1651: checking for mingw32 environment" >&5 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1663: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_mingw32=yes else @@ -1715,7 +1726,7 @@ else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } fi echo $ac_n "checking host system type""... $ac_c" 1>&6 -echo "configure:1719: checking host system type" >&5 +echo "configure:1730: checking host system type" >&5 host_alias=$host case "$host_alias" in @@ -1736,7 +1747,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` echo "$ac_t""$host" 1>&6 echo $ac_n "checking target system type""... $ac_c" 1>&6 -echo "configure:1740: checking target system type" >&5 +echo "configure:1751: checking target system type" >&5 target_alias=$target case "$target_alias" in @@ -1754,7 +1765,7 @@ target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` echo "$ac_t""$target" 1>&6 echo $ac_n "checking build system type""... $ac_c" 1>&6 -echo "configure:1758: checking build system type" >&5 +echo "configure:1769: checking build system type" >&5 build_alias=$build case "$build_alias" in @@ -1798,7 +1809,7 @@ test "$program_transform_name" = "" && program_transform_name="s,x,x," # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1802: checking for $ac_word" >&5 +echo "configure:1813: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1828,7 +1839,7 @@ if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1832: checking for $ac_word" >&5 +echo "configure:1843: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1879,7 +1890,7 @@ fi # Extract the first word of "cl", so it can be a program name with args. set dummy cl; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1883: checking for $ac_word" >&5 +echo "configure:1894: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1911,7 +1922,7 @@ fi fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:1915: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 +echo "configure:1926: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. @@ -1922,12 +1933,12 @@ cross_compiling=$ac_cv_prog_cc_cross cat > conftest.$ac_ext << EOF -#line 1926 "configure" +#line 1937 "configure" #include "confdefs.h" main(){return(0);} EOF -if { (eval echo configure:1931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cc_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then @@ -1953,12 +1964,12 @@ if test $ac_cv_prog_cc_works = no; then { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 -echo "configure:1957: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 +echo "configure:1968: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 cross_compiling=$ac_cv_prog_cc_cross echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 -echo "configure:1962: checking whether we are using GNU C" >&5 +echo "configure:1973: checking whether we are using GNU C" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1967,7 +1978,7 @@ else yes; #endif EOF -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1971: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1982: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gcc=yes else ac_cv_prog_gcc=no @@ -1986,7 +1997,7 @@ ac_test_CFLAGS="${CFLAGS+set}" ac_save_CFLAGS="$CFLAGS" CFLAGS= echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 -echo "configure:1990: checking whether ${CC-cc} accepts -g" >&5 +echo "configure:2001: checking whether ${CC-cc} accepts -g" >&5 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2029,7 +2040,7 @@ fi # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # ./install, which can be erroneously created by make from ./install.sh. echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 -echo "configure:2033: checking for a BSD compatible install" >&5 +echo "configure:2044: checking for a BSD compatible install" >&5 if test -z "$INSTALL"; then if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2097,7 +2108,7 @@ AR=${AR-ar} # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2101: checking for $ac_word" >&5 +echo "configure:2112: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2132,17 +2143,17 @@ unistd.h values.h sys/param.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:2136: checking for $ac_hdr" >&5 +echo "configure:2147: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2146: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2157: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -2172,12 +2183,12 @@ done __argz_count __argz_stringify __argz_next do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:2176: checking for $ac_func" >&5 +echo "configure:2187: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -2229,12 +2240,12 @@ done for ac_func in stpcpy do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:2233: checking for $ac_func" >&5 +echo "configure:2244: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -2291,19 +2302,19 @@ EOF if test $ac_cv_header_locale_h = yes; then echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 -echo "configure:2295: checking for LC_MESSAGES" >&5 +echo "configure:2306: checking for LC_MESSAGES" >&5 if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { return LC_MESSAGES ; return 0; } EOF -if { (eval echo configure:2307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* am_cv_val_LC_MESSAGES=yes else @@ -2324,7 +2335,7 @@ EOF fi fi echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6 -echo "configure:2328: checking whether NLS is requested" >&5 +echo "configure:2339: checking whether NLS is requested" >&5 # Check whether --enable-nls or --disable-nls was given. if test "${enable_nls+set}" = set; then enableval="$enable_nls" @@ -2344,7 +2355,7 @@ fi EOF echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6 -echo "configure:2348: checking whether included gettext is requested" >&5 +echo "configure:2359: checking whether included gettext is requested" >&5 # Check whether --with-included-gettext or --without-included-gettext was given. if test "${with_included_gettext+set}" = set; then withval="$with_included_gettext" @@ -2363,17 +2374,17 @@ fi ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for libintl.h""... $ac_c" 1>&6 -echo "configure:2367: checking for libintl.h" >&5 +echo "configure:2378: checking for libintl.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2377: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2388: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -2390,19 +2401,19 @@ fi if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6 -echo "configure:2394: checking for gettext in libc" >&5 +echo "configure:2405: checking for gettext in libc" >&5 if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { return (int) gettext ("") ; return 0; } EOF -if { (eval echo configure:2406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* gt_cv_func_gettext_libc=yes else @@ -2418,7 +2429,7 @@ echo "$ac_t""$gt_cv_func_gettext_libc" 1>&6 if test "$gt_cv_func_gettext_libc" != "yes"; then echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6 -echo "configure:2422: checking for bindtextdomain in -lintl" >&5 +echo "configure:2433: checking for bindtextdomain in -lintl" >&5 ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2426,7 +2437,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lintl $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -2453,19 +2464,19 @@ fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6 -echo "configure:2457: checking for gettext in libintl" >&5 +echo "configure:2468: checking for gettext in libintl" >&5 if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* gt_cv_func_gettext_libintl=yes else @@ -2493,7 +2504,7 @@ EOF # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2497: checking for $ac_word" >&5 +echo "configure:2508: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2527,12 +2538,12 @@ fi for ac_func in dcgettext do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:2531: checking for $ac_func" >&5 +echo "configure:2542: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -2582,7 +2593,7 @@ done # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2586: checking for $ac_word" >&5 +echo "configure:2597: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2618,7 +2629,7 @@ fi # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2622: checking for $ac_word" >&5 +echo "configure:2633: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2650,7 +2661,7 @@ else fi cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* CATOBJEXT=.gmo DATADIRNAME=share @@ -2690,7 +2701,7 @@ fi # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2694: checking for $ac_word" >&5 +echo "configure:2705: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2724,7 +2735,7 @@ fi # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2728: checking for $ac_word" >&5 +echo "configure:2739: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2760,7 +2771,7 @@ fi # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2764: checking for $ac_word" >&5 +echo "configure:2775: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2850,7 +2861,7 @@ fi LINGUAS= else echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6 -echo "configure:2854: checking for catalogs to be installed" >&5 +echo "configure:2865: checking for catalogs to be installed" >&5 NEW_LINGUAS= for lang in ${LINGUAS=$ALL_LINGUAS}; do case "$ALL_LINGUAS" in @@ -2878,17 +2889,17 @@ echo "configure:2854: checking for catalogs to be installed" >&5 if test "$CATOBJEXT" = ".cat"; then ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6 -echo "configure:2882: checking for linux/version.h" >&5 +echo "configure:2893: checking for linux/version.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2892: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2903: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -2957,17 +2968,17 @@ for ac_hdr in stdlib.h string.h strings.h unistd.h time.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:2961: checking for $ac_hdr" >&5 +echo "configure:2972: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2971: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2982: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -2997,17 +3008,17 @@ for ac_hdr in sys/time.h sys/resource.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:3001: checking for $ac_hdr" >&5 +echo "configure:3012: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:3011: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3022: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -3037,17 +3048,17 @@ for ac_hdr in fcntl.h fpu_control.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:3041: checking for $ac_hdr" >&5 +echo "configure:3052: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:3051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -3077,17 +3088,17 @@ for ac_hdr in dlfcn.h errno.h sys/stat.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:3081: checking for $ac_hdr" >&5 +echo "configure:3092: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:3091: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3102: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -3116,12 +3127,12 @@ done for ac_func in getrusage time sigaction __setfpucw do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:3120: checking for $ac_func" >&5 +echo "configure:3131: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -3171,7 +3182,7 @@ done # Check for socket libraries echo $ac_n "checking for bind in -lsocket""... $ac_c" 1>&6 -echo "configure:3175: checking for bind in -lsocket" >&5 +echo "configure:3186: checking for bind in -lsocket" >&5 ac_lib_var=`echo socket'_'bind | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -3179,7 +3190,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lsocket $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -3218,7 +3229,7 @@ else fi echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 -echo "configure:3222: checking for gethostbyname in -lnsl" >&5 +echo "configure:3233: checking for gethostbyname in -lnsl" >&5 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -3226,7 +3237,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lnsl $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -3413,12 +3424,12 @@ fi echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 -echo "configure:3417: checking return type of signal handlers" >&5 +echo "configure:3428: checking return type of signal handlers" >&5 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -3435,7 +3446,7 @@ int main() { int i; ; return 0; } EOF -if { (eval echo configure:3439: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_type_signal=void else @@ -3457,7 +3468,7 @@ EOF echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 -echo "configure:3461: checking for executable suffix" >&5 +echo "configure:3472: checking for executable suffix" >&5 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3467,10 +3478,10 @@ else rm -f conftest* echo 'int main () { return 0; }' > conftest.$ac_ext ac_cv_exeext= - if { (eval echo configure:3471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then + if { (eval echo configure:3482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then for file in conftest.*; do case $file in - *.c | *.o | *.obj) ;; + *.c | *.o | *.obj | *.ilk | *.pdb) ;; *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; esac done @@ -3617,14 +3628,14 @@ else if test "x$cross_compiling" = "xno"; then echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 -echo "configure:3621: checking whether byte ordering is bigendian" >&5 +echo "configure:3632: checking whether byte ordering is bigendian" >&5 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_cv_c_bigendian=unknown # See if sys/param.h defines the BYTE_ORDER macro. cat > conftest.$ac_ext < #include @@ -3635,11 +3646,11 @@ int main() { #endif ; return 0; } EOF -if { (eval echo configure:3639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3650: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* # It does; now see whether it defined to BIG_ENDIAN or not. cat > conftest.$ac_ext < #include @@ -3650,7 +3661,7 @@ int main() { #endif ; return 0; } EOF -if { (eval echo configure:3654: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_bigendian=yes else @@ -3670,7 +3681,7 @@ if test "$cross_compiling" = yes; then { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_c_bigendian=no else @@ -4111,7 +4122,7 @@ esac # Uses ac_ vars as temps to allow command line to override cache and checks. # --without-x overrides everything else, but does not touch the cache. echo $ac_n "checking for X""... $ac_c" 1>&6 -echo "configure:4221: checking for X" >&5 +echo "configure:4247: checking for X" >&5 # Check whether --with-x or --without-x was given. if test "${with_x+set}" = set; then @@ -4173,12 +4184,12 @@ if test "$ac_x_includes" = NO; then # First, try using that file with no special directory specified. cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4288: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:4314: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -4247,14 +4258,14 @@ if test "$ac_x_libraries" = NO; then ac_save_LIBS="$LIBS" LIBS="-l$x_direct_test_library $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* LIBS="$ac_save_LIBS" # We can link X programs with no special library path. @@ -4347,17 +4358,17 @@ for ac_hdr in string.h strings.h stdlib.h stdlib.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:5251: checking for $ac_hdr" >&5 +echo "configure:5277: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:5261: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:5287: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -4384,7 +4395,7 @@ fi done echo $ac_n "checking for fabs in -lm""... $ac_c" 1>&6 -echo "configure:5288: checking for fabs in -lm" >&5 +echo "configure:5314: checking for fabs in -lm" >&5 ac_lib_var=`echo m'_'fabs | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -4392,7 +4403,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lm $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4433,12 +4444,12 @@ fi for ac_func in aint anint sqrt do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5337: checking for $ac_func" >&5 +echo "configure:5363: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else diff --git a/sim/mips/mips.igen b/sim/mips/mips.igen index 6d92d4aa50..be554f525d 100644 --- a/sim/mips/mips.igen +++ b/sim/mips/mips.igen @@ -702,9 +702,6 @@ - - - 000000,5.RS,5.RT,5.RD,00000,101100:SPECIAL:64::DADD "dadd r, r, r" *mipsIII: @@ -3108,6 +3105,7 @@ 110101,5.BASE,5.FT,16.OFFSET:COP1:64::LDC1 "ldc1 f, (r)" +*mipsI: *mipsII: *mipsIII: *mipsIV: @@ -3465,8 +3463,8 @@ } 010001,10,3.FMT,00000,5.FS,5.FD,010101:COP1:32::RECIP.fmt -*mipsIV: "recip.%s f, f" +*mipsIV: *vr5000: { unsigned32 instruction = instruction_0; @@ -3545,6 +3543,7 @@ 111101,5.BASE,5.FT,16.OFFSET:COP1:64::SDC1 "sdc1 f, (r)" +*mipsI: *mipsII: *mipsIII: *mipsIV: