diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-07-14 15:12:05 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-07-14 15:12:05 +0000 |
commit | 5af4f5f6f13163c6d9a516fc7cf7383d824d14b4 (patch) | |
tree | b126a6a9fc89606345b6c1fb61b41425b2e7cb2b /gdb/breakpoint.c | |
parent | b2eed00fa9d4dbee676d1f96dda1fce088eee5bf (diff) | |
download | gdb-5af4f5f6f13163c6d9a516fc7cf7383d824d14b4.zip gdb-5af4f5f6f13163c6d9a516fc7cf7383d824d14b4.tar.gz gdb-5af4f5f6f13163c6d9a516fc7cf7383d824d14b4.tar.bz2 |
Tue Jul 13 14:03:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* stabsread.c (define_symbol): Make the caddr_t hack apply to `function
returning foo' as well as `pointer to foo'.
* remote.c [REMOTE_BREAKPOINT]: Use for breakpoint insn if defined.
* config/m68k/tm-m68k.h: Define it.
* mem-break.c, breakpoint.c: Improve comments.
Tue Jul 13 13:35:31 1993 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr)
* config/m68k/tm-dpx2.h: Replace "tm-68k.h" with "m68k/tm-m68k.h".
* config/m68k/xm-dpx2.h: Define HAVE_TERMIOS not HAVE_TERMIO.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r-- | gdb/breakpoint.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 94cbcd7..1ed6abd 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -347,7 +347,11 @@ read_memory_nobpt (memaddr, myaddr, len) struct breakpoint *b; if (memory_breakpoint_size < 0) - /* No breakpoints on this machine. */ + /* No breakpoints on this machine. FIXME: This should be + dependent on the debugging target. Probably want + target_insert_breakpoint to return a size, saying how many + bytes of the shadow contents are used, or perhaps have + something like target_xfer_shadow. */ return target_read_memory (memaddr, myaddr, len); ALL_BREAKPOINTS (b) |