aboutsummaryrefslogtreecommitdiff
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
parentf7af964784af9614842c08ccd8421fbda10c6b4b (diff)
downloadgdb-ba8629a96e44b40a6c34fd0d2922ac237717e93d.zip
gdb-ba8629a96e44b40a6c34fd0d2922ac237717e93d.tar.gz
gdb-ba8629a96e44b40a6c34fd0d2922ac237717e93d.tar.bz2
* go32-nat.c: Minor tweaks, to pacify the ari script.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/go32-nat.c15
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;