aboutsummaryrefslogtreecommitdiff
path: root/gdb/tm-mips.h
AgeCommit message (Collapse)AuthorFilesLines
1993-03-23 * nm-*, xm-*, tm-*: All native, host, and target files, whichFred Fish1-380/+0
get linked to nm.h, xm.h, and tm.h respectively by configure, moved to appropriate config/<cpu> subdirectory. * nm-sysv4.h, xm-sysv4.h, tm-sysv4.h, tm-sunos.h, nm-trash.h: Native, host, and target files that are common across more than one cpu architecture and included by one of the configured native, host, or target files, get moved to config directory.
1993-03-06* tm-mips.h (GDB_TARGET_IS_MIPS): no longer used, now removed.K. Richard Pixley1-5/+0
1993-02-25Remove remnants of NAMES_HAVE_UNDERSCORE.John Gilmore1-5/+0
1993-02-22 * remote-mips.c: New file; implements MIPS remote debuggingIan Lance Taylor1-6/+22
protocol. * config/idt.mt: New file; uses remote-mips.c * configure.in (mips-idt-ecoff): New target; uses idt.mt. * mips-tdep.c (mips_fpu): New variable; controls use of MIPS floating point coprocessor. (mips_push_dummy_frame): If not mips_fpu, don't save floating point registers. (mips_pop_frame): If not mips_fpu, don't restore floating point registers. (_initialize_mips_tdep): New function; let the user reset mips_fpu variable. * tm-mips.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE): If not mips_fpu, don't use fp0 as floating point return register. (FIX_CALL_DUMMY): If not mips_fpu, don't save floating point registers. Also added remote-mips.c to .Sanitize file.
1993-02-03 * c-exp.y (lcurly, rcurly): New nonterminals.Fred Fish1-1/+3
* c-exp.y (exp): Use lcurly and rcurly for arrays and UNOP_MEMVAL constructs. * parse.c (free_funcalls): Moved prototype from parser-defs.h, made function static. * parse.c (struct funcall): Moved struct def from parser-defs.h. * parse.c (funcall_chain): Moved from parser-defs.h, made static. * parse.c (start_arglist): * parser-defs.h (free_funcalls): Moved prototype to parse.c. * parser-defs.h (struct funcall): Moved struct def to parse.c. * parser-defs.h (funcall_chain): Moved to parse.c. * printcmd.c (print_frame_nameless_args): Fix prototype. * tm-mips.h (setup_arbitrary_frame): Fix prototype. * tm-sparc.h (setup_arbitrary_frame): Fix prototype. * valops.c (typecmp): Moved prototype from values.h. * value.h (typecmp): Moved prototype to valops.c, made static. **** start-sanitize-chill **** * ch-exp.y (yylex): Change way control sequences are disabled. **** end-sanitize-chill ****
1993-02-03* tm-mips.h, tm-sparc.h: Fix thinko in SETUP_ARBITRARY_FRAME.John Gilmore1-1/+1
* remote-nindy.c: Cleanup.
1993-02-02* stack.c (parse_frame_specification): Parse as many argumentsJohn Gilmore1-4/+6
as there are (up to MAXARGS). Pass all of them in argc, argv format to SETUP_ARBITRARY_FRAME. Put the burden of checking how many there were, onto SETUP_ARBITRARY_FRAME. * tm-mips.h, tm-sparc.h: Corresponding changes. * mips-tdep.c, sparc-tdep.c: Ditto.
1992-10-16Avoid longjmp()-catching compilation errors in cross-ports.John Gilmore1-13/+0
* doc/gdbint.texinfo: Update GET_LONGJMP_TARGET, L_SET doc. * irix4-nat.c, mips-nat.c (JB_ELEMENT_SIZE, get_longjmp_target): Move from mips-tdep.c and tm-{irix3,mips}.h. * mips-nat.c: Remove a bunch of code that was ifdef'd out of native MIPS ports. * nm-irix3.h, nm-mips.h (GET_LONGJMP_TARGET): Move from tm-irix3.h and tm-mips.h. * ultra3-nat.c (register_addr): Move from ultra3-xdep.c. (fetch_core_registers): Fix bfd_seek arguments.
1992-10-15* mips-tdep.c, mipsread.c, tm-mips.h: Get rid of ".gdbinfo."Stu Grossman1-0/+5
symbol. #define MIPS_EFI_SYMBOL_NAME instead. Use different value so that demangler won't be invoked. This greatly speeds up stepping. * mips-tdep.c (mips_pop_frame): Rewrite handling of linked_proc_info so that it properly deallocates the appropriate item after it is done with it instead of before. * Don't pass bogus frame pointer to create_new_frame(). Just leave it as zero so that lower level code will figure out the correct value.
1992-09-18Support for accessing arbitrary MIPS stack frames in memory.John Gilmore1-0/+28
* blockframe.c (get_prev_frame_info): If INIT_FRAME_PC_FIRST is set, run it before INIT_EXTRA_FRAME_INFO. * stack.c (frame_info): If PRINT_EXTRA_FRAME_INFO defined, call it. * mips-tdep.c (init_extra_frame_info): Only clobber the `frame' (FP) value in the frame_info struct if it is zero (as from top of execution stack). (setup_arbitrary_frame): Implement FRAME_SPECIFICATION_DYADIC. * mips-xdep.c (fetch_inferior_registers): ZERO_REGNUM always comes back as zero. So does FP_REGNUM, as a trigger for init_extra_frame_info. * tm-mips.h (INIT_FRAME_PC_FIRST): Kludge, FIXME, defined to get the program counter set before INIT_EXTRA_FRAME_INFO is run. (INIT_FRAME_PC): Defined to null. (PRINT_EXTRA_FRAME_INFO): print frame pointer location via symtab. (FRAME_SPECIFICATION_DYADIC): Ask for two args in frame command. Briefly explain MIPS stacks in GDB.
1992-08-23Bug fixes from Andrew Heybey <ath@lcs.mit.edu>.John Gilmore1-1/+4
* tm-mips.h (REGISTER_VIRTUAL_TYPE): Float regs are float type. * mips-tdep.c (mips_print_register): Alloc enough space for two regs.
1992-06-30Make cross compilation work better.John Gilmore1-8/+5
* tm-mips.h (GDB_TARGET_IS_MIPS): Define for mips-xdep.c. (READ_MIPS_FORMAT, COFF_FORMAT): Remove, unused now. * mips-xdep.c: Remove most include files (unused, caused errs). (fetch_core_registers): Use right parameters in dummy fn.
1992-04-03* Makefile.in (OBS): Compile mipsread.c for all targets now.John Gilmore1-5/+2
(VERSION): Bump to 4.4.85. * mipsread.c: Update for new include files. Lint. * tm-irix3.h, tm-mips.h: Use new include files for ECOFF symtab. * config/{bigmips.mt, littlemips.mt, irix3.mt, decstation.mt}: Don't need to bring in mipsread.o specially any more.
1992-04-03* mipsread.c (fixup_sigtramp): Also look for _sigtramp as a realStu Grossman1-1/+1
routine (for Irix-4.x). Make many funcs static and void. * mips-tdep.c (mips-frame-chain): Clean up, simplify. * (init_extra_frame_info): Don't trash cached value of frame pointer register. This fixes backtracing through routines that use alloca(). Generally clean up declarations of functions, and use typedefs and macros to reference data structures as appropriate. * tm-irix3.h, tm-mips.h (EXTRA_FRAME_INFO): use proper type for proc_desc element.
1992-03-31* mipsread.c (parse_symbol, parse_procedure): Re-do the way thatStu Grossman1-13/+7
.gdbinfo. symbols are created. Move creation from parse_procedure to parse_symbol, where it is fairly easy to grow the symtab. This also fixes a symtab trashing bug on all mips-based systems. * (got_numargs, lookup_numargs, free_numargs): Delete. Not needed anymore. * tm-mips.h, tm-iris3.h, mips-tdep.c, mipsread.c: Re-do struct mips_extra_func_info, and all the PROC_xxx macros that look at it.
1992-03-21Many changes, most related to creating entry point information on a per-objfileFred Fish1-7/+1
basis. See comments in objfiles.h and details in ChangeLog. Also remove redundant definitions of FRAME_CHAIN_VALID from most of the tm-* files and use a default definition in frame.h.
1992-03-05* config.sub configure.in config/.Sanitize config/mh-irix4Stu Grossman1-1/+1
gdb/.Sanitize gdb/configure.in gdb/mips-tdep.c gdb/mipsread.c gdb/procfs.c gdb/signame.h gdb/tm-irix3.h gdb/tm-mips.h gdb/xm-irix4.h gdb/config/.Sanitize gdb/config/mt-irix3 gdb/config/mh-irix4 texinfo/configure.in: Port to SGI Irix-4.x.
1992-02-28* remote.c: Make it work for embedded MIPS. Increase bufferJohn Gilmore1-5/+8
size, and use throughout. Round buffer size up if too many regs. Support baud rate setting and try for an 8-bit path. If interrupted while waiting for target, send a ^C down the wire. Avoid single-byte reads. * tm-mips.h: Add more embedded-system registers to REGISTER_NAMES and NUM_REGS. * mips-xdep.h: Avoid the embedded regs when on Unix.
1992-02-22* infrun.c, infcmd.c, breakpoint.c, main.c, symfile.c,Stu Grossman1-1/+15
breakpoint.h, tm-sun4os4.h, tm-sparc.h, sparc-tdep.c, tm-mips.h, mips-tdep.h, tm-sun3.h, tm-68k.h, m68k-tdep.h: Add support for stepping (and nexting) through longjmp(). Also, cleanup breakpoint handling quite a bit by creating explicit breakpoint types instead of using magic breakpoint numbers. Makefile.in: Update version to 4.4.3
1992-02-05Mips-specific bug-fix (for stabs-in-ecoff), and style fix. See ChangeLog.Per Bothner1-0/+2
1992-01-13 * tm-mips.h: Removed BLOCK_ADDRESS_ABSOLUTE, now thatPer Bothner1-4/+0
mips-tfile has been hacked to act more "traditionally." * dbxread.c: Fixed typo in comment.
1991-12-23Oodles of changes. The most important is adding support for stabsPer Bothner1-0/+4
encapsulated in mips ecoff. See ChangeLog for the gory details.
1991-11-18Remove tdesc stuff. Remove FRAME_CHAIN_COMBINE from all tm-*.h files,John Gilmore1-7/+1
since it was always defined exactly the same in all of them.
1991-11-07* tm-*.h: Remove READ_DBX_FORMAT, COFF_FORMAT, andJohn Gilmore1-3/+3
READ_MIPS_FORMAT, which have been unused since BFD. Still remaining is COFF_NO_LONG_FILE_NAMES. * tm-sun3.h, tm-altos.h: Remove detritus accidentally left from function calling code moved to m68k-tdep.c.
1991-11-04 * infrun.c: Fixed typo in comment.Per Bothner1-1/+4
* utils.c: All the v*fprintf emulation is now in libiberty, so we can get rid of some junk. * xm-sun3os4.h, xm-sun4os4.h, xconfig/decstation, xconfig/i386sco, xconfig/sun3os4, xconfig/sun4os4: Don`t need HAVE_STRSTR any more. * m68k-pinsn.c (print_insn_arg): Support BB/BW/BL type operands, as used by branch instructions. * gmalloc.c: Fix prototype of memcpy. * elfread.c: Comment out register_addr, since it conflicts with the one in coredep.c. * buildsym.h: Remove extern declarations of two functions that are really static in buildsym.c. * tm-mips.h: Add symbolic names for more registers. * mips-xdep.c (store_inferior_registers): Use new register names. * xm-mips.h: Simplify REGISTER_U_ADDR, since it is now only used for core files, not ptrace. Therefore, the KERNEL_U_ADDR hack is no longer needed. The mapping to ptrace number is now in in mips-xdep.c. * mips-xdep.c: Define REGISTER_PTRACE_ADDR (using the mapping from the old REGISTER_U_ADDR), and use it in {fetch,store}_inferior_registers. * mipsread.c: Rename #include ecoff.h to new name coff-mips.h. * mips-tdep.c (mips_push_dummy_frame, mips_pop_frame): Save/restore FP regs correctly (?). * dbxread.c: Remove duplicate define_symbol and type_synonym_name (these had been previously moved to buildsym.c). Hence, define_symbol becomes extern instead of static. * buildsym.c (read_struct_type): Comment out bogus handling of C++ operator methods. Minor hacking of reading of class contexts. Make define_symbol non-static, so dbxread.c can call it.
1991-10-27* blockframe.c: Pass fromleaf to INIT_EXTRA_FRAME_INFO.John Gilmore1-1/+1
* tm-29k.h, tm-88k.h, tm-i960.h, tm-irix3.h, tm-mips.h, tm-pyr.h, tm-sparc.h: Accept fromleaf parameter.
1991-10-12* tm-{irix3,mips,nindy960,pn,symmetry,vx960}.h: MoveJohn Gilmore1-14/+0
REGISTER_U_ADDR to corresponding xm- file. Sugg. by Peter Schauer.
1991-08-19Minor bug fixes from BSD Net2 gdb:John Gilmore1-1/+1
* blockframe.c (get_prev_frame_info): If FRAME_CHAIN_COMBINE returns 0, there is no previous frame. * breakpoint.c (commands_command): If !from_tty, don't call input_from_terminal_p(). * dbxread.c (record_misc_function): Speed up slightly. (compare_psymbols): Ditto. * infcmd.c (do_registers_info): Take a second argument to determine whether to print float registers. "info registers" does not do so anymore. "info all-registers" does, now. * mips-tdep.c, pyr-tdep.c (xxx_do_registers_info): Take second arg and ignore it. * tm-mips.h, tm-pyr.h (DO_REGISTERS_INFO): Pass second arg. * inflow.c (initialize_inflow): Set tflags_ours correctly.
1991-06-04Change GDB over to GNU General Public License version 2.John Gilmore1-6/+6
1991-03-28Johns releaseK. Richard Pixley1-0/+363