aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1994-05-04 15:24:41 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1994-05-04 15:24:41 +0000
commitd24c05991f1e82a948bd1e362e677aad103f9edd (patch)
treecd7cc4876a1971c66b0826b50e8b043c5bc497ae /gdb/remote.c
parente16b9023f0ac7bc2357a7b18ecef9d28582e5a09 (diff)
downloadgdb-d24c05991f1e82a948bd1e362e677aad103f9edd.zip
gdb-d24c05991f1e82a948bd1e362e677aad103f9edd.tar.gz
gdb-d24c05991f1e82a948bd1e362e677aad103f9edd.tar.bz2
* valprint.c (print_longest): Clarify comment about use_local.
* printcmd.c, defs.h (print_address_numeric), callers in symmisc.c, symfile.c, stack.c, source.c, remote.c, infcmd.c, cp-valprint.c, core.c, ch-valprint.c, c-valprint.c, breakpoint.c, exec.c: New argument use_local. * source.c (identify_source_line): Use filtered output. Use print_address_numeric.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index 09eb616..6da0f21 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -824,8 +824,8 @@ remote_write_bytes (memaddr, myaddr, len)
int i;
char *p;
- /* FIXME-32x64: Need a version of print_address_numeric which doesn't
- set use_local (and also puts the result in a buffer like sprintf). */
+ /* FIXME-32x64: Need a version of print_address_numeric which puts the
+ result in a buffer like sprintf. */
sprintf (buf, "M%lx,%x:", (unsigned long) memaddr, len);
/* We send target system values byte by byte, in increasing byte addresses,
@@ -875,8 +875,8 @@ remote_read_bytes (memaddr, myaddr, len)
if (len > PBUFSIZ / 2 - 1)
abort ();
- /* FIXME-32x64: Need a version of print_address_numeric which doesn't
- set use_local (and also puts the result in a buffer like sprintf). */
+ /* FIXME-32x64: Need a version of print_address_numeric which puts the
+ result in a buffer like sprintf. */
sprintf (buf, "m%lx,%x", (unsigned long) memaddr, len);
putpkt (buf);
getpkt (buf, 0);