aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.in
AgeCommit message (Collapse)AuthorFilesLines
1999-05-11import gdb-1999-05-10Stan Shebs1-2/+7
1999-05-05import gdb-19990504 snapshotStan Shebs1-0/+5
1999-04-26import gdb-19990422 snapshotStan Shebs1-2/+56
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1-0/+606
1999-04-16Initial creation of sourceware repositoryStan Shebs1-1001/+0
1999-02-091999-02-08 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda1-1/+1
* gnu-regex.c: Check ENABLE_NLS instead of HAVE_LIBINTL_H. * configure.in: Don't check for libintl.h. * configure, config.in: Regenerated. Fixes a problem on debian systems, a conflict between the /usr/include/libintl.h and the routines that are actually linked in, up in ../intl.
1999-02-061999-02-05 James Ingham <jingham@cygnus.com>Jim Ingham1-34/+19
* Makefile.in: Add GDBTK_CFLAGS - this is now used to hold -fwritable-strings when compiling with Tk8.1. * configure.in: Add GDBTK_CFLAGS, set it to -fwritable-strings for Tcl/Tk8.1 & greater. * acinclude.m4: Move the rest of the defines to find Itcl, Itk & Tix from aclocal.m4 to here. * aclocal.m4: regenerate. * configure: regenerate. * gdbtk-hooks.c (x_event): Tcl_ObjGetVar2 was removed from Tcl8.1. Use Tcl_GetVar2 instead. * gdbtk-hooks.c (gdbtk_trace_find): Fix up call to Tcl_GlobalEvalObj for Tcl/Tk 8.1. * gdbtk-hooks.c (gdbtk_trace_start_stop): Call to Tcl_EvalObj was inefficient, replace with call to Tcl_GlobalEval. * gdbtk.c: Don't swap out the Tcl_Alloc calls in gdbtk.c. We took care of that in Tcl itself for 8.1. * gdbtk.c: Remove const from the script string since Tcl8.1 has taken to scribbling sentinals into strings passed to it again... * gdbtk-cmds.c (wrapped_call): Change declaration of 1st arg from char * to PTR to eliminate warning. * gdbtk-cmds.c (perror_with_name_wrapper): Ditto
1999-02-04* configure.in: Move termcap determination a later in the file to catchChristopher Faylor1-17/+17
setting of cygwin flag. * configure: Regenerate.
1999-02-03* config/i386/cygwin.mh: Move TERMCAP test code to configure.in.Christopher Faylor1-10/+14
* configure.in: Treat libtermcap.a detection as a special case when hosting on cygwin. * configure: Regenerate.
1999-02-011999-02-01 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda1-2/+2
* configure.in: Require autoconf 2.13. (AM_EXEEXT): Replace with new AC_EXEEXT. * acinclude.m4: Move itcl header macros from aclocal.m4 to here. * aclocal.m4: Regenerated. * configure: Regenerated.
1999-02-01Allow PPC users to select which PPC/RS6000 variant they're debuggingJim Blandy1-0/+36
at run-time. At the moment, the only thing this affects is the set of registers visible. * config/rs6000/tm-rs6000.h (REGISTER_NAME): Define this as a call to the function rs6000_register_name. (rs6000_register_name): Include extern decl. (NUM_REGS): Bump to 183. What's the right way to do this? (FIRST_UISA_SP_REGNUM, LAST_UISA_SP_REGNUM): Renamed from FIRST_SP_REGNUM, LAST_SP_REGNUM. (REGISTER_BYTES): Recompute this. * rs6000-tdep.c: Renamed all uses of FIRST_SP_REGNUM and LAST_SP_REGNUM to FIRST_UISA_SP_REGNUM and LAST_UISA_SP_REGNUM, with some concomitant formatting changes. #include "gdbcmd.h", so we can define commands here. (struct variant): New structure. (COMMON_UISA_REG_NAMES, PPC_UISA_SPR_NAMES, PPC_SEGMENT_REG_NAMES, PPC_32_OEA_SPR_NAMES, num_registers): New macros. (register_names_rs6000, register_names_uisa, register_names_403, register_names_403GC, register_names_505, register_names_860, register_names_601, register_names_602, register_names_603, register_names_604, register_names_750, variants): New variables. (rs6000_register_name, install_variant, find_variant_by_name, install_variant_by_name, list_variants, show_current_variant, set_processor, show_processor): New functions. (_initialize_rs6000_tdep): Define new commands `set processor' and `show processor', and call install_variant_by_name to set the default variant. * rs6000-nat.c: Renamed all uses of FIRST_SP_REGNUM and LAST_SP_REGNUM to FIRST_UISA_SP_REGNUM and LAST_UISA_SP_REGNUM, with some concomitant formatting changes. * configure.in: Accept the `--with-cpu' flag, to specify a default processor variant. * acconfig.h: Provide a blurb for TARGET_CPU_DEFAULT, which is set by configure's `--with-cpu' flag. * config.in, configure: Regenerated.
1999-01-28This is the merge of the Itcl3.0 gdbtk development branch into theJim Ingham1-9/+52
trunk. To build it, you will have to do update -dP in the itcl directory, and update tcl, tk, tix and libgui as well.
1999-01-18* configure.in: Ensure that -luser32 is always linked in for cygwin build.Christopher Faylor1-2/+3
* configure: Regenerated.
1999-01-06HP merge related changes; TUI stuff; new configs for 10.20 and 11.00; new files.David Taylor1-1/+27
1999-01-051999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda1-3/+3
* configure.in: Fix whitespace indentation for --help. * configure: Regenerated.
1999-01-051999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda1-2/+2
* configure.in: Require autoconf 2.12.1 or higher. * doc/configure.in: Ditto. * nlm/configure.in: Ditto. * rdi-share/configure.in: Ditto. * testsuite/configure.in: Ditto. * doc/Makefile.in: Don't hardcode $(SHELL). * nlm/Makefile.in: Ditto. * rdi-share/Makefile.in: Ditto. * testsuite/Makefile.in: Ditto.
1998-12-311998-12-30 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda1-0/+15
* utils.c: <readline/readline.h> instead of "readline/readline.h". * configure.in (TERM_LIB): Search for the appropriate term library on the host system. * configure: Regenerated. * Makefile.in (TERMCAP): Set based on autoconf check. * config/*/*.mh: Don't override TERMCAP setting.
1998-12-14Mon Dec 14 13:20:50 1998 Jim Ingham <jingham@cygnus.com>Jim Ingham1-0/+5
* Makefile.in, configure.in configure - add support for LIBGUI outside the IDE context.
1998-12-111998-12-11 Jeff Law (law@cygnus.com)Jason Molenda1-1/+6
* configure.in (with-sim-gpu2): Do not emit a -L argument without an associated pathname. Link in the math library after the gpu2 library. Assumes that libm is around (and doesn't take advantage of the AC_CHECK_LIB(m) that is already in configure.in), but this is a minor point and unlikely to cause problems.
1998-11-25CARP: --enable-build-warnings=-Werror: Fix problems stopping GDB beingAndrew Cagney1-6/+5
canadian-crossed to host i386-cygwin.
1998-11-19Thu Nov 19 14:43:44 1998 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer1-1/+1
* configure.in: switch back to checking __CYGWIN32__ * configure: regenerate
1998-11-13Fri Nov 13 00:15:08 1998 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer1-6/+6
Changes to account for name change from cygwin32 to cygwin and clean up Win32-related ifdefs. * configure.tgt: check for cygwin* instead of cygwin32. New cygwin gdb_target variable loses the "32". * configure.host: check for cygwin* instead of cygwin32. New cygwin gdb_host variable loses the "32". * configure.in: test __CYGWIN__ instead of __CYGWIN32__, rename gdb_cv_os_cygwin32 variable to drop the "32". Call AM_EXEEXT instead of AC_EXEEXT since that isn't in a released autoconf yet. * configure: regenerate. * main.c: drop "32" from cygwin_ funcs, include sys/cygwin.h where cygwin path conv protos live, instead of adding a proto here for them here. * {main.c, ser-tcp.c, ser-unix.c, top.c}: check __CYGWIN__ instead of __CYGWIN32__. * source.c: thoughout, check _WIN32 instead of WIN32. * config/i386/cygwin32.mh: delete. * config/i386/cygwin.mh: new file, was cygwin32.mh. * config/i386/cygwin32.mt: delete. * config/i386/cygwin.mt: new file, was cygwin32.mt. * config/i386/tm-cygwin32.h: delete. * config/i386/tm-cygwin.h: new file, was tm-cygwin32.h. * config/i386/xm-cygwin32.h: delete. * config/i386/xm-cygwin.h: new file, was xm-cygwin32.h. * config/i386/xm-windows.h: #include xm-cygwin.h now. * config/powerpc/cygwin32.mh: delete. * config/powerpc/cygwin.mh: new file, was cygwin32.mh. * config/powerpc/cygwin32.mt: delete. * config/powerpc/cygwin.mt: new file, was cygwin32.mt. * config/powerpc/tm-cygwin32.h: delete. * config/powerpc/tm-cygwin.h: new file, was tm-cygwin32.h. * config/powerpc/xm-cygwin32.h: delete. * config/powerpc/xm-cygwin.h: new file, was xm-cygwin32.h. * rdi-share/aclocal.m4: regenerate with aclocal. * rdi-share/configure: regenerate with autoconf. * rdi-share/{host.h, hostchan.c, hostchan.h, serdrv.c, * serpardr.c, unixcomm.c}: check __CYGWIN__ instead of __CYGWIN32__.
1998-11-02Mon Nov 2 15:26:33 1998 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer1-3/+3
* configure.in: Check cygwin* instead of cygwin32*. * configure: regenerate
1998-10-28* peripheral part of sky->devo mergeFrank Ch. Eigler1-2/+2
* patch approved by shebs Wed Oct 28 12:33:52 EST 1998 Frank Ch. Eigler <fche@cygnus.com> * configure.in: Accept both -skyb- and -sky- for --with-sim-funit/gpu2 options. * configure: Rebuilt.
1998-10-28Unify (well almost) --enable-build-warnings configuration optionAndrew Cagney1-10/+16
across GDB and SIM directories.
1998-10-191998-10-19 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda1-1/+1
* configure.in (AM_EXEEXT): Use AC_EXEEXT instead. * configure: Regenerated. Geoff just removed the AM_EXEEXT definition from ../binutils/aclocal.m4 so we would have been hosed in the near future.
1998-10-141998-10-14 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda1-3/+7
* defs.h: Move _initialize_printcmd, _initialize_stack, _initialize_blockframe out of here and in to their respective .c files. * blockframe.c: Move _initialize_blockframe prototype to here. * printcmd.c: Move _initialize_printcmd prototype to here. * stack.c: Move _initialize_stack prototype to here. * source.c, symtab.h: Move _initialize_source prototype to the .c file. * values.c, value.h: Move _initialize_values prototype to the .c file. * gdbthread.h, thread.c: Move _initialize_thread prototype to the .c file. * breakpoint.c, breakpoint.h: Move _initialize_breakpoint prototype to the .c file. * abug-rom.c alpha-nat.c alpha-tdep.c annotate.c ax-gdb.c bcache.c: Standardize comments for the prototype section of these files. * configure.in: Look in libc for wctype before looking for it in libc. The last one is to fix the GNU ld (~2.9.1) + Solaris 2.6 interaction problem where an empty stub library (libw) causes a core dump when we call vasprintf (e.g. `info br') in the final linked gdb.
1998-10-14 * sol-thread.c (ps_pstop, etc): simple test for proc_service.hFelix Lee1-0/+15
version didn't work for sol2.6; pushed it to autoconf. * configure.in (gdb_cv_proc_service_is_old): new test. * acconfig.h (PROC_SERVICE_IS_OLD): new define. * configure, config.in: regenerate.
1998-10-131998-10-12 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda1-17/+12
* Makefile.in (AWK): Unused; remove. * configure.in: Remove unused autoconf checks for MINIX, memcpy, poll, select, strings.h. * config.in: Regenerated. * configure: Regenerated.
1998-10-131998-10-12 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda1-1/+1
* configure.in: Check for sys/debugreg.h, asm/debugreg.h. * i386v-nat.c: Include asm/debugreg.h, sys/debugreg.h if it is not present. This is to work around a conflict where the Linux 2.1.x kernel and glibc 2.0.x are not in sync; including <sys/debugreg.h> will result in an error. With luck, these losers will get their act together and we can trash this hack in the near future.
1998-10-12* configure.in (links): Link gdbtcl2 directory instead of gdbtcl.Andrew Cagney1-5/+5
(ChangeLog entry already checked in).
1998-10-08Add new config options --enable-carp (tempoary) andAndrew Cagney1-0/+123
--enable-targets=... (more permenant). Add dummy target `carp' with associated directory (tempoary). Expect a rewrite down the track.
1998-10-061998-10-06 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda1-7/+7
Eliminate a few warnings from the compiler. * breakpoint.h: Add prototype. * breakpoint.c (do_enable_breakpoint): cast mem_cnt, i to (void). * configure.in: Check if strdup declaration is necessary. * configure: Regenerated. * defs.h: Add prototypes. * gdb_string.h: Only define strdup if necessary. * gdbthread.h: Add prototypes. * printcmd.c: Add prototyptes. (disassemble_command): Remove unused variable 'section'. * symtab.c: Add prototypes. * symtab.h: Include gnu-regex.h, add prototype. * thread.c: Add prototype.
1998-09-251998-09-24 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda1-4/+4
* configure.in: Change --enable-warnings to --enable-build-warnings. * configure: Updated.
1998-09-251998-09-24 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda1-2/+3
* configure.in (WARN_CFLAGS): Add -Wmissing-prototypes. * configure: Regenerated.
1998-09-251998-09-24 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda1-6/+22
* configure.in: Add --enable-warnings. Adjust whitespace of other --with and --enable options so that configure --help lines up correctly. * aclocal.m4: Ditto. * Makefile.in (WARN_CFLAGS): Add. Set by configure. * configure: Regenerated.
1998-09-21Added sanitize-ide markersDrew Moseley1-0/+2
1998-08-181998-08-18 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda1-1/+5
* configure.in: Add more header files to AC_CHECK_HEADERS. * configure: Regenerated. * command.c: Include wait.h or sys/wait.h if present. * inftarg.c: Ditto. * core-aout.c: Include ptrace.h or sys/ptrace.h if present, based on autoconf test. * infptrace.c: Ditto. * expprint.c: Include ctype.h for isprint prototype. * i386aix-nat.c: Include sys/reg.h if autoconf says it is present. * i386v-nat.c: Include ptrace.h, sys/ptrace.h, and sys/reg.h if present, based on autoconf test. * utils.c: Include curses.h and term.h if present. (puts_debug): Change 'carriage_return' local variable to return_p to avoid name clash. * config/m68k/nm-apollo68b.h: Don't define PTRACE_IN_WRONG_PLACE, determine it with autoconf. * config/i386/nm-linux.h: Don't define NO_SYS_REG_H, determine it with autoconf. * config/i386/nm-i386sco.h: Don't define NO_PTRACE_H, determine it with autoconf. * config/i386/nm-i386v.h: Ditto. * config/i386/nm-symmetry.h: Ditto. * config/m88k/xm-cxux.h: Ditto. * config/m88k/xm-dgux.h: Ditto. * config/m68k/delta68.mh (NAT_FILE): nm-delta68.h no longer necessary. * config/m68k/nm-delta68.h: Removed.
1998-08-13Added Foundry SDK changes.Drew Moseley1-0/+44
1998-07-01Wed Jul 1 13:10:58 1998 Jim Ingham <jingham@cygnus.com>Jim Ingham1-1/+1
* Moved gdbtk_hooks.c & gdbtk_cmds.c to gdbtk-hooks.c & gdbtk-cmds.c to comply with the gdb conventions. Changed the configure & makefile to reflect the change...
1998-07-01Wed Jul 1 11:07:21 1998 Jim Ingham <jingham@cygnus.com>Jim Ingham1-1/+1
* main.tcl (gdbtk_preloop): Call gdbtk_idle on spec. If there was an error in loading an executible specified on the command line, then the pre_add_symbol hook would have called gdbtk_busy but the corresponding call to gdbtk_idle would not have occured. Also changed some catch calls so they didn't use "catch {set foo [real_command]}" but rather the more efficient: "catch {real_command} foo" * register.tcl: more catch cleanups * src.tcl: more catch cleanups * stack.tcl: more catch cleanups * target.tcl: more catch cleanups * tdump.tcl: more catch cleanups * variables.tcl: more catch cleanups * watch.tcl: more catch cleanups * gdbtk.c (gdbtk_init): Fixed a bug in the startup code on Windows that caused gdbtk not to find the share directory unless GDBTK_LIBRARY was set. * gdbtk.c: removed all the commands and hooks from this file so now it contains only the startup code. * gdbtk_cmds.c: New file - this contains all the Tcl commands that gdb defines. All the old commands were moved here, the string-based commands were converted to object commands, and the object-based commands were all converted to uniformly use the call_wrapper. A new function, Gdbtk_Init was added to centralize initializing the gdb package. Also added gdbtk as a package into gdbtk_interp. * gdbtk_hooks.c: New file - All the hooks were moved here, and a new function, gdbtk_add_hooks was added to centralize adding all these hook functions. gdbtk_fputs was also modified to handle the new result_ptr structure. See the comments in gdbtk.h for more details. * gdbtk.h: New file - this contains all the defines and globals shared by gdbtk.c, gdbtk_cmds.c & gdbtk_hooks.c * Makefile.in, configure.in & configure: mutatis mutandi for the new files.
1998-06-29 * main.c (main): Don't include gdbtk test code if GDBTK isKeith Seitz1-0/+1
not defined by configure. * configure.in: When enabling gdbtk, add "-DGDBTK" to ENABLE_CFLAGS. * configure: Regenerate.
1998-06-23Tue Jun 23 11:58:35 1998 Jason Molenda (crash@bugshack.cygnus.com)Jason Molenda1-1/+1
* configure.in: s/lXext/-lXext/ for Jillian's change.
1998-06-23configure.in: Add -lXext to mips_extra_libsJillian Ye1-1/+1
1998-06-12Fri Jun 12 14:22:55 1998 Jason Molenda (crash@bugshack.cygnus.com)Jason Molenda1-0/+3
* configure.in (LIBS): Add -lw to the list of libraries if needed. -lw needed on Solaris to get wctype(). wctype() needed by new gnu-regex.c.
1998-06-11Thu Jun 11 15:05:10 1998 Jason Molenda (crash@bugshack.cygnus.com)Jason Molenda1-7/+2
* btowc.c: Removed. * configure.in: Don't see if we need to replace btowc(). * Makefile.in: Don't include LIBOBJS. * configure: Regenerated. * gnu-regex.c (regex_compile): Only support i18n [:foo:] if we have btowc().
1998-06-10Wed Jun 10 14:06:05 1998 Jason Molenda (crash@bugshack.cygnus.com)Jason Molenda1-2/+8
* configure.in: Add some tests for gnu-regex.c's benefit. See if btowc() function is provided in C library. * configure, config.in: Regenerated. * Makefile.in (CLIBS, CDEPS): Add @LIBOBJS@ to build btowc.c if necessary. * btowc.c: New file. * gnu-regex.c: Reorder wchar.h and wctype.h includes for Solaris' benefit. Drop namespace preserving defines for now. Mods based on the modifications used in GNU grep 2.2 to make gnu-regex.c compile on other OSes.
1998-05-29 * main.c (main): Check for NULL from getenv on CYGWIN32.Keith Seitz1-1/+1
* gdbtk.c (_initialize_gdbtk): Get rid of the console. Patch from Chris Faylor (cgf@cygnus.com). * configure.in: Link cygwin32 with subsystem console. * configure: Regenerated
1998-05-13 * configure.in: Add AC_FUNC_ALLOCA.Ian Lance Taylor1-0/+1
* defs.h: Check HAVE_ALLOCA_H rather than sparc. Add _AIX pragma alloca. * configure: Rebuild.
1998-04-29 * Makefile.in (GDBTKLIBS): New macro.Tom Tromey1-2/+6
(INSTALLED_LIBS): Include GDBTKLIBS. (CLIBS): Likewise. * configure: Rebuilt. * configure.in: Put Tcl/Tk libs into GDBTKLIBS, not LIBS. (GDBTKLIBS): AC_SUBST.