aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386v-nat.c
AgeCommit message (Collapse)AuthorFilesLines
2002-02-24s/Linux/.../Andrew Cagney1-8/+8
Fix PR gdb/378.
2001-03-06Update/correct copyright notices.Kevin Buettner1-1/+2
2000-07-30Protoization.Kevin Buettner1-27/+9
2000-05-28PARAMS removal.Kevin Buettner1-4/+2
2000-04-19For real this time.Jim Blandy1-7/+6
* i386v-nat.c (i386_insert_nonaligned_watchpoint): Use a two-dimensional array, instead of faking it with explicit index arithmetic.
2000-04-19I figured out what was going on.Jim Blandy1-120/+37
Since nobody had made any changes to i386v-nat.c on sourceware since the repository was started, we were still getting the version from the vendor branch. (If you don't understand how the vendor branch works, treasure your innocence.) I naively assumed that, to see what changes had been introduced in version 1.2, one should diff it with 1.1, as they say in TV Guide, "with hilarious results". This change simply restores i386v-nat.c to what it used to be before I started bungling around. The text of this revision should be identical to that of revision 1.1.1.3, which was the former head of the trunk. (Yes, 1.1.1.3 was the head of the trunk. As I said, treasure your innocence.)
2000-04-19My last commit introduced a bunch of mysterious whitespace changes; IJim Blandy1-42/+126
don't know where they came from. They weren't intentional, so this change reverts them.
2000-04-19* i386v-nat.c (i386_insert_nonaligned_watchpoint): Use aJim Blandy1-7/+6
two-dimensional array, instead of faking it with explicit index arithmetic.
1999-12-08import gdb-1999-12-07 snapshotJason Molenda1-85/+0
1999-07-07import gdb-1999-07-07 post reformatJason Molenda1-60/+62
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1-0/+392
1999-04-16Initial creation of sourceware repositoryStan Shebs1-392/+0
1998-10-131998-10-12 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda1-2/+14
* configure.in: Check for sys/debugreg.h, asm/debugreg.h. * i386v-nat.c: Include asm/debugreg.h, sys/debugreg.h if it is not present. This is to work around a conflict where the Linux 2.1.x kernel and glibc 2.0.x are not in sync; including <sys/debugreg.h> will result in an error. With luck, these losers will get their act together and we can trash this hack in the near future.
1998-08-181998-08-18 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda1-1/+10
* configure.in: Add more header files to AC_CHECK_HEADERS. * configure: Regenerated. * command.c: Include wait.h or sys/wait.h if present. * inftarg.c: Ditto. * core-aout.c: Include ptrace.h or sys/ptrace.h if present, based on autoconf test. * infptrace.c: Ditto. * expprint.c: Include ctype.h for isprint prototype. * i386aix-nat.c: Include sys/reg.h if autoconf says it is present. * i386v-nat.c: Include ptrace.h, sys/ptrace.h, and sys/reg.h if present, based on autoconf test. * utils.c: Include curses.h and term.h if present. (puts_debug): Change 'carriage_return' local variable to return_p to avoid name clash. * config/m68k/nm-apollo68b.h: Don't define PTRACE_IN_WRONG_PLACE, determine it with autoconf. * config/i386/nm-linux.h: Don't define NO_SYS_REG_H, determine it with autoconf. * config/i386/nm-i386sco.h: Don't define NO_PTRACE_H, determine it with autoconf. * config/i386/nm-i386v.h: Ditto. * config/i386/nm-symmetry.h: Ditto. * config/m88k/xm-cxux.h: Ditto. * config/m88k/xm-dgux.h: Ditto. * config/m68k/delta68.mh (NAT_FILE): nm-delta68.h no longer necessary. * config/m68k/nm-delta68.h: Removed.
1998-04-20Mon Apr 20 14:18:45 1998 J. Kean Johnston <jkj@sco.com>Jason Molenda1-1/+1
* procfs.c: Added replacement macros for LWP stuff. Fixed support for UnixWare / SVR4.2MP targets and any targets which use multi-file /proc entries. Fixed support for hardware watchpoints. * solib.c: SCO needs some of the same code as SunOS. Change preprocessor conditionals. * config/i386/i386sco5.mt: New file. * config/i386/tm-i386sco5.h: New file. * config/i386/i386sco5.mh (NATDEPFILES): add i386v-nat.o. * config/i386/nm-i386v42mp.h (TARGET_HAS_HARDWARE_WATCHPOINTS): define. Add other macros for hardware assisted watchpoints. * config/i386/nm-i386sco5.h: Correct attributions. (TARGET_HAS_HARDWARE_WATCHPOINTS): define. * config/i386/nm-linux.h (target_remote_watchpoint): Pass 'type' through to i386_insert_watchpoint. Mon Apr 20 14:12:30 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) * infrun.c (wait_for_inferior): Don't add signalled processes as new threads. * procfs.c (wait_fd): Note if LWP has exited. (procfs_wait): use GETPID to get process ID. NOTE: I didn't commit Kean's changes to configure.host/configure.tgt yet because they are kind of bogus and I'm punting back to him to let him figure out what he's trying to do. So configuring for UnixWare may not work just yet.
1996-01-04Changes to hexdump "struct user" for child process on some configurationsFred Fish1-1/+7
that use ptrace(). This is not as useful as doing a full dump in a human readable format, but is better than nothing when you are trying to verify what is actually in the user struct. * infptrace.c (udot_info): New function. (PT_*): Define each individually if that one is not defined. Update copyright to 1996. * rs6000-nat.c (kernel_u_size): New function Include <sys/user.h> for "struct user" Update copyright to 1996. * alpha-nat.c (kernel_u_size): New function. Include <sys/user.h> for "struct user" Update copyright to 1996. * sparc-nat.c (kernel_u_size): New function. Include <sys/user.h> for "struct user" Update copyright to 1996. * i386b-nat.c (kernel_u_size): New function. Update copyright to 1996. * i386v-nat.c (kernel_u_size): New function. Update copyright to 1996. * config/i386/nm-fbsd.h (KERNEL_U_SIZE): Define. (kernel_u_size): Declare. Update copyright to 1996. * config/i386/nm-linux.h (KERNEL_U_SIZE): Define. (kernel_u_size): Declare. Update copyright to 1996. * config/sparc/nm-sun4os4.h (KERNEL_U_SIZE): Define. (kernel_u_size): Declare. Update copyright to 1996. * config/alpha/nm-osf2.h (KERNEL_U_SIZE): Define. (kernel_u_size): Declare. Update copyright to 1996. * config/rs6000/nm-rs6000.h (KERNEL_U_SIZE): Define. (kernel_u_size): Declare. Update copyright to 1996.
1995-11-02 * i386-tdep.c (i386_extract_return_value): Make function visibleFred Fish1-12/+17
for all i386 targets, but only assume floating point values returned in floating point registers for I386_AIX_TARGET. * i386v-nat.c (i386_register_u_addr): Enable code to locate floating point regs in user struct.
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.
1995-05-22 * breakpoint.c: Move defaults of watchpoint related macros intoStu Grossman1-3/+3
target.h. * target.h: Macros from breakpoint.c. Conditionalize based on TARGET_HAS_HARDWARE_WATCHPOINTS. * i386v-nat.c procfs.c: Use TARGET_HAS_HARDWARE_WATCHPOINTS instead of TARGET_CAN_USE_HARDWARE_WATCHPOINT to enable watchpoint code. * config/i386/nm-linux.h, config/mips/nm-irix4.h, config/pa/nm-hppab.h, config/sparc/tm-sparclite.h: #define TARGET_HAS_HARDWARE_WATCHPOINTS to enable watchpoint code.
1995-03-08 * Makefile.in (VERSION): Bump to 4.14.1.Stan Shebs1-3/+4
* NEWS, README: Update for 4.14. * i386v-nat.c (i386_insert_aligned_watchpoint): Fix declaration. (i386_insert_nonaligned_watchpoint): Call aligned instead of generic watchpoint insertion.
1994-08-11 * i386v-nat.c (i386_insert_nonaligned_watchpoint):Fred Fish1-11/+27
add additional argument specifying raw address to permit proper release of debug registers. (i386_insert_watchpoint, i386_insert_aligned_watchpoint): change all callers.
1994-06-01Wed Jun 1 11:08:52 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs1-1/+174
Hardware watchpoints for Linux, from Rick Sladkey (jrs@world.std.com). * infrun.c (wait_for_inferior) [HAVE_CONTINUABLE_WATCHPOINT]: Add new hardware breakpoint recovery method. * i386v-nat.c (i386_insert_watchpoint, i386_insert_nonaligned_watchpoint, i386_remove_watchpoint, i386_stopped_by_watchpoint) [TARGET_CAN_USE_HARWARE_WATCHPOINT]: New functions to support the 386 hardware debugging registers. * config/i386/nm-linux.h (TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT, STOPPED_BY_WATCHPOINT, target_insert_watchpoint, target_remove_watchpoint): Define these macros to use the hardware debugging functions in i386v-nat.c.
1994-02-28 * i387-tdep.c, i386-tdep.c i386v-nat.c, i386aix-nat.c,Jim Kingdon1-2/+1
i386m3-nat.c, config/m68k/tm-m68k.h, i960-tdep.c config/i960/tm-i960.h, remote-nindy.c, config/m88k/tm-m88k.h, m88k-tdep.c: Use floatformat.h instead of ieee-float.h. * sparc-tdep.c: Remove now-obsolete ieee-float.h stuff * findvar.c: Update comment regarding ieee-float.h.
1993-11-01Change the stream argument to _filtered to GDB_FILE *.Thomas Lord1-1/+1
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-05-02 * defs.h (UINT_MAX, LONG_MAX, INT_MAX, INT_MIN): Replace hexFred Fish1-1/+4
constants with slightly more portable definitions (still depends on 2's complement arithmetic though). * config/i386/nm-linux.h: Define NO_SYS_REG_H for no <sys/reg.h>. * i386v-nat.c (sys/reg.h): Conditionalize include on NO_SYS_REG_H. Linux doesn't have <sys/reg.h>. * ser-unix.c (termio.h): Include <termio.h> like other files that include termio.h, not <sys/termio.h> which may not exist (on linux for example).
1992-10-22 * i386v-nat.c: Remove space from front of #endif.Stu Grossman1-1/+1
* irix4-nat.c: Remove externs of registers[], include inferior.h instead. * mips-nat.c: Explicitly initialize zerobuf to 0! * mips-tdep.c (init_extra_frame_info): Undo John's last change. Always setup fci->frame, even if it's non-zero. Too many places depend upon this behavior (and I have to get a release out the door)! * mipsread.c (parse_partial_symbols, psymtab_to_symtab_1): Set processing_gcc_compilation if we find the embedded stabs marker. This fixes several bugs with finding the location of short or char function parameters passed on the stack.
1992-10-16i386v host/target/native separationK. Richard Pixley1-0/+168