aboutsummaryrefslogtreecommitdiff
path: root/gdb/Makefile.in
AgeCommit message (Collapse)AuthorFilesLines
2000-07-31Make GNU/Linux/PPC work again.Kevin Buettner1-2/+2
2000-07-102000-07-07 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-7/+8
* findvar.c (_initialize_findvar, build_findvar, write_fp, read_fp, generic_target_write_fp, generic_target_read_fp, write_sp, read_sp, generic_target_write_sp, generic_target_read_sp, write_pc, read_pc, generic_target_write_pc, generic_target_read_pc, write_pc_pid, read_pc_pid, supply_register, write_register_pid, write_register, read_register_pid, read_register, write_register_bytes, read_register_bytes, write_register_gen, read_register_gen, registers_fetched, registers_changed, find_saved_register, read_relative_register_raw_bytes, default_get_saved_register, read_relative_register_raw_bytes_for_frame, get_saved_register): Move from this file into new file regcache.c. (register_valid, registers_pid, registers): Ditto. * regcache.c: New file to hold the register cache. (register_cached): New function to read register_valid array. * value.h (register_cached): Declare. * defs.h (default_get_saved_register): Delete decl of static function. * Makefile.in: Add regcache module.
2000-07-05Pass infodir down to sub-makes.Andrew Cagney1-0/+1
2000-07-01Restore setting of SER_HARDWIRE. Lost during rs6000 merge.Andrew Cagney1-3/+3
2000-06-16 * rs6000-tdep.c: Changes throughout for multi-arch 64-bitNicholas Duffek1-2/+2
support. Incorporate most of tm-rs6000.h. (find_toc_address_hook): Rename to rs6000_find_toc_address_hook. (rs6000_set_host_arch_hook): Declare. (read_memory_addr): Define. (pop_frame): Rename to rs6000_pop_frame. (rs6000_pop_frame, rs6000_fix_call_dummy, rs6000_push_arguments, rs6000_frame_saved_pc, rs6000_frame_chain): Remove non-generic dummy frame handling. (branch_dest, rs6000_pop_frame, rs6000_skip_trampoline_code, rs6000_frame_saved_pc, frame_get_saved_regs, frame_initial_stack_address, rs6000_frame_chain, rs6000_convert_from_func_ptr_addr): Call read_memory_addr instead of read_memory_integer. (branch_dest, rs6000_pop_frame, rs6000_push_arguments, rs6000_skip_trampoline_code, rs6000_frame_saved_pc, frame_get_saved_regs, frame_initial_stack_address, rs6000_frame_chain): Replace 4 with TDEP->wordsize. (skip_prologue): Recognize some 64-bit stack adjustments. (push_dummy_frame, pop_dummy_frame, set_processor, show_processor): Delete. (frame_get_saved_regs): Manipulate saved register addresses using CORE_ADDR instead of int. (rs6000_create_inferior): New function. (register_names_*[]): Change to struct reg registers_*[]. (variants[]): Assimilate into multi-arch approach. (register_names_*[], variants[]): Refer to pre-PowerPC architectures as POWER instead of RS6000. * rs6000-nat.c: Ubiquitous changes for 64-bit support. (vmap_secs, xcoff_relocate_symtab): Cast addresses to unsigned long to avoid sign-extension errors. (set_host_arch): New function. (xcoff_relocate_symtab): Try disabling usleep(36000) workaround. (rs6000_core_fns): Use new bfd_target_xcoff_flavour. (_initialize_core_rs6000): Initialize rs6000_set_host_arch_hook. * symfile.c (find_sym_fns): Remove special xcoff kludge. * xcoffread.c (secnum_to_bfd_section): Initialize args.objfile. (process_linenos): Query line struct size from coff backend instead of using compile-time constant. (enter_line_range): Likewise. (read_xcoff_symtab): Pass "XCOFF64" instead of "XCOFF" to record_debugformat() if appropriate. (process_xcoff_symbol): Access symbol addresses using SYMBOL_VALUE_ADDRESS instead of SYMBOL_VALUE. (read_symbol_lineno): Retrieve XCOFF64 symbol names from strtbl. (scan_xcoff_symtab): Likewise. Query syment struct size from coff backend instead of using compile-time constant. (xcoff_sym_fns): Set flavour to bfd_target_xcoff_flavour. * Makefile.in (INTERNAL_LDFLAGS): Add $(MH_LDFLAGS) to list of flags that this Makefile variable get set to. (From Kevin Buettner.) * config/powerpc/aix.mh (MH_LDFLAGS): Add linker flags so that the TOC doesn't overflow. (From Kevin Buettner.) * config/powerpc/tm-ppc-aix.h: Move config decisions to multi-arched rs6000-tdep.c. * config/rs6000/tm-rs6000.h: Likewise. (GDB_MULTI_ARCH): Define. (skip_trampoline_code): Rename to rs6000_skip_trampoline_code. (is_magic_function_pointer): Replace with rs6000_convert_from_func_ptr_addr. (TARGET_CREATE_INFERIOR_HOOK): Define. (find_toc_address_hook): Rename to rs6000_find_toc_address_hook. (rs6000_set_host_arch_hook): Declare. * config/rs6000/nm-rs6000.h (CHILD_XFER_MEMORY): Define.
2000-06-12Set SER_HARDWIRE using autoconf instead of via XDEPFILES. IncludeAndrew Cagney1-1/+1
ser-tcp.o by default.
2000-06-07The attatched moves the remaining guff from gdbarch.{h,c,sh} toAndrew Cagney1-3/+7
arch-utils.{h,c}. The ``set architecutre'' and ``set endian'' commands (part of the move) were implemented to use add_set_enum_cmd() so that ``set architecture <tab>'' works.
2000-05-25Have TUI use the same configury mechanism as MI.Andrew Cagney1-21/+93
2000-05-23From branch. Bump VERSION number.Andrew Cagney1-1/+1
2000-05-15 * Makefile.in (gdbtypes.o, varobj.o): Depend on wrapper.h.Eli Zaretskii1-2/+2
* wrapper.h (gdb_value_subscript, wrap_value_subscript): Add prototypes.
2000-05-102000-05-10 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder1-1/+2
Make Sparc a Multi-Arch target. Discard PARAMS macro (require ANSI). * sparc-tdep.c: include arch-utils.h. (SPARC_HAS_FPU, FP_REGISTER_BYTES, FP_MAX_REG NUM, SPARC_INTREG_SIZE, DUMMY_REG_SAVE_OFFSET): provide multi-arch-compatible definitions. (GDB_TARGET_IS_SPARC64): make into a runtime test. (struct frame_extra_info): Define, use instead of the macro. (Many places): Use alloca instead of statically allocated buffers that depend on a multi-arch variable such as MAX_REGISTER_RAW_SIZE. (sparc_extract_struct_value_address): Accept a pointer arg instead of an array sized by REGISTER_BYTES. (examine_prologue): Accept a pointer to an array of CORE_ADDR, instead of the defunct struct frame_saved_regs. Recognize new Sparc64 store instructions as part of the prologue. Ignore the destination of a frame store when parsing the prologue (so long as it's on the stack). (sparc_push_dummy_frame): Fix incorrect buffer offset for PSTATE. (sparc_frame_find_saved_regs): Accept a ptr to an array of CORE_ADDR instead of the defunct struct frame_saved_regs. (supply_gregset): Discard unnecessary 'zerobuf': just send NULL to supply_register. Provide 4-byte offset to compensate for diff between size of the prgreg_t elements on a 64-bit host and size of the registers for a 32-bit target. Fill all inaccessible regs with zero so they won't keep being requested again and again. (fill_gregset): Handle 32/64 size difference between registers and prgreg_t. Handle as many new 64-bit regs as possible. (supply_fpregset, fill_fpregset): Attempt to handle 64-bit world. (sparc_push_arguments): Rename to sparc32_push_arguments. Copy arguments into registers as well as onto stack, so that the CALL_DUMMY (code pushed onto the target stack) is not required. (sparc_extract_return_value): Rename to sparc32_extract_return_value. (sparc_store_return_value): Use memset instead of bzero. Use write_register_gen instead of write_register_bytes. (sparclet_store_return_value): New function. (_initialize_sparc_tdep): Call register_gdbarch_init to activate the gdbarch multi-architecture system. (sp64_push_arguments): Rename to sparc64_push_arguments. Extend to store arguments in general registers as well as on stack. (sparc64_extract_return_value): Rename to sp64_extract_return_value. Use as a private function, to be called by the new external function sparc64_extract_return_value. (sparclet_extract_return_value): New function. (sparc32_stack_align, sparc64_stack_align, sparc32_register_name, sparc64_register_name, sparc_print_extra_frame_info, sparclite_register_name, sparclet_register_name, sparc_push_return_address, sparc64_use_struct_convention, sparc32_store_struct_return, sparc64_store_struct_return, sparc32_register_virtual_type, sparc64_register_virtual_type, sparc32_register_size, sparc64_register_size, sparc32_register_byte, sparc64_register_byte, sparc_gdbarch_skip_prologue, sparc_convert_to_virtual, sparc_convert_to_raw, sparc_frame_init_saved_regs, sparc_frame_address, sparc_gdbarch_fix_call_dummy, sparc_coerce_float_to_double, sparc_call_dummy_address, sparc_y_regnum, sparc_reg_struct_has_addr, sparc_intreg_size, sparc_return_value_on_stack): New functions supporting multi-arch. (sparc_gdbarch_init): New function; initialize multi-arch. (struct gdbarch_tdep): Define, use for private multi-arch data. * config/sparc/tm-sparc.h: Move definitions around, enclose with #ifdef GDB_MULTI_ARCH tests, provide some multi-arch alternate definitions. Add enums for register names, to help debugging gdb. This header file must work for non-multi-arch and for multi-arch. * config/sparc/tm-sp64.h: Add GDB_MULTI_ARCH configuration. Also add AT_ENTRY_POINT definitions for CALL_DUMMY, for non-multi-arch case. Define GDB_MULTI_ARCH. * config/sparc/tm-sparclet.h: Add GDB_MULTI_ARCH configuration. Do not define GDB_MULTI_ARCH (bfd does not correctly identify target). * config/sparc/tm-sparclite.h: Ditto. * config/sparc/tm-sun4sol2.h: Define GDB_MULTI_ARCH. * sparclet-rom.c (sparclet_regnames): Initialize explicitly, to avoid using deprecated REGISTER_NAMES macro. * Makefile.in: Let sparc-tdep.c depend on arch-utils.h.
2000-05-01 Remove obsolete Gould configuration:Stan Shebs1-6/+1
* configure.host, configure.tgt: Remove Gould configs. * Makefile.in: Remove Gould-related actions. * gould-xdep.c, gould-tdep.c, config/gould/*: Remove files. * NEWS: Mention removal.
2000-04-26Add arch-utils.h to IA-64 *-tdep.c files.Kevin Buettner1-2/+4
2000-04-13Only re-generate copying.c when maintainer mode.Andrew Cagney1-13/+8
2000-04-11Cleanup USE_INCLUDED_REGEX. Move -D to acconfig.h.Andrew Cagney1-3/+2
2000-04-09Rename gdbarch-utils.[hc] to arch-utils.[hc]Andrew Cagney1-6/+6
2000-04-08* dwarf2read.c: Revert Andrew Cagney's change of Dec 15, 1997.Jim Blandy1-2/+1
Don't include "bfd-elf.h". (address_significant_size): Delete variable. (dwarf2_build_psymtabs_hard): Don't set it, or check for consistency between it and the Dwarf 2 compilation unit header address size. (read_address): Don't mask off bits above address_significant_size. * Makefile.in (dwarf2read.o): Don't depend on $(elf_bfd_h). (elf_bfd_h): Remove variable; it's no longer used.
2000-04-072000-04-05 Scott Bambrough <scottb@netwinder.org>Scott Bambrough1-2/+5
* Makefile.in: Add dependency information for arm-linux-tdep.c. * config/djgpp/fnchange.lst: Add arm-linux-tdep.c, arm-linux-nat.c.
2000-04-07When GCC always enable certain warnings.Andrew Cagney1-1/+1
Allow configure to set CFLAGS (-g -O2) when GCC.
2000-04-042000-04-03 H.J. Lu <hjl@gnu.org>H.J. Lu1-7/+8
* gdb_regex.h: New. Include "regex.h" if USE_INCLUDED_REGEX is defined and <regex.h> otherwise. * irix5-nat.c: Include "gdb_regex.h" instead of "gnu-regex.h". * monitor.c: Likewise. * osfsolib.c: Likewise. * solib.c: Likewise. * source.c: Likewise. * symtab.c: Likewise. * Makefile.in (REGEX): Changed to @REGEX@. (REGEX_CFLAGS): New. (REGEX1): Removed. (ADD_DEPS): Use $(REGEX) instead of $(REGEX1). (INTERNAL_WARN_CFLAGS): Add $(REGEX_CFLAGS). * configure.in (--with-included-regex): New switch. (REGEX): New. Subsstitue @REGEX@ in Makefile.in. (REGEX_CFLAGS): New. Subsstitue @REGEX_CFLAGS@ in Makefile.in. * configure: Regenerated.
2000-04-03IA-64 changesKevin Buettner1-0/+7
2000-04-03 * Makefile.in (copying.c): Depend on copying.txt, not COPYING.Eli Zaretskii1-2/+12
(copying.txt): New target, a link to COPYING.
2000-04-03* gdbarch-utils.h, gdbarch-utils.c: New files.Andrew Cagney1-2/+7
* Makefile.in (SFILES, COMMON_OBS): Update. (gdbarch_utils_h) Define. (gdbarch-utils.o): Add dependencies. * gdbarch.c, gdbarch.sh: Include "gdbarch-utils.h". Fix code handling default method values. (startup_gdbarch): Rename default_gdbarch, name misleading. (breakpoint_from_pc): Default to legacy_breakpoint_from_pc. (register_name): Default to legacy_register_name. (call_dummy_words): Default to legacy_call_dummy_words. (sizeof_call_dummy_words): Default to legacy_sizeof_call_dummy_words. (register_convertible): Default to generic_register_convertible_not. (breakpoint_from_pc): Default to legacy_breakpoint_from_pc. (remote_translate_xfer_address): Default to generic_remote_translate_xfer_address. (frameless_function_invocation): Default to generic_frameless_function_invocation_not.
2000-03-282000-03-28 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-1/+1
* Makefile.in: anchor tui-file.h dependency to $srcdir.
2000-03-27Create destdirs before installing GDB (don't assume parent directoryAndrew Cagney1-0/+2
did it for us).
2000-03-27Re-fix ln -s gdbtk code. Mark ready for deletion post 5.0.Andrew Cagney1-8/+16
2000-03-20* i386-linux-nat.c: No need to #include "frame.h" any more.Jim Blandy1-1/+5
(LINUX_SIGTRAMP_INSN0, LINUX_SIGTRAMP_OFFSET0, LINUX_SIGTRAMP_INSN1, LINUX_SIGTRAMP_OFFSET1, LINUX_SIGTRAMP_INSN2, LINUX_SIGTRAMP_OFFSET2, linux_sigtramp_code, LINUX_SIGTRAMP_LEN, i386_linux_sigtramp_start, LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0, LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1, linux_rt_sigtramp_code, LINUX_RT_SIGTRAMP_LEN, i386_linux_rt_sigtramp_start, i386_linux_in_sigtramp, i386_linux_sigcontext_addr, LINUX_SIGCONTEXT_PC_OFFSET, i386_linux_sigtramp_saved_pc, LINUX_SIGCONTEXT_SP_OFFSET, i386_linux_sigtramp_saved_sp): Deleted. Folks rightly pointed out that these are target-dependent, and useful in non-native configurations. Moved to... * i386-linux-tdep.c: ... Here, a new file. * Makefile.in (ALLDEPFILES): Add i386-linux-tdep.c. (i386-linux-tdep.o): New rule. (i386-linux-nat.o): We no longer depend on frame.h. * config/i386/linux.mt (TDEPFILES): Add i386-linux-tdep.o.
2000-03-16(go32-nat.o): Add prerequisites.Eli Zaretskii1-1/+4
(ALLDEPFILES): Add go32-nat.c.
2000-03-04* Makefile.in (all-gdbtk): Fix $srcdir to ${srcdir}.Alexandre Oliva1-3/+3
2000-03-03Move GDBtk's ``ln -s ... gdbtcl'' code out of configure.Andrew Cagney1-2/+23
Add CONFIG_CLEAN, CONFIG_ALL to configured targets. Add all-gdbtk, clean-gdbtk.
2000-03-03Only configure GDBtk when it is present.Andrew Cagney1-1/+0
2000-02-262000-02-26 Mark Kettenis <kettenis@gnu.org>Mark Kettenis1-0/+1
Make cross-compilation for the Hurd more friendly. From Jeff Bailey <jbailey@gnu.org>: * configure.in: Use AC_CHECK_TOOL to find MiG. * Makefile.in (MIG): New variable. * config/i386/i386gnu.mh (MIG): Remove. * configure: Regenerated.
2000-02-24Only install GDBtk files when GDBtk is being built.Andrew Cagney1-14/+22
2000-02-23Add mi/ and testsuite/gdb.mi/ subdirectories.Andrew Cagney1-6/+71
Add --enable-gdbmi option to configury. Add mi rules to Makefile.in Add mi conditional output to event-top.c infrun.c main.c top.c. Add -i=mi option.
2000-02-22Changes for GNU/Linux PPC native port.Kevin Buettner1-0/+7
2000-02-162000-02-16 Fernando Nasser <fnasser@totem.to.cygnus.com>Fernando Nasser1-7/+0
* configure.in: Replaces obsolete gdbtk-variable.c with gdbtk-varobj.c. * configure: Regenerate. * Makefile.in: Remove obsolete/extraneous references to gdbtk-var* files.
2000-02-162000-02-15 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda1-1/+1
* Makefile.in (diststuff): Run 'diststuff' in doc/ subdir, not 'do-doc'.
2000-02-09Replace ../include/wait.h with gdb_wait.h.Andrew Cagney1-42/+41
2000-02-082000-02-08 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni1-0/+7
* configure.in: Remove the addition of sol-thread.c to the CONFIG_INITS list. This caused problems with init.c, because sol-thread.c would be grepped twice for _initialize_* functions. * configure: Ditto. * Makefile.in: Add FIXME for init.c.
2000-02-07import insight-2000-02-04 snapshot (2nd try)Jason Molenda1-0/+111
2000-02-05import gdb-2000-02-04 snapshotJason Molenda1-2/+2
2000-02-03import gdb-2000-02-02 snapshotJason Molenda1-1/+14
2000-02-02import gdb-2000-02-01 snapshotJason Molenda1-6/+6
2000-02-01import gdb-2000-01-31 snapshotJason Molenda1-5/+12
2000-01-26import gdb-2000-01-26 snapshotJason Molenda1-1/+1
2000-01-25import gdb-2000-01-24 snapshotJason Molenda1-6/+6
2000-01-18import gdb-2000-01-17 snapshotJason Molenda1-1/+1
2000-01-11import gdb-2000-01-10 snapshotJason Molenda1-1/+1
2000-01-06import gdb-2000-01-05 snapshotJason Molenda1-1/+9
1999-12-22import gdb-1999-12-21 snapshotJason Molenda1-3/+6