aboutsummaryrefslogtreecommitdiff
path: root/gdb/cp-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/cp-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/cp-valprint.c')
-rw-r--r--gdb/cp-valprint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/cp-valprint.c b/gdb/cp-valprint.c
index 0346c03..c3bb3a4 100644
--- a/gdb/cp-valprint.c
+++ b/gdb/cp-valprint.c
@@ -411,7 +411,7 @@ cplus_print_value (type, valaddr, stream, format, recurse, pretty, dont_print)
if (err != 0)
{
fprintf_filtered (stream, "<invalid address ");
- print_address_numeric ((CORE_ADDR) baddr, stream);
+ print_address_numeric ((CORE_ADDR) baddr, 1, stream);
fprintf_filtered (stream, ">");
}
else