aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-valprint.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/c-valprint.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/c-valprint.c')
-rw-r--r--gdb/c-valprint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/c-valprint.c b/gdb/c-valprint.c
index 905c313..0eb3133 100644
--- a/gdb/c-valprint.c
+++ b/gdb/c-valprint.c
@@ -172,7 +172,7 @@ c_val_print (type, valaddr, address, stream, format, deref_ref, recurse,
if (addressprint && format != 's')
{
- print_address_numeric (addr, stream);
+ print_address_numeric (addr, 1, stream);
}
/* For a pointer to char or unsigned char, also print the string
@@ -255,7 +255,7 @@ c_val_print (type, valaddr, address, stream, format, deref_ref, recurse,
fprintf_filtered (stream, "@");
print_address_numeric
(extract_address (valaddr,
- TARGET_PTR_BIT / HOST_CHAR_BIT), stream);
+ TARGET_PTR_BIT / HOST_CHAR_BIT), 1, stream);
if (deref_ref)
fputs_filtered (": ", stream);
}