aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/i386/tm-cygwin.h
AgeCommit message (Collapse)AuthorFilesLines
2004-04-062004-04-05 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-4/+3
* config/i386/tm-i386.h: Delete file. * config/i386/tm-vxworks.h: Update copyright, do not include "tm-i386.h". * config/i386/tm-nto.h, config/i386/tm-linux.h: Ditto. * config/i386/tm-i386sol2.h, config/i386/tm-i386lynx.h: Ditto. * config/i386/tm-go32.h, config/i386/tm-cygwin.h: Ditto. * config/i386/ncr3000.mt (TM_FILE): Delete. * config/i386/interix.mt (TM_FILE): Delete. * config/i386/i386v.mt (TM_FILE): Delete. * config/i386/i386nw.mt (TM_FILE): Delete. * config/i386/i386gnu.mt (TM_FILE): Delete. * config/i386/i386aout.mt (TM_FILE): Delete. * config/i386/embed.mt (TM_FILE): Delete.
2003-11-062003-11-05 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-2/+0
* config/sparc/tm-sparc.h (FRAME_STRUCT_ARGS_ADDRESS): Delete macro. * config/m68k/tm-sun3.h (SIG_PC_FP_OFFSET): Delete macro. * config/i386/tm-cygwin.h (LINKER_SYMBOLS_HAVE_WIN32_STDCALL_ARG_SIZES): Delete macro. * config/powerpc/tm-linux.h (AT_SUBROUTINE_CALL_INSTRUCTION_TARGET): Delete macro. (at_subroutine_call_instruction_target): Delete declaration. * config/sparc/tm-sp64linux.h (GDB_PTRACE_REGS64): Delete macro. * config/m68k/tm-sun3.h (SIG_SP_FP_OFFSET): Delete macro. * config/ns32k/tm-ns32k.h (NUM_GENERAL_REGS): Delete macro.
2003-09-13* win32-nat.c: Just rely on CONTEXT_EXTENDED_REGISTER being defined for SSEChristopher Faylor1-7/+0
registers since gdb will not operate correctly without this. Restore include file ordering munged in previous change. * config/i386/tm-cygwin.h: Remove HAVE_SSE_REGS define.
2003-09-13* win32-nat.c: Reorganize so that defines used by target headers are actuallyChristopher Faylor1-1/+1
defined by the system headers. * config/i386/tm-cygwin.h: Check for CONTEXT_EXTENDED_REGISTERS rather than HAVE_CONTEXT_EXTENDED_REGISTERS, since the latter actually exists.
2002-11-22* win32-nat.c (psapi_get_dll_name): Fix a compiler warning.Christopher Faylor1-1/+5
(struct so_stuff): Add end_addr field. (register_loaded_dll): Calculate and store end address of loaded dll. (solib_address): New function. (child_solib_loaded_library_pathname): Pass carefully constructed section info to safe_symbol_file_add rather than ignoring it. (get_child_debug_event): Call re_enable_breakpoints_in_shlibs when a DLL is loaded. (do_initial_child_stuff): Call disable_breakpoints_in_shlibs. (child_create_inferior): Fix a compiler warning. * config/i386/tm-cygwin.h (PC_SOLIB): Define new macro. (solib_address): Declare new function.
2002-08-16 * config/i386/tm-cygwin.h: Remove some "#if 0"'ed macros.Joel Brobecker1-6/+0
2002-06-15* config/i386/tm-cygwin.h, config/i386/tm-fbsd.h,Mark Kettenis1-1/+0
config/i386/tm-go32.h, config/i386/tm-i386gnu.h, config/i386/tm-i386sol2.h, config/i386/tm-i386v4.h, config/i386/tm-linux.h, config/i386/tm-nbsd.h, config/i386/tm-obsd.h (HAVE_I387_REGS): Remove define. * config/i386/tm-i386.h: Unconditionally define FLOAT_INFO.
2001-11-27* config/i386/tm-cygwin.h: Define HAVE_SSE_REGS ifChristopher Faylor1-2/+6
HAVE_CONTEXT_EXTENDED_REGISTERS is defined. * win32-nat.c: Define CONTEXT_DEBUGGER_DR that will also include extended registers if HAVE_SSE_REGS is defined. (mappings array): Add offset of extended registers. (thread_rec): Use new CONTEXT_DEBUGGER_DR macro.
2001-11-01Approved by kev@cygnus.comFred Fish1-2/+2
ChangeLog entry: 2001-11-01 Fred Fish <fnf@redhat.com> * coff-solib.c (coff_solib_add): Add new readsyms arg. * irix5-nat.c (solib_add): Ditto. * osfsolib.c (solib_add): Ditto. * pa64solib.c (pa64_solib_add): Ditto. * pa64solib.c (add_to_solist): Ditto. * pa64solib.c (read_dld_descriptor): Ditto. * solib.c (solib_add): Ditto. * somsolib.c (som_solib_add): Ditto. * win32-nat.c (child_solib_add): Ditto. * xcoffsolib.c (solib_add): Ditto. * coff-solib.h (coff_solib_add): Add new readsyms arg to prototype. * pa64solib.c (add_to_solist): Ditto. * pa64solib.c (read_dld_descriptor): Ditto. * pa64solib.h (pa64_solib_add): Ditto. * solib.h (solib_add): Ditto. * somsolib.h (som_solib_add): Ditto. * config/i386/tm-cygwin.h (child_solib_add): Ditto. * coff-solib.c (coff_solib_add): If readsyms is zero don't read symbols but do any other needed work for shared libs. * irix5-nat.c: Ditto. * osfsolib.c (solib_add): Ditto. * solib.c (solib_add): Ditto. * win32-nat.c (child_solib_add): Ditto. * xcoffsolib.c (solib_add): Ditto. * irix5-nat.c (sharedlibrary_command): Pass 1 as readsyms to solib_add to force reading of shared library symbols. * osfsolib.c (sharedlibrary_command;): Ditto. * pa64solib.c (pa64_solib_sharedlibrary_command): Ditto. * solib.c (sharedlibrary_command): Ditto. * somsolib.c (som_solib_sharedlibrary_command): Ditto. * xcoffsolib.c (sharedlibrary_command): Ditto. * coff-solib.c (coff_solib_create_inferior_hook): Call solib_add unconditionally with auto_solib_add. * irix5-nat.c (solib_create_inferior_hook): Ditto. * osfsolib.c (solib_create_inferior_hook): Ditto. * solib.c (solib_create_inferior_hook): Ditto. * solib-osf.c (osf_solib_create_inferior_hook): Ditto. * solib-svr4.c (enable_break): Ditto. * solib-sunos.c (sunos_solib_create_inferior_hook): Ditto. * corelow.c (solib_add_stub): Add auto_solib_add to args passed via SOLIB_ADD. * sol-thread.c (sol_thread_attach): Ditto. * config/rs6000/nm-rs6000.h (SOLIB_ADD): Ditto. * infcmd.c (attach_command): Remove auto_solib_add decl. Call SOLIB_ADD directly with auto_solib_add. * infrun.c (handle_inferior_event): Ditto. * coff-solib.h (SOLIB_ADD): Add readsyms arg. * pa64solib.h (SOLIB_ADD): Ditto. * solib.h (SOLIB_ADD): Ditto. * somsolib.h (SOLIB_ADD): Ditto. * config/i386/tm-cygwin.h (SOLIB_ADD): Ditto. * fork-child.c (clone_and_follow_inferior): Remove unused auto_solib_add decl. * pa64solib.c (pa64_solib_add): Call add_to_solist with readsyms. (read_dld_descriptor): Ditto. (pa64_solib_add): Call read_dld_descriptor with readsyms. (pa64_solib_in_dynamic_linker): Ditto. * corelow.c (symfile.h): Need this for auto_solib_add declaration. * sol-thread.c (symfile.h): Ditto. Approved by eliz@is.elta.co.il doc/ChangeLog entry: 2001-11-01 Fred Fish <fnf@redhat.com> * gdbint.texinfo (SOLIB_ADD): Document additional new "readsyms" arg.
2001-10-12* config/i386/tm-cygwin.h: include tm-i386.h instead of tm-i386v.h. This fixesChristopher Faylor1-1/+1
errors in "long long" handling for 'finish' and 'return' commands. * win32-nat.c (safe_symbol_file_add_stub): Avoid adding a shared library if it has already been loaded. (safe_symbol_file_add_cleanup): Don't mess with stderr or we won't see any error messages. (safe_symbol_file_add): Ditto. (solib_symbols_add): Make static. Accept 'from_tty' parameter. Pass it to safe_symbol_file_add. (core_dll_symbols_add): Accomodate extra solib_symbols_add parameter. (child_solib_add): Ditto. * win32-nat.c (handle_exception): Don't print "first chance" exceptions. (get_child_debug_event): Continue from exceptions if !handle_exception.
2001-05-04Phase 1 of the ptid_t changes.Kevin Buettner1-1/+1
2001-03-06Update/correct copyright notices.Kevin Buettner1-1/+2
2000-08-27* win32-nat.c (dll_symbol_command): Tack a .dll on the end of a suppliedChristopher Faylor1-2/+2
argument if it is missing an extension. * corelow.c: Define O_BINARY if it isn't defined. (core_open): Open core file in binary mode. * config/i386/tm-cygwin.h (child_clear_solibs): Rename from child_clear_solib. * config/i386/cygwin.mh: Add dependency from corelow.o. * win32-nat.c (register_loaded_dll): New function. Add dll to the list of currently loaded dlls. (handle_load_dll): Use register_loaded_dll. (child_solib_add): Distinguish between active process and core targets. (solib_symbols_add): Load symbols from loaded dll. (core_dll_symbols_add): New function. Load symbols from dll referenced in core. (core_section_load_dll_symbols): New function. (dll_code_sections_add): New function. (map_single_dll_code_section): New function. (fetch_elf_core_registers): New function. (_initialize_core_win32): New function.
2000-08-06* win32-nat.c: Perform various gcc warning cleanups.Christopher Faylor1-0/+1
(safe_symbol_file_add_cleanup): Reset stdout to saved stdout, not stderr. (dll_symbol_command): Pass OBJF_USERLOADED to safe_symbol_file_add. (get_child_debug_event): Always reset last_sig. Always reset inferior pid appropriately. (do_initial_child_stuff): New function. Called when attaching or starting a new inferior process. (child_attach): Use do_initial_child_stuff. (child_create_inferior): Ditto. * config/i386/cygwin.mh (NAT_FILE): Set to modern location. * config/i386/tm-cygwin.h: Define ATTACH_NO_WAIT.
2000-06-04* win32-nat.c (safe_symbol_file_add_cleanup): Ensure that gdb_stderr is flushedChristopher Faylor1-2/+14
before deleting and restoring it. (safe_symbol_file_add): Ensure that gdb_stderr is flushed before reassigning it. (handle_load_dll): Split into two functions so that WFI can handle shared library events. (child_solib_loaded_library_pathname): New function. (child_clear_solibs): New function. Clears shared library list. (child_solib_add): New function. Adds shared library symbols. (dll_symbol_command): New function. Handles "dll-symbol" command. (info_dll_command): New function. Handles info "sharedlibrary" command. (handle_exceptions): Eliminate 'ignore_trap' argument. (get_child_debug_event): Eliminate two arguments. Return "pid" when appropriate. Break out on most events to allow WFI to handle stuff. (child_wait): Accomodate get_child_debug_event changes. (child_attach): Clear thread list and list of loaded dlls. (child_create_inferior): Clear list of loaded dlls. Use wait_for_inferior in a loop to look for first "trap". (child_resume): Avoid accessing a possibly-freed thread pointer. (_initialize_inftarg): Add "dll-symbols", "sharedlibrary", and "info dll", and "info sharedlibrary" commands. * config/i386/tm-cygwin.h: Add some shared library (aka DLL) hooks.
2000-05-28PARAMS removal.Kevin Buettner1-2/+2
2000-03-25* win32-nat.c: Back out special frame walking code. It was broken.Christopher Faylor1-18/+1
(handle_exception): Correctly identify an illegal instruction. * config/tm-cygwin.h: Eliminate special frame handling. Just use normal i386 handling.
1999-12-22import gdb-1999-12-21 snapshotJason Molenda1-1/+17
1999-12-07import gdb-1999-12-06 snapshotJason Molenda1-98/+4
1999-07-07import gdb-1999-07-07 post reformatJason Molenda1-1/+2
1999-06-01import gdb-1999-06-01 snapshotJason Molenda1-2/+0
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1-0/+127
1999-04-16Initial creation of sourceware repositoryStan Shebs1-127/+0
1998-11-13Fri Nov 13 00:15:08 1998 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer1-0/+127
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__.