aboutsummaryrefslogtreecommitdiff
path: root/gdb/win32-nat.c
AgeCommit message (Collapse)AuthorFilesLines
1998-12-31all remaining *.c *.h files from hp merge.David Taylor1-1/+1
1998-11-19Thu Nov 19 13:06:22 1998 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer1-5/+5
* main.c: Wait until more time has passed before calling new cygwin_ funcs, revert back to the cygwin32_ ones for now. * win32-nat.c: Ditto.
1998-11-05* top.c (gdb_readline): Allow CRLF line termination on systemsChristopher Faylor1-257/+478
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.
1998-11-05* win32-nat.c: Remove obsolete PPC conditionals.Christopher Faylor1-85/+1
1998-05-21Thu May 21 13:14:25 1998 John Metzler <jmetzler@cygnus.com>John Metzler1-42/+45
* gnu-nat.c (init_gnu_ops): Initialization of target ops by assignment. (_initialize_gnu_nat): Call new init * mac-nat.c (init_child_ops): Ditto (_initialize_mac_nat): Ditto * monitor.c (init_base_monitor_ops): Ditto (_initialize_remote_monitors) : Ditto * ppc-bdm.c (init_bdm_ppc_ops): Ditto (_initialize_bdm_ppc): Ditto * remote-adapt.c ( init_adapt_ops): Ditto (_initialize_remote_adapt): Ditto * remote-array.c (init_array_ops) : Ditto (_initialize_array): Ditto * remote-bug (init_bug_ops) : Ditto (_initialize_remote_bug): Ditto * remote-e7000.c (init_e7000_ops): Ditto (_initialize_remote_e7000) : Ditto * remote-eb.c (init_eb_ops) : Ditto (_initialize_remote_eb) : Ditto *remote-es.c (init_es1800_ops) : Ditto (init_es1800_child_ops) : Ditto (_initialize_es1800) ; Ditto *remote-hms.c (init_hms_ops): Ditto (_initialize_remote_hms) : Ditto * remote-mm.c (init_mm_ops): Ditto (_initialize_remote_mm) : Ditto * remote-nindy.c (init_nindy_ops): Ditto (_initialize_nindy): Ditto * remote_nrom.c (init_nrom_ops) : Ditto (_initialize_remote_nrom) : Ditto *remote-os9k (init_rombug_ops) : Ditto (_initialize_remote_os9k) : Ditto *remote-rdi.c (init_rdi_ops) : Ditto (_initialize_remote_rdi) : Ditto * remote-rdp.c (init_remote_rdp_ops) : Ditto (_initialize_remote_rdp) : Ditto * remote-sds.c (init_sds_ops) : Ditto (_initialize_remote_sds) : Ditto * remote-sim.c (init_gdbsim_ops) : Ditto (_initialize_remote_sim) : Ditto * remote-st.c (init_st2000_ops): Ditto (_initialize_remote_st2000): Ditto *remote-udi.c (init_udi_ops) : Ditto (_initialize_remote_udi) : Ditto * remote-vx.c (init_vx_ops) : Ditto (init_vx_run_ops) : Ditto (_initialize_vx) : Ditto * remote.c (init_remote_ops): Ditto (init_extended_remote_ops): Ditto (_initialize_remote): Ditto * sparcl-tdep.c (init_sparclite_ops): Ditto (_initialize_sparcl_tdep): Ditto * v850ice.c (init_850ice_ops): Ditto (_initialize_v850ice): Ditto *win32-nat.c: (init_child_ops): Ditto (_initialize_inftarg): Ditto
1998-01-19 From cgf@bbc.com (Chris Faylor):Ian Lance Taylor1-1/+20
* win32-nat.c (child_mourn_inferior): Call ContinueDebugEvent to let the child exit. (child_kill_inferior): Respond to all debug events as the child is terminating.
1997-08-18 * win32-nat.c (handle_exception): Return a value indicatingIan Lance Taylor1-4/+16
whether the exception was handled. Don't handle random exceptions the first time around, so that structured exception handling works. (child_wait): Check the return value of handle_exception. Set the continue_status argument to ContinueDebugEvent accordingly.
1996-11-12Mon Nov 11 17:15:59 1996 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer1-13/+9
* defs.h: modify Nov 11 12:59:00 change so _MSC_VER is checked instead of _WIN32 * win32-nat.c: fix Nov 11 12:59:00 change (windows.h should be included instead of windefs.h for compilers other than VC++). * mswin/windefs.h: remove ^Ms and change C++ style comments to C style comments
1996-11-11 * mips-tdep.c, remote-mips.c, values.c, mdebugread.c,Dawn Perchik1-1/+1
config/mips/tm-mips.h: Add/fix bugs for 64-bit mips support. * defs.h: Cleanup; add prototypess * corefile.c: Change FIXME #ifdef * win32-nat.c: Include windefs instead of windows.h. * utils.c: Add routines for printing addresses and registers based on type size.
1996-07-26See gdb ChangeLog entry with header:Fred Fish1-1/+3
Thu Jul 25 19:41:31 1996 Fred Fish <fnf@cygnus.com> for a rather huge set of changes. I was going to put them here, but it made cvs dump core. :-(
1996-07-15 * win32-nat.c (handle_load_dll): dos_path_to_unix_path renamed toDavid Edelsohn1-39/+31
cygwin32_conv_to_posix_path. (child_create_inferior): unix_path_to_dos_path renamed to cygwin32_conv_to_win32_path. Rewrite code to translate PATH.
1996-06-24 * win32-nat.c: #include <unistd.h>.David Edelsohn1-220/+85
(unix_paths_to_dos_paths, dos_paths_to_unix_paths): Delete. (child_create_inferior): Convert only env var PATH to win32 style. (set_pathstyle_dos): Delete. (_initialize_inftarg): Delete dos-path-style command.
1996-05-09 * Makefile.in, breakpoint.c, corelow.c, fork-child.c, inflow.c,Stu Grossman1-1/+1
infrun.c, mac-nat.c, procfs.c, remote.c, sol-thread.c, thread.c, win32-nat.c, config/nm-lynx.h: Rename thread.h to gdbthread.h to avoid conflict with Solaris /usr/include/thread.h.
1996-03-11Mon Mar 11 11:02:47 1996 Steve Chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-49/+372
With Michael Snyder: * i386-tdep.c (skip_trampoline_code): Fix strncmp length. * win32-nat.c (CHECK, DEBUG*, debug_*): New. (handle_load_dll): Don't reload symbols. (handle_exception): Use the DEBUG_* names. (child_wait): Add DEBUG_* code. (_initialize_inftarg): Add new commands to set debug_ names.
1996-02-02 * win32-nat.c (mappings): Add ppc registers.Steve Chamberlain1-3/+92
(child_resume): Turn of step for ppc.
1996-02-01 * config/powerpc/(cygwin32.mh, cygwin32.mt, tm-cygwin32.h,Steve Chamberlain1-7/+5
xm-cygwin32.h): New. * config/i386/(*win32*): Becomes *cygwin32*. * configure.in (i[3456]86-*-win32*): Becomes i[3456]86-*-cygwin32. (powerpcle-*-cygwin32): New. * configure: Regenerate. * win32-nat.c (child_create_inferior): Call CreateProcess with the right program arg.
1996-01-04 * mdebugread.c (mylookup_symbol): enum namespace becomesSteve Chamberlain1-12/+48
enum_namespace type. * symfile.c (add_psymbol_to_list) (add_psymbol_addr_to_list): Ditto. * symtab.c (lookup_partial_symbol): Ditto. (lookup_symbol): Ditto. (lookup_block_symbol): Ditto. * win32-nat.c (handle_load_dll): Use incoming dll base. (child_wait): Catch DLL load errors. (create_child_inferior): Translated between paths correctly.
1995-10-31Tue Oct 31 10:42:42 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-0/+1
* win32-nat.c (xlate_exception): Treat a stack overflow like a SEGV.
1995-10-29Sat Oct 28 23:51:48 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-1/+1
* defs.h: Test on name __WIN32__ rather than WIN32. * inflow.c (new_tty): Likewise * terminal.h: Likewise. * utils.c (initialize_utils): Likewise. * win32-nat.c (child_create_inferiror): Print error code when failing. * config/i386/win32.mh (XM_CLIBS): Need -lkernel32.
1995-10-10Tue Oct 10 12:25:11 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-7/+12
* win32-nat.c (child_create_inferior): Pass argv correctly. * Makefile.in (win32-nat.o): Add dependencies.
1995-10-09 * NEWS: Add information about win32 and arm code.Steve Chamberlain1-0/+643
* win32-nat.c: Renamed from win32.c * config/i386/win32.mh: Renamed from config/i386/i386win32.mh. * config/i386/win32.mt: Renamed from config/i386/i386win32.mt. * config/i386/tm-win32.h: Renamed from config/i386/tm-i386win32.h. * config/i386/xm-win32.h: Renamed from config/i386/xm-i386win32.h. * configure.in (i[345]86-*-win32): Updated to cope with filename changes. * configure: Regenerated.