aboutsummaryrefslogtreecommitdiff
path: root/gdb/aclocal.m4
AgeCommit message (Collapse)AuthorFilesLines
2005-01-152005-01-15 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-999/+56
* acinclude.m4: Include ../bfd/bfd.m4 instead of ../bfd/acinclude.m4. Include ../gettext.m4. * aclocal.m4, configure: Re-generate.
2004-05-10 * acinclude.m4: Quote macro names being defined by AC_DEFUNDaniel Jacobowitz1-16/+16
throughout. * aclocal.m4: Regenerate.
2003-06-082003-06-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-0/+53
* acinclude.m4 (gcc_AC_CHECK_DECL, (gcc_AC_CHECK_DECL): Stolen from GCC's acinclude.m4. * configure.in: Check for getopt's delcaration. * aclocal.m4, config.in, configure: Re-generate. * main.c (error_init): Delete declaration. * defs.h (error_init): Declare. * rs6000-tdep.c (rs6000_fetch_pointer_argument): Make static. (rs6000_convert_from_func_ptr_addr): Make static. (_initialize_rs6000_tdep): Add declaration. * cli/cli-cmds.c (dont_repeat): Delete declaration. (show_commands, set_verbose, show_history): Delete declaration. * top.h (set_verbose): Add declaration. (show_history, set_history, show_commands): Add declaration. (do_restore_instream_cleanup): Add declaration. * objc-lang.c (specialcmp): Make static. (print_object_command): Make static. (find_objc_msgsend): Make static. (find_objc_msgcall_submethod_helper): Make static. (find_objc_msgcall_submethod): Make static. (_initialize_objc_language): Add declaration. (find_implementation_from_class): Make static. (find_implementation): Make static. * objc-exp.y (yylex): Delete lookup_struct_typedef declaration. * objc-lang.h (lookup_struct_typedef): Add declaration. * cli/cli-interp.c (_initialize_cli_interp): Add declaration. * cli/cli-script.c (clear_hook_in_cleanup): Make static. (do_restore_user_call_depth): Make static. (do_restore_instream_cleanup): Delete declaration. (dont_repeat): Delete declaration. * cli/cli-decode.c (add_abbrev_cmd): Delete function. * cli/cli-dump.c (_initialize_cli_dump): Add declaration. * reggroups.c (_initialize_reggroup): Add declaration. * cp-support.c (_initialize_cp_support): Add declaration. * cp-abi.c (_initialize_cp_abi): Add declaration. * hpacc-abi.c (_initialize_hpacc_abi): Add declaration. * gnu-v3-abi.c (gnuv3_baseclass_offset): Make static. (_initialize_gnu_v3_abi): Add declaration. * gnu-v2-abi.c (gnuv2_value_rtti_type): Make static. (_initialize_gnu_v2_abi): Add declaration. * frame-base.c (_initialize_frame_base): Add declaration. * doublest.c (floatformat_from_length): Make static. * frame-unwind.c (_initialize_frame_unwind): Add declaration. * frame.c (create_sentinel_frame): Make static. (_initialize_frame): Add declaration. * top.c (do_catch_errors): Make static. (gdb_rl_operate_and_get_next_completion): Make static. * typeprint.c: Include "typeprint.h". * sentinel-frame.c (sentinel_frame_prev_register): Make static. (sentinel_frame_this_id): Make static. * p-valprint.c (_initialize_pascal_valprint): Add declaration. * ui-out.c (make_cleanup_ui_out_begin_end): Delete function. * dwarf2-frame.c (dwarf2_frame_cache): Make static. * p-exp.y (push_current_type, pop_current_type): ISO C declaration. * dwarf2expr.h (dwarf_expr_context): ISO C declaration. * maint.c (maintenance_print_architecture): Make static. * signals/signals.c (_initialize_signals): Add declaration. * std-regs.c (_initialize_frame_reg): Add declaration. * jv-exp.y (push_variable): ISO C definition. (push_qualified_expression_name): Ditto. * memattr.c (_initialize_mem): Add declaration. * remote.c (remote_check_watch_resources): Make static. (remote_stopped_by_watchpoint): Make static. (remote_stopped_data_address): Make static. * d10v-tdep.c (nr_dmap_regs): Make static. (a0_regnum): Make static. (d10v_frame_unwind_cache): Make static. (d10v_frame_p): Make static. * osabi.c (show_osabi): Make static. (_initialize_gdb_osabi): Add extern declaration. * gdbtypes.c (make_qualified_type): Make static. (safe_parse_type): Make static. * macrocmd.c (_initialize_macrocmd): Add extern declaration. * macrotab.c (macro_bcache_free): Make static. * interps.c (interp_set_quiet): Make static. (interpreter_exec_cmd): Make static. * stack.h (select_frame_command): New file. * stack.c: Include "stack.h". (select_frame_command_wrapper): Delete function. (select_frame_command): Make global. * infcall.c: Include "infcall.h". * linespec.c: Include "linespec.h". * symfile.c (sections_overlap): Make static. * cp-support.h (cp_initialize_namespace): ISO C declaration. * charset.c (_initialize_charset): Add missing prototype. * regcache.c (init_legacy_regcache_descr): Make static. (do_regcache_xfree): Make static. (regcache_xfer_part): Make static. (_initialize_regcache): Add missing prototype. * breakpoint.c (parse_breakpoint_sals): Make static. (breakpoint_sals_to_pc): Make static. * interps.h (clear_interpreter_hooks): ISO C declaration. * Makefile.in (stack_h): Define. (stack.o, typeprint.o, mi-main.o): Update dependencies. (mi-cmd-stack.o, infcall.o, linespec.o): Update dependencies. Index: mi/ChangeLog 2003-06-08 Andrew Cagney <cagney@redhat.com> * mi-parse.c (_initialize_mi_parse): Delete function. * mi-main.c: Include "mi-main.h". * mi-interp.c (_initialize_mi_interp): Add declaration. * mi-cmd-stack.c: Include "stack.h". (select_frame_command_wrapper): Delete extern declaration. (mi_cmd_stack_select_frame): Replace select_frame_command_wrapper with select_frame_command.
2003-02-112003-02-11 Andrew Cagney <ac131313@redhat.com>Andrew Cagney1-0/+1
* acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS. * aclocal.m4: Regenerate. * configure: Regenerate. * Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of TCL_LD_SEARCH_FLAGS.
2003-01-23gdb/ChangeLog:Jim Blandy1-4/+19
2003-01-23 Alexander Larsson <alexl@redhat.com> Jim Blandy <jimb@redhat.com> Add support for executables whose debug info has been separated out into a separate file, leaving only a link behind. * objfiles.h (struct objfile): New fields: separate_debug_objfile and separate_debug_objfile_backlink. (put_objfile_before): New declaration. * symfile.c: #include "filenames.h". (symbol_file_add_with_addrs_or_offsets): If this objfile has its debug info in a separate file, read that, too. Save the addrs argument, so we can use it again to read the separated debug info; syms_from_objfile modifies the table we pass it. (reread_symbols): After re-reading an objfile, call reread_separate_symbols to refresh its separate debug info objfile, if it has one. (reread_separate_symbols, find_separate_debug_file, get_debug_link_info, separate_debug_file_exists): New functions. (debug_file_directory): New global var. (_initialize_symfile): Initialize debug_file_directory, and provide the new `set debug-file-directory' command to let the user change it. * objfiles.c (free_objfile): If this objfile has its debug info in a separate objfile, free that one too. If this is itself a separate debug info objfile, clear our parent's backlink. (put_objfile_before): New function. * utils.c (gnu_debuglink_crc32): New function. * defs.h (gnu_debuglink_crc32): New declaration. * Makefile.in (symfile.o): Note dependency on "filenames.h". * configure.in: Handle --with-separate-debug-dir config option. * acinclude.m4 (AC_DEFINE_DIR): New macro. * acconfig.h (DEBUGDIR): New macro. * configure, aclocal.m4, config.in: Regenerated. gdb/doc/ChangeLog: 2003-01-23 Jim Blandy <jimb@redhat.com> * gdb.texinfo (Separate Debug Files): New section.
2003-01-04* configure.in: Call AC_GNU_SOURCE. Check for pread64 usingMark Kettenis1-72/+81
AC_CHECK_FUNCS and remove the old check for pread64. * acinclude.m4 (AC_GNU_SOURCE): New macro. * acconfig.h (_GNU_SOURCE): Add. (HAVE_PREAD64): Remove. * configure, aclocal.m4, config.in: Regenerated.
2002-11-272002-11-26 Martin M. Hunt <hunt@redhat.com>Martin Hunt1-126/+0
* Makefile.in: Remove Tix dependencies. * acinclude.m4: Ditto. * aclocal.m4: Ditto. * configure.in: Ditto. * configure: Regenerated.
2002-09-20Add support for distinct host and target character sets.Kevin Buettner1-0/+68
2002-04-15* acinclude.m4 (AM_PROG_CC_STDC): Import from automake 1.6.Andrew Cagney1-53/+53
* aclocal.m4, configure: Re-generate. Fix PR gdb/391.
2001-08-27* event-top.c (async_stop_sig) [HAVE_SIGPROCMASK]: SomeMark Kettenis1-1/+19
gratuitious whitespace changes. [!HAVE_SIGPROCMASK]: Call sigsetmask if HAVE_SIGSETMASK is defined. * top.c: Remove redundant logic to define HAVE_SIGSETMASK. (sigsetmask) Don't define macro. (stop_sig) [HAVE_SIGPROCMASK]: Add bit of code snatched from async_stop_sig from event-top.c. [!HAVE_SIGPROCMASK]: Call sigsetmask if HAVE_SIGSETMASK is defined. * configure.in (AC_CHECK_FUNCS): Put functions in alphabetical order. Add sigsetmask. (AC_FUNC_VFORK, AC_FUNC_ALLOCA): Reorder such that they're in alphabetical order. * config/xm-aix4.h, config/alpha/xm-alphalinux.h, config/i386/xm-cygwin.h, config/rs6000/xm-rs6000.h (HAVE_SIGSETMASK): Remove. * aclocal.m4, config.in, configure
2001-07-23* configure.in (AC_CHECK_FUNCS): Add setpggrp.Mark Kettenis1-2/+1
(AC_FUNC_SETPGRP): Add. * aclocal.m4, configure, config.in: Regenerated. * inflow.c (gdb_setpgid): Get rid of NEED_POSIX_SETPGID and SETPGRP_ARGS. Always use setpgid if it is available, fall back on setpgrp if it isn't. Use SETPGRP_VOID (defined by autoconf) to distinguish between the two setpgrp flavours. * config/xm-sysv4.h, config/arm/xm-linux.h, config/i386/xm-i386aix.h, config/i386/xm-sco.h, config/i386/xm-linux.h, config/i386/xm-ptx.h, config/m68k/xm-linux.h, config/powerpc/xm-linux.h, config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h, config/ia64/xm-linux.h (NEED_POSIX_SETPGID): Remove. * config/rs6000/xm-rs6000.h (SETPGRP_ARGS): Remove.
2001-03-06Update/correct copyright notices.Kevin Buettner1-1/+2
2000-09-12* acinclude.m4 (CY_GNU_GETTEXT): Add dummy definition, so that theAlexandre Oliva1-0/+7
one brought in by ../bfd/acinclude.m4 prevails. * aclocal.m4, configure: Rebuilt.
2000-09-07Regenerate aclocal (and config.in / configure).Andrew Cagney1-345/+0
2000-04-13Only re-generate copying.c when maintainer mode.Andrew Cagney1-0/+33
1999-04-26import gdb-19990422 snapshotStan Shebs1-3/+3
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1-0/+1307
1999-04-16Initial creation of sourceware repositoryStan Shebs1-1305/+0
1999-02-111999-02-11 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda1-2/+345
* configure, aclocal.m4: Regenerate with correct version of aclocal.
1999-02-111999-02-10 Syd Polk <spolk@cygnus.com>Syd Polk1-353/+10
* acinclude.m4: Fix for new location of itclConfig.sh and itkConfig.sh. * aclocal.m4: Regnerate. * configure: Regenerate.
1999-02-061999-02-05 James Ingham <jingham@cygnus.com>Jim Ingham1-4/+108
* 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-011999-02-01 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda1-66/+4
* 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-01-28This is the merge of the Itcl3.0 gdbtk development branch into theJim Ingham1-5/+230
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-19Use aclocal to generate GDB's aclocal.m4 script.Jim Blandy1-1/+510
* acinclude.m4: New file, containing the hand-written local macro definitions that used to be in aclocal.m4. Don't sinclude ../bfd/aclocal.m4 any more; running aclocal in this directory will get us the definitions we need. HOWEVER: Do sinclude ../bfd/acinclude.m4, because we need the definition of BFD_NEED_DECLARATION. * aclocal.m4: Regenerated by aclocal. * configure: Regenerated by autoconf.
1998-09-251998-09-24 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda1-4/+4
* 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.
1997-11-21 * aclocal.m4 (AM_CYGWIN32, AM_EXEEXT): Remove. They are alreadyIan Lance Taylor1-46/+0
defined by the inclusion of ../bfd/aclocal.m4. * configure: Rebuild.
1997-11-20Thu Nov 20 04:11:27 1997 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer1-0/+45
* aclocal.m4: add EXEEXT setting rule * configure.in: call it * configure: regenerate * Makefile.in: pepper with EXEEXTs in appropriate places, set SHELL = @SHELL@ for those lame hosts that don't have a /bin/sh
1997-08-01 * gdbtk.c (Tcl_Alloc): Don't provide our own version of this ifIan Lance Taylor1-0/+1
_WIN32. (Tcl_Realloc, Tcl_Free): Likewise. * configure.in: Check for cygwin32 environment. Define and substitute WIN32LIBS and WIN32LDAPP. Always set configdir to unix; setting it to win was for an old Tcl/Tk configuration scheme. * aclocal.m4 (CY_AC_LOAD_TKCONFIG): Substitute TK_BUILD_INCLUDES. * Makefile.in (TK_CFLAGS): Add @TK_BUILD_INCLUDES@. (WIN32LDAPP, WIN32LIBS): Define. (CLIBS): Add $(WIN32LIBS). (gdb): Use $(WIN32LDAPP). * configure: Rebuild.
1997-07-23Tue Jul 22 19:45:37 1997 Martin M. Hunt <hunt@cygnus.com>Martin Hunt1-19/+0
* configure.in, aclocal.m4: Another fix to find the correct Tix library name. * configure: Rebuilt.
1997-07-22Mon Jul 21 22:24:07 1997 Martin M. Hunt <hunt@cygnus.com>Martin Hunt1-3/+14
* aclocal.m4: Search for the correct tix library.
1997-07-10Thu Jul 10 00:02:41 1997 Martin M. Hunt <hunt@cygnus.com>Martin Hunt1-0/+56
* Makefile.in, configure.in, aclocal.m4: Add Itcl, Tix, and IDE configuration information. * gdbtk.c (breakpoint_notify): Send address, linenumber and filename when a breakpoint is set. Avoids call to bp_info. (gdbtk_init): Call Tcl_FindExecutable(). Add code to handle Itcl, Tix and IDE initialization. * defs.h (init_ui_hook): Change prototype to accept one arg. * main.c (gdb_init): Change prototype to accept one arg. * top.c (gdb_init): Accepts one argument which it uses to call (*init_ui_hook), which will be gdbtk_init(). This is used for calling Tcl_FindExecutable(). * gdbtcl/breakpoint.tcl (gdbtk_tcl_breakpoint): Change to accept variable number of args for compatibility with cchanges in gdbtk.c. * configure: Regenerated. * gdbtcl/tclIndex: Regenerated.
1997-03-19Wed Mar 19 15:16:17 1997 Martin M. Hunt <hunt@onions.cygnus.com>Martin Hunt1-9/+10
* Makefile.in: Install gdbtcl dir instead of gdbtk.tcl. * gdbtk.c: Added some ifdefs for Windows. Changed GDBTK_FILENAME to GDBTK_LIBRARY, which is now a path to search. (gdb_path_conv): New function. Convert Cygwin32 pathname to DOS-style pathname. * aclocal.m4, configure.in: Changes for Windows builds. * configure: Rebuilt.
1996-08-21 * aclocal.m4: Include ../bfd/aclocal.m4.Ian Lance Taylor1-0/+2
* configure.in: Add stdlib.h to AC_CHECK_HEADERS. Call BFD_NEED_DECLARATION on malloc, realloc, and free. * acconfig.h: Add NEED_DECLARATION_MALLOC, NEED_DECLARATION_REALLOC, and NEED_DECLARATION_FREE. * configure, config.in: Rebuild. * defs.h: Include <stddef.h> and <stdlib.h> based on HAVE_*_H rather than __STDC__. Only declare malloc, realloc, and free if NEED_DECLARATION_* is defined.
1996-08-02changes for new tcl/tk:Tom Tromey1-340/+235
* gdbtk.c (mainWindow): Deleted. (cleanup_init): Don't destroy main window. (gdbtk_init): Main window now created by Tk_Init. * configure.in: Most X checks now handled automatically by Tk. Use new macros to find Tcl/Tk. * aclocal.m4: New version for new Tcl/Tk; from Don Libes. * config.in, configure: Regenerated. * Makefile.in (TCL, TCL_CFLAGS, TK, TK_CFLAGS, X11_CFLAGS, X11_LDFLAGS, X11_LIBS): Changed for new Tcl and Tk.
1996-06-13 * config.in: Regenerated.Tom Tromey1-12/+16
* acconfig.h (HAVE_THREAD_DB_LIB): Added entry. * configure: Regenerated. * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to avoid name clashes with SunOS headers.
1996-05-28 * configure: Regenerated.Tom Tromey1-46/+42
* aclocal.m4 (CY_AC_PATH_TCLH): Don't use AC_TRY_RUN. (CY_AC_PATH_TKH): Don't use AC_TRY_RUN.
1996-05-10 * aclocal.m4: Remove unused definition of AC_C_CROSS.Fred Fish1-22/+0
* configure.in: Add powerpcle-*-solaris* host and target config so April 30th change does not get lost next time configure is rebuilt.
1996-01-24Updated for Tcl 7.5a2 and Tk 4.1a2Tom Tromey1-113/+571
1995-05-16* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},J.T. Conklin1-0/+147
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh, mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured out by autoconf. * config/apollo68v.mh (RANLIB): Removed, figured out by autoconf. * Makefile.in, configure.in: Converted to use autoconf * aclocal.m4: New file, local autoconf macro definitions. * configure: New file, generated with autoconf 2.3.