aboutsummaryrefslogtreecommitdiff
path: root/gdb/go32-nat.c
AgeCommit message (Collapse)AuthorFilesLines
2001-04-01 * go32-nat.c: Minor tweaks, to pacify the ari script.Eli Zaretskii1-3/+12
2001-03-26 * config/djgpp/djconfig.sh: Add copyright notice.Eli Zaretskii1-22/+28
* ser-go32.c (rawclock): Remove prototype; include time.h instead. (ISR, dos_hookirq, isr_t): Convert K&R definition to ANSI C. (top level) <string.h>: Include gdb_string.h instead. (dos_noop, dos_raw, dos_noflush_set_tty_state) (dos_print_tty_state, dos_info): Remove ATTRIBUTE_UNUSED. * go32-nat.c (go32_create_inferior): Move the declaration of `environ' to here from the top level. (top level) <_initialize_go32_nat>: Remove redundant prototype. <gdb_string.h>: Include it instead of string.h. (store_register): Call register_buffer instead of accessing registers[] directly. (redir_cmdline_delete, redir_cmdline_parse, redir_to_debugger) (redir_to_debugger, redir_debug_init) [__DJGPP_MINOR__ < 3]: Put the function names at the start of the line. (go32_set_dr): Throw internal_error if the argument is not a valid debug register number. (go32_open, go32_close, go32_attach, go32_detach, go32_resume) (go32_wait, go32_xfer_memory, go32_files_info) (go32_terminal_info): Remove ATTRIBUTE_UNUSED.
2001-03-22 * config/i386/nm-go32.h <top level>: Don't include nm-i386v.h,Eli Zaretskii1-387/+22
include nm-i386.h instead. (TARGET_HAS_HARDWARE_WATCHPOINTS, HAVE_CONTINUABLE_WATCHPOINT) (TARGET_CAN_USE_HARDWARE_WATCHPOINT, STOPPED_BY_WATCHPOINT) (TARGET_REGION_OK_FOR_HW_WATCHPOINT, DECR_PC_AFTER_HW_BREAK) (target_stopped_data_address, target_insert_watchpoint) (target_remove_watchpoint, target_insert_hw_breakpoint) (target_remove_hw_breakpoint): Don't define. (I386_USE_GENERIC_WATCHPOINTS, I386_DR_LOW_SET_CONTROL) (I386_DR_LOW_SET_ADDR, I386_DR_LOW_RESET_ADDR) (I386_DR_LOW_GET_STATUS): Define to call appropriate go32_* functions from go32-nat.c. * config/i386/go32.mh (NATDEPFILES): Add i386-nat.o. * go32-nat.c <top level>: Remove prototypes for watchpoint- related functions. Remove definitions of watchpoint-related macros. (go32_mourn_inferior): Call i386_cleanup_dregs instead of the private cleanup_dregs function. (cleanup_dregs, go32_insert_watchpoint) (go32_insert_aligned_watchpoint, go32_handle_nonaligned_watchpoint) (go32_remove_watchpoint, go32_remove_aligned_watchpoint) (go32_region_ok_for_watchpoint, go32_stopped_by_watchpoint) (go32_remove_hw_breakpoint, go32_insert_hw_breakpoint): Remove. (go32_set_dr, go32_set_dr7, go32_get_dr6): New functions.
2001-03-01Create new file regcache.h. Update all uses.Andrew Cagney1-0/+1
2001-02-18 * go32-nat.c: Include i387-nat.h.Eli Zaretskii1-56/+26
(fetch_register): New function, uses some of the guts of go32_fetch_registers and i387_supply_register. (go32_fetch_registers): Most of the code moved into fetch_register. Use i387_supply_fsave. (store_register): Use i387_fill_fsave instead of custom code. (go32_store_registers): Use i387_fill_fsave. * Makefile.in (go32-nat.o): Depend on i387-nat.h. * config/i386/go32.mh (NATDEPFILES): Add i387-nat.o.
2001-02-08Add __FILE__ and __LINE__ parameter to internal_error() /Andrew Cagney1-6/+10
internal_verror().
2001-02-04 * go32-nat.c (go32_xfer_memory): Make the argument list consistentEli Zaretskii1-1/+4
with target.h's to_xfer_memory member.
2000-08-06 * go32-nat.c: (go32_wait): If child_cwd[] is empty, initializeEli Zaretskii1-2/+15
it to GDB's current directory. (go32_create_inferior, init_go32_ops): Initialize child_cwd[] to an empty string, to signal an uninitialized value. From Robert Hoehne <robert.hoehne@gmx.net>.
2000-04-12 * go32-nat.c (go32_insert_hw_breakpoint): When there are no moreEli Zaretskii1-2/+2
hardware breakpoint resources, return EBUSY. (go32_handle_nonaligned_watchpoint): If the argument WHAT is not one of the enumerated values, return EINVAL.
2000-04-03 * go32-nat.c (go32_handle_nonaligned_watchpoint): Use aEli Zaretskii1-8/+7
two-dimensional array instead of faking it with index arithmetics.
2000-03-13 * go32-nat.c (struct env387): Remove declaration.Eli Zaretskii1-208/+129
(print_387_status, i386_go32_float_info): Remove redundant functions. (regno_mapping, sig_map, excepn_map): Add braces around inner initializers. (many functions): Use ATTRIBUTE_UNUSED to shut up the compiler; fix code which mixed signed with unsigned. (go32_resume): Use TARGET_SIGNAL_LAST instead of -1. (go32_wait): Initialize INT3_addr. (go32_fetch_registers): Extend all FP registers that are shorter than 4 bytes to 32 bits. Support 32 standard FP registers defined on config/i386/tm-i386.h. (store_register): Support 32 FP registers. (go32_create_inferior): Don't crash if handed a NULL pointer instead of exec file name. (ignore): Remove unused function. (go32_insert_hw_breakpoint): Remove unused variables. (init_go32_ops): Set value of processing_gcc_compilation to 2.
2000-02-09Replace ../include/wait.h with gdb_wait.h.Andrew Cagney1-1/+1
1999-12-07import gdb-1999-12-06 snapshotJason Molenda1-1/+1
1999-11-17import gdb-1999-11-16 snapshotJason Molenda1-5/+6
1999-10-05import gdb-1999-10-04 snapshotJason Molenda1-1/+1
1999-09-22import gdb-1999-09-21Jason Molenda1-9/+3
1999-08-31import gdb-1999-08-30 snapshotJason Molenda1-1/+0
1999-08-23import gdb-1999-08-23 snapshotJason Molenda1-144/+602
1999-07-07import gdb-1999-07-07 post reformatJason Molenda1-176/+166
1999-06-07import gdb-1999-06-07 snapshotJason Molenda1-3/+44
1999-05-05import gdb-19990504 snapshotStan Shebs1-11/+115
1999-04-27import gdb-19990422 snapshotStan Shebs1-0/+754
1992-12-08recording file deathK. Richard Pixley1-35/+0
1992-10-16go32 host/target/native separationK. Richard Pixley1-0/+35