mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 01:28:46 +00:00
PR symtab/2161
* target.c (memory_xfer_partial): Do not continue past targets with all memory.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2007-07-01 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
PR symtab/2161
|
||||
* target.c (memory_xfer_partial): Do not continue past targets with
|
||||
all memory.
|
||||
|
||||
2007-06-30 Andreas Schwab <schwab@suse.de>
|
||||
|
||||
* m68k-tdep.c (m68k_ps_type): New.
|
||||
|
||||
@@ -1084,6 +1084,11 @@ memory_xfer_partial (struct target_ops *ops, void *readbuf, const void *writebuf
|
||||
if (res > 0)
|
||||
return res;
|
||||
|
||||
/* We want to continue past core files to executables, but not
|
||||
past a running target's memory. */
|
||||
if (ops->to_has_all_memory)
|
||||
return res;
|
||||
|
||||
ops = ops->beneath;
|
||||
}
|
||||
while (ops != NULL);
|
||||
|
||||
Reference in New Issue
Block a user