diff options
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/go32-nat.c | 15 |
2 files changed, 16 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6ff6e69..eef27f3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2001-04-01 Eli Zaretskii <eliz@is.elta.co.il> + + * go32-nat.c: Minor tweaks, to pacify the ari script. + 2001-04-01 Mark Kettenis <kettenis@gnu.org> * i386-tdep.c (i386_extract_struct_value_address): New function. diff --git a/gdb/go32-nat.c b/gdb/go32-nat.c index dffc5d9..98eb7f2 100644 --- a/gdb/go32-nat.c +++ b/gdb/go32-nat.c @@ -112,7 +112,7 @@ save_npx (void) static void load_npx (void) { -asm ("frstor %0":"=m" (npx)); + asm ("frstor %0":"=m" (npx)); } /* ------------------------------------------------------------------------- */ /* Stubs for the missing redirection functions. */ @@ -122,25 +122,34 @@ typedef struct { } cmdline_t; void -redir_cmdline_delete (cmdline_t *ptr) {ptr->redirected = 0;} +redir_cmdline_delete (cmdline_t *ptr) +{ + ptr->redirected = 0; +} int redir_cmdline_parse (const char *args, cmdline_t *ptr) { return -1; } + int redir_to_child (cmdline_t *ptr) { return 1; } + int redir_to_debugger (cmdline_t *ptr) { return 1; } + int -redir_debug_init (cmdline_t *ptr) { return 0; } +redir_debug_init (cmdline_t *ptr) +{ + return 0; +} #endif /* __DJGPP_MINOR < 3 */ typedef enum { wp_insert, wp_remove, wp_count } wp_op; |