aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
AgeCommit message (Collapse)AuthorFilesLines
2000-08-04Multi-arch EXTRA_STACK_ALIGNMENT_NEEDED (nee NO_EXTRA_ALIGNMENT_NEEDED).Andrew Cagney1-1/+1
2000-08-02Thu Jul 27 17:38:35 2000 Andrew Cagney <cagney@b1.cygnus.com>Andrew Cagney1-2/+0
* configure.in (targetfile): Ignore TM_FILE, don't just issue warning. (tm_h, xm_h, nm_h, GDB_TM_FILE, GDB_XM_FILE, GDB_NM_FILE): Define. * acconfig.h (GDB_XM_FILE, GDB_TM_FILE, GDB_NM_FILE): Add. * config/nm-empty.h: Delete. * defs.h (xm.h, nm.h, tm.h): Only include when GDB_XM_FILE, GDB_NM_FILE or GDB_TM_FILE defined. * Makefile.in (defs_h): Replace tm.h, xm.h and nm.h with tm_h, xm_h and nm_h macro that are defined by configure. (tm_h, xm_h, tm_h): New. * configure, config.in: Regenerate * TODO: Update.
2000-08-02Multi-arch REGISTER_SIM_REGNO. Update d10v.Andrew Cagney1-4/+1
2000-07-31Make GNU/Linux/PPC work again.Kevin Buettner15-52/+16
2000-07-31 * config/djgpp/fnchange.lst: Add file mappings as per last weeklyEli Zaretskii1-0/+202
snapshot.
2000-07-27From 2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>:Andrew Cagney1-0/+6
* configure.tgt: Recognize the 68hc11. * m68hc11-tdep.c: New file for 68hc11 target. * config/m68hc11/m68hc11.mt: New file for 68hc11 port. * configure.tgt: When 68hc11, set gdb_multi_arch.
2000-07-272000-07-26 Jimmy Guo <guo@cup.hp.com>Michael Snyder3-0/+0
* config/convex/tm-convex.h: Remove stray control characters. * config/m68k/tm-altos.h: Ditto. * config/tahoe/tm-tahoe.h: Ditto.
2000-07-262000-07-26 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni1-12/+12
* sh-tdep.c (sh_sh4_register_name, sh_sh4_register_byte, sh_sh4_register_raw_size, sh_sh4_register_virtual_type, sh_fetch_pseudo_register, sh_store_pseudo_register, sh_do_pseudo_register, sh_gdbarch_init): Fix names for pseudoregs, they should be numbered as drx fvy where x and y are multiples of 2 and 4 respectively. * config/sh/tm-sh.h: Fix names of pseudo regs.
2000-07-242000-07-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni1-1/+19
* config/sh/tm-sh.h (struct gdbarch_tdep): Add sh4 specific pseudo registers. (DO_REGISTERS_INFO): Define. * sh-tdep.c (sh_sh4_register_name): New function. (sh_generic_show_regs, sh3_show_regs, sh3e_show_regs, sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs): Update signature. (sh_show_regs_command): New function. Actual function called by the 'regs' command. (sh_register_byte): Rename to... (sh_default_register_byte): ...New function. (sh_sh4_register_byte): New function. (sh_register_raw_size): Rename to... (sh_default_register_raw_size): ...New function. (sh_sh4_register_raw_size): New function. (sh_sh4_register_virtual_type): New function. (sh_sh4_build_float_register_type): New function. (sh_fetch_pseudo_register, sh_store_pseudo_register): New functions. (fv_reg_base_num, dr_reg_base_num): New functions. (do_fv_register_info, do_dr_register_info, sh_do_pseudo_register, sh_do_fp_register, sh_do_register, sh_print_register, sh_do_registers_info): New functions. (sh_gdbarch_init): Initialize sh4 pseudo registers to -1. Update architecture specific parts. (_initialize_sh_tdep): Use sh_show_regs_command for 'regs' command.
2000-07-212000-07-21 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-3/+4
* config/i386/tm-i386.h: treat PC and FP as unsigned. (SAVED_PC_AFTER_CALL): Use read_memory_unsigned_integer. (FRAME_SAVED_PC): Ditto. (FRAME_CHAIN): Ditto.
2000-07-192000-07-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-272/+56
Multiarch the sh target. * sh-tdep.c: (sh_generic_reg_names, sh_reg_names,sh3_reg_names, sh3e_reg_names, sh_dsp_reg_names, sh3_dsp_reg_names, sh_processor_type_table): Remove. (XMALLOC): Define. (struct frame_extra_info): Define. (sh_register_raw_size, sh_register_virtual_size, sh_register_virtual_type, sh_register_byte, sh_breakpoint_from_pc, sh_frame_saved_pc, sh_skip_prologue, sh_nofp_frame_init_saved_regs, sh_fp_frame_init_saved_regs, sh_extract_struct_value_address, sh_use_struct_convention, sh_store_struct_return, sh_push_arguments, sh_push_return_address, sh_saved_pc_after_call, sh_generic_register_name, sh_sh_register_name, sh_sh3_register_name, sh_sh3e_register_name, sh_sh_dsp_register_name, sh_sh3_dsp_register_name, sh_frame_args_address, sh_frame_locals_address, sh_coerce_float_to_double, sh_default_store_return_value, sh3e_sh4_store_return_value, sh_generic_show_regs, sh3_show_regs,sh3e_show_regs, sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs, sh_register_byte, sh_register_raw_size, sh_register_virtual_size, sh_sh3e_register_virtual_type, sh_default_register_virtual_type, sh_gdbarch_init): New functions. (sh_target_architecture_hook, sh_frame_find_saved_regs, sh_show_regs): Delete functions. (sh_frame_chain, sh_find_callers_reg, sh_init_extra_frame_info, sh_pop_frame, sh_extract_return_value): Update * config/sh/tm-sh.h (GDB_MULTI_ARCH): Define to 1. (struct gdbarch_tdep): Define. Remove all unnecessary defines. * remote-e7000.c ({PR,GBR,SR,MACL,VBR,MACH}_REGNUM): Define to -1, for h8300 case. (want_sh,want_nopc_sh,want_nopc_sh3): Make nomenclature consistent. (e7000_fetch_registers): Remove ifdef GDB_TARGET_IS_SH, use runtime check instead. (e7000_wait): Ditto. * sh3-rom.c (sh3_supply_register): Use gdbarch_tdep to get the SSR and SPC register numbers. (sh3_regnames, sh3e_regnames): Don't specify a size. * config/h8300/tm-h8300.h: Add comment.
2000-07-172000-07-17 matthew green <mrg@redhat.com>J.T. Conklin1-0/+3
* config/sparc/nm-nbsd.h (GDB_GREGSET_T, GDB_FPREGSET_T): Define.
2000-07-14 * ppcbug-rom.c (ppcbug_regnames[]): Make array size implicit.Nicholas Duffek2-34/+3
* rs6000-tdep.c (DEFAULT_LR_SAVE): Move to config/*/tm-*.h. (rs6000_gdbarch_init): Use generic_pc_in_call_dummy instead of rs6000_pc_in_call_dummy. * config/rs6000/tm-rs6000.h (DEFAULT_LR_SAVE): Move here from rs6000-tdep.c. * config/powerpc/tm-ppc-eabi.h: Remove various definitions handled by multi-arched rs6000-tdep.c.
2000-07-14Fix definition of SKIP_PROLOGUE macro.Nick Clifton1-1/+1
2000-07-102000-07-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni1-4/+3
* config/sh/tm-sh.h (STORE_RETURN_VALUE): Redefine as sh_store_return_value(). * sh-tdep.c (sh_store_return_value): New function. Store the value returned by a function into the appropriate register. 2000-07-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * sh-tdep.c (sh_skip_prologue): Before looking at the actual instructions, try to see if the symbol table can be of help, by calling after_prologue(). If this doesn't work, call skip_prologue_hard_way(). (skip_prologue_hard_way): Renamed from sh_skip_prologue. Add some more instruction pattern matching for pushing of arguments, and manipulation of r14. (after_prologue): New function. Use symbol table info to determine the end of the prologue, if possible.
2000-07-07More mult-arch conversions: IEEE_FLOAT, SKIP_PROLOGUE,Andrew Cagney1-36/+0
SAVED_PC_AFTER_CALL, DECR_PC_AFTER_BREAK, BREAKPOINT_FROM_PC, INNER_THAN.
2000-07-07* config/i386/tm-linux.h: Add longjmp support.Mark Kettenis1-0/+17
(JB_ELEMENT_SIZE, JB_PC): New defines. (GET_LONGJMP_TARGET): Define. (get_longjmp_target): Add prototype.
2000-07-05Keep NATDEPFILES on a single line.Andrew Cagney1-2/+2
2000-06-16 * rs6000-tdep.c: Changes throughout for multi-arch 64-bitNicholas Duffek4-462/+24
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-12ser-tcp.o moved to configure.in.Andrew Cagney1-1/+1
2000-06-12Set SER_HARDWIRE using autoconf instead of via XDEPFILES. IncludeAndrew Cagney36-36/+35
ser-tcp.o by default.
2000-06-12Multi-arch GDB_TARGET_IS_MIPS64.Andrew Cagney2-7/+1
2000-06-12* config/i386/tm-i386.h: Add forward declaration of `struct value'.Mark Kettenis1-13/+8
(FIX_CALL_DUMMY): Redefined to call i386_fix_call_dummy. (i386_fix_call_dummy): Add prototype. * i386-tdep.c (i386_fix_call_dummy): New function based on the code from the old FIX_CALL_DUMMY macro.
2000-06-092000-06-08 Fernando Nasser <fnasser@cygnus.com>Fernando Nasser2-1/+27
* config/i386/tm-embed.h: New file. Specific for embedded targets like i386-elf, i386-coff and i386-aout. * config/i386/embed.mt (): Specify tm-embed.h instead of the System V header file.
2000-06-09Define U_REGS_OFFSET.Kevin Buettner1-0/+2
2000-06-08MIPS is always multi-arch enabled.Andrew Cagney10-72/+2
2000-06-08Delete MIPS_DEFAULT_FPU from config/mips/*.hAndrew Cagney6-10/+2
2000-06-08Use config.bfd to determine the default architecture and byte order.Andrew Cagney3-10/+2
Flush all BYTE_ORDER_DEFAULT macros from mips. Can rely on BFD's value.
2000-06-06Mips is always TARGET_BYTE_ORDER_SELECTABLE_P 1.Andrew Cagney14-25/+12
2000-06-06Delete TARGET_MONITOR_PROMPT.Andrew Cagney8-18/+7
2000-06-04Add host_pointer_to_address() and address_to_host_pointer(). AddAndrew Cagney1-0/+5
signed_pointer_to_address() etc. Rename generic_pointer_to_address() to unsigned_pointer_to_address() etc.
2000-06-04Eliminate PARAMS from function pointer declarations.Kevin Buettner1-1/+1
2000-06-04* win32-nat.c (safe_symbol_file_add_cleanup): Ensure that gdb_stderr is flushedChristopher Faylor1-2/+14
before deleting and restoring it. (safe_symbol_file_add): Ensure that gdb_stderr is flushed before reassigning it. (handle_load_dll): Split into two functions so that WFI can handle shared library events. (child_solib_loaded_library_pathname): New function. (child_clear_solibs): New function. Clears shared library list. (child_solib_add): New function. Adds shared library symbols. (dll_symbol_command): New function. Handles "dll-symbol" command. (info_dll_command): New function. Handles info "sharedlibrary" command. (handle_exceptions): Eliminate 'ignore_trap' argument. (get_child_debug_event): Eliminate two arguments. Return "pid" when appropriate. Break out on most events to allow WFI to handle stuff. (child_wait): Accomodate get_child_debug_event changes. (child_attach): Clear thread list and list of loaded dlls. (child_create_inferior): Clear list of loaded dlls. Use wait_for_inferior in a loop to look for first "trap". (child_resume): Avoid accessing a possibly-freed thread pointer. (_initialize_inftarg): Add "dll-symbols", "sharedlibrary", and "info dll", and "info sharedlibrary" commands. * config/i386/tm-cygwin.h: Add some shared library (aka DLL) hooks.
2000-06-02* configure.tgt: Add pattern for i[3456]86-*-netbsdelf*.J.T. Conklin3-2/+35
* config/i386/nbsdelf.mt: New file. * config/i386/tm-nbsdelf.h: New file. * config/i386/tm-nbsd.h: change include of tm-nbsd.h to the more explicit config/tm-nbsd.h.
2000-06-01* config/alpha/nm-fbsd.h (CANNOT_STEP_BREAKPOINT): Define.Mark Kettenis1-0/+3
2000-06-01* configure.host: Add patterns for i[3456]86-*-netbsdaout*J.T. Conklin4-2/+47
and i[3456]86-*-netbsdelf*. * config/i386/nm-nbsdelf.h: New file. * config/i386/nbsdelf.mh: New file. * config/i386/nm-nbsd.h: change include of nm-nbsd.h to the more explicit config/nm-nbsd.h. * config/i386/tm-nbsd.h: change include of tm-i386bsd.h to tm-i386.h. (SIGTRAMP_START, SIGTRAMP_END, SIGCONTEXT_PC_OFFSET): Define. -------------------------------------------------------------------
2000-05-31Add support for FreeBSD/Alpha.Mark Kettenis5-0/+108
* alphabsd-nat.c, config/alpha/fbsd.mh, config/alpha/fbsd.mt, config/alpha/nm-fbsd.h, config/alpha/tm-fbsd.h, config/alpha/xm-fbsd.h: New files.
2000-05-30Move/rename GDB_GREGSET_T definitions for solaris 2.Andrew Cagney2-7/+7
2000-05-28Fix GDB_GREGSET_T, GDB_FPREGSET_T typos.Kevin Buettner1-2/+2
2000-05-28PARAMS removal.Kevin Buettner94-453/+406
2000-05-262000-05-26 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder1-0/+5
* gregset.h: New file. Typedefs for gdb_gregset_t and gdb_fpregset_t, prototypes for supply_gregset and friends. * procfs.c: Include gregset.h. Delete local prototypes for supply_gregset etc., and local typedef gdb_gregset_t etc. * sol-thread.c: Include gregset.h, delete local prototypes, add appropriate casts to gdb_gregset_t. * uw-thread.c, lin-thread.c, core-sol2.c, core-regset.c, sparc-tdep.c, ptx4-nat.c, ppc-linux-nat.c, mipsv4-nat.c, m88k-nat.c, m68klinux-nat.c, m68k-tdep.c, irix5-nat.c, irix4-nat.c, ia64-linux-nat.c, i386v4-nat.c, cxux-nat.c, arm-linux-nat.c, alpha-nat.c: Include gregset.h. * config/nm-linux.h: Define GDB_GREGSET_T, GDB_FPREGET_T. * config/sparc/tm-sun4sol2.h: Ditto.
2000-05-25Replace SKIP_SOLIB_RESOLVER stub with something that works.Scott Bambrough1-2/+2
2000-05-25 Scott Bambrough <scottb@netwinder.org> * arm-linux-tdep.c (find_minsym_and_objfile): New. (skip_hurd_resolver): New. (arm_linux_skip_solib_resolver): New. (arm_skip_solib_resolver): Removed. * config/arm/tm-linux.h (SKIP_SOLIB_RESOLVER): Changed to use arm_linux_skip_solib_resolver.
2000-05-25File rename tweeks.Andrew Cagney1-0/+3
2000-05-24Add support for FreeBSD/i386 ELF.Mark Kettenis5-28/+119
* i386bsd-nat.c: New file. * config/i386/tm-fbsd.h (HAVE_I387_REGS): Define. Include "i386/tm-i386.h" instead of "i386/tm-i386b.h". (NUM_REGS): Remove redefinition. (USE_STRUCT_CONVENTION): Define. (i386_float_info): Remove prototype. (FLOAT_INFO): Remove define. (JB_ELEMENT_SIZE): Define to 4. (JB_PC): Define to 0. (GET_LONGJMP_TARGET): Define. (SIGTRAMP_START, SIGTRAMP_END): Define. (SIGCONTEXT_PC_OFFSET): Define. (IN_SOLIB_CALL_TRAMPOLINE): Only define if !SVR4_SHARED_LIBS * config/i386/nm-fbsd.h (PTRACE_ARG3_TYPE): Define to caddr_t. (FETCH_INFERIOR_REGISTERS): Define. (ATTACH_DETACH): Define. (kernel_u_size): Remove PARAMS. (register_u_addr): Use CORE_ADDR in prototype where appropriate. Remove PARAMS. (SVR4_SHARED_LIBS) [FREEBSD_ELF || __ELF__ && !FREEBSD_AOUT]: Define. [SVR4_SHARED_LIBS]: Include "elf/common.h". Only define aliases for struct members from <link.h> if !SVR4_SHARED_LIBS. * config/i386/xm-fbsd.h: New file. * config/i386/fbsd.mt (TDEPFILES): Remove solib.o. * config/i386/fbsd.mh (NATDEPFILES): Remove i386b-nat.o. Add core-regset.o i387-nat.o i386bsd-nat.o.
2000-05-242000-05-17 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder1-1/+1
* config/sparc/tm-sun4sol2.h: Turn on multi-arch. sparc-tdep.c (gdb_print_insn_sparc): Remove temporary multi-arch hack.
2000-05-24* config/i386/nbsd.mt (TDEPFILES): Move solib.o from here...J.T. Conklin7-8/+13
* config/i386/nbsd.mh (NATDEPFILES): ...to here. * config/m68k/nbsd.mt (TDEPFILES): Move solib.o from here... * config/m68k/nbsd.mh (NATDEPFILES): ...to here. * config/ns32k/nbsd.mt (TDEPFILES): Move solib.o from here... * config/ns32k/nbsd.mh (NATDEPFILES): ...to here. * config/powerpc/nbsd.mt (GDBSERVER_DEPFILES): Add low-nbsd.o. * configure.tgt (powerpc-*-netbsd*): add gdbserver to configdirs. * gdbserver/low-nbsd.c (initialize_arch): Define for PPC. (fetch_inferior_registers): Likewise. (store_inferior_registers): Likewise. * gdbserver/low-nbsd.c (fetch_inferior_registers): Handle X86 floating point registers. (store_inferior_registers): Likewise. -------------------------------------------------------------------
2000-05-23* config/sparc/nm-linux.h: Include config/nm-linux.h.Alexandre Oliva2-1/+5
* config/powerpc/nm-linux.h: Likewise.
2000-05-18* configure.host, configure.tgt (powerpc-*-netbsd*): New entry.J.T. Conklin5-0/+86
* config/powerpc/nbsd.mh, config/powerpc/nbsd.mt, config/powerpc/tm-nbsd.h, config/powerpc/nm-nbsd.h, config/powerpc/xm-nbsd.h: New files.
2000-05-172000-05-12 Michael Snyder <msnyder@.cygnus.com>Michael Snyder1-0/+8
* config/i386/tm-i386sol2.h (COERCE_FLOAT_TO_DOUBLE): Define.
2000-05-17 * gdb/config/djgpp/README: Fine-tune installation instructionsEli Zaretskii1-12/+19
based on user reports.