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