From ba8629a96e44b40a6c34fd0d2922ac237717e93d Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 1 Apr 2001 14:01:52 +0000 Subject: [PATCH] * go32-nat.c: Minor tweaks, to pacify the ari script. --- gdb/ChangeLog | 4 ++++ gdb/go32-nat.c | 15 ++++++++++++--- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6ff6e695d5b..eef27f309f0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2001-04-01 Eli Zaretskii + + * go32-nat.c: Minor tweaks, to pacify the ari script. + 2001-04-01 Mark Kettenis * i386-tdep.c (i386_extract_struct_value_address): New function. diff --git a/gdb/go32-nat.c b/gdb/go32-nat.c index dffc5d959b9..98eb7f231eb 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; -- 2.30.2