diff options
author | Tom Tromey <tromey@redhat.com> | 2012-05-18 15:29:13 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-05-18 15:29:13 +0000 |
commit | b012acddd87cb89dc4b357adf458511232c58bfe (patch) | |
tree | 53fe717d585832ab24bd2e2ec7c786f914d2a86f /gdb/go-valprint.c | |
parent | 1d51a733d5f20fe7ad6e89103f50742da2991586 (diff) | |
download | gdb-b012acddd87cb89dc4b357adf458511232c58bfe.zip gdb-b012acddd87cb89dc4b357adf458511232c58bfe.tar.gz gdb-b012acddd87cb89dc4b357adf458511232c58bfe.tar.bz2 |
* valprint.c (val_print_string): Don't print leading space.
* p-valprint.c (pascal_val_print) <TYPE_CODE_PTR>: Optionally
print space before string or vtbl.
* m2-valprint.c (print_unpacked_pointer): Optionally print space
before string.
* jv-valprint.c (java_value_print): Print space before string.
* go-valprint.c (print_go_string): Print space before string.
* f-valprint.c (f_val_print) <TYPE_CODE_PTR>: Optionally print
space before string.
* c-valprint.c (c_val_print) <TYPE_CODE_PTR>: Optionally print
space before string or vtbl.
* auxv.c (fprint_target_auxv): Print space after address.
Diffstat (limited to 'gdb/go-valprint.c')
-rw-r--r-- | gdb/go-valprint.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/go-valprint.c b/gdb/go-valprint.c index 3be4927..de52e9b 100644 --- a/gdb/go-valprint.c +++ b/gdb/go-valprint.c @@ -64,7 +64,10 @@ print_go_string (struct type *type, const gdb_byte *valaddr, /* TODO(dje): Print address of struct or actual string? */ if (options->addressprint) - fputs_filtered (paddress (gdbarch, addr), stream); + { + fputs_filtered (paddress (gdbarch, addr), stream); + fputs_filtered (" ", stream); + } if (length < 0) { |