aboutsummaryrefslogtreecommitdiff
path: root/gdb/symm-nat.c
AgeCommit message (Collapse)AuthorFilesLines
2003-04-092003-04-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-902/+902
* NEWS: Mention that the "Sequent family" is obsolete. * configure.tgt: Obsolete i[3456]86-sequent-bsd*, i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*. * configure.host: Obsolete i[3456]86-sequent-bsd*, i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*. * config/i386/tm-ptx4.h: Obsolete file. * config/i386/tm-ptx.h: Obsolete file. * symm-tdep.c: Obsolete file. * config/i386/symmetry.mt: Obsolete file. * config/i386/tm-symmetry.h: Obsolete file. * symm-nat.c: Obsolete file. * config/i386/nm-symmetry.h: Obsolete file. * config/i386/xm-symmetry.h: Obsolete file. * config/i386/symmetry.mh: Obsolete file. * config/i386/nm-ptx4.h: Obsolete file. * config/i386/ptx4.mh: Obsolete file. * config/i386/ptx.mt: Obsolete file. * config/i386/ptx.mh: Obsolete file. * config/i386/xm-ptx4.h: Obsolete file. * config/i386/xm-ptx.h: Obsolete file.
2003-02-072003-02-06 Andrew Cagney <ac131313@redhat.com>Andrew Cagney1-4/+4
* Makefile.in (symm-nat.o): Update dependencies. (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto. (lynx-nat.o, ia64-linux-nat.): Ditto. * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include "gdb_wait.h" instead of <wait.h> or <sys/wait.h>. * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto.
2002-11-142002-11-14 Andrew Cagney <ac131313@redhat.com>Andrew Cagney1-38/+38
* regcache.h (deprecated_registers): Rename registers. * a68v-nat.c, alpha-nat.c, arch-utils.c, core-sol2.c: Update. * hp300ux-nat.c, hppab-nat.c, hppah-nat.c: Update. * hppam3-nat.c, hpux-thread.c, i386gnu-nat.c: Update. * ia64-aix-nat.c, ia64-linux-nat.c, ia64-tdep.c: Update. * irix4-nat.c, irix5-nat.c, lynx-nat.c, m68k-tdep.c: Update. * m68knbsd-nat.c, mips-linux-tdep.c, mipsm3-nat.c: Update. * mipsv4-nat.c, ns32knbsd-nat.c, ppc-bdm.c: Update. * ppc-sysv-tdep.c, ptx4-nat.c, regcache.c, remote-es.c: Update. * remote-sds.c, remote-vx68.c, remote-vxmips.c: Update. * remote-vxsparc.c, rs6000-tdep.c, sol-thread.c: Update. * sparc-nat.c, sparc-tdep.c, sun3-nat.c, symm-nat.c: Update. * v850ice.c: Update.
2002-11-072002-11-07 Andrew Cagney <ac131313@redhat.com>Andrew Cagney1-1/+1
* regcache.c (deprecated_registers_fetched): Update. * regcache.h (deprecated_registers_fetched): Rename registers_fetched. * remote-vxsparc.c (vx_read_register): Update. * remote-vxmips.c (vx_read_register): Update. * remote-vx68.c (vx_read_register): Update. * irix5-nat.c (fetch_core_registers): Update. * mipsm3-nat.c (fetch_inferior_registers): Update. * sun3-nat.c (fetch_inferior_registers): Update. * symm-nat.c (fetch_inferior_registers): Update. * ns32knbsd-nat.c (fetch_inferior_registers): Update. (fetch_core_registers): Update. (fetch_kcore_registers): Update. * mips-nat.c (fetch_inferior_registers): Update. * corelow.c (get_core_registers): Update. * a68v-nat.c (fetch_inferior_registers): Update.
2002-01-082002-01-07 Michael Snyder <msnyder@redhat.com>Michael Snyder1-1/+4
* infptrace.c (GDB_MAX_ALLOCA): New define. (child_xfer_memory): Use xmalloc/xfree instead of alloca if the size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte, can be overridden with whatever value is appropriate to the host). * infttrace.c (child_xfer_memory): Add FIXME warning about use of alloca to allocate potentially large buffer. * rs6000-nat.c (child_xfer_memory): Ditto. * symm-nat.c (child_xfer_memory): Ditto. * x86-64-linux-nat.c (child_xfer_memory): Ditto.
2001-07-26 * infptrace.c (child_xfer_memory): Add cast to CORE_ADDR.Daniel Jacobowitz1-1/+1
* infttrace.c (child_xfer_memory): Likewise. * symm-nat.c (child_xfer_memory): Likewise. * gdbserver/low-hppabsd.c (read_inferior_memory): Likewise. (write_inferior_memory): Likewise. * gdbserver/low-linux.c (read_inferior_memory): Likewise. (write_inferior_memory): Likewise. * gdbserver/low-lynx.c (read_inferior_memory): Likewise. (write_inferior_memory): Likewise. * gdbserver/low-nbsd.c (read_inferior_memory): Likewise. (write_inferior_memory): Likewise. * gdbserver/low-sparc.c (read_inferior_memory): Likewise. (write_inferior_memory): Likewise. * gdbserver/low-sun3.c (read_inferior_memory): Likewise. (write_inferior_memory): Likewise.
2001-05-04Phase 1 of the ptid_t changes.Kevin Buettner1-24/+29
2001-03-15Add ``attrib'' parameter to *xfer_memory() functions.Andrew Cagney1-0/+1
2001-03-06Update/correct copyright notices.Kevin Buettner1-1/+2
2001-03-01Create new file regcache.h. Update all uses.Andrew Cagney1-0/+1
2001-02-08Add __FILE__ and __LINE__ parameter to internal_error() /Andrew Cagney1-6/+12
internal_verror().
2000-11-02Protoization.Kevin Buettner1-1/+0
2000-10-27Protoization.Kevin Buettner1-9/+4
2000-07-30Protoization.Kevin Buettner1-39/+16
1999-08-09import gdb-1999-08-09 snapshotJason Molenda1-9/+9
1999-07-07import gdb-1999-07-07 post reformatJason Molenda1-427/+497
1999-04-26import gdb-19990422 snapshotStan Shebs1-2/+0
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1-0/+846
1999-04-16Initial creation of sourceware repositoryStan Shebs1-846/+0
1995-08-02Update FSF address.Fred Fish1-1/+1
1995-08-01* configure.in: Check for working mmap, ansi headers, string.h,J.T. Conklin1-1/+1
strings.h, and memory.h. * configure: Regenerated. * gdb_stat.h: New file, "portable" <sys/stat.h>. * gdb_string.h: New file, "portable" <string.h>. * altos-xdep.c, arm-tdep.c, arm-xdep.c, convex-tdep.c, convex-xdep.c, coredep.c, cxux-nat.c, dbxread.c, exec.c, gould-xdep.c, hppa-tdep.c, i386aix-nat.c, i386b-nat.c, i386mach-nat.c, i386v-nat.c, infptrace.c, m88k-nat.c, main.c, mdebugread.c, objfiles.c, os9kread.c, procfs.c, pyr-xdep.c, rs6000-nat.c, source.c, standalone.c, stuff.c, sun386-nat.c, symfile.c, symm-nat.c, symm-tdep.c, symtab.c, top.c, ultra3-nat.c, ultra3-xdep.c, umax-xdep.c, xcoffread.c: Include "gdb_stat.h" instead of <sys/stat.h>. * alpha-tdep.c, breakpoint.c, buildsym.c, c-typeprint.c, ch-typeprint.c, coffread.c, command.c, core-sol2.c, core-svr4.c, core.c, corelow.c, cp-valprint.c, dbxread.c, dcache.c, demangle.c, dpx2-nat.c, dstread.c, dwarfread.c, elfread.c, environ.c, eval.c, exec.c, f-lang.c, f-typeprint.c, f-valprint.c, findvar.c, fork-child.c, gdbtypes.c, hpread.c, i386-tdep.c, infcmd.c, inflow.c, infptrace.c, infrun.c, irix5-nat.c, language.c, m2-typeprint.c, main.c, mdebugread.c, minsyms.c, mipsread.c, monitor.c, nlmread.c, objfiles.c, os9kread.c, osfsolib.c, parse.c, printcmd.c, procfs.c, regex.c, remote-adapt.c, remote-arc.c, remote-array.c, remote-bug.c, remote-e7000.c, remote-eb.c, remote-es.c, remote-hms.c, remote-mm.c, remote-os9k.c, remote-pa.c, remote-sim.c, remote-st.c, remote-udi.c, remote-utils.c, remote-vx.c, remote-vx29k.c, remote-vx68.c, remote-vx960.c, remote-vxmips.c, remote-vxsparc.c, remote.c, solib.c, somread.c, source.c, stabsread.c, stack.c, symfile.c, symmisc.c, symtab.c, target.c, top.c, typeprint.c, utils.c, valarith.c, valops.c, valprint.c, values.c, xcoffread.c: Include "gdb_string.h" instead of <string.h>. * gdbtk.c: Likewise. * config/xm-sysv4.h, i386/xm-ptx.h, m68k/xm-sun3os4.h, sparc/xm-sun4os4.h (HAVE_MMAP): Removed. * config/xm-lynx.h, config/i386/xm-ptx.h, config/m68k/nm-apollo68b.h, config/m68k/xm-hp300hpux.h, config/mips/xm-irix3.h, config/mips/xm-mips.h, config/mips/xm-news-mips.h, config/mips/xm-riscos.h, config/pa/hppah.h, config/rs6000/xm-rs6000.h, config/sparc/xm-sun4os4.h, config/sparc/xm-sun4sol2.h, config/vax/xm-vaxbsd.h, config/vax/xm-vaxult.h, config/vax/xm-vaxult2.h (MEM_FNS_DECLARED): Removed. * config/mips/xm-irix3.h, config/mips/xm-mips.h, config/pa/xm-hppah.h (memcpy, memset): Removed declarations.
1994-08-31 * inflow.c (set_sigint_trap, clear_sigint_trap): Check forJim Kingdon1-5/+3
attach_flag (this check was performed by the callers). Also check inferior_thisrun_terminal. * inftarg.c (child_wait), lynx-nat.c (child_wait), procfs.c (wait_fd), symm-nat.c (child_wait): Don't check attach_flag in deciding whether to call set_sigint_trap and clear_sigint_trap.
1994-03-30 * ch-exp.y (decode_integer_value, match_character_literal,Peter Schauer1-10/+29
match_bitstring_literal): Guard tolower calls with isupper, tolower on old BSD systems blindly subtracts a constant. * dbxread.c (read_ofile_symtab): Check for __gnu_compiled_* as well when determining the producer of the object file. * mdebugread.c (has_opaque_xref): New function to check for cross reference to an opaque aggregate. * mdebugread.c (parse_symbol, parse_partial_symbols): Do not enter typedefs to opaque aggregates into the symbol tables. * mdebugread.c (parse_external): Remove skip_procedures argument, it has always been 1. Remove code that handled stProc symbols, it was never executed and was wrong, as the index of a stProc symbol points to the local symbol table and not to the auxiliary symbol info. Update caller. * mdebugread.c (parse_partial_symbols): Do not enter external stProc symbols into the partial symbol table, they are already entered into the minimal symbol table. * config/i386/tm-symmetry.h: Clean up, it is now only used for Dynix. Remove all conditionals and definitions for ptx. I386_REGNO_TO_SYMMETRY moved to here from symm-tdep.c. Fix addresses of floating point registers in REGISTER_U_ADDR. STORE_STRUCT_RETURN now handles cc and gcc conventions. FRAME_CHAIN, FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, IN_SIGTRAMP, SIGCONTEXT_PC_OFFSET defined to make backtracing through signal trampoline code work. * config/i386/xm-symmetry.h: Clean up, it is now only used for Dynix. Remove all conditionals and definitions for ptx. Remove KDB definitions. * symm-nat.c (store_inferior_registers): Fetch registers before storing them to obtain valid floating point control registers. Store fpu registers. * symm-nat.c (print_1167_control_word): Dynix 3.1.1 defines FPA_PCR_CC_C0 and FPA_PCR_CC_C1, avoid duplicate case value. * symm-nat.c (fetch_inferior_registers, child_xfer_memory): Fix typos. * symm-nat.c (child_resume): Update type of `signal' parameter. * symm-tdep.c (I386_REGNO_TO_SYMMETRY): Moved to tm-symmetry.h.
1994-03-26 * config/i386/ptx.mh (XDEPFILES): Add coredep.o. Delete infptrace.o.Jim Kingdon1-5/+45
* symm-nat.c (child_wait, _initialize_symm_nat, kill_inferior): Supply alternate version if ATTACH_DETACH is not defined. * ptx4-nat.c, config/i386/{nm-ptx4.h, ptx4.mh, ptx.mt, ptx4.mt, tm-ptx.h, tm-ptx4.h, xm-ptx.h, xm-ptx4.h}: New files. * configure.in: Recognize i[34]86-sequent-sysv4* host.
1994-03-03 * breakpoint.c, breakpoint.h, c-valprint.c, ch-valprint.c,Jim Kingdon1-11/+492
cp-valprint.c, eval.c, expprint.c, findvar.c, language.c, objfiles.h, infcmd.c, printcmd.c, stack.c, typeprint.c, valarith.c, valops.c, valprint.c, value.h, values.c: Replace value with value_ptr. This is for the ptx compiler. * objfiles.h, target.h: Don't declare a "sec_ptr" field using a "sec_ptr" typedef. * symm-nat.c: Add a bunch of stuff for symmetry's ptrace stuff. #if 0 i386_float_info. * symm-tdep.c (round): Remove. Also remove sgttyb. * symm-tdep.c: Remove lots of stuff which duplicates stuff from i386-tdep.c. Remove register_addr and ptx_coff_regno_to_gdb. * i386-tdep.c (i386_frame_find_saved_regs): Put in I386_REGNO_TO_SYMMETRY check in case it is needed for Dynix someday. * config/i386/nm-symmetry.h: Change KERNEL_U_ADDR. Move stuff from PTRACE_READ_REGS, PTRACE_WRITE_REGS macros to symm-nat.c. Define CHILD_WAIT and declare child_wait(). * config/i386/tm-symmetry.h: Remove call function stuff; stuff in tm-i386v.h is apparently OK. * config/i386/xm-symmetry.h [_SEQUENT_]: Define HAVE_TERMIOS not HAVE_TERMIO. Define MEM_FNS_DECLARED, NEED_POSIX_SETPGID, and USE_O_NOCTTY.
1993-11-01Change the stream argument to _filtered to GDB_FILE *.Thomas Lord1-59/+59
Change all references to stdout/stderr to gdb_stdout/gdb_stderr. Replace all calls to stdio output functions with calls to corresponding _unfiltered functions (`fprintf_unfiltered') Replaced calls to fopen for output to gdb_fopen. Added sufficient goo to utils.c and defs.h to make the above work. The net effect is that stdio output functions are only directly used in utils.c. Elsewhere, the _unfiltered and _filtered functions and GDB_FILE type are used. In the near future, GDB_FILE will stop being equivalant to FILE. The semantics of some commands has changed in a very subtle way: called in the right context, they may cause new occurences of prompt_for_continue() behavior. The testsuite doesn't notice anything like this, though. Please respect this change by not reintroducing stdio output dependencies in the main body of gdb code. All output from commands should go to a GDB_FILE. Target-specific code can still use stdio directly to communicate with targets.
1993-07-19 * infptrace.c: Split out define of PT_KILL; Sequent defines PT_KILLJim Kingdon1-0/+308
but not the others. * symm-tdep.c: Remove exec_file_command. [_SEQUENT_] (ptx_coff_regno_to_gdb, register_addr): New functions. A few miscellaneous cleanups. * symm-nat.c: Renamed from symm-xdep.c. * All symmetry dependent files: Many changes.