aboutsummaryrefslogtreecommitdiff
path: root/gdb/go32-nat.c
AgeCommit message (Collapse)AuthorFilesLines
2002-05-11* Makefile.in (ALLDEPFILES): Remove i387-nat.c.Jason Thorpe1-1/+1
(i387-nat.o): Delete dependency list. (go32-nat.o): Change i387-nat.h to i387-tdep.h. (x86-64-linux-nat.o): Likewise. * i387-nat.c: Delete file, moving contents to... * i387-tdep.c: ...here. * i387-nat.h: Rename... * i387-tdep.h: ...to this. * go32-nat.c: Include i387-tdep.h instead of i387-nat.h. * i386-linux-nat.c: Likewise. * i386bsd-nat.c: Likewise. * i386gnu-nat.c: Likewise. * i386nbsd-nat.c: Likewise. * i386v4-nat.c: Likewise. * x86-64-linux-nat.c: Likewise. * config/i386/fbsd.mh (NATDEPFILES): Remove i387-nat.o. * config/i386/go32.mh (NATDEPFILES): Likewise. * config/i386/i386gnu.mh (NATDEPFILES): Likewise. * config/i386/i386sol2.mh (NATDEPFILES): Likewise. * config/i386/i386v42mp.mh (NATDEPFILES): Likewise. * config/i386/linux.mh (NATDEPFILES): Likewise. * config/i386/nbsd.mh (NATDEPFILES): Likewise. * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. * config/i386/obsd.mh (NATDEPFILES): Likewise. * config/i386/x86-64linux.mh (NATDEPFILES): Likewise.
2002-04-19go32-nat.c (store_register): Cast &a_tss to `char *', to avoid compilerEli Zaretskii1-1/+1
warning. config/djgpp/README: Update.
2002-03-27s/strerror/safe_strerror/Andrew Cagney1-2/+2
2002-02-28 * go32-nat.c (_initialize_go32_nat): Don't use periods in theEli Zaretskii1-1/+1
first line of the doc string for "info dos", except at the end of the sentence, since the short help stops at the first period.
2002-02-19 * fix compilation failure by adding #include "i386-tdep.h"Pierre Muller1-0/+1
2002-01-21* go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_PMark Kettenis1-3/+3
macros instead of LAST_FPU_CTRL_REGNUM. (store_register): Likewise.
2002-01-13 * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneousEli Zaretskii1-8/+5
white space which prevented compilation. Reported by DSK <dsk@student.unsw.edu.au>.
2001-12-062001-12-04 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller1-5/+1
* go32-nat.c (go32_fetch_registers): Remove call to register_buffer (which is now a static function in regcache.c) and use regcache_collect instead.
2001-11-25 * go32-nat.c (save_npx): Avoid a warning from GCC 3.x.Eli Zaretskii1-13/+12
2001-11-15* TODO (register_buffer): Delete.Andrew Cagney1-1/+2
* regcache.c (register_buffer): Make static. (regcache_collect): New function. * regcache.h (register_buffer): Delete declaration. (regcache_collect): Declare. * remote.c (store_register_using_P): Rewrite using regcache_collect. (remote_store_registers): Ditto. * go32-nat.c (store_register): Ditto.
2001-08-24* go32-nat.c (go32_create_inferior): Use xfree instead of free.Andrew Cagney1-1/+1
* config/djgpp/fnchange.lst: Add entries for i386bsd-tdep.c and i386bsd-nat.c.
2001-08-02 The following changes avoid polluting global namespace with theEli Zaretskii1-3/+0
`enable' and `disable' identifiers, because some platforms define in their system headers symbols with global scope that go by those names. * breakpoint.h (enum enable_state): Rename from `enum enable'. Also rename all the enum members to have the "bp_" prefix. (struct breakpoint): Rename the `enable' member to `enable_state'. (enum bpdisp): Rename all members to have the "disp_" prefix. * breakpoint.c: All users of `enum enable' and `enum bpdisp' changed. (args_for_catchpoint_enable): Rename the `enable' member to `enable_p'. All users changed. * tracepoint.h (enum enable): Remove. (struct tracepoint): The member `enabled' is now `int enabled_p'. * tracepoint.c: All users of the `enabled' member changed. * printcmd.c (struct display): The `status' member is now an int. * memattr.h (struct mem_region): Rename the `status' member to `enabled_p'. (enum enable): Remove. * memattr.c: Change all users of the `status' member of struct mem_region to use `enabled_p' instead. * infcmd.c (run_stack_dummy): Use disp_del instead of del. * go32-nat.c: Remove the kludgey work-around for conflicts between <dos.h> and "breakpoint.h". * tui/tuiSourceWin.c: Use disp_del instead of del. * tui/tuiSource.c: Use disp_del instead of del. * tui/tuiDisassem.c: Use disp_del instead of del.
2001-07-29 * go32-nat.c (get_cr3): Temporary disable support for page tablesEli Zaretskii1-0/+2
in UMBs, as it is incomplete.
2001-07-26 * go32-nat.c (read_memory_region): Make sure the segment limit wasEli Zaretskii1-1/+4
indeed set, to work around a Windows 2000 bug.
2001-07-23Add new DJGPP-specific commands and document them in the manual.Eli Zaretskii1-8/+292
Make the function which reads memory regions be more defensive about buggy DPMI providers.
2001-07-15 * go32-nat.c (go32_create_inferior): Support command lines longerEli Zaretskii1-3/+19
than 126 characters.
2001-07-11 * go32-nat.c (info_dos_cmdlist): New variable.Eli Zaretskii1-11/+28
(go32_info_dos_command): New function. (_initialize_go32_nat): Convert all DOS-specific commands into subcommands of "info dos". Suggested by Andrew Cagney <ac131313@redhat.com>.
2001-07-08 * go32-nat.c (go32_get_windows_version, print_mem, go32_sysinfo)Eli Zaretskii1-1/+747
(read_memory_region, get_descriptor, display_descriptor) (go32_sldt, go32_sgdt, go32_sidt): New functions. (top-level): Include ctype.h, utsname.h, dos.h, and go32.h. Ifdef away `disable' from dos.h, since breakpoint.h defines an enum member of the same name, and GCC 2.7.2 barfs. (_initialize_go32_nat): Provide new commands dos-sysinfo, dos-ldt, dos-gdt, and dos-idt, all of them in the "info" class
2001-06-04 * go32-nat.c (go32_wait): Change the return value to ptid_t.Eli Zaretskii1-2/+2
* config/djgpp/fnchange.lst: Add two new files in the gdb/testsuite/gdb.c++/ directory to the remapped names. * config/djgpp/djconfig.sh (lt_cv_sys_max_cmd_len): Set to 12KB.
2001-05-04Phase 1 of the ptid_t changes.Kevin Buettner1-6/+8
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