aboutsummaryrefslogtreecommitdiff
path: root/gdb/go32-nat.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2001-04-01 14:01:52 +0000
committerEli Zaretskii <eliz@gnu.org>2001-04-01 14:01:52 +0000
commitba8629a96e44b40a6c34fd0d2922ac237717e93d (patch)
tree6dabe29e0faa08bc3f58b41d013cc62a8a11e363 /gdb/go32-nat.c
parentf7af964784af9614842c08ccd8421fbda10c6b4b (diff)
downloadgdb-ba8629a96e44b40a6c34fd0d2922ac237717e93d.zip
gdb-ba8629a96e44b40a6c34fd0d2922ac237717e93d.tar.gz
gdb-ba8629a96e44b40a6c34fd0d2922ac237717e93d.tar.bz2
* go32-nat.c: Minor tweaks, to pacify the ari script.
Diffstat (limited to 'gdb/go32-nat.c')
-rw-r--r--gdb/go32-nat.c15
1 files changed, 12 insertions, 3 deletions
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;