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