aboutsummaryrefslogtreecommitdiff
path: root/gdb/config.in
AgeCommit message (Collapse)AuthorFilesLines
2009-03-252009-03-24 Tom Tromey <tromey@redhat.com>Tom Tromey1-0/+3
Pedro Alves <pedro@codesourcery.com> * configure, config.in: Rebuild. * configure.ac: Check for libiconvlist. * charset.c: Check HAVE_LIBICONVLIST. * acinclude.m4 (AM_ICONV): Don't subst LIBICONV, LIBICONV_INCLUDE, LIBICONV_LIBDIR. Update CPPFLAGS and LIBS. * Makefile.in (LIBICONV, LIBICONV_INCLUDE, LIBICONV_LIBDIR): Remove. (INTERNAL_CFLAGS_BASE): Update. (INTERNAL_LDFLAGS): Update. (CLIBS): Update.
2009-03-20gdb:Tom Tromey1-0/+6
2009-03-19 Tom Tromey <tromey@redhat.com> Julian Brown <julian@codesourcery.com> PR i18n/7220, PR i18n/7821, PR exp/8815, PR exp/9103, PR i18n/9401, PR exp/9613: * NEWS: Update * value.h (value_typed_string): Declare. (val_print_string): Update. * valprint.h (print_char_chars): Update. * valprint.c (print_char_chars): Add type argument. Update. (val_print_string): Likewise. * valops.c (value_typed_string): New function. * utils.c (host_char_to_target): New function. (parse_escape): Use host_char_to_target, host_hex_value. Update. Remove '^' case. (no_control_char_error): Remove. * typeprint.c (print_type_scalar): Update. * scm-valprint.c (scm_scmval_print): Update. * scm-lang.h (scm_printchar, scm_printstr): Update. * scm-lang.c (scm_printchar): Add type argument. (scm_printstr): Likewise. * printcmd.c (print_formatted): Update. (print_scalar_formatted): Update. (printf_command) <wide_string_arg, wide_char_arg>: New constants. Handle '%lc' and '%ls'. * parser-defs.h (struct typed_stoken): New type. (struct stoken_vector): Likewise. (write_exp_string_vector): Declare. * parse.c (write_exp_string_vector): New function. * p-valprint.c (pascal_val_print): Update. * p-lang.h (is_pascal_string_type, pascal_printchar, pascal_printstr): Update. * p-lang.c (is_pascal_string_type): Remove 'char_size' argument. Add 'char_type' argument. (pascal_emit_char): Add type argument. (pascal_printchar): Likewise. (pascal_printstr): Likewise. * objc-lang.c (objc_emit_char): Add type argument. (objc_printchar): Likewise. (objc_printstr): Likewise. * macroexp.c (get_character_constant): Handle unicode characters. Use c_parse_escape. (get_string_literal): Handle unicode strings. Use c_parse_escape. * m2-valprint.c (print_unpacked_pointer): Update. (m2_print_array_contents): Update. (m2_val_print): Update. * m2-lang.c (m2_emit_char): Add type argument. (m2_printchar): Likewise. (m2_printstr): Likewise. * language.h (struct language_defn) <la_printchar>: Add type argument. <la_printstr, la_emitchar>: Likewise. (LA_PRINT_CHAR): Likewise. (LA_PRINT_STRING): Likewise. (LA_EMIT_CHAR): Likewise. * language.c (unk_lang_emit_char): Add type argument. (unk_lang_printchar): Likewise. (unk_lang_printstr): Likewise. * jv-valprint.c (java_val_print): Update. * jv-lang.c (java_emit_char): Add type argument. * f-valprint.c (f_val_print): Update. * f-lang.c (f_emit_char): Add type argument. (f_printchar): Likewise. (f_printstr): Likewise. * expprint.c (print_subexp_standard): Update. * charset.h (target_wide_charset): Declare. (c_target_char_has_backslash_escape, c_parse_backslash, host_char_print_literally, host_char_to_target, target_char_to_host, target_char_to_control_char): Remove. (enum transliterations): New type. (convert_between_encodings): Declare. (HOST_ESCAPE_CHAR): New define. (host_letter_to_control_character, host_hex_value): Declare. (enum wchar_iterate_result): New enum. (struct wchar_iterator): Declare. (make_wchar_iterator, make_cleanup_wchar_iterator, wchar_iterator, wchar_push_back): Declare. * charset-list.h: New file. * c-valprint.c (textual_name): New function. (textual_element_type): Handle wide character types. (c_val_print): Pass original type to textual_element_type. Handle wide character types. (c_value_print): Use textual_element_type. Pass original type of value to val_print. * c-lang.h (enum c_string_type): New type. (c_printchar, c_printstr): Update. * c-lang.c (classify_type): New function. (print_wchar): Likewise. (c_emit_char): Add type argument. Handle wide characters. (c_printchar): Likewise. (c_printstr): Add type argument. Handle wide and multibyte character sets. (convert_ucn): New function. (emit_numeric_character): Likewise. (convert_octal): Likewise. (convert_hex): Likewise. (ADVANCE): New macro. (convert_escape): New function. (parse_one_string): Likewise. (evaluate_subexp_c): Likewise. (exp_descriptor_c): New global. (c_language_defn): Use exp_descriptor_c. (cplus_language_defn): Likewise. (asm_language_defn): Likewise. (minimal_language_defn): Likewise. (charset_for_string_type): New function. * c-exp.y (%union): Add 'svec' and 'tsval'. (CHAR): New token. (exp): Add CHAR production. (string_exp): Rewrite. (exp) <string_exp>: Rewrite. (tempbuf): Now global. (tempbuf_init): New global. (parse_string_or_char): New function. (yylex) <tempbuf>: Now global. <tokptr, tempbufindex, tempbufsize, token_string, class_prefix>: Remove. Handle 'u', 'U', and 'L' prefixes. Call parse_string_or_char. (c_parse_escape): New function. * auxv.c (fprint_target_auxv): Update. * ada-valprint.c (ada_emit_char): Add type argument. (ada_printchar): Likewise. (ada_print_scalar): Update. (printstr): Add type argument. Update calls to ada_emit_char. (ada_printstr): Add type argument. (ada_val_print_array): Update. (ada_val_print_1): Likewise. * ada-lang.c (emit_char): Add type argument. * ada-lang.h (ada_emit_char, ada_printchar, ada_printstr): Add type arguments. * gdb_locale.h: Include langinfo.h. * charset.c (_initialize_charset): Set default host charset from the locale. Don't register charsets. Add target-wide-charset commands. Call find_charset_names. (struct charset, struct translation): Remove. (GDB_DEFAULT_HOST_CHARSET): Remove. (GDB_DEFAULT_TARGET_WIDE_CHARSET): New define. (target_wide_charset_name): New global. (show_host_charset_name): Handle "auto". (show_target_wide_charset_name): New function. (host_charset_enum, target_charset_enum): Remove. (charset_enum): New global. (all_charsets, register_charset, lookup_charset, all_translations, register_translation, lookup_translation): Remove. (simple_charset, ascii_print_literally, ascii_to_control): Remove. (iso_8859_print_literally, iso_8859_to_control, iso_8859_family_charset): Remove. (ebcdic_print_literally, ebcdic_to_control, ebcdic_family_charset): Remove. (struct cached_iconv, check_iconv_cache, cached_iconv_convert, register_iconv_charsets): Remove. (target_wide_charset_be_name, target_wide_charset_le_name): New globals. (identity_either_char_to_other): Remove. (set_be_le_names, validate): New functions. (backslashable, backslashed, represented): Remove. (default_c_target_char_has_backslash_escape): Remove. (default_c_parse_backslash, iconv_convert): Remove. (ascii_to_iso_8859_1_table, ascii_to_ebcdic_us_table, ascii_to_ibm1047_table, iso_8859_1_to_ascii_table, iso_8859_1_to_ebcdic_us_table, iso_8859_1_to_ibm1047_table, ebcdic_us_to_ascii_table, ebcdic_us_to_iso_8859_1_table, ebcdic_us_to_ibm1047_table, ibm1047_to_ascii_table, ibm1047_to_iso_8859_1_table, ibm1047_to_ebcdic_us_table): Remove. (table_convert_char, table_translation, simple_table_translation): Remove. (current_host_charset, current_target_charset, c_target_char_has_backslash_escape_func, c_target_char_has_backslash_escape_baton): Remove. (c_parse_backslash_func, c_parse_backslash_baton): Remove. (host_char_to_target_func, host_char_to_target_baton): Remove. (target_char_to_host_func, target_char_to_host_baton): Remove. (cached_iconv_host_to_target, cached_iconv_target_to_host): Remove. (lookup_charset_or_error, check_valid_host_charset): Remove. (set_host_and_target_charsets): Remove. (set_host_charset, set_target_charset): Remove. (set_host_charset_sfunc, set_target_charset_sfunc): Rewrite. (set_target_wide_charset_sfunc): New function. (show_charset): Print target wide character set. (host_charset, target_charset): Rewrite. (target_wide_charset): New function. (c_target_char_has_backslash_escape): Remove. (c_parse_backslash): Remove. (host_letter_to_control_character): New function. (host_char_print_literally): Remove. (host_hex_value): New function. (target_char_to_control_char): Remove. (cleanup_iconv): New function. (convert_between_encodings): New function. (target_char_to_host): Remove. (struct wchar_iterator): Define. (make_wchar_iterator, make_cleanup_wchar_iterator, wchar_iterator, wchar_push_back): New functions. (do_cleanup_iterator): New function. (char_ptr): New typedef. (charsets): New global. (add_one, find_charset_names): New functions. (default_charset_names): New global. (auto_host_charset_name): Likewise. * aclocal.m4, config.in, configure: Rebuild. * configure.ac: Call AM_LANGINFO_CODESET. (GDB_DEFAULT_HOST_CHARSET): Default to UTF-8. (AM_ICONV): Invoke earlier. * acinclude.m4: Include codeset.m4. Subst LIBICONV_INCLUDE and LIBICONV_LIBDIR. Check for libiconv in build tree. * Makefile.in (LIBICONV_LIBDIR, LIBICONV_INCLUDE): New macros. (INTERNAL_CFLAGS_BASE): Add LIBICONV_INCLUDE. (INTERNAL_LDFLAGS): Add LIBICONV_LIBDIR. * gdb_obstack.h (obstack_grow_wstr): New define. * gdb_wchar.h: New file. * defs.h: Include it. gdb/testsuite: * gdb.base/store.exp: Update for change to escape output. * gdb.base/callfuncs.exp (fetch_all_registers): Update for change to escape output. * gdb.base/pointers.exp: Update for change to escape output. * gdb.base/long_long.exp (gdb_test_long_long): Update for change to escape output. * gdb.base/constvars.exp (do_constvar_tests): Update for change to escape output. * gdb.base/call-rt-st.exp (print_struct_call): Update for change to escape output. * gdb.cp/ref-types.exp (gdb_start_again): Update for change to escape output. * gdb.base/setvar.exp: Update for change to escape output. * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C. * gdb.base/printcmds.exp (test_print_all_chars): Update for change to escape output. (test_print_string_constants): Likewise. * gdb.base/charset.exp (valid_host_charset): Check size of wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode cases. Handle "auto"-related output. * gdb.base/charset.c (char16_t, char32_t): New typedefs. (uvar, Uvar): New globals. gdb/doc: * gdb.texinfo (Character Sets): Remove obsolete text. Document set target-wide-charset. (Requirements): Mention iconv.
2009-01-282009-01-28 Daniel Jacobowitz <dan@codesourcery.com>Jerome Guitton1-0/+7
Jerome Guitton <guitton@adacore.com> * configure, config.in: Regenerated. * configure.ac: Add --with-system-gdbinit. * main.c (get_init_files): New. (captured_main): Use get_init_files. Load system gdbinit before $HOME/.gdbinit. (print_gdb_help): Print location of init files.
2008-12-09 * config.in, configure: Rebuild.Tom Tromey1-0/+9
* configure.ac: Check for locale.h, setlocale. Call AM_LC_MESSAGES. * acinclude.m4: Include lcmessage.m4.
2008-08-06Initial python support.Thiago Jung Bauermann1-0/+12
gdb/ 2008-08-06 Vladimir Prus <vladimir@codesourcery.com> Tom Tromey <tromey@redhat.com> Thiago Jung Bauermann <bauerman@br.ibm.com> Doug Evans <dje@google.com> * Makefile.in (SUBDIR_PYTHON_OBS, SUBDIR_PYTHON_SRCS, SUBDIR_PYTHON_DEPS, SUBDIR_PYTHON_LDFLAGS, SUBDIR_PYTHON_CFLAGS, PYTHON_CFLAGS): New. (python_h, python_internal_h): New. (cli-script.o): Depend on python.h (python.o, python-utils.o): New. * cli/cli-script.c (print_command_lines): Handle python_control. (execute_control_command): Handle python_control. (execute_control_command_untraced): New function. (while_command): Call execute_control_command_untraced. (if_command): Likewise. (get_command_line): Remove static attribute. (read_next_line): Handle "python". (recurse_read_control_structure): Handle python_control. (read_command_lines): Handle python_control. Include python.h. * cli/cli-script.h (get_command_line): Add prototype. (execute_control_command_untraced): Likewise. * configure.ac: Add --with-python. * defs.h (enum command_control_type) <python_control>: New constant. * python/python-internal.h: New file. * python/python.c: New file. * python/python.h: New file. * python/python-utils.c: New file. * NEWS: Mention Python scripting support and its new commands. gdb/doc/ 2008-08-06 Tom Tromey <tromey@redhat.com> * gdb.texinfo (Extending GDB): New chapter. (Sequences): Demoted chapter, now a section under the new Extending GDB chapter. (Python): New section. gdb/testsuite/ 2008-08-06 Tom Tromey <tromey@redhat.com> * gdb.python/python.exp: New file.
2008-07-10gdb/Jan Kratochvil1-0/+7
* NEWS (New commands): Mention "set disable-randomization". * configure.ac: Add check for HAVE_PERSONALITY and HAVE_DECL_ADDR_NO_RANDOMIZE. * configure, config.in: Regenerate. * linux-nat.c [HAVE_PERSONALITY]: New include <sys/personality.h>. [HAVE_PERSONALITY] [!HAVE_DECL_ADDR_NO_RANDOMIZE]: Set ADDR_NO_RANDOMIZE. (disable_randomization, show_disable_randomization) (set_disable_randomization): New. (linux_nat_create_inferior) [HAVE_PERSONALITY]: New variables PERSONALITY_ORIG and PERSONALITY_SET. Disable randomization upon the variable DISABLE_RANDOMIZATION. (_initialize_linux_nat): Call ADD_SETSHOW_BOOLEAN_CMD for the variable DISABLE_RANDOMIZATION. gdb/doc/ * gdb.texinfo (Starting): Document "set disable-randomization". gdb/testsuite/ * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
2008-06-26 * Makefile.in (GNULIB_H): Use GNULIB_STDINT_H.Daniel Jacobowitz1-15/+0
(gdb_stdint_h, gdb_stdint.h, stamp-int): Delete. Remove all dependencies on $(gdb_stdint_h). (distclean): Do not delete gdb_stdint.h. * acinclude.m4: Do not use stdint.m4. * configure.ac: Set GNULIB_STDINT_H. Remove tests for stdint.h, uintptr_t, and gdb_stdint.h. * defs.h: Include <stdint.h>. * gdb_thread_db.h: Assume stdint.h is already included. * breakpoint.c, findcmd.c, hppa-tdep.c, inf-ptrace.c, proc-service.c, rs6000-nat.c, spu-linux-nat.c, target.c, win32-nat.c: Do not include gdb_stdint.h. * configure, config.in: Regenerate.
2008-06-052008-06-05 Vladimir Prus <vladimir@codesourcery.com>Joseph Myers1-0/+6
Nathan Sidwell <nathan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * acinclude.m4: Include ../config/acx.m4. * configure.ac: Use ACX_PKGVERSION and ACX_BUGURL. * configure, config.in: Regenerate. * main.c (print_gdb_help): Use REPORT_BUGS_TO for bug-reporting address. * top.c (print_gdb_version): Use PKGVERSION and REPORT_BUGS_TO. doc: 2008-06-05 Vladimir Prus <vladimir@codesourcery.com> Nathan Sidwell <nathan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure.ac: Include ../../config/acx.m4. Use ACX_PKGVERSION and ACX_BUGURL. * configure: Regenerate. * Makefile.in (PKGVERSION, BUGURL_TEXI): Define. (GDBvn.texi): Define VERSION_PACKAGE, BUGURL and BUGURL_DEFAULT. * gdb.texinfo: Use VERSION_PACKAGE and BUGURL. Remove mailing-list-specific text about bug reporting unless BUGURL_DEFAULT. gdbserver: 2008-06-05 Vladimir Prus <vladimir@codesourcery.com> Nathan Sidwell <nathan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * acinclude.m4: Include ../../config/acx.m4. * configure.ac: Use ACX_PKGVERSION and ACX_BUGURL. * configure, config.in: Regenerate. * Makefile.in (gdbreplay$(EXEEXT)): Add version.o. * server.c (gdbserver_version): Print PKGVERSION. (gdbsrever_usage): Add stream parameter. Print REPORT_BUGS_TO. (main): Adjust gdbserver_usage calls. * gdbreplay.c (version, host_name): Add declarations. (gdbreplay_version, gdbreplay_usage): New. (main): Accept --version and --help options.
2008-04-19 * configure.ac (AC_SEARCH_LIBS): Add check for zlib.Craig Silverstein1-0/+3
* config.in, configure: Regenerate. * dwarf2read.c: Include zlib.h if present. Modified *_SECTION macros. (section_is_p): New. (dwarf2_locate_sections): Use section_is_p instead of strcmp (dwarf2_resize_section): New. to determine whether a given section has a given name. (zlib_decompress_section): New. (dwarf2_read_section): Read the compressed section if present in the binary. * testsuite/gdb.dwarf2/dw2-compressed.S: New file. * testsuite/gdb.dwarf2/dw2-compressed.exp: New file. * MAINTAINERS: Added myself to section Write After Approval.
2008-04-14 * Makefile.in (GNULIB_H): New. Trigger all-lib.Daniel Jacobowitz1-0/+123
(defs_h): Use $(GNULIB_H). (all-lib): Depend on gnulib/Makefile. (gnulib/Makefile): Regenerate gnulib/Makefile and gnulib/.deps. * config.in, gnulib/Makefile.in: Regenerated.
2008-03-12 * configure.ac (AC_CHECK_FUNCS): Add check for setsid.Thiago Jung Bauermann1-0/+3
* config.in, configure: Regenerate. * fork-child.c (fork_inferior): Call create_tty_session. * inflow.c (new_tty): Set controlling terminal with TIOCSCTTY. (create_tty_session): New function. * terminal.h: Declare create_tty_session.
2008-01-08 * config.in: Regenerate.Thiago Jung Bauermann1-0/+3
2007-11-17 * configure.ac (hostfile, targetfile): Remove.Ulrich Weigand1-6/+0
(GDB_XM_FILE, GDB_TM_FILE): Do not define. (xm_h, tm_h): Likewise. (DEPRECATED_TM_FILE, XM_FILE): Do not substitute into Makefile. * configure, config.in: Regenerate. * Makefile.in (xm_h, tm_h): Remove. Update dependencies. (TAGS): Do not consider DEPRECATED_TM_FILE or XM_FILE. (clean, local-maintainer-clean): Do not remove xm.h or tm.h. * defs.h: Do not include "xm.h" or "tm.h". * gdbarch.sh (verify_gdbarch): Do not dump GDB_XM_FILE or GDB_TM_FILE. * gdbarch.c: Regenerate. * config/score/embed.mt: Remove obsolete comment.
2007-10-252007-10-25 Wu Zhou <woodzltc@cn.ibm.com>Thiago Jung Bauermann1-0/+4
Thiago Jung Bauermann <bauerman@br.ibm.com> * Makefile.in (LIBDECNUMBER_DIR, LIBDECNUMBER, LIBDECNUMBER_SRC LIBDECNUMBER_CFLAGS): New macros for libdecnumber. (INTERNAL_CFLAGS_BASE): Add LIBDECNUMBER_CFLAGS in. (INSTALLED_LIBS): Add -ldecnumber in. (CLIBS): Add LIBDECNUMBER in. (decimal128_h, decimal64_h, decimal32_h): New macros for decimal headers. (dfp_h): New macros for decimal floating point. (dfp.o): New target. (COMMON_OBS): Add dfp.o in. (c-exp.o): Add dfp_h as dependency. (valprint.o): Add dfp_h as dependency. (value.o): Add dfp_h as dependency. * dfp.h: New header file for decimal floating point support in GDB. * dfp.c: New source file for decimal floating point support in GDB. Implement decimal_from_string and decimal_to_string based on libdecnumber API. * configure.ac: Add AC_C_BIGENDIAN test. * config.in, configure: Regenerate.
2007-10-24 * configure.tgt: Remove hppa*64*-*-hpux11* special case.Ulrich Weigand1-0/+3
* config/pa/hppa64.mt: Delete file. * config/pa/hppahpux.mt (MT_CFLAGS): Remove. (TDEPFILES): Move somread.o to ... * config/pa/hpux.mh (NATDEPFILES): ... here. * configure.ac: Add check for elf_hp.h header. Search libdl and libxpdl for dlgetmodinfo. * config.in, configure: Regenerate. * solib-pa64.c: Conditionalize compilation on #ifdef HAVE_ELF_HP_H instead of #ifndef PA_SOM_ONLY. Include "solib.h". (pa64_solib_select): Take gdbarch instead of tdep argument. Call set_solib_ops instead of modifying current_target_so_ops. * solib-pa64.h (pa64_solib_select): Update prototype. * solib-som.c: Remove include of "som.h". Include "solib.h". (som_solib_select): Take gdbarch instead of tdep argument. Call set_solib_ops instead of modifying current_target_so_ops. * solib-som.h (som_solib_select): Update prototype. * hppa-hpux-tdep.c (hppa_hpux_som_init_abi): Pass gdbarch instead of tdep to som_solib_select call. (hppa_hpux_elf_init_abi): Pass gdbarch instead of tdep to pa64_solib_select call. * Makefile.in: Update dependencies.
2007-09-19 * configure.ac: Add check for "etext".Joel Brobecker1-0/+3
* configure, config.in: Regenerate. * maint.c (TEXTEND): Only define if either _etext or etext are available. Disable the profiling functionality if TEXTEND is not defined.
2007-06-18 * coffread.c (coff_sym_fns): Add default_symfile_segments.Daniel Jacobowitz1-0/+3
* dbxread.c (start_psymtab): Check HAVE_ELF. (aout_sym_fns): Likewise. * elfread.c (elf_symfile_segments): New. (elf_sym_fns): Add elf_symfile_segments. * mipsread.c (ecoff_sym_fns): Add default_symfile_segments. * remote.c (get_offsets): Use symfile_map_offsets_to_segments. Skip if there is no symfile_objfile. Handle TextSeg and DataSeg. * somread.c (som_sym_fns): Use default_symfile_segments. * symfile.c (find_sym_fns): Take a BFD and return the sym_fns. (init_objfile_sect_indices): Call symfile_find_segment_sections. (default_symfile_segments): New function. (syms_from_objfile): Update call to find_sym_fns. (symfile_get_segment_data, free_symfile_segment_data): New. (symfile_map_offsets_to_segments): New. (symfile_find_segment_sections): New. * symfile.h (struct symfile_segment_data): New. (struct sym_fns): Add sym_segments. (default_symfile_segments, symfile_get_segment_data) (free_symfile_segment_data): New prototypes. (symfile_map_offsets_to_segments): Likewise. * xcoffread.c (xcoff_sym_fns): Add default_symfile_segments. * Makefile.in (COMMON_OBS): Remove elfread.o. (elf_internal_h): New. (elfread.o): Update. * configure.ac: Add elfread.o to COMMON_OBS if bfd/elf.o was compiled. * config.in, configure: Regenerated. * NEWS: Mention qOffsets changes. * gdb.texinfo (General Query Packets): Document qOffsets changes. * Makefile.def: Add dependency from configure-gdb to all-bfd. * Makefile.in: Regenerated.
2007-05-21 * config/i386/tm-linux.h (sys_quotactl): Do not define.Ulrich Weigand1-6/+0
* configure.ac (sys_quotactl, START_INFERIOR_TRAPS_EXPECTED): Do not define for i[[3456]]86-*-linux* native configurations. * config.in, configure: Regenerate.
2007-03-292007-03-29 Denis Pilat <denis.pilat@st.com>Denis Pilat1-0/+3
* configure.ac: Test for signal.h. * configure, config.in: Regenerate.
2007-02-02* configure.ac: Test for sys/resource.h and getrusage.Nick Roberts1-0/+6
* configure, config.in: Regenerate.
2007-01-09 * configure.ac (DEBUGDIR_RELOCATABLE): Define for debugdir insideDaniel Jacobowitz1-0/+3
exec_prefix. (TARGET_SYSTEM_ROOT_RELOCATABLE): Allow for exec_prefix being '${prefix}'. * configure, config.in: Regenerate. * defs.h (debug_file_directory): Declare. * main.c (captured_main): Canonicalize gdb_sysroot. Assume TARGET_SYSTEM_ROOT is defined. Initialize debug_file_directory and relocate it if DEBUGDIR_RELOCATABLE. * symfile.c (debug_file_directory): Make non-static. (find_separate_debug_file): Look for debug info for SYSROOT/PATH in DEBUGDIR/PATH if DEBUGDIR is inside SYSROOT. (_initialize_symfile): Don't initialize debug_file_directory here.
2007-01-09 * configure.ac: Check for XML_StopParser.Daniel Jacobowitz1-0/+3
* xml-support.c (gdb_xml_body_text): Check for an error. (gdb_xml_start_element_wrapper): Conditionalize call to XML_StopParser. (gdb_xml_end_element_wrapper): Likewise. * config.in, configure: Regenerated.
2006-12-31 * configure.ac: Add tests for TD_VERSION and TD_NOTLS.Daniel Jacobowitz1-0/+6
* linux-thread-db.c (thread_db_err_str): Recognize TD_NOTALLOC, TD_VERSION, and TD_NOTLS. * configure, config.in: Regenerated.
2006-08-08Commit missed files from last patch.Daniel Jacobowitz1-73/+11
2006-05-15 * configure.ac: Use GCC_HEADER_STDINT.Daniel Jacobowitz1-3/+18
* acinclude.m4: Include stdint.m4. * Makefile.in (gdb_stdint_h): Define. (distclean): Remove gdb_stdint.h. (Makefile, stamp-h): Update rules to generate only the correct files. (gdb_stdint.h, stamp-int): New rules. * config.in, configure: Regenerated.
2005-07-03 * configure.ac: Add arguments to AC_DEFINE calls.Steve Ellcey1-144/+81
* acconfig.h: Remove file. * acinclude.m4 (AC_GNU_SOURCE): Remove definition. * configure: Regenerate. * config.in: Regenerate.
2005-06-13* configure.ac: Use AC_CHECK_TYPES to check for uintptr_t.Mark Kettenis1-1/+1
* configure, config.in: Regenerate.
2005-06-13* ser-tcp.c: Tewak comment.Mark Kettenis1-0/+3
[!HAVE_SOCKLEN_T]: Typedef socklen_t. * configure.ac: Add check for socklen_t. * configure, config.in: Regenerate.
2005-05-20 * configure.ac: Fix bad description of _MSE_INT_H that caused eachEli Zaretskii1-3/+2
word in config.in to be enclosed in []. * config.in: Regenerate.
2005-05-20 * configure, config.in: Regenerate.Eli Zaretskii1-1/+14
2005-03-21 * configure.ac (stat.st_blksize): Check for it.Mark Mitchell1-0/+9
(getuid): Likewise. (getgid): Likewise. * configure: Regenerated. * config.in: Likewise. * remote-fileio.c (remote_fileio_to_fio_stat): Check HAVE_STRUCT_STAT_ST_BLKSIZE.
2005-01-21* acconfig.h (HAVE_STRUCT_REG_R_FS, HAVE_STRUCT_R_GS): RemoveMark Kettenis1-7/+7
undefs. * configure.ac: Use AC_CHECK_MEMBERS to check whether `struct thread' has a td_pcb member and whether `struct reg' has r_fs and r_gs members. * configure, config.in: Regenerate.
2005-01-21* configure.ac: Use AC_CHECK_DECLS instead of gcc_AC_CHECK_DECLSMark Kettenis1-23/+24
and BFD_NEED_DECLARATION. Don't check if a declaration of strdup is necessary. * configure, config.in: Regenerate. * utils.c: Adjust for usage of AC_CHECK_DECLS instead of BFD_NEED_DECLARATION. Never provide a prototype for caninicalize_file_name. * gdb_string.h: Adjust for usage of AC_CHECK_DECLS instead of BFD_NEED_DECLARATION.
2005-01-21* configure.ac (targ_archs): Use standard autoconf check forMark Kettenis1-3/+3
"struct stat.st_blocks" instead of rolling our own. * configure: Regenerated. * acconfig.h (HAVE_STRUCT_STAT_ST_BLOCKS): Remove undef. * config.in: Regenerated.
2005-01-20* configure.ac: Modernize checks for `long long' and `long double'Mark Kettenis1-322/+412
support. * configure: Regenerated. * acconfig.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG) (PRINT_HAS_LONG_DOUBLE, SCANF_HAS_LONG_DOUBLE): Remove undefs. * config.in: Regenerated.
2004-11-09 * configure.in: Check for ncurses/term.h.Dave Anglin1-0/+3
* gdb_curses.h: Include term.h here, prefering ncurses/term.h. * utils.c: Include gdb_curses.h instead of curses.h and term.h. * tui/tui.c: Don't include term.h. * configure, config.in: Rebuilt.
2004-09-25* configure.in: Check for waddstr instead of mvwaddstr whenMark Kettenis1-0/+3
searching for curses library. Check for wborder. * configure, config.in: Regenerate. * tui/tui-wingeneral.c (box_win): Use box if wborder isn't available.
2004-08-21* configure.in: Check for ttrace function.Mark Kettenis1-0/+3
* configure, config.in: Regenerate.
2004-08-15* configure.in: Add <ncurses/ncurses.h> to the list of possibleMark Kettenis1-0/+3
curses headers. * configure, config.in: Regenerate. * gdb_curses.h [HAVE_NCURSES_NCURSES_H]: Include <ncurses/ncurses.h>.
2004-08-09* configure.in: Check for <sys/types.h>. Check return andMark Kettenis1-0/+15
argument types of ptrace. * configure, config.in: Regenerate.
2004-08-07* configure.in: Add cursesX to the list of possible curses libs.Mark Kettenis1-0/+6
Add cursesX.h to the list of possible curses headers. * configure, config.in: Regenerate.
2004-07-292004-07-29 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-0/+9
* config/pa/xm-linux.h: Do not include "floatformat.h". (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT) (HOST_LONG_DOUBLE_FORMAT): Delete macros. * config/i386/xm-i386.h: Do not include "floatformat.h". (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT) (HOST_LONG_DOUBLE_FORMAT): Delete macros. * doublest.c (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT) (HOST_LONG_DOUBLE_FORMAT): Delete macros. Use GDB_HOST_FLOAT_FORMAT, GDB_HOST_DOUBLE_FORMAT and GDB_HOST_LONG_DOUBLE_FORMAT instead. * configure.in (GDB_HOST_FLOAT_FORMAT, GDB_HOST_DOUBLE_FORMAT) (GDB_HOST_LONG_DOUBLE_FORMAT): Define. * configure, config.in: Regenerate. * configure.host (gdb_host_float_format, gdb_host_double_format) (gdb_host_long_double_format): Set according to the host.
2004-07-17* configure.in: Define _MSE_INT_H on Solaris 9 too.Mark Kettenis1-1/+1
* configure, config.in: Regenerated.
2004-05-23* configure.in: Check for td_pcb in `struct thread'.Mark Kettenis1-0/+3
* configure, config.in: Regenerated.
2004-04-292004-04-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>Andrew Cagney1-0/+6
Andrew Cagney <cagney@redhat.com> * configure.in (mips-sgi-irix5*): Define _KMEMUSER for <sys/proc.h>. * acconfig.h: Provide default _KMEMUSER value. * config.in, configure: Re-generate. * NEWS: Mention fix.
2004-03-29 * Makefile.in (linux_nat_h): Update dependencies.Daniel Jacobowitz1-0/+3
* configure.in: Check for <gnu/libc-version.h>. * configure: Regenerate. * config.in: Regenerate. * linux-nat.h: Include "target.h". Add waitstatus field to struct lwp_info. * lin-lwp.c (add_lwp): Initialize waitstatus.kind. (lin_lwp_attach_lwp): Don't attach to LWPs we have already attached to. (lin_lwp_handle_extended): New function. Handle clone events. (wait_lwp): Use lin_lwp_handle_extended. Update comment about thread exit events. (child_wait): Handle clone events. (lin_lwp_wait: Use lin_lwp_handle_extended and handle clone events. * linux-nat.c (linux_enable_event_reporting): Turn on PTRACE_O_TRACECLONE. (linux_handle_extended_wait): Handle clone events. * thread-db.c: Include <gnu/libc-version.h>. (struct private_thread_info): Add dying flag. (enable_thread_event_reporting): Enable TD_DEATH for glibc 2.2 and higher. (attach_thread): Update comments. Handle dying threads. (detach_thread): Set the dying flag. (check_event): Always call attach_thread.
2004-01-202004-01-19 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain1-9/+0
* MAINTAINERS: Delete mmalloc. * Makefile.in: Delete MMALLOC, MMALLOC_CFLAGS, -lmmalloc, mmalloc_h. * NEWS: Mention removal of --with-malloc. * acconfig.h: Delete USE_MMALLOC, MMCHECK_FORCE. * config.in: Regenerate. * configure: Regenerate. * configure.in: Delete MMALLOC_CFLAGS, MMALLOC, --with-mmalloc, USE_MMALLOC, MMCHECK_FORCE. * gdbinit.in: Remove mmalloc. * utils.c: Delete USE_MMALLOC, NO_MMCHECK, MMCHECK_FORCE, malloc_botch. * config/alpha/alpha-linux.mh: Delete MMALLOC, MMALLOC_CFLAGS. * config/i386/go32.mh: Likewise. * config/i386/interix.mh: Likewise. * config/powerpc/xm-linux.h: Delete MMAP_BASE_ADDRESS, MMAP_INCREMENT. 2004-01-19 Michael Chastain <mec.gnu@mindspring.com> * gdbint.texinfo: Delete USE_MMALLOC, NO_MMCHECK, MMCHECK_FORCE, MMAP_BASE_ADDRESS, MMAP_INCREMENT.
2004-01-02* configure.in: Check for <machine/reg.h>. Check for `struct reg'Mark Kettenis1-0/+6
in <machine/reg.h>. * configure, config.in: Regenerate.
2003-12-30 * configure.in: Check for st_blocks member in struct stat andEli Zaretskii1-0/+3
define HAVE_STRUCT_STAT_ST_BLOCKS accordingly. * acconfig.h (HAVE_STRUCT_STAT_ST_BLOCKS): New undef. * configure, config.in: Regenerated.
2003-11-142003-11-14 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston1-0/+9
* libunwind-frame.c: New file. * libunwind-frame.h: New file. * acconfig.h (HAVE_LIBUNWIND): #undef reference added. * configure.in: Add --with-libunwind option support. Define HAVE_LIBUNWIND if libunwind support selected / defaulted. Also check for libunwind.h and libunwind-ia64.h headers. * configure: Regenerated. * Makefile.in: Add support for libunwind-frame.o. * config.in: Regenerated.