aboutsummaryrefslogtreecommitdiff
path: root/gdb/Makefile.in
AgeCommit message (Collapse)AuthorFilesLines
2001-09-07Correctly parse register values provided by the monitor.Jim Blandy1-1/+2
* rom68k-rom.c: #include "value.h". (is_hex_digit, hex_digit_value, is_whitespace, rom68k_supply_one_register): New static functions. (rom68k_supply_register): Call rom68k_supply_one_register, instead of monitor_supply_register; the latter was incorrectly parsing the values. * Makefile.in (rom68k-rom.o): Note that this now #includes value.h.
2001-09-01Make GDB use libiberty regex implementation.Mark Kettenis1-25/+18
* gdb_regex.h: Normalize protection against multiple inclusion. Include "xregex.h" instead of "gnu-regex.h". * cli/cli-cmds.c: Include "gdb_regex.h" instead of "gnu-regex.h". * cli/cli-decode.c: Likewise. * Makefile.in (REGEX): Remove. (GDB_CFLAGS): Remove reference to gnu-regex.h in comment. (ADD_FILES, ADD_DEPS): Remove $(REGEX). (POSSLIBS): Remove. (TAGFILES_NO_SRCDIR): Remove $(POSSLIBS). (irix5-nat.o, solib.o, solib-svr4.o, source.o, symtab.o, xcoffsolib.o, cli-decode.o, cli-cmd.o): Replace gnu-regex.h with gdb_regex.h in list of dependencies. (gnu-regex.o): Remove rule. * gnu-regex.c, gnu-regex.h: Remove files.
2001-08-17 * Makefile.in (varobj_h): Define.Keith Seitz1-2/+3
(mi-cmd-var.o): Depends on varobj_h. (gdbtk-varobj.o): Change varobj.h to $(varobj_h).
2001-08-16 * configure.in (GDBTK_SRC_DIR): We must have autoconfKeith Seitz1-1/+5
give us the absolute path to the source directory. * configure: Regenerated. * Makefile.in (GDBTK_SRC_DIR): Add variable so that autoconf can substitue it in for us. (gdbtk.o): Pass in GDBTK_SRC_DIR instead of srcdir. We really do need an absolute pathname.
2001-08-15 * Makefile.in (GDBTK_VERSION): Set a version number.Keith Seitz1-37/+22
(GDBTK_LIBRARY): New variable to point to location where gdbtk will install its tcl library. Changed all refereneces to $(datadir)/insight1.0 to $(GDBTK_LIBRARY). (SUBDIR_GDBTK_ALL): Remove "all-gdbtk". No longer needed. (SUBDIR_GDBTK_CLEAN): Remove "clean-gdbtk". No longer needed. (all-gdbtk): Remove. (install-gdbtk): Remove. (gdbtk.o): Pass srcdir to file when compiling. Also from Ian Roxborough: * Makefile.in: Changed all references to the install directory "gdbtcl" to read "insight1.0".
2001-08-11* target.h (TARGET_VIRTUAL_FRAME_POINTER): Delete, multi-arched.Andrew Cagney1-1/+1
* gdbarch.sh (TARGET_VIRTUAL_FRAME_POINTER): Add. * gdbarch.h, gdbarch.c: Regenerate. * arch-utils.h (legacy_virtual_frame_pointer): Declare. * arch-utils.c: Include "gdb_assert.h". (legacy_virtual_frame_pointer): Define. * Makefile.in (arch-utils.o): Depends on gdb_assert.h. * tracepoint.c (encode_actions): Make frame_reg an int. Make frame_offset a LONGEST. * ax-gdb.c (gen_frame_args_address): Ditto. (gen_frame_locals_address): Ditto. * mn10300-tdep.c (mn10300_gdbarch_init): Initialize virtual_frame_pointer. (mn10300_virtual_frame_pointer): Make static. Update parameter list to match function signature. * config/mn10300/tm-mn10300.h (TARGET_VIRTUAL_FRAME_POINTER): Delete.
2001-08-01* defs.h (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)Andrew Cagney1-20/+27
(HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT) (HOST_LONG_DOUBLE_FORMAT, DOUBLEST) (floatformat_to_doublest, floatformat_from_doublest) (floatformat_is_negative, floatformat_is_nan) (floatformat_mantissa, store_floating) (extract_floating): Move declaration from here. * doublest.h: To here. New file. * utils.c (get_field, floatformat_to_doublest, put_field) (ldfrexp, floatformat_from_doublest, floatformat_is_negative) (floatformat_is_nan, floatformat_mantissa) (FLOATFORMAT_CHAR_BIT): Move from here. * doublest.c: To here. New file. * findvar.c (store_floating, extract_floating): Move from here. * doublest.c: To here. * Makefile.in (SFILES): Add doublest.c. (COMMON_OBS): Add doublest.o. (doublest.o): Specify dependencies. (doublest_h): Define. * config/m88k/tm-m88k.h: Include "doublest.h". * config/i960/tm-i960.h: Ditto. * config/i386/tm-symmetry.h: Ditto. * rs6000-tdep.c, valarith.c: Ditto. * valprint.c, stabsread.c, sh-tdep.c: Ditto. * ia64-tdep.c, i387-tdep.c, i386-tdep.c: Ditto. * values.c, arm-tdep.c, arm-linux-tdep.c: Ditto. * alpha-tdep.c, ax.h, expression.h: Ditto. * sh-tdep.c, parse.c, top.c, value.h: Ditto. * Makefile.in (arm-tdep.o): Add $(doublest_h). (i386-tdep.o, i387-tdep.o, ia64-tdep.o): Ditto. (rs6000-tdep.o, stabsread.o, valarith.o): Ditto. (values.o, valprint.o, arm-linux-tdep.o): Ditto. (alpha-tdep.o, ax_h, parse.o, top.o, value_h): Ditto. (parser_defs_h): Ditto. (expression_h): Add $(doublest_h) and $(symtab_h).
2001-08-01* Makefile.in: Sort header definitions.Andrew Cagney1-209/+205
(parser_defs_h, dis_asm_h, annotate_h, gdbthread_h): Define. Replace parser-defs.h with $(parser_defs_h). Replace $(dis-asm_h) and $(dis-asm.h) with $(dis_asm_h). Replace annotate.h with $(annotate_h). Replace target.h with $(target_h). Replace gdbthread.h with $(gdb_thread_h). Replace symfile.h with $(symfile_h).
2001-07-28Move libgdb library functions to gdb.h (new file).Andrew Cagney1-5/+6
Update everything related to this.
2001-07-28 * Makefile.in (SUBDIR_TUI_OBS): Add tui-out.o, tui-hooks.o.Stephane Carrez1-3/+10
(SUBDIR_TUI_SRCS): Add tui-out.c tui-hooks.c (SFILES): Likewise. (tui-out.o): Define dependencies. (tui-hooks.o): Likewise.
2001-07-27Added dependency on tcl/tk libraries.John R. Moore1-2/+2
2001-07-22 * Makefile.in (ALLDEPFILES): Add m68hc11-tdep.c.Stephane Carrez1-0/+4
(m68hc11-tdep.o): Define dependencies.
2001-07-21* i386bsd-nat.c: Do not include <sys/sysctl.h>.Mark Kettenis1-1/+3
(_initialize_i386bsd_nat) [KERN_PS_STRINGS]: Move FreeBSD-specific code to ... * i386fbsd-nat.c: ... here. New file. * config/i386/fbsd.mh (NATDEPFILES): Add i386-fbsd.o. * config/i386/nm-fbsd.h (CHILD_RESUME): Define. * Makefile.in (ALLDEPFILES): Add i386fbsd-nat.c. (i386fbsd-nat.o): Add dependencies.
2001-07-19 * signals.c: New file.Daniel Jacobowitz1-1/+4
* Makefile.in: Add signals.o. * target.c (struct signals, target_signal_to_name) (target_signal_from_name, target_signal_from_host) (do_target_signal_to_host, target_signal_to_host_p) (target_signal_to_host, target_signal_from_command): Move to signals.c. (initialize_targets): Move check of struct signals to... * signals.c (_initialize_signals): Here.
2001-07-18 * Makefile.in (COMMON_OBS): Remove tui-file.o.Stephane Carrez1-6/+5
(SUBDIR_TUI_OBS): Add it here. (SUBDIR_TUI_SRCS): Move tui-file.c and tui-file.h here. (main.o): Remove dependency with tui-file.h.
2001-07-172001-07-17 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-1/+2
* Makefile.in (tui-file.o): Update dependencies. * tui/tui-file.c: Add include of tuiIO.h, for tuiPuts_unfiltered.
2001-07-162001-07-16 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-2/+5
* top.c (is_complete_command, init_cmd_lists, init_cli_cmds, execute_user_command, do_setshow_command, get_prompt, init_proc, serial_log_command): Remove extern declarations. Include cli/cli-cmds.h, cli/cli-script.h, cli/cli-setshow.h, serial.h. * gdbcmd.h (execute_user_command): Remove declaration, it's already in cli/cli-script.h. * command.h (do_setshow_command): Remove declaration, it's already in cli/cli-setshow.h. * infrun.c: Include "cli/cli-script.h" for execute_user_command. * Makefile.in (infrun.o): Update dependencies. (top.o): Ditto. * cli/cli-setshow.h: Add comment for do_setshow_command.
2001-07-152001-07-15 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-17/+20
* top.c (readline_line_completion_function, noop_completer): Move from here... * completer.c (readline_line_completion_function, noop_completer): ...to here. * gdbcmd.h (readline_line_completion_function, noop_completer): Move declarations from here... * completer.h (readline_line_completion_function, noop_completer): ...to here. * corefile.c: Include completer.h. * source.c: Ditto. * symfile.c: Ditto. * Makefile.in: Update dependencies.
2001-07-14* Makefile.in (ALLDEPFILES): Add i386bsd-nat.c and i386bsd-tdep.cMark Kettenis1-0/+6
(i386bsd-tdep.o, i386bsd-nat.o): New targets.
2001-07-132001-07-13 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-5/+0
* remote-e7000.c (fetch_regs_from_dump): If register set is null, generate an internal error. (e7000_fetch_registers): Initialize variable 'wanted'. (e7000_wait): Initialize variable 'wanted_nopc'. (e7000_store_register): Fix sprintf compiler warnings. (sub2_from_pc): Ditto. (e7000_open): Close the descriptor, not the name. (e7000_load): Fix compiler warnings. (sub2_from_pc): Ditto. * Makefile.in (remote-e7000.o): Can now compile with -Werror.
2001-07-10* mcore-rom.c: Include "serial.h".Andrew Cagney1-1/+1
* Makefile.in (mcore-rom.o): Depends on "serial.h".
2001-07-10m88k builds. Tweek remote-bug.c to include "serial.h".Andrew Cagney1-1/+1
2001-07-10* remote-utils.h (struct serial): Declare as opaque. RemoveAndrew Cagney1-1/+1
include of "serial.h". * Makefile.in (remote_utils_h): Update. * monitor.h (struct serial): Declare as opaque. Remove include of "serial.h". (struct monitor_ops): Replace serial_t with `struct serial *'. * monitor.c (monitor_desc): Ditto.
2001-07-08* ser-mac.c: Make obsolete.Andrew Cagney1-1/+1
* Makefile.in (ser-mac.o): Ditto.
2001-06-28Exterminate ser-ocd.c.Andrew Cagney1-3/+1
2001-06-10Add missing $(ui_out_h) dependencies.Andrew Cagney1-9/+11
2001-05-26 * Makefile.in (osfsolib.c, osfsolib.o): Rename to solib-osf.c andNicholas Duffek1-3/+3
solib-osf.o. * config/alpha/alpha-osf1.mh (NATDEPFILES): Replace osfsolib.o with solib-osf.o and solib.o. * config/alpha/alpha-osf2.mh: Likewise. * config/alpha/alpha-osf3.mh: Likewise. * solib-osf.c: New file, renamed and largely rewritten from osfsolib.c.
2001-05-22Add support for the GNU V3 C++ ABI.Jim Blandy1-3/+5
(Includes changes by Dan Berlin.) * gnu-v3-abi.c: New file. * minsyms.c: #include "value.h" and "cp-abi.h". (install_minimal_symbols): Check the minimal symbol table for symbols that look mangled in the V3 style, and select the V3 ABI if we find any. * Makefile.in (SFILES): Add gnu-v3-abi.c. (COMMON_OBS): Add gnu-v3-abi.o. (gnu-v3-abi.o): Add new rule. (minsyms.o): Depend on $(cp_abi_h) and $(value_h).
2001-05-12* Makefile.in (gnu-v2-abi.o): Add $(demangle_h) to list ofJim Blandy1-2/+2
dependencies. Reorder dependencies to match #includes in file, for easier verification.
2001-05-12Replace Makefile.in:VERSION with the file version.in.Andrew Cagney1-8/+8
2001-05-10Fix -Werror problem with mi-main.c.Andrew Cagney1-1/+1
2001-05-10 * Makefile.in (SUBDIR_GDBTK_OBS): Add gdbtk-bp.o, gdbtk-register.oKeith Seitz1-10/+38
and gdbtk-stack.o. (SUBDIR_GDBTK_SRCS): Ditto for the sources. (gdbtk-bp.o): New rule. (gdbtk-register.o): New rule. (gdbtk-stack.o): New rule. (gdbtk-cmds.o): Update dependencies. (gdbtk.o): Ditto. (gdbtk-hooks.o): Ditto. (gdbtk-varobj.o): Ditto.
2001-05-09* Makefile.in (mn10300-tdep.o): New rule.Jim Blandy1-117/+122
* Makefile.in (gdb_string_h): Define. Use it throughout. Some rules were already using this, even though it isn't defined.
2001-05-09* Makefile.in (obstack_h, target_h): Define; these are alreadyJim Blandy1-0/+3
used elsewhere, but have been expanding to the empty string. (memattr_h): Define; needed by target_h.
2001-05-012001-05-01 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+10
* Makefile.in: Add rules for thread-db.o, lin-lwp.o, proc-service.o.
2001-04-27(Changes from Daniel Berlin, with revisions by Jim Blandy.)Jim Blandy1-12/+24
Abstract out operations specific to particular C++ ABI's, and invoke them through a function table. This removes the C++ ABI dependencies scattered throughout the code, and allows us to cleanly add support for new C++ ABI's. * cp-abi.h, cp-abi.h, gnu-v2-abi.c, hpacc-abi.c: New files. * c-typeprint.c, c-valprint.c, dbxread.c, eval.c, gdbtypes.c, jv-typeprint.c, linespec.c, symtab.c, typeprint.c, valops.c: #include "cp-abi.h". These files all use functions now declared there. * symtab.h (OPNAME_PREFIX_P, VTBL_PREFIX_P, DESTRUCTOR_PREFIX_P): Deleted. These services are now provided by functions declared in cp-abi.h. * value.h (value_rtti_type, value_virtual_fn_field): Same. * values.c (value_virtual_fn_field): Same, for this definition. * valops.c (value_rtti_type): Same. * c-typeprint.c (c_type_print_base): Use the functions from "cp-abi.h", instead of the old macros, or hard-coded ABI-specific tests. * dbxread.c (record_minimal_symbol): Same. * gdbtypes.c (get_destructor_fn_field, virtual_base_index, virtual_base_index_skip_primaries): Same. * jv-typeprint.c (java_type_print_base): Same. * linespec.c (find_methods, decode_line_1): Same. * symtab.c (gdb_mangle_name): Same. * Makefile.in (SFILES): Add the new .c files mentioned above. (cp_abi_h): New variable. (COMMON_OBS): Add gnu-v2-abi.o, hpacc-abi.o, and cp-abi.o. (cp-abi.o, gnu-v2-abi.o, hpacc-abi.o): New targets. (c-typeprint.o, c-valprint.o, dbxread.o, eval.o, gdbtypes.o, jv-typeprint.o, symtab.o, linespec.o, typeprint.o, valops.o): Add dependency on $(cp_abi_h).
2001-04-17Obsolete NEWS and ISI systems (along with a few redundant m68k targets).Andrew Cagney1-4/+6
2001-04-11Obsolete sun386i.Andrew Cagney1-2/+2
2001-04-05Obsolete a29k-*-* host and a29k-*-sym1* and a29k-*-kern* targets.Andrew Cagney1-3/+2
2001-04-02Obsolete ns32k-*-mach3*, ns32k-umax-*, ns32k-utek-sysv* andAndrew Cagney1-4/+4
ns32k-utek-*.
2001-03-23Obsolete stuff.c and kdb-start.c.Andrew Cagney1-8/+0
2001-03-21 Unified support for hardware breakpoints and watchpoints onEli Zaretskii1-1/+3
x86 targets: * config/i386/nm-i386.h: New file. * config/i386/nm-i386.h: (i386_cleanup_dregs) (i386_insert_watchpoint, i386_remove_watchpoint) (i386_region_ok_for_watchpoint, i386_stopped_by_hwbp) (i386_stopped_data_address, i386_insert_hw_breakpoint) (i386_remove_hw_breakpoint): Declare prototypes. [I386_USE_GENERIC_WATCHPOINTS] (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Define if not already defined. (TARGET_REGION_OK_FOR_HW_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT) (STOPPED_BY_WATCHPOINT, target_stopped_data_address) (target_insert_watchpoint, target_remove_watchpoint) (target_insert_hw_breakpoint, target_remove_hw_breakpoint): Define to call the appropriate i386_* functions. * i386-nat.c: New file. * i386-nat.c (I386_DR_CONTROL_MASK, I386_DR_LOCAL_ENABLE) (I386_DR_GLOBAL_ENABLE, I386_DR_DISABLE, I386_DR_SET_RW_LEN) (I386_DR_GET_RW_LEN, I386_DR_WATCH_HIT): New macros. (dr_mirror, dr_status_mirror, dr_control_mirror, dr_ref_count) (maint_show_dr): New variables. (i386_cleanup_dregs, i386_show_dr, i386_length_and_rw_bits) (i386_insert_aligned_watchpoint, i386_remove_aligned_watchpoint) (i386_handle_nonaligned_watchpoint, i386_insert_watchpoint) (i386_remove_watchpoint, i386_region_ok_for_watchpoint) (i386_stopped_data_address, i386_stopped_by_hwbp) (i386_insert_hw_breakpoint, i386_remove_hw_breakpoint): New functions. (_initialize_i386_nat): New function. [I386_USE_GENERIC_WATCHPOINTS]: Add new maint command `show-debug-regs', sets maint_show_dr to non-zero value and activates debugging print-outs in functions which insert, remove, and test watchpoints and hardware breakpoints. * Makefile.in (i386-nat.o): New target. (ALLDEPFILES): Add i386-nat.o.
2001-03-20* Makefile.in: Clean up dependencies on ../include/demangle.h.Jim Blandy1-3/+4
(demangle_h): New variable. (jv-typeprint.o, jv-valprint.o, linespec.o): Use it.
2001-03-10Cleanup solib-svr4.c by moving legacy code out to its own file.Kevin Buettner1-1/+3
2001-03-09Delete make rules for obsolete files.Andrew Cagney1-18/+0
2001-03-07Remove local change that wasn't supposed to be committed.J.T. Conklin1-3/+0
2001-03-072001-03-06 J.T. Conklin <jtc@redback.com>J.T. Conklin1-1/+6
* symtab.h (decode_line_1): Removed declaration. * symfile.c (#include <assert.h>): Removed. * arch-utils.c (#include <ctype.h>): Removed. * c-typeprint.c: Likewise. * dbxread.c: Likewise. * gdbtypes.c: Likewise. * target.c: Likewise. * os9kread.c: Likewise. * c-valprint.c (#include "demangle.h"): Removed. * ch-typeprint.c: Likewise. * eval.c: Likewise. * f-typeprint.c: Likewise. * f-valprint.c: Likewise. * m2-typeprint.c: Likewise. * typeprint.c: Likewise. * p-typeprint.c: Likewise. * valarith.c: Likewise. * valprint.c: Likewise. * m2-typeprint.c (#include "gdb_string.h"): Removed. * nlmread.c: Likewise. * mdebugread.c (#include "gdb-stabs.h"): Removed. * minsyms.c: Likewise. * mipsread.c: Likewise. * nlmread.c: Likewise. * m2-typeprint.c (#include "obstack.h"): Removed. * m2-valprint.c: Likewise. * event-loop.c (#include <setjmp.h>): Removed.
2001-03-06Update/correct copyright notices.Kevin Buettner1-2/+2
2001-03-05* ocd.h (ocd_xfer_memory): Add ``attrib'' parameter.Andrew Cagney1-1/+3
* ocd.c (ocd_xfer_memory): Ditto. * ser-ocd.c (ocd_setstopbits): New function. Add to ocd_ops. * MAINTAINERS: Document powerpc-eabi and powerpcle-eabi as buildable with ,-Werror. * Makefile.in (symfile_h): Define. (mcore-tdep.o): Add $(symfile_h), $(gdbcore_h) and $(inferior_h). * mcore-tdep.c: Include "symfile.h", "gdbcore.h" and "inferior.h". * MAINTAINERS: Document mcore-elf and mcore-pe as buildable with ,-Werror. * dsrec.c (make_srec): Fix internal_error fmt arg. * MAINTAINERS: Document i960-coff as buildable with ,-Werror.
2001-03-01* Makefile.in (os9kread.o): Do not compile with WERROR_CFLAGS.Andrew Cagney1-3/+6
* os9kread.c (os9k_process_one_symbol): Add assert to detect ``loses if sizeof (char *) > sizeof (int)''.