]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2008-10-18 Hui Zhu <teawater@gmail.com>
authorHui Zhu <teawater@gmail.com>
Sat, 18 Oct 2008 13:45:18 +0000 (13:45 +0000)
committerHui Zhu <teawater@gmail.com>
Sat, 18 Oct 2008 13:45:18 +0000 (13:45 +0000)
Remove "to_support_record_wait".

* target.c (add_target): Remove "to_support_record_wait".
* target.h (target_ops): Ditto.
* linux-nat.c (linux_nat_add_target): Ditto.
* record.h (RECORD_TARGET_SUPPORT_RECORD_WAIT): This macro is removed.

gdb/ChangeLog
gdb/linux-nat.c
gdb/record.h
gdb/target.c
gdb/target.h

index 5af82b3412e9315c45c4a5c71f62bd4ce993ce61..0ef6a20fbf4411174a2c2d7cc29f56bfe017d35b 100644 (file)
@@ -1,3 +1,12 @@
+2008-10-18  Hui Zhu  <teawater@gmail.com>
+
+       Remove "to_support_record_wait".
+
+       * target.c (add_target): Remove "to_support_record_wait".
+       * target.h (target_ops): Ditto.
+       * linux-nat.c (linux_nat_add_target): Ditto.
+       * record.h (RECORD_TARGET_SUPPORT_RECORD_WAIT): This macro is removed.
+
 2008-10-15  Hui Zhu  <teawater@gmail.com>
 
        Change "record-auto-delete" to "record-stop-at-limit".
index 7d94a68404de533596e1f1f044cd460d700a53fb..b63f863e5636d8225eb9f03523189ef80f781358 100644 (file)
@@ -4553,9 +4553,6 @@ linux_nat_add_target (struct target_ops *t)
 
   add_target (t);
 
-  /* Point out that this target support record wait. */
-  t->to_support_record_wait = 1;
-
   /* TODO: Eliminate this and have libthread_db use
      find_target_beneath.  */
   thread_db_init (t);
index 39241e6140e33da8de04f4f8094ac5743350dbc7..21aba7590b5fbc237a9737c8b1ccf73e832245e4 100644 (file)
@@ -24,8 +24,6 @@
      (current_target.beneath == &record_ops)
 #define RECORD_IS_REPLAY \
      (record_list->next || execution_direction == EXEC_REVERSE)
-#define RECORD_TARGET_SUPPORT_RECORD_WAIT \
-     (record_ops.beneath->to_support_record_wait)
 
 typedef struct record_reg_s
 {
index 03b1cecaf4867f145295bf0456704d463637f308..c6c5439cfb1c01a14bd61eff0f07172c5183d405 100644 (file)
@@ -242,9 +242,6 @@ add_target (struct target_ops *t)
   if (t->to_xfer_partial == NULL)
     t->to_xfer_partial = default_xfer_partial;
 
-  /* Set the default value of to_support_record_wait. */
-  t->to_support_record_wait = 0;
-
   if (!target_structs)
     {
       target_struct_allocsize = DEFAULT_ALLOCSIZE;
index fbf9898f45170ef2fd8537bc8650655125878b52..ca0c0ae49363ab45aa298bede81f1186253128f7 100644 (file)
@@ -531,11 +531,6 @@ struct target_ops
     /* Can target execute in reverse?  */
     int (*to_can_execute_reverse) ();
 
-    /* Default value is 0. Mean that this target doesn't support record wait.
-       Need the help of infrun.c(handle_inferior_event). Set to 1 if this
-       target support record wait. */
-    int to_support_record_wait;
-
     int to_magic;
     /* Need sub-structure for target machine related rather than comm related?
      */