aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sparc
AgeCommit message (Collapse)AuthorFilesLines
1993-09-18 * defs.h (make_cleanup): Change PTR to void * when inside PARAMS.Jim Kingdon1-0/+2
Some of the following is in #ifdef CALL_DUMMY_BREAKPOINT_OFFSET. * breakpoint.h (enum bptype): Add bp_call_dummy. (struct bpstat_what): Add call_dummy field. * infrun.c (wait_for_inferior): Deal with it. * breakpoint.c (bpstat_what): Deal with call dummy breakpoint. * infcmd.c (run_stack_dummy): Set the call dummy breakpoint. * config/sparc/tm-sparc.h: Define CALL_DUMMY_BREAKPOINT_OFFSET.
1993-09-17 * remote-sim.h: New file.Jim Kingdon1-1/+1
* remote-sim.c: Add remote debug feature. Rename stuff to distinguish interface to simulator from gdb-specific stuff. Other changes. start-sanitize-v9 * remote-sp64sim.c: Renamed to remote-sim.c. Use sr_get_debug instead of our own sim_verbose/simif_snoop. Use gnutarget in call to bfd_openr. Rename simif_* to gdbsim_*. * config/sparc/sp64sim.mt: Change remote-sp64sim.c to remote-sim.c. end-sanitize-v9
1993-08-27 * gdbserver/low-sun3.c: New file.Jim Kingdon1-1/+1
* gdbserver/Makefile.in, config/m68k/sun3.mh: Change accordingly. * Rename files for 14-character limits: gdbserver/remote-gutils.c -> gdbserver/utils.c gdbserver/remote-inflow.c -> gdbserver/low-lynx.c gdbserver/remote-inflow-sparc.c -> gdbserver/low-sparc.c gdbserver/remote-server.c -> gdbserver/server.c remote-monitor.c -> remote-mon.c * Makefile.in, gdbserver/Makefile.in, config/m68k/monitor.mt, config/i386/i386lynx.mh, config/sparc/sun4os4.mh: Change accordingly. * gdbserver/Makefile.in: Remove more junk inherited from gdb Makefile.
1993-08-13 * gdbserver/Makefile.in: Use GDBSERVER_LIBS andJim Kingdon1-0/+1
GDBSERVER_DEPFILES. Also remove much (but not all that could be removed) crud inherited from gdb Makefile.in. * config/i386/i386lynx.mh, config/sparc/sun4os4.mh: Define GDBSERVER_*. * gdbserver/README: Say it works on Sun and change configuration instructions slightly.
1993-08-02Remove '.Sanitize' from explicit list of Things-to-lose. It is now implicitlyFred Fish1-1/+0
added to the list by Sanitize, unless Sanitize knows it needs to keep it.
1993-07-30sp64.mt: New file.David Edelsohn3-32/+55
tm-sp64.h (FRAME_CHAIN, FRAME_SAVED_PC): Deleted. (PRINT_REGISTER_HOOK): Call new fn sparc_print_register_hook.
1993-07-30Add .Sanitize to Things-to-lose list.Fred Fish1-0/+2
1993-07-27 * config/sparc/xm-sun4os4.h: Define MEM_FNS_DECLARED and includeJim Kingdon1-11/+13
<memory.h>. Include <malloc.h> rather than declaring malloc functions ourself. * ser-unix.c (set_tty_state): Don't ignore errors setting process group. * inflow.c (terminal_inferior): If attach_flag set, ignore errors from set_tty_state.
1993-07-26 * hppa-tdep.c: Remove all uses of use_unwind and `set use_unwind'Jim Kingdon3-32/+25
command. Now we use unwind info by default if we can find it. * config/sparc: Move VARIABLES_INSIDE_BLOCK and SUN_FIXED_LBRAC_BUG to tm-sparc.h so they are shared between Solaris and SunOS4. * dbxread.c (process_one_symbol): Deal with SunOS4 acc N_STSYM and N_GSYM functions.
1993-07-11(PRINT_REGISTER_HOOK): Fix typo, add parens around macro arg.David Edelsohn1-3/+3
1993-07-09 * config/sparc/tm-sparc.h: Add comment suggesting that removingJim Kingdon1-1/+9
ins and locals from the registers array might clean things up.
1993-07-08(REGISTER_CONVERT_TO_VIRTUAL): Use REGISTER_RAW_SIZE to determine bytes to copy.David Edelsohn1-4/+2
(REGISTER_CONVERT_TO_RAW): Ditto.
1993-07-08Initial versions of port to sparc64 simulators.David Edelsohn4-0/+410
1993-07-07 * frame.h, blockframe.c, stack.c, a29k-tdep.c,Jim Kingdon1-2/+7
config/gould/tmp-{pn,np1}.h, config/{sparc/tm-sparc.h,pyr/tm-pyr.h,vax/tm-vax.h}: Remove field next_frame from struct frame_info. It has no purpose beyond ->next->frame and is an artifact from GDB 2.8.
1993-07-05solaris doesn't have siginterrupt, though it has sigaction; however,Mark Eichin1-0/+4
in this case siginterrupt would just be setting the default. (This was the only patch needed to make devo build solaris-x-a29kudi...)
1993-06-30 * inftarg.c: Remove unused include of terminal.h.Jim Kingdon1-0/+6
* signals.h: Don't undefine signals anymore. * main.c: Use job_control from serial.h. * fork-child.c (fork_inferior): Use gdb_setpgid. * serial.h, ser-unix.c, ser-go32.c: Provide gdb_setpgid. * utils.c (quit): Use current_target->to_terminal_ours to figure out whether we care about lack of job control, rather than __GO32__. * utils.c: Include serial.h not terminal.h (quit): Use job_control not TIOCGPGRP. * terminal.h: Don't undefine TIOCGPGRP. * serial.h, ser-unix.c, ser-go32.c, ser-tcp.c: Add SERIAL_FLUSH_OUTPUT. * utils.c (quit): Use it. * serial.h: Add SERIAL_UN_FDOPEN. * utils.c (quit): Use it. * ser-unix.c: Add process group to ttystate. [HAVE_SGTTY]: Add tchars, ltchars, and lmode to ttystate. * inflow.c: Include serial.h not terminal.h. Use serial.h stuff to replace most of the maze of #ifdef's. * inflow.c, main.c, inferior.h: make gdb_has_a_terminal a function. * serial.h: Document SERIAL_SET_TTY_STATE as being immediate. * ser-unix.c: Use TIOCSETN not TIOCSETP so it is true. * serial.h, ser-unix.c, ser-go32.c, ser-tcp.c: Add SERIAL_PRINT_TTY_STATE, SERIAL_NOFLUSH_SET_TTY_STATE, and SERIAL_SET_PROCESS_GROUP. * inflow.c: Use them. * config/xm-svr4.h, config/rs6000/xm-rs6000.h, config/sparc/sun4os4.h: Define HAVE_TERMIOS. * Various: Remove all use of TIOC*_BROKEN.
1993-06-24* config/i386/ncr3000.mh, config/i386/i386v4.mh,K. Richard Pixley1-10/+0
config/i386/i386sol2.mh, config/m68k/hp300hpux.mh, config/m68k/amix.mh, config/mips/irix[34].mh, config/m88k/delta88.mh, config/sparc/sun4sol2.mh (ALLOCA, ALLOCA1): macros removed. * config/mips/decstation.mh, config/rs6000/rs6000.mh (MMALLOC_LIB): renamed to MMALLOC.
1993-06-13 * dbxread.c (process_one_symbol): Set n_opt_found based on whetherJim Kingdon2-7/+28
a non-gcc N_OPT symbol is found. Make SUN_FIXED_LBRAC_BUG a macro which returns 0 or 1 to say whether to do it. * config/sparc/sun4{sol2,os4}.h (SUN_FIXED_LBRAC_BUG,VARIABLES_INSIDE_BLOCK): Use n_opt_found so the right thing happens for both acc and SunOS4 /bin/cc.
1993-06-11 * dbxread.c (process_one_symbol): Rather than havingJim Kingdon1-6/+0
BLOCK_ADDRESS_FUNCTION_RELATIVE a macro, make it a variable which is true if we are doing stabs-in-elf, false otherwise. config/sparc/tm-sun4sol2.h: Don't define it.
1993-06-09removed -lresolvK. Richard Pixley1-1/+0
1993-06-08First cut at sparc-vxworks targetting.K. Richard Pixley3-0/+41
1993-06-04 * config/sparc/xm-sun4sol2.h: define MEM_FNS_DECLAREDDavid D. Zuhn1-0/+4
1993-06-03 * Makefile.in: Remove ser-tcp.[co]. (Use XDEPFILES instead.)Stu Grossman1-1/+2
* alldeps.mak, depend: Rebuild to account for ser-tcp. * config/sparc/sun4os4.mh: Add ser-tcp to XDEPFILES.
1993-05-27added things-to-lose sectionsK. Richard Pixley1-0/+2
1993-05-21Change the configuration, for target 29k-udi, a little bit.Sean Eric Fagan2-0/+2
1993-05-01 * config/sparc/sun4sol2.mh (XM_CLIBS): add -lsocket which isK. Richard Pixley1-1/+1
required target ports which use sockets (like a29k-udi).
1993-04-28 * config/sparc/xm-sun4os4.h [__STDC__]: Don't use MALLOC_INCOMPATIBLE.Jim Kingdon1-0/+4
1993-04-28 * config/sparc/sun4sol2.mh (XM_CLIBS): Define to be -lnsl.Ian Lance Taylor1-0/+1
1993-04-28 * config/sparc/xm-sun4os4.h: Declare free() to return int.Jim Kingdon1-3/+5
Remove twisted use of PARAMS.
1993-04-22Thu Apr 22 14:50:05 1993 Jim Kingdon (kingdon@cygnus.com)Jim Kingdon1-8/+4
* symtab.h: Fix LOC_REF_ARG comment. Wed Apr 22 20:21:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) and Jim Kingdon (kingdon@cygnus.com) * stabsread.c (define_symbol): Combine a 'p', 'r' arg pair to a LOC_REGPARM symbol. * config/sparc/tm-sparc.h (REG_STRUCT_HAS_ADDR): Revise comments. symfile.c (compare_symbols): Don't check first character; STRCMP does that. * stabsread.c (define_symbol): Generate a LOC_REGPARM_ADDR for structures that are passed by address in a register. * symtab.h (enum address_class): Add LOC_REGPARM_ADDR. * findvar.c (read_var_value), printcmd.c (address_info, print_frame_args), stack.c (print_frame_arg_vars), symmisc.c (print_{,partial_}symbol), * symtab.c (lookup_block_symbol): Deal with it.
1993-04-20 * irix4-nat.c (fetch_core_registers): Special version of this forStu Grossman1-1/+1
Irix 4.x, which stores regs a bit differently from other /proc based systems. * procfs.c, core-svr4.c: Move fetch_core_registers from procfs.c to new file core-svr4.c. * config/i386/i386sol2.mh, config/i386/i386v4.mh, config/m68k/amix.mh, config/i386/ncr3000.mh, config/sparc/sun4sol2.mh: Add core-svr4.o to NATDEPFILES. * config/mips/irix4.mh: Add corelow.o to NATDEPFILES.
1993-04-07Add section table to objfile struct. Use it for find_pc_section.K. Richard Pixley1-6/+0
* objfiles.c (add_to_objfile_sections, build_objfile_section_table, find_pc_section): new functions. (allocate_objfile): build section table. * objfiles.h (struct obj_section): new structure. (struct objfile): add section table. (find_pc_section): new prototype. * solib.[ch] (find_pc_section_from_so_list): removed. * sparc-tdep.c: include objfiles.h for find_pc_section. include symfile.h for objfiles.h. (in_solib_trampoline): adjusted for new find_pc_section prototype. Removed BAD_RICH_HACK ifdefs. * symfile.c (syms_from_objfile): offset objfile sections. (find_pc_section): removed. Also removed BAD_RICH_HACK ifdefs. * symfile.h (find_pc_section): prototype removed. Also fixed comment typo NUL -> NULL. * target.[ch] (find_pc_section_from_targets): removed. * config/sparc/tm-sun4sol2.h (BAD_RICHH_HACK): removed.
1993-04-06*** empty log message ***Stu Grossman1-0/+2
1993-04-06 * configure.in: Sparclite uses sparc config dir. Also has it'sStu Grossman2-0/+23
own tm- & .mt files now. Also add sparclite to configdirs. * go32-xdep.c: Dummy routines for sigsetmask & strlwr. * config/i386/go32.mh: Nullify def of TERMCAP. * config/i386/xm-go32.h: Get rid of redef of EIO. * config/sparc/{sparclite.mh tm-sparclite.h}: New sparclite specific configs. Very similar to sun4os4, but without solib. * sparclite/{Makefile.in configure.in}: First cut at making this dir configgable.
1993-04-06 * Makefile.in (SFILES OBS): Add serial.[co] & ser-hardwire.[co].Stu Grossman1-1/+1
These implement a new serial line interface for talking to remote targets. * configure.in: Link ser-hardwire.c to ser-unix.c for all hosts, EXCEPT go32, which gets ser-go32.c. * remote.c: Use new serial interface. More remote-xxx's to be converted later. * ser-bsd.c, ser-termios.c: Removed. * serial.c: New. Implements common operations for all serial types. * ser-unix.c: New. Unix specific serial operations for various flavors of Unix (Posix, SysV, BSD). * serial.h: Generic serial interface defs. * config/i386/go32.mh, config/i386/i386bsd.h, config/m68k/apollo68b.mh, config/sparc/sun4os4.mh: Remove ser-bsd.o from XDEPFILES. All the magic is now handled in configure.in.
1993-04-02 * sparc-tdep.c (in_solib_trampoline), symfile.c (find_pc_section):K. Richard Pixley1-0/+6
ifdef protect using BAD_RICH_HACK. This should be removed soon. * config/sparc/tm-sun4sol2.h (BAD_RICH_HACK): define.
1993-03-31Teach sparc solaris to next over shared library functions.K. Richard Pixley1-0/+3
* solib.[hc] (find_pc_section_from_so_list): new function and prototype. * sparc-tdep.c (in_solib_trampoline): new function. * symfile.[hc] (find_pc_section): new function and prototypes. * target.[hc] (find_pc_section_from_targets): new function and prototypes. * config/sparc/tm-sun4sol2.h (IN_SOLIB_TRAMPOLINE): redefine to in_solib_trampoline.
1993-03-23Add .Sanitize files for new directories.Fred Fish1-0/+40
1993-03-23 * config/{*.mt, *.mh}: All target and host makefile fragmentFred Fish13-0/+981
config files moved to an appropriate config/<cpu> subdirectory. * nm-*, xm-*, tm-*: All native, host, and target files, which get linked to nm.h, xm.h, and tm.h respectively by configure, moved to appropriate config/<cpu> subdirectory.