Fix typo in gdb.python/py-objfile.exp
[deliverable/binutils-gdb.git] / gdb / target.c
index 4e2d00596808a42db9476f3ec42765c8f9fbec18..c671e7c359283594b811a0b6cd37e1b9b67db27c 100644 (file)
@@ -444,7 +444,7 @@ enum terminal_state
     terminal_is_ours = 2
   };
 
-static enum terminal_state terminal_state;
+static enum terminal_state terminal_state = terminal_is_ours;
 
 /* See target.h.  */
 
@@ -1060,7 +1060,7 @@ memory_xfer_check_region (gdb_byte *readbuf, const gdb_byte *writebuf,
    instance, could have some of memory but delegate other bits to
    the target below it.  So, we must manually try all targets.  */
 
-static enum target_xfer_status
+enum target_xfer_status
 raw_memory_xfer_partial (struct target_ops *ops, gdb_byte *readbuf,
                         const gdb_byte *writebuf, ULONGEST memaddr, LONGEST len,
                         ULONGEST *xfered_len)
This page took 0.023579 seconds and 4 git commands to generate.