]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/ChangeLog
Fix MinGW compilation errors in gdbserver/.
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
f8de5129
PA
12014-01-13 Pedro Alves <palves@redhat.com>
2
3 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
4 the tracepoint if the PC is a pseudo-register.
5
fc270c35
TT
62014-01-13 Tom Tromey <tromey@redhat.com>
7
8 * defs.h (XCALLOC): Remove.
9 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
10 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
11 * dwarf2loc.c (allocate_piece_closure): Likewise.
12 * elfread.c (elf_symfile_segments): Likewise.
13 (elf_symfile_segments): Likewise.
14 * gdbtypes.c (copy_type_recursive): Likewise.
15 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
16 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
17 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
18 XCALLOC.
19 * mt-tdep.c (mt_gdbarch_init): Likewise.
20 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
21 XCALLOC.
22 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
23 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
24 * registry.c (registry_alloc_data): Likewise.
25 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
26 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
27 * serial.c (serial_fdopen_ops): Likewise.
28 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
29 XCALLOC.
30 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
31 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
32 not XCALLOC.
33
70ba0933
TT
342014-01-13 Tom Tromey <tromey@redhat.com>
35
36 * defs.h (XMALLOC): Remove.
37 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
38 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
39 * cli-out.c (struct ui_out *): Likewise.
40 * cli/cli-dump.c (add_dump_command): Likewise.
41 (add_dump_command): Likewise.
42 * complaints.c (get_complaints): Likewise.
43 (find_complaint): Likewise.
44 * dwarf2-frame.c (execute_cfa_program): Likewise.
45 * dwarf2read.c (abbrev_table_read_table): Likewise.
46 * gdbarch.sh: Likewise.
47 * gdbarch.c: Rebuild.
48 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
49 * interps.c (interp_new): Likewise.
50 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
51 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
52 * mi/mi-console.c (mi_console_file_new): Likewise.
53 * mi/mi-interp.c (mi_interpreter_init): Likewise.
54 * mi/mi-out.c (mi_out_new): Likewise.
55 * mi/mi-parse.c (mi_parse): Likewise.
56 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
57 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
58 * observer.c (xalloc_observer_list_node): Likewise.
59 * regcache.c (regcache_xmalloc_1): Likewise.
60 * reggroups.c (reggroup_new): Likewise.
61 (_initialize_reggroup): Likewise.
62 * registry.c (register_data_with_cleanup): Likewise.
63 * remote.c (remote_notif_stop_alloc_reply): Likewise.
64 * ser-base.c (serial_ttystate): Likewise.
65 * ser-mingw.c (make_pipe_state): Likewise.
66 * ser-pipe.c (pipe_open): Likewise.
67 * serial.c (serial_open): Likewise.
68 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
69 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
70 (tui_alloc_win_info): Likewise.
71 (tui_add_content_elements): Likewise.
72 * tui/tui-file.c (tui_file_new): Likewise.
73 * tui/tui-out.c (tui_out_new): Likewise.
74 * ui-file.c (mem_file_new): Likewise.
75 * ui-out.c (push_level): Likewise.
76 (make_cleanup_ui_out_end): Likewise.
77 (append_header_to_list): Likewise.
78 (ui_out_new): Likewise.
79 * user-regs.c (user_reg_add_builtin): Likewise.
80
41bf6aca
TT
812014-01-13 Tom Tromey <tromey@redhat.com>
82
83 * defs.h (XZALLOC): Remove.
84 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
85 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
86 (get_ada_tasks_inferior_data): Likewise.
87 * auto-load.c (get_auto_load_pspace_data): Likewise.
88 * auxv.c (get_auxv_inferior_data): Likewise.
89 * bfd-target.c (target_bfd_reopen): Likewise.
90 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
91 (deprecated_insert_raw_breakpoint): Likewise.
92 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
93 * corelow.c (core_open): Likewise.
94 * darwin-nat.c (darwin_check_new_threads): Likewise.
95 (darwin_attach_pid): Likewise.
96 * dummy-frame.c (dummy_frame_push): Likewise.
97 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
98 * dwarf2loc.c (allocate_piece_closure): Likewise.
99 * elfread.c (elf_symfile_segments): Likewise.
100 * eval.c (ptrmath_type_p): Likewise.
101 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
102 * gdbtypes.c (alloc_type_arch): Likewise.
103 (alloc_type_instance): Likewise.
104 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
105 * inf-child.c (inf_child_can_use_agent): Likewise.
106 * inflow.c (get_inflow_inferior_data): Likewise.
107 * infrun.c (save_infcall_suspend_state): Likewise.
108 * jit.c (jit_reader_load): Likewise.
109 (get_jit_objfile_data): Likewise.
110 (get_jit_program_space_data): Likewise.
111 (jit_object_open_impl): Likewise.
112 (jit_symtab_open_impl): Likewise.
113 (jit_block_open_impl): Likewise.
114 (jit_frame_sniffer): Likewise.
115 * linux-fork.c (add_fork): Likewise.
116 * maint.c (make_command_stats_cleanup): Likewise.
117 * objfiles.c (get_objfile_pspace_data): Likewise.
118 * opencl-lang.c (struct lval_closure): Likewise.
119 * osdata.c (osdata_start_osdata): Likewise.
120 * progspace.c (new_address_space): Likewise.
121 (add_program_space): Likewise.
122 * remote-sim.c (get_sim_inferior_data): Likewise.
123 * sh-tdep.c (sh_gdbarch_init): Likewise.
124 * skip.c (Ignore): Likewise.
125 (skip_delete_command): Likewise.
126 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
127 (library_list_start_library): Likewise.
128 (solib_aix_current_sos): Likewise.
129 * solib-darwin.c (get_darwin_info): Likewise.
130 (darwin_current_sos): Likewise.
131 * solib-dsbt.c (get_dsbt_info): Likewise.
132 * solib-ia64-hpux.c (new_so_list): Likewise.
133 (ia64_hpux_get_solib_linkage_addr): Likewise.
134 * solib-spu.c (append_ocl_sos): Likewise.
135 (spu_current_sos): Likewise.
136 * solib-svr4.c (get_svr4_info): Likewise.
137 (svr4_keep_data_in_core): Likewise.
138 (library_list_start_library): Likewise.
139 (svr4_default_sos): Likewise.
140 (svr4_read_so_list): Likewise.
141 * solib-target.c (library_list_start_library): Likewise.
142 (solib_target_current_sos): Likewise.
143 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
144 * symfile-debug.c (install_symfile_debug_logging): Likewise.
145 * symfile.c (default_symfile_segments): Likewise.
146 * target-descriptions.c (tdesc_data_init): Likewise.
147 (tdesc_create_reg): Likewise.
148 (struct tdesc_type *): Likewise.
149 (tdesc_create_vector): Likewise.
150 (tdesc_set_struct_size): Likewise.
151 (struct tdesc_type *): Likewise.
152 (tdesc_free_feature): Likewise.
153 (tdesc_create_feature): Likewise.
154 * windows-nat.c (windows_add_thread): Likewise.
155 (windows_make_so): Likewise.
156 * xml-support.c (gdb_xml_body_text): Likewise.
157 (gdb_xml_create_parser_and_cleanup): Likewise.
158 (xml_process_xincludes): Likewise.
159 * xml-syscall.c (allocate_syscalls_info): Likewise.
160 (syscall_create_syscall_desc): Likewise.
161
5acfdbae
SDJ
1622014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
163
164 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
165 function, with code from i386_stap_parse_special_token.
166 (i386_stap_parse_special_token_three_arg_disp): Likewise.
167 (i386_stap_parse_special_token): Move code to the two functions
168 above; simplify it.
169
0000e5cc
PA
1702014-01-09 Pedro Alves <palves@redhat.com>
171 Hui Zhu <hui@codesourcery.com>
172
173 PR gdb/16101
174 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
175 bp_err_string. Don't mark the location shlib_disabled if the
176 error thrown wasn't a generic or memory error. Catch errors
177 thrown while inserting breakpoints in overlayed code. Output
178 error message of software breakpoints.
179 * remote.c (remote_insert_breakpoint): If this breakpoint has
180 target-side commands but this stub doesn't support Z0 packets,
181 throw NOT_SUPPORTED_ERROR error.
182 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
183 * target.h (target_insert_breakpoint): Extend comment.
184 (target_insert_hw_breakpoint): Add comment.
185
b7ea362b
PA
1862014-01-08 Pedro Alves <palves@redhat.com>
187
188 * remote.c (remote_add_thread): Add threads silently if starting
189 up.
190 (remote_notice_new_inferior): If in all-stop, and starting up,
191 don't call notice_new_inferior.
192 (get_current_thread): New function, factored out from ...
193 (add_current_inferior_and_thread): ... this. Adjust.
194 (remote_start_remote) <all-stop>: Fetch the thread list. If we
195 found any thread, then select the remote's current thread as GDB's
196 current thread too.
197
b7bba001
JB
1982014-01-08 Joel Brobecker <brobecker@adacore.com>
199
200 * NEWS: Create a new section for the next release branch.
201 Rename the section of the current branch, now that it has
202 been cut.
203
16dfbded
JB
2042014-01-08 Joel Brobecker <brobecker@adacore.com>
205
206 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
207 * version.in: Bump version to 7.7.50.DATE-cvs.
208
22c90ac1
YQ
2092014-01-08 Yao Qi <yao@codesourcery.com>
210
211 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
212 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
213 (spu_xfer_partial): Cast 'buf' to 'const char *'.
214
d64ad97c
YQ
2152014-01-08 Yao Qi <yao@codesourcery.com>
216
217 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
218 return value of bfd_get_filename to symbol_file_add_from_bfd.
219
f93ba80c
PM
2202014-01-08 Pierre Muller <muller@sourceware.org>
221
222 Fix PR16201.
223 * coff-pe-read.c (struct read_pe_section_data): Add index field.
224 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
225 to prim_record_mininal_symbol_and_info.
226 (add_pe_forwarded_sym): Use known section number of forwarded symbol
227 in call to prim_record_minimal_symbol_and_info.
228 (read_pe_exported_syms): Set index field of section_data.
229
a4d9ba85
AP
2302014-01-07 Andrew Pinski <apinski@cavium.com>
231
232 * features/aarch64-core.xml (cpsr): Change to be 64bit.
233 * features/aarch64.c: Regenerate.
234
1b67eb02
AS
2352014-01-07 Andreas Schwab <schwab@linux-m68k.org>
236
237 * target.c (return_null): Define.
238 (update_current_target): Use it instead of return_zero for
239 functions that return a pointer.
240
5e3f4fab
EBM
2412014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
242
243 * source.c (add_path): Fix check for duplicated paths in the previously
244 included paths.
245
e2616788
HK
2462014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
247
248 * ada-lang.c: Remove duplicated include statements.
249 * alphabsd-nat.c: Ditto.
250 * amd64-darwin-tdep.c: Ditto.
251 * amd64fbsd-nat.c: Ditto.
252 * auto-load.c: Ditto.
253 * ax-gdb.c: Ditto.
254 * breakpoint.c: Ditto.
255 * dbxread.c: Ditto.
256 * fork-child.c: Ditto.
257 * gdb_usleep.c: Ditto.
258 * i386-darwin-tdep.c: Ditto.
259 * i386fbsd-nat.c: Ditto.
260 * infcmd.c: Ditto.
261 * inferior.c: Ditto.
262 * jv-lang.c: Ditto.
263 * linux-nat.c: Ditto.
264 * linux-tdep.c: Ditto.
265 * m68kbsd-nat.c: Ditto.
266 * m68klinux-nat.c: Ditto.
267 * microblaze-tdep.c: Ditto.
268 * mips-linux-tdep.c: Ditto.
269 * mn10300-tdep.c: Ditto.
270 * nto-tdep.c: Ditto.
271 * opencl-lang.c: Ditto.
272 * osdata.c: Ditto.
273 * printcmd.c: Ditto.
274 * regcache.c: Ditto.
275 * remote-m32r-sdi.c: Ditto.
276 * remote.c: Ditto.
277 * symfile.c: Ditto.
278 * symtab.c: Ditto.
279 * tilegx-linux-nat.c: Ditto.
280 * tilegx-tdep.c: Ditto.
281 * tracepoint.c: Ditto.
282 * valops.c: Ditto.
283 * vaxbsd-nat.c: Ditto.
284 * windows-nat.c: Ditto.
285 * xtensa-tdep.c: Ditto.
286
bd1f7788
YQ
2872014-01-07 Yao Qi <yao@codesourcery.com>
288
289 * spu-linux-nat.c (_initialize_spu_nat): Declare.
290
79301218
JB
2912014-01-07 Yao Qi <yao@codesourcery.com>
292 Joel Brobecker <brobecker@adacore.com>
293
294 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
295 (pdc_write_regs): Likewise.
296 (fetch_regs_kernel_thread): Likewise.
297 (store_regs_kernel_thread): Likewise.
298
2992014-01-07 Joel Brobecker <brobecker@adacore.com>
300
301 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
302 tagged type objects to their actual type.
303
8e355c5d
JB
3042014-01-07 Joel Brobecker <brobecker@adacore.com>
305
306 * ada-valprint.c (print_field_values): Add "language" parameter.
307 Update calls to print_field_values and print_variant_part.
308 Pass new parameter "language" in call to val_print instead
309 of "current_language". Replace call to ada_val_print by call
310 to val_print.
311 (print_variant_part): Add "language" parameter.
312 (ada_val_print_struct_union): Update call to print_field_values.
313
4fbf5aa5
JB
3142014-01-07 Joel Brobecker <brobecker@adacore.com>
315
316 * ada-valprint.c (ui_memcpy): Delete.
317 (ada_print_floating): Update documentation. Add empty line
318 between between function documentation and implementation.
319 Delete variable "buffer". Use ui_file_xstrdup in place of
320 ui_file_put. Minor adjustments following this change.
321
71855601
JB
3222014-01-07 Joel Brobecker <brobecker@adacore.com>
323
324 * ada-valprint.c (ada_val_print_string): New function,
325 extracted from ada_val_print_array.
326 (ada_val_print_array): Replace extracted code by call
327 to ada_val_print_string followed by a return. Move
328 "else" branch to the function's top block.
329
4eb27a30
JB
3302014-01-07 Joel Brobecker <brobecker@adacore.com>
331
332 * ada-valprint.c (ada_val_print_array): Move implementation
333 down. Rename parameter "offset" and "val" into "offset_aligned"
334 and "original_value" respectively. Add parameter "offset".
335
34b27950
JB
3362014-01-07 Joel Brobecker <brobecker@adacore.com>
337
338 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
339 re-organizing the code. Change the "???" message printed
340 when target type is a TYPE_CODE_UNDEF into
341 "<ref to undefined type>".
342
079e4591
JB
3432014-01-07 Joel Brobecker <brobecker@adacore.com>
344
345 * ada-valprint.c (print_record): Delete, implementation inlined...
346 (ada_val_print_struct_union): ... here. Remove call to
347 ada_check_typedef in inlined implementation.
348
8004dfd1
JB
3492014-01-07 Joel Brobecker <brobecker@adacore.com>
350
351 * ada-valprint.c (ada_val_print_gnat_array): New function,
352 extracted from ada_val_print_1;
353 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
354 (ada_val_print_flt, ada_val_print_struct_union)
355 (ada_val_print_ref): Likewise.
356 (ada_val_print_1): Delete variables i and elttype.
357 Replace extracted-out code by call to corresponding
358 new functions.
359
760a2db0
JB
3602014-01-07 Joel Brobecker <brobecker@adacore.com>
361
362 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
363
3a92c861
JB
3642014-01-07 Joel Brobecker <brobecker@adacore.com>
365
366 * ada-valprint.c (ada_val_print_1): Replace calls to
367 ada_val_print_1 by calls to val_print.
368
cd1630f9
JB
3692014-01-07 Joel Brobecker <brobecker@adacore.com>
370
371 * ada-valprint.c (ada_val_print_1): Add parameter "language".
372 Update calls to self accordingly. Replace calls to c_val_print
373 by calls to val_print.
374
bdf779a0
JB
3752014-01-07 Joel Brobecker <brobecker@adacore.com>
376
377 * ada-valprint.c (print_record): Delete declaration.
378 (adjust_type_signedness, ada_val_print_1): Likewise.
379 (ada_val_print): Move function implementation down.
380 (print_variant_part, print_field_values, print_record):
381 Move function implementation up.
382
c0d48811
JB
3832014-01-07 Joel Brobecker <brobecker@adacore.com>
384
385 * python/py-type.c (typy_get_name): New function.
386 (type_object_getset): Add entry for attribute "name".
387 * NEWS: Add entry mentioning this new attribute.
388
c26e9cbb
YQ
3892014-01-07 Yao Qi <yao@codesourcery.com>
390
391 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
392 statement.
393
0cc6f43d
YQ
3942014-01-07 Yao Qi <yao@codesourcery.com>
395
396 * gnu-nat.c (info_port_rights): Add qualifier const to
397 argument args.
398
eec03155
YQ
3992014-01-07 Yao Qi <yao@codesourcery.com>
400
401 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
402
f04a82ef
YQ
4032014-01-07 Yao Qi <yao@codesourcery.com>
404
405 * gnu-nat.c (make_inf) Update declaration.
406 (make_inf): Make it static.
407 (inf_set_traced): Likewise.
408 (inf_port_to_thread, inf_task_died_status): Likewise.
409
d57dda0a
YQ
4102014-01-07 Yao Qi <yao@codesourcery.com>
411
412 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
413
3aa8c969
YQ
4142014-01-07 Yao Qi <yao@codesourcery.com>
415
416 * gnu-nat.c (_initialize_gnu_nat): Declare.
417
94123b4f
YQ
4182014-01-07 Yao Qi <yao@codesourcery.com>
419
420 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
421 'enum bfd_endian'.
422 (struct gdbarch_info) <byte_order>: Change type to
423 'enum bfd_endian'.
424 <byte_order_for_code>: Likewise.
425 * gdbarch.c, gdbarch.h: Regenerated.
426
dc81d70a
TT
4272014-01-06 Sasha Smundak <asmundak@google.com>
428
429 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
430
cc2f3c35
TT
4312014-01-06 Tom Tromey <tromey@redhat.com>
432
433 * doublest.c (convert_doublest_to_floatformat): Use const, not
434 CONST.
435 * somread.c (som_symtab_read): Likewise.
436
adcf2eed
HZ
4372014-01-07 Hui Zhu <hui@codesourcery.com>
438
439 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
440 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
441 (gdb_bfd_fopen): Ditto.
442 (gdb_bfd_openr): Ditto.
443 (gdb_bfd_openw): Ditto.
444 (gdb_bfd_openr_iovec): Ditto.
445 (gdb_bfd_fdopenr): Ditto.
446 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
447 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
448 with xstrdup.
449 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
450 with xstrdup.
451 * symfile-mem.c (symbol_file_add_from_memory): Removed
452 gdb_bfd_stash_filename.
453
50722198
DE
4542014-01-03 Doug Evans <dje@google.com>
455
456 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
457 output.
458
2fa4b862
JB
4592014-01-01 Joel Brobecker <brobecker@adacore.com>
460
461 Update year range in copyright notice of all files.
462
28498c42
JB
4632014-01-01 Joel Brobecker <brobecker@adacore.com>
464
465 * top.c (print_gdb_version): Set copyright year to 2014.
466
7b6e1046
JB
4672014-01-01 Joel Brobecker <brobecker@adacore.com>
468
469 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
470
df96af55 471For older changes see ChangeLog-2013.
c906108c
SS
472\f
473Local Variables:
474mode: change-log
475left-margin: 8
476fill-column: 74
477version-control: never
57da7796 478coding: utf-8
c906108c 479End: