aboutsummaryrefslogtreecommitdiff
path: root/gdb/Makefile.in
AgeCommit message (Collapse)AuthorFilesLines
2002-04-23* Makefile.in (vax-tdep.o): Add $(arch_utils_h), $(inferior_h),Jason Thorpe1-1/+2
and vax-tdep.h. * vax-tdep.h: New file. * vax-tdep.c: Include inferior.h, arch-utils.h, and vax-tdep.h. Make several routines static. (vax_get_saved_register): New function. (vax_gdbarch_init): New function. (_initialize_vax_tdep): Register vax_gdbarch_init. * config/vax/tm-vax.h: Set GDB_MULTI_ARCH to GDB_MULTI_ARCH_PARTIAL. Remove macros now under the control of gdbarch.
2002-04-222002-04-22 H.J. Lu (hjl@gnu.org)H.J. Lu1-0/+4
* Makefile.in (FLAGS_TO_PASS): Add libdir, mandir, datadir and includedir.
2002-04-22Revert Sparc OS abi changes.David S. Miller1-1/+1
2002-04-222002-04-20 David S. Miller <davem@redhat.com>David S. Miller1-1/+1
* sparc-tdep.h: New file. * sparc-tdep.c (elf-bfd.h): Include. (SPARC_HAS_FPU, FP_REGISTER_BYTES, FP_MAX_REGNUM, SPARC_INTREG_SIZE, DUMMY_REG_SAVE_OFFSET, gdbarch_tdep, CALL_DUMMY_CALL_OFFSET): Move out to sparc-tdep.h (sparc_dump_tdep): New function. (_initialize_sparc_tdep): Use gdbarch_register instead of register_gdbarch_init which is deprecated. (process_note_abi_tag_sections, sparc_abi_handler, sparc_abi_handler_list, sparc_gdbarch_register_os_abi): New. (sparc_gdbarch_init): Determine elf os ident key based upon either the elf header or by using process_note_abi_tag_sections. Fix 'gdbarch already exists' test by comparing os_ident as well. As the last action, invoke OS abi_handler if installed.
2002-04-21* Makefile.in (ALLDEPFILES): Add alphabsd-nat.c.Jason Thorpe1-2/+7
(alphabsd-nat.o): New dependency list.
2002-04-21* Makefile.in (ALLDEPFILES): Add alpha-linux-tdep.c andJason Thorpe1-3/+7
alphafbsd-tdep.c. (alpha-linux-tdep.o): New dependency list. (alphafbsd-tdep.o): Likewise.
2002-04-21* alpha-tdep.h: New file. Includes several Alpha target constantsJason Thorpe1-2/+2
taken from... * config/alpha/tm-alpha.h: ...here. Remove macros that we now let gdbarch deal with. (GDB_MULTI_ARCH): Define as GDB_MULTI_ARCH_PARTIAL. * Makefile.in (alpha-nat.o): Add alpha-tdep.h and $(BFD_SRC)/elf-bfd to dependency list. * alpha-nat.c: Include alpha-tdep.h. Update for adjusted Alpha target register names. * alphabsd-nat.c: Likewise. * alpha-tdep.c: Include alpha-tdep.h. Update for adjusted Alpha target register names. Make serveral routines static. (alpha_get_saved_register): New function. (alpha_abi_names): New. (process_note_abi_tag_sections): New function. (get_elfosabi): New function. (alpha_gdbarch_init): New function. (alpha_dump_tdep): New function. (_initialize_alpha_tdep): Register alpha_gdbarch_init.
2002-04-09* findvar.c: Include "builtin-regs.h".Andrew Cagney1-1/+10
(value_of_register): Call value_of_builtin_reg when applicable. * parse.c: Include "builtin-regs.h" and "gdb_assert.h". (target_map_name_to_register): Call builtin_reg_map_name_to_regnum. * Makefile.in (SFILES): Add builtin-regs.c and std-regs.c. (COMMON_OBS): Add builtin-regs.o and std-regs.o. (builtin_regs_h): Define. (builtin-regs.o): New target. (findvar.o): Add $(builtin_regs_h). * builtin-regs.c, builtin-regs.h: New files. * std-regs.c: New file. Partial fix for PR gdb/251.
2002-04-09* Makefile.in (gdbtk-wrapper.o): Add missing dependencies.Andrew Cagney1-1/+2
2002-03-292002-03-26 Michael Snyder <msnyder@redhat.com>Michael Snyder1-4/+11
Andrew Cagney <cagney@redhat.com> * cli/cli-dump.c: New file. Dump memory to file, restore file to memory. * cli/cli-dump.h: New file. * Makefile.in: Add rules, dependencies for cli-dump.o.
2002-03-272002-03-27 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-2/+4
* signals.c: Moved to... * signals/signals.c: Here. * Makefile (signals.o): Update.
2002-03-24* command.h: Update copyright.Andrew Cagney1-4/+6
(struct cmd_list_element): Replace definition with opaque declaration. (enum cmd_types): Document that it will eventually be moved to cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER): Delete macros. (MALLOCED_REPLACEMENT): Delete macro. * Makefile.in (cli_decode_h): Add $(command_h). (top.o, completer.o, maint.o): Add dependency on $(cli_decode_h). * top.c: Include "cli/cli-decode.h". * completer.c: Include "cli/cli-decode.h". * maint.c: Include "cli/cli-decode.h". * cli/cli-decode.h: Include "command.h". (enum command_class): Delete. (enum cmd_types): Comment out. (enum cmd_auto_boolean): Delete. (enum var_types): Delete.
2002-03-11gdb/:Daniel Jacobowitz1-1/+1
2002-03-10 Daniel Jacobowitz <drow@mvista.com> * Makefile.in (defs_h): Add $(INCLUDE_DIR)/gdb/signals.h. * defs.h: Include "gdb/signals.h". (enum target_signal): Move to $(INCLUDE_DIR)/gdb/signals.h. include/gdb: 2002-03-10 Daniel Jacobowitz <drow@mvista.com> * signals.h: New file, split from gdb/defs.h.
2002-02-25 * rs6000-nat.c (set_host_arch): Do not switch to a new architecturePeter Schauer1-1/+1
if it already matches the current architecture from the exec file. Include arch-utils.h for gdbarch_info_init prototype. * Makefile.in (rs6000-nat.o): Update dependencies.
2002-02-24* Makefile.in (linux-thread.o): Delete target.Andrew Cagney1-3/+0
* linux-thread.c: Delete file.
2002-02-23From 2002-02-19 Paul Eggert <eggert@twinsun.com>:Andrew Cagney1-1/+1
* Makefile.in (VER): Change "head -1" to "sed q", since POSIX 1003.1-2001 no longer allows "head -1". * gdb/Makefile.in (version.c): Likewise. * gdb/doc/Makefile.in (GDBvn.texi): Likewise. * gdb/CONTRIBUTE: Change "diff -c3" to "diff -c", which is equivalent. POSIX 1003.1-2001 no longer allows "diff -c3".
2002-02-21* Makefile.in (armnbsd-nat.o): Update dependencies.Richard Earnshaw1-1/+2
* armnbsd-nat.c (supply_gregset): New function. Common code to supply the integer register set. (supply_fparegset): New function. Similar for FPA registers. (fetch_regs, fetch_fp_regs): Use them. (fetch_core_registers): Likewise. (fetch_elfcore_registers): New function. (arm_netbsd_elfcore_fns): New core-file type specification. (_initialize_arm_netbsd_nat): Register it.
2002-02-15* arm-tdep.h (enum arm_abi): New enum.Richard Earnshaw1-2/+6
(struct gdbarch_tdep): New structure. (LOWEST_PC): Provide a default. (arm_gdbarch_register_os_abi): Declare new function. * arm-tdep.c (arm_abi_names): New array. (process_note_abi_tag_sections): New function. (get_elfosabi): New function. (arm_gdbarch_register_os_abi): New function. (arm_gdbarch_init): Try to determine the ABI of the inferior. If support for that ABI has been built in, then call the appropriate configuration routine. Use gdbarch_num_regs() to get the number of registers. (arm_dump_tdep): New function. (arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs): New place-holder functions. (_initialize_arm_tdep): Register them. * config/arm/tm-arm.h (LOWEST_PC): Delete. * armnbsd-tdep.c: New file. * Makefile.in (armnbsd-tdep.o): Add dependencies. * config/arm/nbsd.mt (TDEPFILES): Add it. * config/arm/tm-nbsd.h (LOWEST_PC): Delete. * armnbsd-nat.c: Include regcache.h. * Makefile.in (armnbsd-nat.o): Update dependency list. * arm-tdep.c (arm_get_next_pc): Use printf_filtered for error message.
2002-02-132002-02-13 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-1/+1
* linux-proc.c: Add include of regcache.h. * Makefile.in (linux-proc.o): Add dependency on regcache.h.
2002-02-12Hmm, this should have been commited along with:Richard Earnshaw1-7/+9
* arm-tdep.h: New file. * arm-tdep.c: Include arm-tdep.h. (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call) (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy) (arm_print_float_info, arm_register_type, convert_to_extended) (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special) (arm_extract_return_value, arm_register_name): Make static. (arm_software_single_step): Similarly. Fix types in declaration. (arm_register_byte, arm_register_raw_size, arm_register_virtual_size) (arm_store_return_value, arm_store_struct_return): New functions. (arm_gdbarch_init): Register the above functions. Also register call_dummy_start_offset, sizeof_call_dummy_words, function_start_offset, inner_than, decr_pc_after_break, fp_regnum, sp_regnum, pc_regnum, register_bytes, num_regs, max_register_raw_size, max_register_virtual_size, register_size. Set up prologue_cache.saved_regs here, rather than ... (_initialize_arm_tdep): ... here. * config/arm/tm-arm.h (struct type, struct value): Delete forward declarations. (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call) (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy) (arm_print_float_info, arm_register_type, convert_to_extended) (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special) (arm_extract_return_value, arm_register_name): Delete declarations. (SMASH_TEXT_ADDRESS, ADDR_BITS_REMOVE, FUNCTION_START_OFFSET) (SKIP_PROLOGUE, SAVED_PC_AFTER_CALL, INNER_THAN, BREAKPOINT_FROM_PC) (DECR_PC_AFTER_BREAK, PRINT_FLOAT_INFO, REGISTER_SIZE, NUM_REGS) (REGISTER_NAME, REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE) (REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE) (MAX_REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN) (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, CALL_DUMMY_WORDS) (SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_START_OFFSET, FIX_CALL_DUMMY) (SOFTWARE_SINGLE_STEP_P, SOFTWARE_SINGLE_STEP) (ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL) Delete. (arm_pc_is_thumb, arm_pc_is_thumb_dummy, thumb_get_next_pc) (arm_get_next_pc): No-longer static -- these are needed by the RDI interface. * arm-linux-nat.c arm-linux-tdep.c armnbsd-nat.c: Include arm-tdep.h. * remote-rdi.c remote-rdp.c: Likewise. * Makefile.in (arm-linux-nat.o, arm-linux-tdep.o arm-tdep.o) (armnbsd-nat.o, remote-rdi.o, remote_rdp.o): Update dependencies. * config/arm/tm-nbsd.h (SOFTWARE_SINGLE_STEP_P): Delete bogus definition. * arm-tdep.h (ARM_A1_REGNUM, ARM_A4_REGNUM, ARM_AP_REGNUM) (ARM_SP_REGNUM, ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_F0_REGNUM) (ARM_F3_REGNUM, ARM_F7_REGNUM, ARM_FPS_REGNUM, ARM_PS_REGNUM): Renamed from non-ARM_ prefixed definitions. * arm-tdep.c armnbsd-nat.c arm-linux-nat.c arm-linux-tdep.c: Update all uses of above. * remote-rdi.c remote-rdp.c: Likewise. * arm-linux-nat.c (ARM_CPSR_REGNUM): Renamed from CPSR_REGNUM.
2002-02-09* Makefile.in (SUBDIR_CLI_INITS): Set to SUBDIR_CLI_SRCS.Andrew Cagney1-2/+3
(SUBDIR_MI_INITS): Set to SUBDIR_MI_SRCS.
2002-02-03* Makefile.in (memattr.o): Add missing dependencies rule.Richard Earnshaw1-0/+3
2002-02-03 * breakpoint.c (break_at_finish_command): Really export.Peter Schauer1-3/+2
(break_at_finish_at_depth_command): Ditto. (tbreak_at_finish_command): Ditto. * hppa-tdep.c: Include completer.h. * Makefile.in (hppa-tdep.o): Add dependency on $(completer_h). (COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o.
2002-01-242002-01-23 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-18/+5
* Makefile.in (hpread_h): Delete. (HFILES_NO_SRCDIR): Remove hpread.h. (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c. (hpread.o): Update dependencies. (hp-psymtab-read.o, hp-symtab-read.o): Remove. * hp-psymtab-read.c: Remove file. * hp-symtab-read.c: Remove file. * hpread.h: Remove file. * hpread.c: Merge all contents of hp-psymtab-read.c, hp-symtab-read.c and hpread.h into this file, as it was prior to January 1999. * config/pa/hpux11w.mh, config/pa/hpux11.mh, config/pa/hpux1020.mh, config/pa/hppaosf.mh, config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES): Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o.
2002-01-202002-01-20 Jiri Smid <smid@suse.cz>Andreas Jaeger1-6/+7
* config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed. * x86-64-linux-nat.c (x86_64_register_u_addr): New function. * config/i386/nm-x86-64.h (ATTACH_LWP): Removed. * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o, x86-64-linux-nat.o): Fix dependencies.
2002-01-20Zap empty or unused xm-*.h files.Andrew Cagney1-1/+0
2002-01-18Remove XDEPFILES from GDB.Andrew Cagney1-1/+1
2002-01-102002-01-10 Michael Snyder <msnyder@redhat.com>Michael Snyder1-1/+7
* Makefile.in: Add rules for gcore.o and linux-proc.o. * gcore.c: Include cli/cli-decode.h instead of command.h.
2002-01-082002-01-07 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+2
* linux-proc.c: New file. Implement child_pid_to_exec_file, so that attaching to a pid will automatically read the process's symbol file and shlibs. * Makefile.in: Add rule for linux-proc.o. * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE. * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES. * config/arm/linux.mh: Ditto. * config/i386/linux.mh: Ditto. * config/i386/x86-64linux.mh: Ditto. * config/ia64/linux.mh: Ditto. * config/m68k/linux.mh: Ditto. * config/mips/linux.mh: Ditto. * config/powerpc/linux.mh: Ditto. * config/sparc/linux.mh: Ditto.
2002-01-06* MAINTAINERS: Mark a29k target as obsolete.Andrew Cagney1-13/+13
* Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o) (remote-mm.o, remote-udi.o): Obsolete. Remove references in comments. * NEWS: Note that a29k targets are obsolete. * a29k-tdep.c: Mark as obsolete. * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and a29k-*-vxworks* targets as obsolete. * remote-adapt.c: Obsolete. * remote-eb.c: Obsolete. * remote-mm.c: Obsolete. * remote-udi.c: Obsolete. * config/a29k/a29k-udi.mt: Obsolete. * config/a29k/a29k.mt: Obsolete. * config/a29k/tm-a29k.h: Obsolete. * config/a29k/tm-vx29k.h: Obsolete. * config/a29k/vx29k.mt: Obsolete.
2002-01-05Remove obsolete MacOS support.Andrew Cagney1-2/+0
2001-12-302001-12-29 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-1/+1
* Makefile.in (rs6000-tdep.o): Add dependency on parser-defs.h. * rs6000-tdep.c: Include parser-defs.h. (rs6000_register_virtual_type): Rewrite, including handling of AltiVec regs type. (altivec_register_p): New function. (rs6000_do_altivec_registers): New function. (rs6000_altivec_registers_info): New function. (rs6000_do_registers_info): New function. (R16): Define. (PPC_ALTIVEC_REGS): Define. (registers_powerpc): Add AltiVec registers. (registers_7400): Define. (variants): Add 7400 machine. (rs6000_gdbarch_init): Set the numbers of AltiVec registers. Initialize gdbarch_do)_registers_info. (rs6000_info_power_command): New function. (info_power_cmdlist): New static variable. (_initialize_rs6000_tdep): Add new 'info powerpc altivec' command. * ppc-tdep.h (struct gdbarch_tdep): Add altivec regnum fields. (altivec_register_p): Export.
2001-12-19* Makefile.in (c-exp.tab.o): Delete duplicate build rule. FixJim Blandy1-7/+3
dependency list on remaining build rule.
2001-12-172001-12-17 Ben Harris <bjh21@netbsd.org>Ben Harris1-2/+2
* armbsd-nat.c: Remove file, renamed to armnbsd-nat.c. * armnbsd-nat.c: New file, renamed from armbsd-nat.c. * Makefile.in: Rename armbsd-nat.c to armnbsd-nat.c. * config/arm/nbsd.mh: Likewise.
2001-12-172001-12-17 Fernando Nasser <fnasser@redhat.com>Fernando Nasser1-1/+3
From Richard Earnshaw <rearnsha@arm.com>: * config/arm/nbsd.mh, config/arm/nbsd.mt, config/arm/tm-nbsd.h, config/arm/nm-nbsd.h, config/arm/xm-nbsd.h: New files. * armbsd-nat.c: New file. * Makefile.in: Build it. * configure.host, configure.tgt: Support NetBSD/arm.
2001-12-13 * Makefile.in: Add support for xstormy16.Corinna Vinschen1-1/+6
* configure.tgt: Ditto. * xstormy16-tdep.c: New file. * config/xstormy16/xstormy16.mt: New file.
2001-12-12* Makefile.in (c-exp.tab.o): Add missing dependencies.Jim Blandy1-1/+4
2001-12-12* Makefile.in (c_lang_h): New variable. Use it in dependencyJim Blandy1-9/+10
lists, instead of `c-lang.h' itself.
2001-12-08 * Makefile.in (cp-valprint.o): Add dependency on $(cp_abi_h).Daniel Jacobowitz1-1/+1
2001-12-07* dwarf2cfi.c: New file.Jiri Smid1-0/+4
* dwarf2cfi.h: New file. * dwarf2read.c (dwarf_frame_offset, dwarf_frame_size): New variables. (dwarf_eh_frame_offset, dwarf_eh_frame_size): New variables. (dwarf2_read_section): Change to non static. (dwarf2_locate_sections): Add .debug_frame and .eh_frame section recognition. (FRAME_SECTION, EH_FRAME_SECTION): New define. * elfread.c (elf_symfile_read): Add call of frame informations build. * frame.h (frame_info): Add pointer to unwind_context. * symfile.h (dwarf2_build_frame_info): Add declaration. * gdbarch.sh (DWARF2_BUILD_FRAME_INFO): Add. * gdbarch.h, gdbarch.c: Regenerate. * Makefile.in: Add dwarf2cfi_h, dwarf2cfi.o * x86-64-tdep.c (i386_gdbarch_init): Initialize target vector to use debug frame info.
2001-12-01Zap sony news (m68k) and ISI (m68k) targets.Andrew Cagney1-8/+1
2001-12-01Zap Sun's i386i.Andrew Cagney1-2/+0
2001-12-01Zap all but ns32k-netbsd NS32k targets and hosts.Andrew Cagney1-8/+0
2001-12-01Zap a29k.Andrew Cagney1-2/+0
2001-12-01Delete tic80 target.Andrew Cagney1-2/+0
2001-11-302001-11-29 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-1/+1
* Makefile.in (ppc-linux-nat.o): Add dependency on ppc-tdep.h. * ppc-tdep.h (PPC_GPLAST_REGNUM): Define. * ppc-linux-nat.c: Include ppc-tdep.h. (ppc_register_u_addr): Don't use the static array regmap[], dynamically define the mapping instead. (supply_gregset): Ditto. (fill_gregset): Ditto. (COPY_REG): Delete macro defintion. (regmap): Delete array.
2001-11-18Zap files in gdb/gdbserver/Andrew Cagney1-0/+5
2001-11-17 * Makefile.in: Add mips-linux-nat.c, mips-linux-tdep.c,Daniel Jacobowitz1-1/+10
and sparc-linux-nat.c to ALLDEPFILES. Add dependencies. * config/sparc/linux.mh: Add sparc-linux-nat.o to NATDEPFILES. * sparc-linux-nat.c: New file, from Mark Kettenis.
2001-11-162001-11-16 Ben Harris <bjh21@netbsd.org>Ben Harris1-3/+5
* Makefile.in (os9kread.o): Replace $< with autoconf-approved $(srcdir)/.... (procfs.o): Ditto. (z8k-tdep.o): Ditto.
2001-11-142001-11-14 Michael Snyder <msnyder@redhat.com>Michael Snyder1-1/+1
* Makefile.in (doublest.o): Add dependency on gdbtypes.h.