daily update
[deliverable/binutils-gdb.git] / gdb / record.c
index cd64c7adf55fe2aefcd86ad67515028abf259fe2..0b4924bbd94288999d5caa73a74a1ef7b8fda6a1 100644 (file)
@@ -962,7 +962,7 @@ record_open (char *name, int from_tty)
   record_beneath_to_stopped_by_watchpoint = tmp_to_stopped_by_watchpoint;
   record_beneath_to_stopped_data_address = tmp_to_stopped_data_address;
 
-  if (current_target.to_stratum == core_stratum)
+  if (core_bfd)
     record_core_open_1 (name, from_tty);
   else
     record_open_1 (name, from_tty);
This page took 0.023127 seconds and 4 git commands to generate.