aboutsummaryrefslogtreecommitdiff
path: root/gdb/windows-nat.c
AgeCommit message (Collapse)AuthorFilesLines
2001-10-13* win32-nat.c (safe_symbol_file_add_stub): Properly initialize linked listChristopher Faylor1-1/+1
pointer to beginning rather than one beyond beginning.
2001-10-12* config/i386/tm-cygwin.h: include tm-i386.h instead of tm-i386v.h. This fixesChristopher Faylor1-20/+27
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-10-11* win32-nat.c (get_child_debug_event): Close file handles created after processChristopher Faylor1-0/+4
creation and DLL load. (child_create_inferior): Close unneeded process/thread handle after thread creation.
2001-05-04Phase 1 of the ptid_t changes.Kevin Buettner1-21/+30
2001-03-182001-03-17 Michael Chastain <chastain@redhat.com>Michael Chastain1-1/+2
* win32-nat.c (child_attach): check args for NULL before passing to strtoul. This fixes PR gdb/43.
2001-03-06Update/correct copyright notices.Kevin Buettner1-2/+2
2001-03-01Create new file regcache.h. Update all uses.Andrew Cagney1-3/+4
2001-02-19 * demangle.c (demangling_style_names): New variable.Eli Zaretskii1-2/+6
(_initialize_demangler): Fill demangling_style_names with the names of known demangling styles from libiberty_demanglers[]. Use add_set_enum_cmd instead of add_set_cmd, to get completion on demangling style names. * proc-api.c (_initialize_proc_api): Make `procfs-file' use file-name completion. * remote-rdi.c (_initialize_remote_rdi): Ditto for `rdilogfile'. * solib.c (_initialize_solib): Ditto for `solib-search-path' and `solib-absolute-prefix'. * tracepoint.c (_initialize_tracepoint): Ditto for `save-tracepoints'. * win32-nat.c (_initialize_inftarg): Ditto for `dll-symbols'. * cli/cli-cmds.c (init_cli_cmds): Make `shell' and `make' use file-name completion. * infcmd.c (_initialize_infcmd): Make the following commands use the file-name completer: `tty', `args', `path', `paths', and `run'.
2001-02-06Fix spacing.Christopher Faylor1-1/+1
2001-02-06* win32-nat.c: Change PTR to void * throughout.Christopher Faylor1-5/+5
2001-01-27* win32-nat.c (child_xfer_memory): Add missing argument required by 2001-01-23Christopher Faylor1-1/+2
change.
2001-01-25* win32-nat.c (_initialize_core_win32): Prototype correctly.Christopher Faylor1-1/+1
2000-12-15Replace free() with xfree().Kevin Buettner1-6/+6
2000-11-28* win32-nat.c (dll_code_sections_add): strdup -> xstrdup.Christopher Faylor1-1/+1
2000-11-15Protoization.Kevin Buettner1-1/+0
2000-08-27* win32-nat.c (dll_symbol_command): Tack a .dll on the end of a suppliedChristopher Faylor1-97/+332
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-64/+69
(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-07-30Protoization.Kevin Buettner1-14/+9
2000-06-11* win32-nat.c (safe_symbol_file_add_args): Store old gdb_stderr and gdb_stdoutChristopher Faylor1-4/+13
here. (safe_symbol_file_add_stub): Redirect gdb_stdout as well as stderr. (safe_symbol_file_add_cleanup): Restore gdb_stdout. (info_dll_command): Use the pager for displaying DLLs since there are often quite a few.
2000-06-04Eliminate PARAMS from function pointer declarations.Kevin Buettner1-1/+1
2000-06-04* win32-nat.c (safe_symbol_file_add_cleanup): Ensure that gdb_stderr is flushedChristopher Faylor1-73/+183
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-06-03* win32-nat.c: Fix up gcc warnings throughout.Christopher Faylor1-93/+67
(handle_load_dll): Change DLL name to lower case. (handle_exception): Add a second argument indicating whether a breakpoint should be ignored. Return a 0 if the breakpoint was ignored. (get_child_debug_event): Pass argument to handle_exception to control whether a breakpoint should be ignored. (child_create_inferior): Use modern cygwin API. Explicitly clear last_sig. Pass FIRST_EXCEPTION to get_child_debug_event for detection of first breakpoint. * configure.in: Eliminate unneeded WINDRES/DLLTOOL tests left over after last change. * configure: Regenerate.
2000-05-28PARAMS removal.Kevin Buettner1-3/+3
2000-04-212000-04-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni1-1/+2
* win32-nat.c (handle_load_dll): Don't treat .text as a special section anymore. * somread.c (som_symfile_offsets): Ditto. * somsolib.c (som_solib_add_solib_objfile): Ditto.
2000-04-21* win32-nat.c (thread_rec): Be more defensive about suspending alreadyChristopher Faylor1-101/+156
suspended threads. (safe_symbol_file_add_stub): New function. (safe_symbole_file_add_cleanup): New function. (safe_symbol_file_add): New function. (handle_load_dll): Use wrapper to add DLL symbol information to avoid bogus errors from non-stabs DLLs. (handle_exception): Add work around for detection of first exception breakpoint which does not seem to occur on W2K. Detect more "signals" that can be effectively passed to the debuggee. Reorganize to eliminate continue_status global. (child_continue): Reorganize to eliminate continue_status global. (child_wait): Ditto. (child_resume): Ditto. (get_child_debug_event): Ditto. Recognize when an a breakpoint exception should be ignored. Change method for signalling when an important event has occured to the caller. (child_create_inferior): Use new method for noticing when get_child_debug_event has found something interesting.
2000-03-25* win32-nat.c: Back out special frame walking code. It was broken.Christopher Faylor1-57/+5
(handle_exception): Correctly identify an illegal instruction. * config/tm-cygwin.h: Eliminate special frame handling. Just use normal i386 handling.
2000-02-28* win32-nat.c: Remove unneeded header.Christopher Faylor1-1/+0
* wince.c: Ditto.
2000-02-28Correct copyright.Christopher Faylor1-2/+2
2000-02-09Replace ../include/wait.h with gdb_wait.h.Andrew Cagney1-1/+1
2000-01-11import gdb-2000-01-10 snapshotJason Molenda1-0/+9
1999-12-22import gdb-1999-12-21 snapshotJason Molenda1-33/+63
1999-12-07import gdb-1999-12-06 snapshotJason Molenda1-143/+304
1999-10-12import gdb-1999-10-11 snapshotJason Molenda1-1/+1
1999-10-05import gdb-1999-10-04 snapshotJason Molenda1-2/+5
1999-08-31import gdb-1999-08-30 snapshotJason Molenda1-1/+0
1999-08-16import gdb-1999-08-16 snapshotJason Molenda1-24/+1
1999-07-07import gdb-1999-07-07 post reformatJason Molenda1-142/+146
1999-04-26import gdb-19990422 snapshotStan Shebs1-89/+117
1999-04-16Initial creation of sourceware repositoryStan Shebs1-0/+1122