aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
AgeCommit message (Collapse)AuthorFilesLines
1998-04-16 * sparc-tdep.c (SPARC_HAS_FPU): Define.Mark Alexander1-33/+12
(sparc_extract_return_value): New function, required to handle machines without floating point. (sparc_store_return_value): Ditto. * config/sparc/tm-sparc.h (EXTRACT_RETURN_VALUE): Call sparc_extract_return_value instead of using inline code. (sparc_extract_return_value): Declare. (STORE_RETURN_VALUE): Call sparc_store_return_value instead of using inline code. (sparc_store_return_value): Declare.
1998-04-15 * sparc-tdep.c (sparc_extract_struct_value_address): Make itMark Alexander1-1/+13
work correctly on little-endian hosts. (sparc_push_arguments): New function. (gdb_print_insn_sparc): New function. (_initialize_sparc_tdep): Make gdb_print_insn_sparc the default disassembler, so that SPARClite-specific instructions will be recognized. * sparcl-tdep.c (readchar): Print debugging information. (debug_serial_write): New function, a replacement for SERIAL_WRITE that prints debugging information. * config/sparc/tm-sparc.h (PUSH_ARGUMENTS): Define. (sparc_push_arguments): Declare.
1998-04-14Tue Apr 14 15:43:49 1998 John Metzler <jmetzler@cygnus.com>John Metzler2-0/+29
* configure.tgt: Switch over to use tm-4320.h. Since I switched to MIPS EABI the fixes are no longer backward compatible with 4300. * tm-vr4320.h: Added * vr4320.mt: Added
1998-04-13 * config/sparc/tm-sun4os4.h (IS_STATIC_TRANSFORM_NAME): Add missingKeith Seitz1-0/+1
definition.
1998-04-11Fri Apr 10 22:36:28 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)Jason Molenda1-1/+6
Update support for x86 Solaris 2. * config/i386/tm-i386sol2.h, nm-i386sol2.h: New configuration files for x86 Solaris 2. * config/i386/i386sol2.mt, i386sol2.mh: Use them. * config/sparc/tm-sun4sol2.h (PROCFS_GET_CARRY): New macro, extract carry flag from a given regset. (IS_STATIC_TRANSFORM_NAME): New macro, check if a symbol name is a SunPro transformed name. * i386-tdep.c (sunpro_static_transform_name): New function to extract the source name from a SunPro transformed name. * inferior.h (procfs_first_available, procfs_get_pid_fd): Add prototypes. * infrun.c (wait_for_inferior): Handle breakpoint hit in signal handler without intervening stop in sigtramp. * procfs.c (procfs_lwp_creation_handler): Use PROCFS_GET_CARRY instead of direct access to the status register. (procfs_get_pid_fd): New function, returns procfs fd for a given pid. * sol-thread.c (ps_lgetLDT): New function, returns LDT for a given lwpid. (sol_find_new_threads): Handle failed libthread_db initialization gracefully. * stabsread.c (define_symbol): Use IS_STATIC_TRANSFORM_NAME to check for a SunPro transformed symbol name.
1998-04-02 * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE): Define.Mark Alexander2-0/+7
* config/sparc/sparclite.mt: Link in the erc32 simulator.
1998-04-02Wed Apr 1 16:30:49 1998 Ian Dall <Ian.Dall@dsto.defence.gov.au>Jason Molenda3-1/+61
* ns32k-tdep.c (flip_bytes, ns32k_localcount, ns32k_get_enter_addr, sign_extend): Restore functions mysteriously deleted. * ns32knbsd-nat.c: New (?) file to support fetching and storing registers on NetBSD hosts. * nbsd.mh (NATDEPFILES): put ns32knbsd-nat.o instead of ns32k-nat.o * ns32km3-nat.c (reg_offset): Get order of floating point registers correct. Add extra 32382 register offsets. (REG_ADDRESS): define to point at correct part of thread state. Use calls to "warning" instead of "message". * tm-nbsd.h, tm-ns32km3.h (REGISTER_NAMES, NUM_REGS, REGISTER_BYTES, REGISTER_BYTE): redefine allowing for 32382 fpu registers.
1998-04-01Make the SR, FSR and FIR registers 32 bits regardless of the target.Andrew Cagney2-10/+14
1998-04-01* d10v-tdep.c (d10v_extract_return_value): Wierd. GCC wants to returnAndrew Cagney1-1/+1
odd sized register quantities with only half of the first register used! * config/d10v/tm-d10v.h (USE_STRUCT_CONVENTION): Use stack when size > 8.
1998-03-24 * Makefile.in: Derive SHELL from configure.Stu Grossman2-3/+2
* config/d10v/d10v.mt config/d30v/d30v.mt config/m32r/m32r.mt config/mn10200/mn10200.mt config/mn10300/mn10300.mt : Remove -lm from SIM. This prevents dependency checking of -lm (under NT native builds). (It is automatically added by configure if it exists.) * doc/configure mswin/configure nlm/configure testsuite/gdb.base/configure testsuite/gdb.c++/configure testsuite/gdb.chill/configure testsuite/gdb.disasm/configure testsuite/gdb.stabs/configure testsuite/gdb.threads/configure: Regenerate with autoconf 2.12.1 to fix shell issues for NT native builds.
1998-03-20Fri Mar 20 14:45:36 1998 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-0/+7
* gdbserver/Makefile.in: add dependency on XM_CLIBS. * gdbserver/low-sim.c (registers) force into alignment. (create_inferior): Fix typo on new_argv; add abfd arg to sim_open, sim_create_inferior. Add reg_size arg to sim_fetch_register, sim_store_register. Make simulator take a single-step to get into a known running state. * gdbserver/gdbreplay.c: include fcntl.h for def'n of F_SETFL. * gdbserver/server.c: Add remote_debug variable to control debug output. * gdbserver/server.h: Add prototypes for enable/disable_async_io. * gdbserver/remote-utils.c: add verbose debugging output controlled by "remote_debug" variable. Add call to "disable_async_io()" to avoid being killed by async SIGIO signals. * config/m32r/m32r.mt: define GDBSERVER_(LIBS and DEPFILES), so that gdbserver can be built with the m32r simulator.
1998-03-13Fri Mar 13 15:43:53 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)Jason Molenda1-0/+5
* config/mips/xm-mips.h (CC_HAS_LONG_LONG): Undefine for Ultrix when compiling with native cc, the compiler has broken long long support.
1998-03-13Fri Mar 13 15:37:02 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)Jason Molenda1-6/+0
* config/m68k/xm-sun3os4.h: Remove malloc declarations, they are handled via autoconf now. * remote.c (remote_ops, extended_remote_ops): Replace static forward declaration by moving the static definition to the top of the file, for old K&R compilers. * tracepoint.c (collect_symbol, trace_start_command): Replace ANSI string concatenation with K&R compatible simple string.
1998-03-13massive sanitization fixesAngela Marie Thomas2-0/+19
1998-03-04elfread.c (elf_symtab_read): merge SYMBOL_IS_SPECIAL into MAKE_MSYMBOL_SPECIALRon Unrau1-10/+9
config/mips/tm-mips.h: ditto symtab.h: update comments re minimal_symbol->info mips-tdep.c: globalize gdb_print_insn_mips txvu-tdep.c: disassemble support config/mips/tm-txvu.h: add vu_pc, use MAKE_MSYMBOL_SPECIAL, track updates from tm-r5900.h
1998-03-04Supports mips64vr4111-*-elfJohn Metzler1-0/+5
See tm-vrxxx.h
1998-03-04Defines a mips configuration which entailsJohn Metzler1-0/+25
Configuration triple mips64vr4111-*-elf 64 bit architecture 16 bit sub core 32 bit ints and floats No floating point unit MIPS EABI interface Dwarf2 debugging format
1998-03-02Sun Mar 2 15:16:13 1998 Richard Henderson <rth@cygnus.com>Jason Molenda2-0/+77
* configure.host, configure.tgt: Add sparc-linux. * sparc-nat.c: Include <asm/reg.h> not <machine/reg.h> for Linux. * config/sparc/*linux*: New files.
1998-02-16Make ``target d10v'' and ``target remote'' equivalent.Andrew Cagney1-0/+21
Hack remote.c so that xfer_memory calls a memory translate function.
1998-02-14 * config/i386/i386mk.mt (OBJFORMATS): Delete, no longer used.Stan Shebs2-2/+2
* config/i386/xm-i386mk.h: Fix an include. * config/pyr/tm-pyr.h (PC_INNER_THAN): Remove, never used.
1998-02-12Add a new target specific protocol `target d10v' implemented inAndrew Cagney1-0/+6
remote-d10v.c. It has an xfer_mem function that can translate a d10v GDB address into a d10v monitor address.
1998-02-10Mon Feb 10 12:37:47 1998 Philippe De Muyter <phdm@macqel.be>Jason Molenda2-10/+22
* m68k/tm-delta68.h (EXTRACT_RETURN_VALUE): Type argument for `REGISTER_CONVERT_TO_VIRTUAL is `TYPE', not `REGISTER_VIRTUAL_TYPE (FP0_REGNUM)'; (STORE_RETURN_VALUE): Ditto, and offset for `write_register_bytes' is `REGISTER_BYTE (FP0_REGNUM)', not `FP0_REGNUM'. (FRAME_NUM_ARGS): New macro. * m68k/tm-news.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE): Ditto. * delta68-nat.c (clear_insn_cache): New function, forgotten in previous patch.
1998-02-10D10V memory map changed. Update.Andrew Cagney1-6/+6
Replace all references to [ID]MEM_ADDR with conversion macros.
1998-02-09 * config/a29k-udi.mt, config/i960/vxworks960.mt (REMOTE_OBS):Stan Shebs3-7/+4
Remove redefinition. * config/i960/tm-i960.h (BREAKPOINT): Define. Fix build failures due to tracepoint.c addition
1998-02-06Sun Jul 6 02:44:28 1997 Philippe De Muyter <phdm@macqel.be>Jason Molenda2-22/+50
* m68k/tm-delta68.h (CPLUS_MARKER): Macro deleted. (EXTRACT_STRUCT_VALUE_ADDRESS): Macro defined. (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE): Macros modified because floating-point values return via %fp0. (CLEAR_INSN_CACHE): New macro. * m68k/tm-m68k.h (REGISTER_CONVERT_TO_VIRTUAL): Macro fixed to use DOUBLEST. (REGISTER_CONVERT_TO_RAW): Ditto. * infptrace.c (child_xfer_memory): If CLEAR_INSN_CACHE is defined, call it after having written in child process's memory. * inflow.c (PROCESS_GROUP_TYPE): Macro defined if HAVE_TERMIO. (gdb_has_a_terminal, terminal_ours_1): Functions fixed for HAVE_TERMIO.
1998-02-06 * config/mips/tm-mips64.h (TARGET_LONG_BIT): Allow final target toJeff Law1-1/+10
override. (TARGET_LONG_LONG_BIT): Likewise. (TARGET_PTR_BIT): Likewise. start-sanitize-r5900 * config/mips/tm-r5900.h (TARGET_PTR_BIT): Define to 32 bits. end-sanitize-r5900
1998-02-06 * config/d10v/tm-d10v.h (D10V_CONVERT_IADDR_TO_RAW,Andrew Cagney1-2/+5
D10V_CONVERT_DADDR_TO_RAW): Define. * d10v-tdep.c (d10v_push_arguments): Re-write. Pass arguments in registers, regardless of their size, when they fit.
1998-02-06o Update GDB to match changes to d10v abi (ARG1 in r0 instead of r2).Andrew Cagney1-33/+43
o Fix code assuming that host/target were both bigendian. o Replace d10v push dummy frame code with version using new common generic generic version. o Find/fix more cases where a value needs to be translated to/from instruction (IMAP) or data (DMAP) spaces.
1998-02-03* alpha-nat.c (fetch_aout_core_registers): Rename fromRichard Henderson1-0/+3
fetch_core_registers. (fetch_elf_core_registers): New function. (supply_gregset): Use ALPHA_REGSET_BASE. (supply_fpregset): Likewise. (fill_fpregset): Likewise. (alpha_aout_core_fns): Rename from alpha_core_fns. (alpha_elf_core_fns): New. * config/alpha/alpha-linux.mh (NATDEPFILES): solib.o not osfsolib.o. Disable MMALLOC. * config/alpha/nm-linux.h (SVR4_SHARED_LIBS): Define if ELF. (TARGET_ELF64): Likewise. (ALPHA_REGSET_BASE): New. * config/alpha/nm-osf.h (ALPHA_REGSET_BASE): New. * config/alpha/tm-alphalinux.h: Include tm-sysv4.h. * solib.c (elf_locate_base): Add TARGET_ELF64 support. (info_sharedlibary_command): Likewise. * configure.host: Match alpha*. * configure.tgt: Likewise.
1998-01-30Changes by Peter.Schauer to fix gdb/13521 -- gdb step command fails to stepDavid Taylor2-6/+4
from a function in one dynamically linked library into a function in another dynamically linked library.
1998-01-30 * coffread.c (coff_symtab_read) [SEM]: Remove code, macro canStan Shebs3-12/+1
never be defined. * dbxread.c (process_one_symbol) [BLOCK_ADDRESS_ABSOLUTE]: Remove, no longer needed. * hppa-tdep.c (N_SET_MAGIC): Remove, no longer used. * config/pa/xm-hppab.h (SEEK_SET, SEEK_CUR, SEEK_END): Ditto. * config/mips/tm-mipsm3.h (NUMERIC_REG_NAMES): Ditto. * config/mips/mipsm3.mt (TDEPFILES): Remove mipsread.o. Cruft discovered while working on GDB internals manual
1998-01-27Fix some mswin sanitization problems.Fred Fish1-1/+17
1998-01-27 * config/alpha/tm-alphalinux.h (alpha_linux_sigtramp_offset):Jason Molenda1-1/+1
Add closing parenthesis. From HJ Lu.
1998-01-24 * configure.host (i[3456]86-*-osf1mk*, mips-*-mach3*,Stan Shebs4-49/+0
ns32k-*-mach3*): Fix file names. (i[3456]86-*-os9k, m88*-*-mach3*, w65-*-*): Remove config recognition, no source files for these. * configure.tgt (powerpc-*-aix4*): Remove config, now identical to powerpc-*-aix*. * config/powerpc/{aix4.mh,aix4.mt,tm-ppc-aix4.h}: Remove files, no longer needed.
1998-01-23 * config/d10v/tm-d10v.h (CALL_DUMMY): Define as "{ 0 }".Fred Fish1-3/+5
(TARGET_READ_FP): Define to d10v_read_fp rather than d10v_read_sp. (TARGET_WRITE_FP): Define to d10v_write_fp rather than d10v_write_sp. (d10v_write_fp, d10v_read_fp): Add prototypes. * symtab.c (decode_line_1): Remove assignment of sals[0].pc field. * symfile.c (simple_overlay_update, simple_overlay_update_1): Ignore the size of overlay sections. This check is redundant anyway. * printcmd.c (print_frame_args): Ditto. * valops.c (value_fetch_lazy): Ditto. * values.c (unpack_long): Ditto. * d10v-tdep.c (d10v_frame_chain, d10v_frame_find_saved_regs, d10v_init_extra_frame_info): Fix some minor bugs so the finish command works properly. (show_regs): Change num1 and num2 types from "long long" to "LONGEST". (d10v_read_fp, d10v_write_fp): New functions. (d10v_push_arguments): Remove unneeded assigns to "val" and "contents". (d10v_push_arguments): Fix for pointers and structs. (d10v_extract_return_value): Fix for pointers and chars.
1998-01-22Add sanitize-sky for txvu stuff.Ron Unrau1-0/+6
1998-01-22Fix sanitization errors.Mark Alexander1-2/+1
1998-01-21 * configure.tgt (i386-*-mach*, m88*-*-mach3*): Remove configStan Shebs1-3/+0
recognition, no source files for these (note that the i386 Mach is pre-Mach 3). (mips*-*-mach3*, ns32k-*-mach3*): Fix file names. * config/mips/mipsel64.mt: Remove, never referenced.
1998-01-15 * config/mips/{r3900.mt,r3900l.mt,tm-r3900.h,tm-r3900l.h}:Stan Shebs5-59/+0
Remove, no longer used.
1998-01-14Remove GCC-ismsMichael Meissner1-1/+1
1998-01-14 * configure.in (--with-mmalloc): Add new configure arg to use theFred Fish12-45/+6
mmalloc package. Default is to not use it. (START_INFERIOR_TRAPS_EXPECTED): Define to the integer 2, not the string "2". * acconfig.h (USE_MMALLOC, FORCE_MMCHECK): Add #undef. * configure: Regenerated. * config.in: Regenerated. * Makefile.in (MMALLOC_DIR, MMALLOC_SRC): Remove. (MMALLOC): Set using configure. (MMALLOC_CFLAGS): Set using configure. * config/i386/tm-linux.h (sys_quotactl): Define to 1 rather than just defining it. * mpw-make.sed: Undefine USE_MMALLOC rather than defining NO_MMALLOC. * utils.c (NO_MMALLOC): Use USE_MMALLOC instead. * objfiles.c: ditto. * defs.h: ditto. * config/sparc/sun4os4.mh (MMALLOC_CFLAGS): Remove. * config/m68k/sun3os4.mh (MMALLOC_CFLAGS): Remove. * config/i386/cygwin32.mh (MMALLOC_CFLAGS): Remove. * config/alpha/alpha-osf3.mh (MMALLOC_CFLAGS): Remove. * config/alpha/alpha-osf2.mh (MMALLOC_CFLAGS): Remove. * gdbserver/Makefile.in (MMALLOC_*): Remove. * config/rs6000/rs6000.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/rs6000/aix4.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/powerpc/aix4.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/powerpc/aix.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/ns32k/ns32km3.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/mips/mipsm3.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/mips/decstation.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/m88k/cxux.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/i386/xm-windows.h (NO_MMALLOC, NO_MMCHECK): Remove. * config/i386/i386mk.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/i386/i386m3.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/i386/i386gnu.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/alpha/alpha-osf1.mh (MMALLOC, MMALLOC_CFLAGS): Remove. * config/alpha/alpha-linux.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
1998-01-12Mon Jan 12 11:46:51 1998 Michael Snyder (msnyder@cleaver.cygnus.com)Michael Snyder1-8/+11
* config/m68k/tm-m68k.h (REGISTER_VIRTUAL_TYPE): make A0 thru A7 default to void pointer type (so that their default radix is hex).
1998-01-05fix gdb/13620 -- control-c to interrupt gdb command only works once.David Taylor1-0/+3
if HAVE_SIGSETJMP is not defined, nothing is changed; if it is defined (as it now is for sysv4 based systems), then the fix is enabled.
1997-12-29 * dve3900-rom.c: New file to support Densan DVE-R3900/20 board.Mark Alexander4-6/+32
* monitor.c (monitor_debug): Move to utils.c, rename to puts_debug. (monitor_write_memory, monitor_read_memory, monitor_insert_breakpoint, monitor_remove_breakpoint): Remove useless address bits if current monitor has MO_ADDR_BITS_REMOVE flag. * monitor.h (MO_ADDR_BITS_REMOVE): Define. * utils.c (puts_debug): Formerly monitor_debug from monitor.c; move here and make public. Add better support for carriage returns. * defs.h (puts_debug): Declare. * dsrec.c (load_srec): Use puts_debug to print remotedebug information. Output header record correctly. (make_srec): Output a header record instead of a termination record if sect is non-NULL (value is ignored), but abfd is NULL. * config/mips/tm-tx39.h (DEFAULT_MIPS_TYPE): Remove definition. (REGISTER_NAMES): Define to add R3900-specific registers. * config/mips/tm-tx39l.h: Ditto. * config/mips/tx39.mt (TDEPFILES): Add dve3900-rom.o and support files. * config/mips/tx39l.mt: Ditto.
1997-12-19improved end-of-stack handling.David Taylor1-7/+2
1997-12-16back trace now works when using external memory and frameless functions; allDavid Taylor1-3/+10
arguments are passed in args registers until we run out; finding saved regs now has two offsets not just one doing double duty. TARGET_READ_SP / TARGET_WRITE_SP are (temporarily?) commented out.
1997-12-15(Mostly from Gavin Koch)Andrew Cagney1-0/+14
In dwarf2read.c, if the ABI is 32 bit and 64 bit addresses are encountered discard the most significant 32 bits. Use CORE_ADDR for address variables instead of long. Add more explicit tx49 configur target. Check/use sigaction/SA_RESTART in remote-sim.c
1997-12-11changed d10v instruction patterns to d30v ones and made them defines ratherDavid Taylor1-15/+23
than sprinkled throughout the code. changes to several functions; backtraces now work and calling functions in the inferior partially works. Registers do not yet track the frame.
1997-12-05Reverted breakpoint back to its old value.Nick Clifton1-1/+1
1997-12-04Chnaged BREAKPOINT definition to match new value in simualtor.Nick Clifton1-1/+1