]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* interps.c: Run through gdb_indent.sh
authorKeith Seitz <keiths@redhat.com>
Mon, 12 Aug 2002 19:08:37 +0000 (19:08 +0000)
committerKeith Seitz <keiths@redhat.com>
Mon, 12 Aug 2002 19:08:37 +0000 (19:08 +0000)
        * interps.h: Ditto.

gdb/ChangeLog
gdb/interps.c
gdb/interps.h

index 1e1b456ec69e716615320d81c51210ddb052a4bd..b8a32d5b1b2437a5a802e99faf0b662be773725d 100644 (file)
@@ -1,3 +1,8 @@
+2002-08-12  Keith Seitz  <keiths@redhat.com>
+
+       * interps.c: Run through gdb_indent.sh
+       * interps.h: Ditto.
+
 2002-08-08  Keith Seitz  <keiths@redhat.com>
 
        * infrun.c (handle_inferior_event): Add context_changed_event.
index c07f999d1f43d7cfe01f11b1d99327338c60b11d..77ade19dd2408afcd47c997fabdb0ff76b1d9781 100644 (file)
@@ -229,10 +229,12 @@ gdb_set_interpreter (struct gdb_interpreter *interp)
     {
       do_all_continuations ();
       ui_out_flush (uiout);
-      if (current_interpreter->procs.suspend_proc &&
-         !current_interpreter->procs.suspend_proc (current_interpreter->data))
+      if (current_interpreter->procs.suspend_proc
+         && !current_interpreter->procs.suspend_proc (current_interpreter->
+                                                      data))
        {
-         error ("Could not suspend interpreter \"%s\"\n", current_interpreter->name);
+         error ("Could not suspend interpreter \"%s\"\n",
+                current_interpreter->name);
        }
     }
   else
@@ -244,7 +246,8 @@ gdb_set_interpreter (struct gdb_interpreter *interp)
 
   /* We use interpreter_p for the "set interpreter" variable, so we need
      to make sure we have a malloc'ed copy for the set command to free. */
-  if (interpreter_p != NULL && strcmp (current_interpreter->name, interpreter_p) != 0)
+  if (interpreter_p != NULL
+      && strcmp (current_interpreter->name, interpreter_p) != 0)
     {
       xfree (interpreter_p);
 
@@ -433,7 +436,8 @@ interpreter_do_one_event ()
   if (current_interpreter->procs.do_one_event_proc == NULL)
     return 0;
 
-  return current_interpreter->procs.do_one_event_proc (current_interpreter->data);
+  return current_interpreter->procs.do_one_event_proc (current_interpreter->
+                                                      data);
 }
 
 /* A convenience routine that nulls out all the
index d7893f8784a9bd12fec7bb78296d8b770b7af464..b4577158edf27a85e0223ac320cb34753403d37d 100644 (file)
@@ -60,7 +60,9 @@ extern int gdb_interpreter_display_prompt (char *new_prompt);
 extern int gdb_interpreter_set_quiet (struct gdb_interpreter *interp,
                                      int quiet);
 extern int gdb_interpreter_is_quiet (struct gdb_interpreter *interp);
-extern struct gdb_interpreter_procs *gdb_interpreter_get_procs (struct gdb_interpreter *interp);
+extern struct gdb_interpreter_procs *gdb_interpreter_get_procs (struct
+                                                               gdb_interpreter
+                                                               *interp);
 extern void *gdb_interpreter_get_data (struct gdb_interpreter *interp);
 extern int interpreter_do_one_event ();