aboutsummaryrefslogtreecommitdiff
path: root/gdb/config.in
AgeCommit message (Collapse)AuthorFilesLines
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.
2003-09-032003-09-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-3/+0
* defs.h: Do not include "arch-utils.h". (GDB_MULTI_ARCH): If not defined, set to GDB_MULTI_ARCH_PARTIAL or GDB_MULTI_ARCH_PURE. * configure.in (GDB_MULTI_ARCH): Do not define. * configure, config.in: Regenerate. * configure.tgt: Do not set variable "gdb_multi_arch". * config/s390/s390x.mt (GDB_MULTI_ARCH): Delete. * config/s390/s390.mt (GDB_MULTI_ARCH): Delete. * config/i386/x86-64linux.mt (GDB_MULTI_ARCH): Delete. * config/v850/v850.mt (TM_FILE): Delete disabled definition. * config/m68hc11/m68hc11.mt (TM_FILE): Delete definition. * config/vax/tm-vax.h (GDB_MULTI_ARCH): Delete definition. * config/sparc/tm-sparc.h (GDB_MULTI_ARCH): Delete definition. * config/sparc/tm-sun4sol2.h (GDB_MULTI_ARCH): Delete definition. * config/sparc/tm-nbsd.h (GDB_MULTI_ARCH): Delete definition. * config/sparc/tm-linux.h (GDB_MULTI_ARCH): Delete definition. * config/sparc/tm-sp64.h (GDB_MULTI_ARCH): Delete definition. * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Delete definition. * config/ns32k/tm-ns32k.h (GDB_MULTI_ARCH): Delete definition. * config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Delete definition. * config/i386/tm-i386.h (GDB_MULTI_ARCH): Delete definition. * config/h8300/tm-h8300.h (GDB_MULTI_ARCH): Delete definition. * config/frv/tm-frv.h (GDB_MULTI_ARCH): Delete definition. * config/alpha/tm-alpha.h (GDB_MULTI_ARCH): Delete definition.
2003-06-082003-06-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-0/+3
* 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-06-042003-06-04 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston1-0/+6
* acconfig.h: Add HAVE_TKILL_SYSCALL definition check. * config.in: Regenerated. * configure.in: Add test for syscall function and check for __NR_tkill macro in <syscall.h> to set HAVE_TKILL_SYSCALL. * configure: Regenerated. * lin-lwp.c [HAVE_TKILL_SYSCALL]: Include <unistd.h> and <sys/syscall.h>. (kill_lwp): New function that uses tkill syscall or uses kill, depending on whether threading model is nptl or not. All callers of kill() changed to use kill_lwp(). (lin_lwp_wait): Make special check when WIFEXITED occurs to see if all threads have already exited in the nptl model. (stop_and_resume_callback): New callback function used by the lin_lwp_wait thread exit handling code. (stop_wait_callback): Check for threads already having exited and delete such threads fromt the lwp list when discovered. (stop_callback): Don't assert retcode of kill call. Roland McGrath <roland@redhat.com> * i386-linux-nat.c (ps_get_thread_area): New function needed by nptl libthread_db.
2003-02-262003-02-26 Michael Chastain <mec@shout.net>Michael Chastain1-0/+3
* configure.in: New variable HAVE_UINTPTR_T. * configure, config.in: Regenerated.
2003-02-14* configure.in: Add check for _etext.Mark Kettenis1-0/+3
* maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't available. * config.in, configure: regenerated.
2003-01-27 * configure.in: Check that -pg works if using --enable-profiling.Daniel Jacobowitz1-0/+6
Check for monstartup and _mcleanup regardless of --enable-profiling. * maint.c: Check for monstartup and _mcleanup before using them. * config.in: Regenerated. * configure: Regenerated.
2003-01-23gdb/ChangeLog:Jim Blandy1-0/+3
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 * Makefile.in (acconfig_h): Remove incorrect macro.Daniel Jacobowitz1-0/+3
(config_h): Define. (osabi.o): Update dependencies. * configure.tgt: Set gdb_osabi based on target triplet. * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi. * configure: Regenerated. * config.in: Regenerated. * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h". (GDB_OSABI_DEFAULT): Define if not already defined. (user_osabi_state, user_selected_osabi, gdb_osabi_available_names) (set_osabi_string): New variables. (gdbarch_register_osabi): Add new OS ABI to gdb_osabi_available_names. (gdbarch_lookup_osabi): Honor specified and default OS ABIs. (set_osabi, show_osabi): New functions. (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands.
2003-01-04* configure.in: Call AC_GNU_SOURCE. Check for pread64 usingMark Kettenis1-3/+8
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.
2003-01-02* configure.in: Remove --with-cpu option.Mark Kettenis1-4/+0
subscripts. Remove evil changequotes here. * acconfig.h (TARGET_CPU_DEFAULT): Remove. * config.in, configure: Regenerated.
2003-01-02* acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove.Mark Kettenis1-6/+6
* configure.in: Cleanup section that sources GDB and BFD configure subscripts. Remove evil changequotes here. * config.in, configure: Regenerated.