Extract string-printing out of ada_val_print_array
[binutils-gdb.git] / gdb / ChangeLog
1 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2
3 * ada-valprint.c (ada_val_print_string): New function,
4 extracted from ada_val_print_array.
5 (ada_val_print_array): Replace extracted code by call
6 to ada_val_print_string followed by a return. Move
7 "else" branch to the function's top block.
8
9 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10
11 * ada-valprint.c (ada_val_print_array): Move implementation
12 down. Rename parameter "offset" and "val" into "offset_aligned"
13 and "original_value" respectively. Add parameter "offset".
14
15 2014-01-07 Joel Brobecker <brobecker@adacore.com>
16
17 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
18 re-organizing the code. Change the "???" message printed
19 when target type is a TYPE_CODE_UNDEF into
20 "<ref to undefined type>".
21
22 2014-01-07 Joel Brobecker <brobecker@adacore.com>
23
24 * ada-valprint.c (print_record): Delete, implementation inlined...
25 (ada_val_print_struct_union): ... here. Remove call to
26 ada_check_typedef in inlined implementation.
27
28 2014-01-07 Joel Brobecker <brobecker@adacore.com>
29
30 * ada-valprint.c (ada_val_print_gnat_array): New function,
31 extracted from ada_val_print_1;
32 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
33 (ada_val_print_flt, ada_val_print_struct_union)
34 (ada_val_print_ref): Likewise.
35 (ada_val_print_1): Delete variables i and elttype.
36 Replace extracted-out code by call to corresponding
37 new functions.
38
39 2014-01-07 Joel Brobecker <brobecker@adacore.com>
40
41 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
42
43 2014-01-07 Joel Brobecker <brobecker@adacore.com>
44
45 * ada-valprint.c (ada_val_print_1): Replace calls to
46 ada_val_print_1 by calls to val_print.
47
48 2014-01-07 Joel Brobecker <brobecker@adacore.com>
49
50 * ada-valprint.c (ada_val_print_1): Add parameter "language".
51 Update calls to self accordingly. Replace calls to c_val_print
52 by calls to val_print.
53
54 2014-01-07 Joel Brobecker <brobecker@adacore.com>
55
56 * ada-valprint.c (print_record): Delete declaration.
57 (adjust_type_signedness, ada_val_print_1): Likewise.
58 (ada_val_print): Move function implementation down.
59 (print_variant_part, print_field_values, print_record):
60 Move function implementation up.
61
62 2014-01-07 Joel Brobecker <brobecker@adacore.com>
63
64 * python/py-type.c (typy_get_name): New function.
65 (type_object_getset): Add entry for attribute "name".
66 * NEWS: Add entry mentioning this new attribute.
67
68 2014-01-07 Yao Qi <yao@codesourcery.com>
69
70 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
71 statement.
72
73 2014-01-07 Yao Qi <yao@codesourcery.com>
74
75 * gnu-nat.c (info_port_rights): Add qualifier const to
76 argument args.
77
78 2014-01-07 Yao Qi <yao@codesourcery.com>
79
80 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
81
82 2014-01-07 Yao Qi <yao@codesourcery.com>
83
84 * gnu-nat.c (make_inf) Update declaration.
85 (make_inf): Make it static.
86 (inf_set_traced): Likewise.
87 (inf_port_to_thread, inf_task_died_status): Likewise.
88
89 2014-01-07 Yao Qi <yao@codesourcery.com>
90
91 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
92
93 2014-01-07 Yao Qi <yao@codesourcery.com>
94
95 * gnu-nat.c (_initialize_gnu_nat): Declare.
96
97 2014-01-07 Yao Qi <yao@codesourcery.com>
98
99 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
100 'enum bfd_endian'.
101 (struct gdbarch_info) <byte_order>: Change type to
102 'enum bfd_endian'.
103 <byte_order_for_code>: Likewise.
104 * gdbarch.c, gdbarch.h: Regenerated.
105
106 2014-01-06 Sasha Smundak <asmundak@google.com>
107
108 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
109
110 2014-01-06 Tom Tromey <tromey@redhat.com>
111
112 * doublest.c (convert_doublest_to_floatformat): Use const, not
113 CONST.
114 * somread.c (som_symtab_read): Likewise.
115
116 2014-01-07 Hui Zhu <hui@codesourcery.com>
117
118 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
119 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
120 (gdb_bfd_fopen): Ditto.
121 (gdb_bfd_openr): Ditto.
122 (gdb_bfd_openw): Ditto.
123 (gdb_bfd_openr_iovec): Ditto.
124 (gdb_bfd_fdopenr): Ditto.
125 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
126 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
127 with xstrdup.
128 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
129 with xstrdup.
130 * symfile-mem.c (symbol_file_add_from_memory): Removed
131 gdb_bfd_stash_filename.
132
133 2014-01-03 Doug Evans <dje@google.com>
134
135 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
136 output.
137
138 2014-01-01 Joel Brobecker <brobecker@adacore.com>
139
140 Update year range in copyright notice of all files.
141
142 2014-01-01 Joel Brobecker <brobecker@adacore.com>
143
144 * top.c (print_gdb_version): Set copyright year to 2014.
145
146 2014-01-01 Joel Brobecker <brobecker@adacore.com>
147
148 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
149
150 For older changes see ChangeLog-2013.
151 \f
152 Local Variables:
153 mode: change-log
154 left-margin: 8
155 fill-column: 74
156 version-control: never
157 coding: utf-8
158 End: