1. 27 Apr, 1999 1 commit
  2. 26 Apr, 1999 1 commit
  3. 16 Apr, 1999 3 commits
  4. 31 Dec, 1998 1 commit
    • Jason Molenda's avatar
      1998-12-30 Jason Molenda (jsm@bugshack.cygnus.com) · adcb1e06
      Jason Molenda authored
              * 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.
      adcb1e06
  5. 14 Dec, 1998 1 commit
  6. 07 Dec, 1998 1 commit
  7. 30 Nov, 1998 1 commit
    • Andrew Cagney's avatar
      CARP: · b6960094
      Andrew Cagney authored
      Cleanup FRAME_CHAIN_VALID. Replace all macro's with functions.
      b6960094
  8. 28 Nov, 1998 1 commit
    • Andrew Cagney's avatar
      CARP: · 3a0c96a9
      Andrew Cagney authored
      Rewrite INNER_THAN so that it takes parameters.
      3a0c96a9
  9. 26 Nov, 1998 1 commit
  10. 14 Nov, 1998 1 commit
  11. 13 Nov, 1998 1 commit
    • Geoffrey Noer's avatar
      Fri Nov 13 00:15:08 1998 Geoffrey Noer <noer@cygnus.com> · d836385e
      Geoffrey Noer authored
              Changes to account for name change from cygwin32 to cygwin and
              clean up Win32-related ifdefs.
      
              * configure.tgt: check for cygwin* instead of cygwin32.
              New cygwin gdb_target variable loses the "32".
              * configure.host: check for cygwin* instead of cygwin32.
              New cygwin gdb_host variable loses the "32".
              * configure.in: test __CYGWIN__ instead of __CYGWIN32__,
              rename gdb_cv_os_cygwin32 variable to drop the "32".  Call
              AM_EXEEXT instead of AC_EXEEXT since that isn't in a released
              autoconf yet.
              * configure: regenerate.
      
              * main.c: drop "32" from cygwin_ funcs, include sys/cygwin.h
                where
              cygwin path conv protos live, instead of adding a proto here
                for
              them here.
              * {main.c, ser-tcp.c, ser-unix.c, top.c}: check __CYGWIN__
              instead of __CYGWIN32__.
              * source.c: thoughout, check _WIN32 instead of WIN32.
      
              * config/i386/cygwin32.mh: delete.
              * config/i386/cygwin.mh: new file, was cygwin32.mh.
              * config/i386/cygwin32.mt: delete.
              * config/i386/cygwin.mt: new file, was cygwin32.mt.
              * config/i386/tm-cygwin32.h: delete.
              * config/i386/tm-cygwin.h: new file, was tm-cygwin32.h.
              * config/i386/xm-cygwin32.h: delete.
              * config/i386/xm-cygwin.h: new file, was xm-cygwin32.h.
              * config/i386/xm-windows.h: #include xm-cygwin.h now.
              * config/powerpc/cygwin32.mh: delete.
              * config/powerpc/cygwin.mh: new file, was cygwin32.mh.
              * config/powerpc/cygwin32.mt: delete.
              * config/powerpc/cygwin.mt: new file, was cygwin32.mt.
              * config/powerpc/tm-cygwin32.h: delete.
              * config/powerpc/tm-cygwin.h: new file, was tm-cygwin32.h.
              * config/powerpc/xm-cygwin32.h: delete.
              * config/powerpc/xm-cygwin.h: new file, was xm-cygwin32.h.
      
              * rdi-share/aclocal.m4: regenerate with aclocal.
              * rdi-share/configure: regenerate with autoconf.
              * rdi-share/{host.h, hostchan.c, hostchan.h, serdrv.c,
              * serpardr.c,
              unixcomm.c}: check __CYGWIN__ instead of __CYGWIN32__.
      d836385e
  12. 05 Nov, 1998 1 commit
    • Christopher Faylor's avatar
      * top.c (gdb_readline): Allow CRLF line termination on systems · 3cee93ac
      Christopher Faylor authored
      which define CRLF_SOURCE_FILES.
      * win32-nat.c: 1) Add thread support, 2) fix ability to attach to
      a running process, and 3) implement limited support for cygwin
      signals.
      (thread_rec): New function.
      (child_add_thread): Ditto.
      (child_init_thread_list): Ditto.
      (child_delete_thread): Ditto.
      (do_child_fetch_inferior_registers): Ditto.
      (do_child_store_inferior_registers): Ditto.
      (handle_output_debug_string): Ditto.
      (child_fetch_inferior_registers): Use do_* function to perform
      operation.
      (child_store_inferior_registers): Ditto.
      (child_continue): Ditto.
      (child_thread_alive): Ditto.
      (cygwin_pid_to_str): Ditto.
      (handle_load_dll): Reorganize, add first attempt at reading
      dll names from attached processes.  Change info messages to provide
      more information when dll is already loaded.
      (handle_exception): Changes mandated by new thread-aware structures.
      (child_wait): Track thread creation/destruction.  Handle cygwin
      signals.
      (child_create_inferior): Ditto.
      (child_resume): Ditto.
      (child_kill_inferior): Ditto.  Close child process handle to avoid a
      handle leak.
      (child_ops): Fill out child_ops fields that deal with threads.
      * config/i386/tm-cygwin32.h: Declare function and macro needed
      for converting a cygwin "pid" to a string.
      * config/i386/xm-cygwin32.h: define HAVE_SIGSETMASK as 0 since
      sigsetmask is not defined in cygwin.
      3cee93ac
  13. 18 Aug, 1998 1 commit
    • Jason Molenda's avatar
      1998-08-18 Jason Molenda (jsm@bugshack.cygnus.com) · 4ff3dfab
      Jason Molenda authored
              * 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.
      4ff3dfab
  14. 24 Jul, 1998 2 commits
  15. 22 Apr, 1998 1 commit
  16. 21 Apr, 1998 1 commit
  17. 20 Apr, 1998 1 commit
    • Jason Molenda's avatar
      Mon Apr 20 14:18:45 1998 J. Kean Johnston <jkj@sco.com> · 1e50f1b4
      Jason Molenda authored
              * 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.
      1e50f1b4
  18. 14 Feb, 1998 1 commit
  19. 27 Jan, 1998 1 commit
  20. 14 Jan, 1998 1 commit
    • Fred Fish's avatar
      * configure.in (--with-mmalloc): Add new configure arg to use the · 0728afad
      Fred Fish authored
      	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.
      0728afad
  21. 25 Nov, 1997 1 commit
  22. 24 Nov, 1997 1 commit
  23. 05 Nov, 1997 1 commit
  24. 20 Sep, 1997 1 commit
  25. 10 Sep, 1997 1 commit
  26. 11 Aug, 1997 1 commit
    • Geoffrey Noer's avatar
      Mon Aug 11 16:22:36 1997 Geoffrey Noer <noer@cygnus.com> · 2549d2b3
      Geoffrey Noer authored
              * ocd.c (ocd_insert_breakpoint, ocd_remove_breakpoint): macro
              BDM_BREAKPOINT already has braces around it, remove erroneous ones.
              * ser-ocd.c (ocd_write): conditionalize on _WIN32 instead of
              __CYGWIN32__
              * config/powerpc/tm-ppc-eabi.h: remove BDM_NUM_REGS, BDM_REGMAP
              * ppc-bdm.c: move BDM_NUM_REGS, BDM_REGMAP here from tm.h file,
              fill in doc fields of bdm_ppc_ops.
              (bdm_ppc_fetch_registers): don't ask for invalid registers such
              as the MQ or floating point regs not present on ppc 8xx boards
              (bdm_ppc_store_registers): don't write those same invalid registers
              * config/i386/cygwin32.mh: stop including ocd.o ser-ocd.o
              * config/powerpc/ppc-eabi.mt:
              * config/powerpc/ppcle-eabi.mt:
              * config/powerpc/ppc-sim.mt:
              * config/powerpc/ppcle-sim.mt: include ser-ocd.o
      2549d2b3
  27. 09 Aug, 1997 1 commit
    • Ian Lance Taylor's avatar
      * ser-ocd.c: If _WIN32, include <windows.h>. · 5dcd8e70
      Ian Lance Taylor authored
      	(dll_do_command): New static variable if _WIN32.
      	(ocd_open): Set dll_do_command if _WIN32.
      	(ocd_write): Use dll_do_command rather than do_command.
      	* config/i386/cygwin32.mh (XDEPFILES): Remove libwigglers.a.
      	(BDM_DLLNAME, BDM_LIBNAME, BDM_DEFFILE): Don't define.
      	($(BDM_LIBNAME)): Remove target.
      	* wigglers.def: Remove.
      5dcd8e70
  28. 08 Aug, 1997 1 commit
  29. 07 Aug, 1997 1 commit
    • Geoffrey Noer's avatar
      Wed Aug 6 16:15:31 1997 Geoffrey Noer <noer@cygnus.com> · 35ce4f08
      Geoffrey Noer authored
              * Makefile.in: add DLLTOOL = @DLLTOOL@, pass on DLLTOOL to
              sub makes, change clean rule to also remove *.a to remove
              libwigglers.a, in dependencies: add ppc-bdm.o ocd.o ser-ocd.o and
              remove remote-wiggler.o
              * configure.in: add DLLTOOL support
              * configure: regenerate
              * wigglers.def: new file for imports for wigglers.dll
              * ser-ocd.c: new file which is layer between ocd.c and either the
              wigglers.dll or the target box, only stub so far
              * config/powerpc/ppc-eabi.mt: add ppc-bdm.o to TDEPFILES
              * config/powerpc/ppc-sim.mt: add ppc-bdm.o to TDEPFILES
              * config/i386/cygwin32.mh: add ocd.o ser-ocd.o libwigglers.a
              to XDEPFILES, add rules to build libwigglers.a
      
              checking in changes of Stu Grossman  <grossman@cygnus.com>:
              * remote-wiggler.c: delete
              * ocd.c: new, was remote-wiggler.c
              always include sys/types.h, include ocd.h, move WIGGLER
              commands and many wiggler prototypes to ocd.h, make wiggler_desc
              static, stop making local wiggler functions static,
              define write_mem_command for wiggler_write_bytes
              (wiggler_start_remote): stop hardcoding the target type,
              instead set and use a target_type variable.
              (wiggler_open): add new target_type and ops args
              (wiggler_wait): now no longer takes pid and target_status as args,
              stop trying to set target_status struct, remove BGND insn
              checks
              (read_bdm_registers): renamed to wiggler_read_bdm_registers
              (wiggler_read_bdm_registers): numregs arg changed to reglen arg,
              remove pktlen check, set reglen instead of numregs
              (dump_all_bdm_regs): delete
              (wiggler_fetch_registers): delete
              (wiggler_prepare_to_store): now just an empty function
              (wiggler_store_registers): delete
              (wiggler_read_bdm_register): new
              (wiggler_write_bdm_registers): new
              (wiggler_write_bdm_register): new
              (wiggler_write_bytes): use write_mem_command variable instead of
              WIGGLER_WRITE_MEM
              (get_packet): renamed to wiggler_get_packet, change refs throughout
              (put_packet): renamed to wiggler_put_packet, change refs throughout
              (wiggler_get_packet): add break to default case of switch,
              change length of WIGGLER_GET_VERSION len to 10 from 4 to match
              specs
              (wiggler_mourn): unpush_target with current_ops, not &wiggler_ops
              (flash_xfer_memory): delete
              (noop_store_registers): new placeholder replacement for
              target_store_registers() which prevents generic_load from trying to
              set up the PC.
              (bdm_update_flash_command): add store_registers_tmp variable,
              make handling of wiggler_ops more generic -- define wiggler_ops
              in a target-specific file instead (such as ppc-bdm.c in the case
              of the ppc), use current_target to deal with registers again
              making this file less target-specific.
              (bdm_read_register_command): new
              (_initialize_remote_wiggler): stop doing add_target (&wiggler_ops),
              comment out add_cmd ("read-register", ...)
              * ocd.h: new, contains common wiggler prototypes, command definitions
              * ppc-bdm.c: file for ppc-specific OCD code, including target_ops
              structure for ppc bdm
              (bdm_ppc_open): new
              (bdm_ppc_wait): new
              (bdm_ppc_fetch_registers): new
              (bdm_ppc_store_registers_: new
              (_initialize_bdm_ppc): new
      	* config/powerpc/tm-ppc-eabi.h: add necessary CPU32 BDM defines
      35ce4f08
  30. 04 Jul, 1997 1 commit
    • Ian Lance Taylor's avatar
      * source.c (OPEN_MODE, FDOPEN_MODE): Define; value depends upon · f897ef47
      Ian Lance Taylor authored
      	whether CRLF_SOURCE_FILES is defined.
      	(open_source_file): Use OPEN_MODE with open and openp.
      	(print_source_lines): Use FDOPEN_MODE with fdopen.  If
      	CRLF_SOURCE_FILES is defined, ignore \r characters.
      	(forward_search_command): Use FDOPEN_MODE with fdopen.
      	(reverse_search_command): Likewise.
      	* config/i386/xm-cygwin32.h (CRLF_SOURCE_FILES): Define.
      	(LSEEK_NOT_LINEAR): Don't define.
      f897ef47
  31. 22 Apr, 1997 1 commit
    • Stu Grossman's avatar
      * config/alpha/alpha-osf3.mh config/i386/{i386gnu linux}.mh · 178b282b
      Stu Grossman authored
      	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.
      178b282b
  32. 14 Apr, 1997 1 commit
  33. 10 Apr, 1997 1 commit
    • Geoffrey Noer's avatar
      Thu Apr 10 13:20:53 1997 Geoffrey Noer <noer@cygnus.com> · 234a732d
      Geoffrey Noer authored
              * procfs.c: Substantial (but incomplete) changes to support
              sysv4.2mp procfs as implemented in UnixWare 2.1.  The procinfo
              struct now has substructs like struct flt_ctl instead of
              just a fltset_t and has a ctl_fd, status_fd, as_fd, and
              map_fd instead of a single fd.  Non-sysv4.2mp procfs models
              still have the structs and multiple fds, but don't use the
              entire struct and the four fds all point to the same thing.
              We use PROCFS_USE_READ_WRITE to decide whether to talk to
              procfs with reads/writes or use ioctl instead.  We use
              HAVE_MULTIPLE_PROC_FDS to determine whether procfs really has
              multiple fds or not.  PROC_NAME_FMT is split out into
              CTL_PROC_NAME_FMT, AS_PROC_NAME_FMT, MAP_PROC_NAME_FMT,
              STATUS_PROC_NAME_FMT.
      
              (procfs_notice_signals): now a necessary wrapper around
              (notice_signals): which are the new guts for noticing signals
              (open_proc_file): gets a new flag arg used in sysv4.2mp to
              determine whether or not to attempt to open the ctl_fd.
              (procfs_read_status): new local function, reads procfs status
              (procfs_write_pcwstop): new local function, writes a PCWSTOP
              (procfs_write_pckill): new local function, writes a PCKILL
              (unconditionally_kill_inferior): remove signo since we now
              just call procfs_write_pckill().
              (procfs_xfer_memory): call lseek with SEEK_SET rather than 0
              (proc_iterate_over_mappings): the whole function is ifdefed
              on UNIXWARE to keep things readable.
      
              Expanded the syscall_table to include new potential sysv4.2mp
              members.  Note that all ifdefs of UNIXWARE should be eliminated
              if possible or renamed to describe what's being selected for a
              bit better.  Sysv4.2mp and IRIX both have SYS_sproc so the
              IRIX specific code now also checks it's not UNIXWARE.
      
              * config/i386/tm-i386v42mp.h: also define HAVE_PSTATUS_T,
              HAVE_NO_PRRUN_T, PROCFS_USE_READ_WRITE, and UNIXWARE
              * config/mips/nm-irix4.h: set CTL_PROC_NAME_FMT et al to
              "/debug/%d" as PROC_NAME_FMT used to be
      234a732d
  34. 20 Mar, 1997 2 commits
  35. 31 Dec, 1996 1 commit
  36. 29 Dec, 1996 1 commit