aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sparc
AgeCommit message (Collapse)AuthorFilesLines
2000-02-22Bring COERCE_FLOAT_TO_DOUBLE under gdbarch's control.Jim Blandy1-1/+1
* valops.c (COERCE_FLOAT_TO_DOUBLE): Rework definition to be more function-like. (default_coerce_float_to_double, standard_coerce_float_to_double): New functions. (value_arg_coerce): Adjust for new definition. * value.h (default_coerce_float_to_double, standard_coerce_float_to_double): New declarations for the above. * gdbarch.sh (coerce_float_to_double): New entry, replacing macro. * gdbarch.c, gdbarch.h: Regenerated. * tm-alpha.h, tm-fr30.h, tm-m32r.h, tm-mips.h, tm-hppa.h, tm-rs6000.h, tm-sh.h, tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Change definitions. * mips-tdep.c (mips_coerce_float_to_double): Supply our own custom function here. (mips_gdbarch_init): Install that as our coerce_float_to_double function.
2000-01-25import gdb-2000-01-24 snapshotJason Molenda1-1/+1
2000-01-18import gdb-2000-01-17 snapshotJason Molenda1-1/+1
2000-01-11import gdb-2000-01-10 snapshotJason Molenda1-12/+0
2000-01-06import gdb-2000-01-05 snapshotJason Molenda1-1/+2
1999-12-22import gdb-1999-12-21 snapshotJason Molenda1-2/+0
1999-12-14import gdb-1999-12-13 snapshotJason Molenda6-6/+37
1999-12-07import gdb-1999-12-06 snapshotJason Molenda3-5/+3
1999-11-09import gdb-1999-11-08 snapshotJason Molenda1-9/+0
1999-09-09import gdb-1999-09-08 snapshotStan Shebs1-2/+2
1999-08-31import gdb-1999-08-30 snapshotJason Molenda3-9/+0
1999-08-16import gdb-1999-08-16 snapshotJason Molenda1-3/+0
1999-07-07import gdb-1999-07-07 post reformatJason Molenda23-391/+413
1999-06-07import gdb-1999-06-07 snapshotJason Molenda1-5/+2
1999-05-25import gdb-1999-05-25 snapshotJason Molenda2-5/+5
1999-05-05import gdb-19990504 snapshotStan Shebs1-5/+3
1999-04-26import gdb-19990422 snapshotStan Shebs1-1/+7
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs40-0/+2066
1999-04-16Initial creation of sourceware repositoryStan Shebs37-2094/+0
1998-12-311998-12-30 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda1-5/+0
* utils.c: <readline/readline.h> instead of "readline/readline.h". * configure.in (TERM_LIB): Search for the appropriate term library on the host system. * configure: Regenerated. * Makefile.in (TERMCAP): Set based on autoconf check. * config/*/*.mh: Don't override TERMCAP setting.
1998-12-12CARP: Mechanism to replace EXTRA_FRAME_INFO.Andrew Cagney1-0/+2
Add two pointers (saved_regs, extra_info) to struct frame_info. Introduce new macro FRAME_INIT_SAVED_REGS which replaces FRAME_FIND_SAVED_REGS. Document. Use in mn10300 and rs6000 targets. Fix side effects on ALPHA, MIPS, Z8K and SPARC targets.
1998-11-30CARP:Andrew Cagney1-1/+1
Cleanup FRAME_CHAIN_VALID. Replace all macro's with functions.
1998-11-28CARP:Andrew Cagney1-1/+1
Rewrite INNER_THAN so that it takes parameters.
1998-11-27CARP:Andrew Cagney1-1/+3
STEP_SKIPS_DELAY - add STEP_SKIPS_DELAY_P and rewrite use removing #ifdef's. NO_SINGLE_STEP - replace with SOFTWARE_SINGLE_STEP_P + SOFTWARE_SINGLE_STEP. Replace global variable one_stepped with static singlestep_breakpoints_inserted_p. Cleanup infrun.c (scary!).
1998-11-26CARP: Delete ABOUT_TO_RETURN across all targets.Andrew Cagney1-8/+0
1998-11-24 * procfs.c (procfs_wait): handle syscall events first.Felix Lee1-4/+5
* procfs.c (GDB_GREGSET_TYPE, GDB_FPREGSET_TYPE): new macros. * config/sparc/xm-sun4sol2.h: use them. * core-sol2.c: don't #undef gregset_t and fpregset_t. * sol-thread.c: ditto. * sparc-tdep.c: ditto.
1998-10-17fix typoFelix Lee1-0/+5
1998-10-16 * tm-sp64.h (SETUP_ARBITRARY_FRAME, RAME_SPECIFICATION_DYADIC):Stan Shebs1-8/+0
Remove, nevermore used.
1998-08-24 * sh-stub.c (undoSStep): Improve comment.Mark Alexander1-17/+17
* sparc-tdep.c (sparc_extract_struct_value_address): Simplify to use same method on both 32-bit and 64-bit machines. * sparcl-tdep.c (sparclite_check_watch_resources): Simulator doesn't support hardware breakpoints. * config/sparc/tm-sparc.h (CALL_DUMMY): Improve comments.
1998-07-23 * sparc-tdep.c (sparc_init_extra_frame_info): Recognize when we'reDawn Perchik1-0/+1
in a function prologue before the SAVE instruction. (sparc_frame_saved_pc): Ditto. * config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): Add in_prologue flag.
1998-06-02 * sparc-tdep.c (sparc_target_architecture_hook): New function toMark Alexander2-19/+7
set endianness based on machine type. (_initialize_sparc_tdep): Initialize target_architecture_hook. (sparc_print_register_hook): Print PSR and FPSR in fancy format on 32-bit machines. * config/sparc/tm-sparc.h (PRINT_REGISTER_HOOK): Redefine to call sparc_print_register_hook instead of using inline code. * config/sparc/tm-sp64.h (PRINT_REGISTER_HOOK): Remove.
1998-05-08 * config/sparc/tm-sp64.h (CALL_DUMMY): Store and retrieveBob Manson2-5/+119
%o0-%o5 as 64-bit values; compensate for stack bias. (USE_STRUCT_CONVENTION): We only pass pointers to structs if they're larger than 32 bytes. (REG_STRUCT_HAS_ADDR): Ditto. * sparc-tdep.c (sparc_init_extra_frame_info): Use read_sp() instead of read_register. If the target is a sparc64 and the frame pointer is odd, compensate for the stack bias. (get_saved_register): Use read_sp(). (DUMMY_STACK_REG_BUF_SIZE): Use FP_REGISTER_BYTES. (sparc_push_dummy_frame): Use read_sp()/write_sp(). On sparc64, save the PC, NPC, CCR, FSR, FPRS, Y and ASI registers. (sparc_frame_find_saved_regs): Use read_sp(). Read the PC, NPC, CCR, FSR, FPRS, Y and ASI registers from the frame, if it's a dummy frame. (sparc_pop_frame): Use write_sp(). If the target is a sparc64 and the FP is odd, compensate for stack bias. (sparc_store_return_value): Right-justify the return value before writing it to %o0. (sparc_fix_call_dummy): Don't NOP out part of the call dummy on sparc64. (sparc64_read_sp, sparc64_read_fp, sparc64_write_sp, sparc64_write_fp, sp64_push_arguments, sparc64_extract_return_value): New functions to support the sparc64 ABI. * dwarfread.c (handle_producer): Set processing_gcc_compilation to the right version number. * dwarf2read.c (read_file_scope): Assume we're processing GCC2 output.
1998-04-27 * config/sparc/tm-sparc.h (CALL_DUMMY): Shorten it drastically,Mark Alexander1-104/+51
make it work on the simulator. (FIX_CALL_DUMMY): Convert to function call instead of inline code. (sparc_fix_call_dummy): Declare. * sparc-tdep.c (sparc_fix_call_dummy): New function, taken from old FIX_CALL_DUMMY macro, with additional fixes for simulator. (sparc_push_dummy_frame): Set registers differently on simulator to prevent corrupted register window save areas.
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-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-03-13massive sanitization fixesAngela Marie Thomas1-0/+5
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-01-14 * configure.in (--with-mmalloc): Add new configure arg to use theFred Fish1-6/+0
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.
1997-10-24fix for PR 13618 -- gdb incorrectly reports thread information.David Taylor1-0/+3
If other systems besides nm-sun4sol2 exhibit the problem, they may need definitions of FIND_NEW_THREADS and a corresponding support function.
1997-10-15 (STORE_STRUCT_RETURN): Change to handle --enable-64-bit-bfd.David Edelsohn1-1/+3
1997-10-15 * config/sparc/tm-sparc.h (FIX_CALL_DUMMY): Mask off displacementDavid Edelsohn1-1/+2
to 30 bits in call insn to handle --enable-64-bit-bfd.
1997-08-30 * config/sparc/sparclite.mt: Removed simulator references (erc32Bob Manson1-2/+0
has been disabled).
1997-04-22 * config/alpha/alpha-osf3.mh config/i386/{i386gnu linux}.mhStu Grossman1-3/+0
config/mips/{embed embed64 embedl embedl64 vr4300 vr4300el vr5000 vr5000el}.mt config/powerpc/{aix aix4}.mh config/rs6000/{aix aix4}.mh config/sh/sh.mt config/sparc/sp64sim.mt: start-sanitize-v850 config/v850/v850.mt: end-sanitize-v850 Remove -lm. That's now handled by configure.
1997-04-19 * Makefile.in (SUBDIRS): Add mswin so that make cleanup cleans upStu Grossman1-4/+0
that directory. * defs.h utils.c (error warning): Make message be const. * main.c (fputs_unfiltered): Only send gdb_stdout and gdb_stderr to hook. Otherwise send it to fputs. * monitor.c monitor.h (monitor_get_dev_name): New function. Does the obvious. * remote-e7000.c: Remove debugify stuff. Change printf, fprintf to _filtered forms to make output appear in GUIs. Replace all uses of SERIAL_READCHAR with readchar, which has better error checking. * (e7000_parse_device): Add prototype. * (readchar): Improve doc. Handle random serial errors. * (expect): Disable notice_quit code. It's busted. Remove serial error handling (it's now handled in readchar). Remove remote_debug echoing. That's handled in readchar as well. * (e7000_parse_device): Remove serial_flag arg. It's not necessary. * (e7000_open): Split into two pieces. Second part is e7000_start_remote, and is error protected. Now, when we connect to the target, we setup the initial frame and registers so that the user gets an immediate indication of where the target is. * (gch): Remove debug output. That's handled by readchar. * (e7000_read_inferior_memory): Handle errors better. * (_initialize_remote_e7000): Get rid of `<xxx>' things from command names. They show up when doing completion and confuse things horribly. * ser-e7kpc.c: Remove the last seven months of brain damage. Get rid of the DLL's since we can access the device directly from Win32s and Win95. Get rid of debugify crud. * serial.c: Remove debugify cruft. * (serial_logchar serial_log_command serial_write serial_readchar serial_send_break serial_close): Merge common functionality into serial_logchar. Clean up rest of routines. * sparclet-rom.c: Disembowel. Leave only download routine. Download routine now switches to remote target automatically. * top.c (disconnect): Only define if SIGHUP is defined. Cleans up MSVC/Win32 problem. * utils.c (gdb_flush): Don't call hook unless it's for gdb_stdout or gdb_stderr. * config/sh/tm-sh.h: Define TARGET_SH for WinGDB. * config/sparc/tm-sparclet.h: Remove override for prompt.
1996-12-27Thu Dec 26 15:56:09 1996 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-1/+2
* sparclet-stub.c: a few clean-ups, removing dead code * config/sparc/tm-sparclet.h: make registers ASR15, ASR19 invisible (they're not useful, you can't change, write or even read them)
1996-12-26Thu Dec 26 15:15:21 1996 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-22/+41
* sparclet-rom.c: Remove includes of Unix system files. Add function "sparclet_supply_register" so that parse_register_dump will not seg-fault by calling a null function pointer. Remove XMODEM support (unfinished work?). Remove flag "MO_HANDLE_NL", so monitor's output can be read by humans. Add fill command. Remove colon from getreg.resp_delim so PSR register will work. Remove pointer to sparclet_load (downloading SREC's doesn't work). Null out local register names for %g0, all %cc and all %asr regs, since the monitor can't report them. Will return zero instead. * sparclet-stub.c: New -- remote protocol support for sparclet CPU. * config/sparc/tm-sparclet.h: Re-arrange REGISTER_NAMES: Add back %g0 and %psr, add %cc coprocessor regs, add %asr regs. Adjust NUM_REGS and REGISTER_BYTES accordingly
1996-12-05 (TM_PRINT_INSN_MACH): Redefine for sparclet.David Edelsohn1-0/+6