diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-03-22 17:35:22 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-03-22 17:35:22 +0000 |
commit | 3167638f1e8e74e15650adda08449c2e32572552 (patch) | |
tree | eed14184dd60faa0d6e71e341343143c7c338465 /gdb/dwarf2read.c | |
parent | ce406537179aa72cf126062f938ceed5eae0de4c (diff) | |
download | gdb-3167638f1e8e74e15650adda08449c2e32572552.zip gdb-3167638f1e8e74e15650adda08449c2e32572552.tar.gz gdb-3167638f1e8e74e15650adda08449c2e32572552.tar.bz2 |
gdb/
Code cleanup.
* c-typeprint.c (c_type_print_args): Change parameter show_artificial
to linkage_name. Invert its value. Update the function comment.
(c_type_print_varspec_suffix): Invert it at the caller.
* dwarf2read.c (dwarf2_compute_name): Invert it at the caller.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r-- | gdb/dwarf2read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 810f66a..190f0bc 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -4990,7 +4990,7 @@ dwarf2_compute_name (char *name, struct die_info *die, struct dwarf2_cu *cu, { struct type *type = read_type_die (die, cu); - c_type_print_args (type, buf, 0, cu->language); + c_type_print_args (type, buf, 1, cu->language); if (cu->language == language_java) { |