]>
Commit | Line | Data |
---|---|---|
1999790b | 1 | 2013-03-11 Markus Metzger <[email protected]> |
02d27625 MM |
2 | |
3 | * target.h: Include btrace.h. | |
4 | (struct target_ops) <to_supports_btrace, to_enable_btrace, | |
5 | to_disable_btrace, to_teardown_btrace, to_read_btrace>: New. | |
6 | * target.c (target_supports_btrace): New function. | |
7 | (target_enable_btrace): New function. | |
8 | (target_disable_btrace): New function. | |
9 | (target_teardown_btrace): New function. | |
10 | (target_read_btrace): New function. | |
11 | * btrace.h: New file. | |
12 | * btrace.c: New file. | |
13 | * Makefile.in: Add btrace.c. | |
14 | * gdbthread.h: Include btrace.h. | |
15 | (struct thread_info): Add btrace field. | |
16 | * thread.c: Include btrace.h. | |
17 | (clear_thread_inferior_resources): Call target_teardown_btrace. | |
18 | * common/btrace-common.h: New file. | |
19 | ||
61a31a67 JK |
20 | 2013-03-10 Jan Kratochvil <[email protected]> |
21 | ||
22 | * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx): Call also kill | |
23 | for CHILD, ignore PTRACE_KILL errors, move the inner block variable | |
24 | kill_status to outer block. | |
25 | ||
05c56a9d JK |
26 | 2013-03-10 Jan Kratochvil <[email protected]> |
27 | ||
28 | Fix entry-values if the callee called a noreturn function. | |
29 | * dwarf2-frame-tailcall.c (dwarf2_tailcall_sniffer_first): Use | |
30 | get_frame_address_in_block. Add new comment. | |
31 | ||
9112db09 JK |
32 | 2013-03-10 Jan Kratochvil <[email protected]> |
33 | ||
34 | Fix entry-values in C++ across CUs. | |
35 | * dwarf2loc.c (call_site_to_target_addr) <FIELD_LOC_KIND_PHYSNAME>: Use | |
36 | lookup_minimal_symbol. Add a comment. | |
37 | * dwarf2read.c | |
38 | (read_call_site_scope) <is_ref_attr> <die_is_declaration>: Prefer | |
39 | DW_AT_linkage_name. | |
40 | ||
9b67fcec YQ |
41 | 2013-03-08 Yao Qi <[email protected]> |
42 | ||
43 | * tracepoint.c (_initialize_tracepoint): Indent the code. | |
44 | ||
6221be90 PA |
45 | 2013-03-08 Pedro Alves <[email protected]> |
46 | ||
47 | * findcmd.c (put_bits): Change type of parameter to 'gdb_byte *'. | |
48 | (parse_find_args, find_command): Change type of pattern buffer | |
49 | locals to 'gdb_byte *'. | |
50 | ||
be9a119c | 51 | 2013-03-08 Stan Shebs <[email protected]> |
f6f899bf HAQ |
52 | Hafiz Abid Qadeer <[email protected]> |
53 | ||
54 | * NEWS: Mention set and show trace-buffer-size commands. | |
55 | Mention new packet. | |
56 | * target.h (struct target_ops): New method | |
57 | to_set_trace_buffer_size. | |
58 | (target_set_trace_buffer_size): New macro. | |
59 | * target.c (update_current_target): Set up new method. | |
60 | * tracepoint.c (trace_buffer_size): New global. | |
61 | (start_tracing): Send it to the target. | |
62 | (set_trace_buffer_size): New function. | |
63 | (_initialize_tracepoint): Add new setshow for trace-buffer-size. | |
64 | * remote.c (remote_set_trace_buffer_size): New function. | |
65 | (_initialize_remote): Use it. | |
66 | (QTBuffer:size) New remote command. | |
67 | (PACKET_QTBuffer_size): New enum. | |
68 | (remote_protocol_features): Add an entry for | |
69 | PACKET_QTBuffer_size. | |
70 | ||
7da3ab79 TT |
71 | 2013-03-08 Tom Tromey <[email protected]> |
72 | ||
73 | * remote-m32r-sdi.c (m32r_load): Call skip_spaces on correct | |
74 | variable. | |
75 | ||
0c1f71e7 PA |
76 | 2013-03-07 Pedro Alves <[email protected]> |
77 | ||
78 | * target.c (target_read_stralloc, target_fileio_read_alloc): | |
79 | *Cast pointer to 'gdb_byte *' in target call. | |
80 | ||
c8af03a2 PA |
81 | 2013-03-07 Pedro Alves <[email protected]> |
82 | ||
83 | * corefile.c (read_memory_string): Cast pointer to gdb_byte* in | |
84 | call. | |
85 | ||
529480d0 KS |
86 | 2013-03-07 Keith Seitz <[email protected]> |
87 | ||
88 | * breakpoint.c (catch_syscall_split_args): Use skip_spaces. | |
89 | (trace_pass_command): Likewise. | |
90 | * cli/cli-cmds.c: Include cli/cli-utils.h. | |
91 | (source_command): Use skip-spaces. | |
92 | (disassemble_command): Likewise. | |
93 | * findcmd.c: Include cli/cli-utils.h. | |
94 | (parse_find_args): Use skip_spaces. | |
95 | * go32-nat.c: Include cli/cli-utils.h. | |
96 | (go32_sldt): Use skip_spaces. | |
97 | (go32_sgdt): Likewise. | |
98 | (go32_sidt): Likewise. | |
99 | (go32_pde): Likewise. | |
100 | (go32_pte): Likewise. | |
101 | (go32_pte_for_address): Likewise. | |
102 | * infcmd.c: Include cli/cli-utils.h. | |
103 | (registers_info): Use skip_spaces. | |
104 | * linux-tdep.c (read_mapping): Use skip_spaces_const. | |
105 | (linux_info_proc): Likewise. | |
106 | * linux-thread-db.c: Include cli/cli-utils.h. | |
107 | (info_auto_load_libthread_db): Use skip_spaces_const. | |
108 | * m32r-rom.c: Include cli/cli-utils.h. | |
109 | (m32r_upload_command): Use skip_spaces. | |
110 | * maint.c: Include cli/cli-utils.h. | |
111 | (maintenance_translate_address): Use skip_spaces. | |
112 | * mi/mi-parse.c: Include cli/cli-utils.h. | |
113 | (mi_parse_argv): Use skip_spaces. | |
114 | (mi_parse): Likewise. | |
115 | * minsyms.c: Include cli/cli-utils.h. | |
116 | (msymbol_hash_iw): Use skip_spaces_const. | |
117 | * objc-lang.c: Include cli/cli-utils.h. | |
118 | (parse_selector): Use skip_spaces. | |
119 | (parse_method): Likewise. | |
120 | * python/python.c: Include cli/cli-utils.h. | |
121 | (python_interactive_command)[HAVE_PYTHON]: Use skip_spaces. | |
122 | (python_command)[HAVE_PYTHON]: Likewise. | |
123 | (python_interactive_command)[!HAVE_PYTHON]: Likewise. | |
124 | * remote-m32r-sdi.c: Include cli/cli-utils.h. | |
125 | (m32r_load): Use skip_spaces. | |
126 | * serial.c: Include cli/cli-utils.h. | |
127 | (serial_open): Use skip_spaces_const. | |
128 | * stack.c: Include cli/cli-utils.h. | |
129 | (parse_frame_specification_1): Use skip_spaces_const. | |
130 | * symfile.c: Include cli/cli-utils.h. | |
131 | (set_ext_lang_command): Use skip_spaces. | |
132 | * symtab.c: Include cli/cli-utils.h. | |
133 | (rbreak_command): Use skip_spaces. | |
134 | * thread.c (thread_name_command): Use skip_spaces. | |
135 | * tracepoint.c (validate_actionline): Use skip_spaces. | |
136 | (encode_actions_1): Likewise. | |
137 | (trace_find_range_command): Likewise. | |
138 | (trace_find_outside_command): Likewise. | |
139 | (trace_dump_actions): Likewise. | |
140 | ||
ac91cd70 PA |
141 | 2013-03-07 Pedro Alves <[email protected]> |
142 | ||
143 | * c-lang.c (parse_one_string): Cast argument to gdb_byte *. | |
144 | * expprint.c (print_subexp_standard): Likewise. | |
145 | * utils.c (host_char_to_target): Likewise. | |
146 | * valprint.c (generic_emit_char, generic_printstr): Likewise. | |
147 | * varobj.c (value_get_print_value): Change type of local to char*. | |
148 | Cast it gdb_byte * in call to language printer. | |
149 | ||
2898e560 PA |
150 | 2013-03-07 Pedro Alves <[email protected]> |
151 | ||
152 | * charset.c (struct wchar_iterator) <input>: Change type to 'const | |
153 | gdb_byte *'. | |
154 | (make_wchar_iterator): Remove cast to char*. | |
155 | (wchar_iterate): Change type of local. | |
156 | ||
a09b4448 PA |
157 | 2013-03-07 Pedro Alves <[email protected]> |
158 | ||
159 | * regcache.c (regcache_xmalloc_1): Call XCALLOC with signed char | |
160 | for 'regcache->register_status'. | |
161 | ||
20ced3e4 PA |
162 | 2013-03-07 Pedro Alves <[email protected]> |
163 | ||
c2d6a675 | 164 | * breakpoint.c (breakpoint_xfer_memory): Change type of local to |
20ced3e4 PA |
165 | int. |
166 | ||
fe106009 PA |
167 | 2013-03-07 Pedro Alves <[email protected]> |
168 | ||
169 | * stap-probe.c (handle_stap_probe): Add cast to char*. | |
170 | ||
8ac2c12b PA |
171 | 2013-03-07 Pedro Alves <[email protected]> |
172 | ||
173 | * linux-record.c (record_linux_system_call) <gdb_sys_msgrcv, | |
174 | RECORD_MSGRCV>: Pass a signed variable to | |
175 | regcache_raw_read_signed, instead of an unsigned one. | |
176 | ||
99f0a309 PA |
177 | 2013-03-07 Pedro Alves <[email protected]> |
178 | ||
179 | * remote-notif.c (notif_debug): Change type to int. | |
180 | * remote-notif.h (notif_debug): Likewise. | |
181 | ||
964b8317 PA |
182 | 2013-03-07 Pedro Alves <[email protected]> |
183 | ||
184 | * ser-tcp.c (tcp_retry_limit): Change type to unsigned int. | |
185 | ||
f0cc8ad4 PA |
186 | 2013-03-07 Pedro Alves <[email protected]> |
187 | ||
188 | * remote.c (hex2bin, bin2hex): Move extern declarations to ... | |
189 | * remote.h (hex2bin, bin2hex): ... here. | |
190 | * tracepoint.c (hex2bin, bin2hex): Remove extern declarations. | |
191 | ||
77dec115 EZ |
192 | 2013-03-07 Eli Zaretskii <[email protected]> |
193 | ||
194 | * utils.c (initialize_utils): Improve doc strings of "set/show | |
195 | width", "set/show height", and "set/show pagination". | |
196 | ||
741d92cf KS |
197 | 2013-03-06 Keith Seitz <[email protected]> |
198 | ||
199 | * ax-gdb.c (gen_printf): Make FORMAT const. | |
200 | * ax-gdb.h (gen_printf): Likewise. | |
201 | * ax-general.c (ax_string): Make STR const. | |
202 | * ax.h (ax_string): Likewise. | |
203 | ||
7b6c814e DE |
204 | 2013-03-06 Doug Evans <[email protected]> |
205 | ||
206 | * elfread.c (elf_symfile_read): Move debugging printf to more | |
207 | logical location. | |
208 | ||
634334ab PA |
209 | 2013-03-06 Pedro Alves <[email protected]> |
210 | ||
211 | * python/py-utils.c (target_string_to_unicode): Delete function. | |
212 | * python/python-internal.h (target_string_to_unicode): Delete | |
213 | declaration. | |
214 | ||
e482a1a7 PM |
215 | 2013-03-06 Pierre Muller <[email protected]> |
216 | ||
217 | * linespec.c (get_current_search_block): ARI fix, use (void) | |
218 | for empty parameter list. | |
219 | ||
4eeaa230 DE |
220 | 2013-03-05 Doug Evans <[email protected]> |
221 | ||
222 | * ada-lang.c (ada_lookup_symbol_list_worker): New function, contents | |
223 | of old ada_lookup_symbol_list. In !full_search case, don't | |
224 | search superblocks. | |
225 | (ada_lookup_symbol_list): Delete arg full_search, all callers | |
226 | updated. Call ada_lookup_symbol_list_worker. | |
227 | (ada_iterate_over_symbols): Call ada_lookup_symbol_list_worker. | |
228 | * ada-lang.h (ada_lookup_symbol_list): Update. | |
229 | * language.h (language_defn): Update comment for | |
230 | la_iterate_over_symbols. | |
231 | * linespec.c (iterate_over_file_blocks): New function. | |
232 | (iterate_over_all_matching_symtabs): Call it. | |
233 | (lookup_prefix_sym): Ditto. | |
234 | (get_current_search_block): New function. | |
235 | (get_search_block): Delete. | |
236 | (find_label_symbols): Call get_current_search_block. | |
237 | (add_matching_symbols_to_info): Call iterate_over_file_blocks. | |
238 | * symtab.c (iterate_over_symbols): Don't search superblocks. | |
239 | ||
b69b1fb1 YQ |
240 | 2013-03-05 Yao Qi <[email protected]> |
241 | ||
242 | * cli/cli-decode.c (add_setshow_zuinteger_unlimited_cmd): Change | |
243 | parameter VAR's type from "unsigned int" to "int". | |
244 | * command.h (var_zuinteger_unlimited): Update its comments. | |
245 | (add_setshow_zuinteger_unlimited_cmd): Update the declaration. | |
246 | ||
3c095f49 CV |
247 | 2013-03-05 Corinna Vinschen <[email protected]> |
248 | ||
249 | * NEWS: Mention new target x86_64-*-cygwin*. | |
250 | ||
b5b0b0af CV |
251 | 2013-03-05 Corinna Vinschen <[email protected]> |
252 | ||
253 | * configure.host: Add x86_64-*-cygwin* as host. | |
254 | * configure.tgt: Add x86_64-*-cygwin* as target. | |
255 | * config/i386/cygwin64.mh: New file. | |
256 | ||
f6f99966 JK |
257 | 2013-03-04 Jan Kratochvil <[email protected]> |
258 | ||
259 | * linespec.c (decode_line_2): Fix duplicate request off by two message. | |
260 | ||
33f448b1 JK |
261 | 2013-03-04 Jan Kratochvil <[email protected]> |
262 | ||
263 | * linespec.c (struct linespec_canonical_name): New. | |
264 | (struct linespec_state): Change canonical_names type to it. | |
265 | (add_sal_to_sals): Change variable canonical_name to canonical. Change | |
266 | xrealloc element size. Initialize the different CANONICAL fields. | |
267 | (canonical_to_fullform): New. | |
268 | (filter_results): Use it. Add variables canonical, fullform and | |
269 | cleanup. | |
270 | (struct decode_line_2_item, decode_line_2_compare_items): New. | |
271 | (decode_line_2): Remove variables iter and item_names, add variables | |
272 | items and items_count. Modify the code for these new variables. | |
273 | ||
feb14725 CV |
274 | 2013-03-04 Corinna Vinschen <[email protected]> |
275 | ||
276 | * coff-pe-read.c (read_pe_exported_syms): Don't return without | |
277 | calling do_cleanup. | |
278 | ||
e83b17ba HZ |
279 | 2013-03-04 Luis Machado <[email protected]> |
280 | ||
281 | * tracepoint.c (build_traceframe_info): Add code for byte order. | |
282 | ||
a2d13a0d KB |
283 | 2013-03-02 Kevin Buettner <[email protected]> |
284 | ||
8dddcae8 KB |
285 | * v850-tdep.c: (v850e2_register_name): Revise system register |
286 | names to match current V850E2M architecture specifications. | |
287 | Update register number enum comments too. | |
a2d13a0d | 288 | |
d79e58d8 JW |
289 | 2013-03-01 Jiong Wang <[email protected]> |
290 | Pedro Alves <[email protected]> | |
291 | ||
292 | * tilegx-tdep.c (tilegx_analyze_prologue): Limit bundle reading | |
293 | to END_ADDR. | |
294 | (tilegx_skip_prologue): Limit prologue analysis to section end. | |
295 | ||
c4be5165 JK |
296 | 2013-03-01 Jan Kratochvil <[email protected]> |
297 | ||
298 | * dwarf2loc.c (call_site_find_chain_1): New variable save_callee_pc, | |
299 | use it. | |
300 | ||
e362b510 PA |
301 | 2013-03-01 Pedro Alves <[email protected]> |
302 | ||
303 | Use gdb_byte for bytes from the program being debugged. | |
304 | ||
305 | * arm-tdep.c (arm_store_return_value, arm_get_longjmp_target): | |
306 | Change type of local 'buf' to gdb_byte. | |
307 | * avr-tdep.c (avr_frame_prev_register, avr_push_dummy_call): Likewise. | |
308 | * bfin-tdep.c (bfin_push_dummy_call): Likewise. | |
309 | * cris-tdep.c (cris_sigcontext_addr) | |
310 | (cris_sigtramp_frame_unwind_cache): Likewise. | |
311 | * frv-linux-tdep.c (frv_linux_pc_in_sigtramp) | |
312 | (frv_linux_sigcontext_reg_addr, frv_linux_sigtramp_frame_cache): | |
313 | Likewise. | |
314 | * frv-tdep.c (frv_pseudo_register_write, frv_analyze_prologue): Likewise. | |
315 | * hppa-hpux-tdep.c (hppa32_hpux_find_global_pointer) | |
316 | (hppa32_hpux_search_dummy_call_sequence) | |
317 | (hppa_hpux_supply_save_state): Likewise. | |
318 | * hppa-linux-tdep.c (insns_match_pattern) | |
319 | (hppa_linux_find_global_pointer): Likewise. | |
320 | * hppa-tdep.c (hppa_in_function_epilogue_p) | |
321 | (skip_prologue_hard_way, hppa_frame_cache): Likewise. | |
322 | * i386-nto-tdep.c (i386nto_sigcontext_addr): Likewise. | |
323 | * i386fbsd-tdep.c (i386fbsd_supply_uthread) | |
324 | (i386fbsd_collect_uthread): Likewise. | |
325 | * ia64-hpux-tdep.c (ia64_hpux_push_dummy_code): Likewise. | |
326 | * ia64-linux-tdep.c (ia64_linux_sigcontext_register_address): Likewise. | |
327 | * ia64-tdep.c (examine_prologue, ia64_frame_cache) | |
328 | (ia64_frame_prev_register, ia64_sigtramp_frame_cache) | |
329 | (ia64_sigtramp_frame_prev_register, ia64_access_reg) | |
330 | (ia64_access_rse_reg, ia64_libunwind_frame_this_id) | |
331 | (ia64_libunwind_frame_prev_register) | |
332 | (ia64_libunwind_sigtramp_frame_this_id) | |
333 | (ia64_find_global_pointer_from_dynamic_section) | |
334 | (find_extant_func_descr, find_func_descr, ia64_dummy_id) | |
335 | (ia64_unwind_pc): Likewise. | |
336 | * iq2000-tdep.c (iq2000_store_return_value): Likewise. | |
337 | * m68hc11-tdep.c (m68hc11_push_dummy_call) | |
338 | (m68hc11_extract_return_value): Likewise. | |
339 | * m68klinux-nat.c (fetch_register, store_register): Likewise. | |
340 | * mep-tdep.c (mep_pseudo_cr32_read, mep_pseudo_cr32_write) | |
341 | (mep_get_insn, mep_push_dummy_call): Likewise. | |
342 | * mips-linux-tdep.c (mips_linux_get_longjmp_target) | |
343 | (mips_linux_in_dynsym_stub): Likewise. | |
344 | * mn10300-tdep.c (mep_pseudo_cr32_write): Likewise. | |
345 | * ppc-linux-nat.c (fetch_register, store_register): Likewise. | |
346 | * regcache.c (dump_endian_bytes): Change type of parameter 'buf' | |
347 | to gdb_byte. | |
348 | * remote-mips.c (mips_set_register): Likewise. | |
349 | * remote-sim.c (gdbsim_fetch_register): Likewise. | |
350 | * score-tdep.c (score7_fetch_inst): Change type of parameter | |
351 | 'memblock' and local 'buf' to gdb_byte. | |
352 | (score7_malloc_and_get_memblock): Change return type to gdb_byte. | |
353 | Change type of local 'buf' to gdb_byte. Adjust. | |
354 | (score7_adjust_memblock_ptr): Change type of parameter 'memblock' | |
355 | to gdb_byte**. | |
356 | (score7_analyze_prologue): Change type of 'memblock' and | |
357 | 'memblock_ptr' locals to gdb_byte*. | |
358 | * sh64-tdep.c (sh64_extract_return_value) | |
359 | (sh64_store_return_value): Change type of local 'buf' to gdb_byte. | |
360 | * solib-darwin.c (darwin_current_sos, darwin_read_exec_load_addr): | |
361 | * solib-pa64.c (pa64_solib_create_inferior_hook) | |
362 | (pa64_open_symbol_file_object): Remove local 'buf'. | |
363 | * solib-som.c (som_solib_create_inferior_hook, link_map_start) | |
364 | (som_open_symbol_file_object): Likewise. | |
365 | * solib-spu.c (spu_current_sos): Likewise. | |
366 | * spu-linux-nat.c (spu_fetch_inferior_registers): Likewise. | |
367 | * spu-multiarch.c (parse_spufs_run, spu_fetch_registers) | |
368 | (spu_store_registers): Likewise. | |
369 | * target.c (debug_print_register): Likewise. | |
370 | * tic6x-tdep.c (tic6x_get_longjmp_target): Likewise. | |
371 | * xstormy16-tdep.c (xstormy16_store_return_value) | |
372 | (xstormy16_push_dummy_call, xstormy16_resolve_jmp_table_entry) | |
373 | (xstormy16_find_jmp_table_entry): Likewise. | |
374 | ||
75cc61ca | 375 | 2013-03-01 Jiong Wang <[email protected]> |
61d8bd0e JW |
376 | |
377 | * tilegx-tdep.c (tilegx_get_longjmp_target): New function. | |
378 | (tilegx_gdbarch_init): Install it. | |
379 | ||
ddb08e9c TT |
380 | 2013-02-28 Tom Tromey <[email protected]> |
381 | ||
382 | * python/py-arch.c (archpy_disassemble): Use PyInt_Check and | |
383 | PyLong_Check. | |
384 | ||
62d7fb51 DE |
385 | 2013-02-28 Doug Evans <[email protected]> |
386 | ||
387 | * python/py-finishbreakpoint.c (bpfinishpy_init): gcc -Wall lint. | |
388 | * python/python.c (gdbpy_find_pc_line): Ditto. | |
389 | ||
c4a9e8b4 TT |
390 | 2013-02-28 Tom Tromey <[email protected]> |
391 | ||
392 | * contrib/excheck.py: New file. | |
393 | * contrib/exsummary.py: New file. | |
394 | * contrib/gcc-with-excheck: New file. | |
395 | ||
7f6a5dde TT |
396 | 2013-02-28 Tom Tromey <[email protected]> |
397 | ||
398 | * python/python.c (gdbpy_print_stack): Call begin_line and | |
399 | fprintf_filtered inside TRY_CATCH. | |
400 | ||
9e974e55 TT |
401 | 2013-02-28 Tom Tromey <[email protected]> |
402 | ||
403 | * python/python.c (gdbpy_find_pc_line): Call find_pc_line | |
404 | inside TRY_CATCH. | |
405 | ||
dd5fa3e7 TT |
406 | 2013-02-28 Tom Tromey <[email protected]> |
407 | ||
408 | * py-finishbreakpoint.c (bpfinishpy_init): Reorganize to call | |
409 | frame_object_to_frame_info inside TRY_CATCH. | |
410 | ||
86a3263f TT |
411 | 2013-02-28 Tom Tromey <[email protected]> |
412 | ||
413 | * py-block.c (gdbpy_block_for_pc): Call block_for_pc inside | |
414 | TRY_CATCH. | |
415 | ||
81b52a3a TT |
416 | 2013-02-28 Tom Tromey <[email protected]> |
417 | ||
418 | * objfiles.h (ALL_PSPACE_OBJFILES): Remove trailing backlash. | |
419 | ||
d50a0ce2 CV |
420 | 2013-02-27 Corinna Vinschen <[email protected]> |
421 | ||
422 | * windows-nat.c: Throughout, fix format strings and casts of | |
423 | printf-like functions to avoid type related warnings on all | |
424 | platforms. | |
425 | (handle_output_debug_string): Fetch context information address | |
426 | from debug string using string_to_core_addr. | |
427 | ||
e1f58301 JW |
428 | 2013-02-27 Jiong Wang <[email protected]> |
429 | ||
430 | * regformats/reg-tilegx.dat (name): Change abi name to "tilegx". | |
431 | * regformats/reg-tilegx32.dat: New. | |
432 | ||
4fcd89fc JW |
433 | 2013-02-27 Jiong Wang <[email protected]> |
434 | ||
435 | * configure.tgt (tilegx-*-linux*): Enable gdbserver. | |
436 | ||
748d24e6 JW |
437 | 2013-02-27 Jiong Wang <[email protected]> |
438 | ||
439 | * configure.tgt (tilegx-*-linux*): Replace whitespace with tab. | |
440 | ||
6c8e944d YQ |
441 | 2013-02-27 Yao Qi <[email protected]> |
442 | Pedro Alves <[email protected]> | |
443 | ||
444 | * tracepoint.c (tfile_trace_find): For tfind | |
445 | pc/tp/range/outside, look for the next trace frame instead of | |
446 | always starting from frame 0. | |
447 | ||
acd7db30 AG |
448 | 2013-02-26 Anthony Green <[email protected]> |
449 | ||
450 | * configure.tgt: Add support for moxie-*-rtems* target. | |
451 | ||
025e6dce PA |
452 | 2013-02-25 Pedro Alves <[email protected]> |
453 | ||
454 | * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx): Change | |
455 | warning text. | |
456 | ||
ca9c94ef MR |
457 | 2013-02-24 Maciej W. Rozycki <[email protected]> |
458 | ||
459 | * mips-tdep.c (mips32_scan_prologue): Reset frame_offset to zero | |
460 | if $fp is used as the virtual frame pointer. | |
461 | ||
24c274a1 AM |
462 | 2013-02-23 Alan Modra <[email protected]> |
463 | ||
464 | * elfread.c (elf_symtab_read): Do not use udata.p here to find | |
465 | symbol size. | |
466 | * ppc64-tdep.c (ppc64_elf_make_msymbol_special): New function. | |
467 | * ppc64-tdep.h (ppc64_elf_make_msymbol_special): Declare. | |
468 | * ppc-linux-tdep.c (ppc_linux_init_abi): Set up to use the above. | |
469 | * ppcfbsd-tdep.c (ppcfbsd_init_abi): Likewise. | |
470 | ||
bfada189 JK |
471 | 2013-02-22 Jan Kratochvil <[email protected]> |
472 | ||
473 | Code cleanup. | |
474 | * elfread.c (build_id_bfd_get): Make the return type const. | |
475 | (build_id_verify): Make the check parameter const. | |
476 | (build_id_to_debug_filename): Make the build_id parameter and variable | |
477 | data const. | |
478 | (find_separate_debug_file_by_buildid): Make the variable build_id const. | |
479 | ||
c0355132 AM |
480 | 2013-02-21 Alan Modra <[email protected]> |
481 | ||
482 | * elfread.c (build_id_bfd_get): Adjust for elf_tdata changes. | |
483 | ||
9f44fbc0 SCR |
484 | 2013-02-20 Siva Chandra Reddy <[email protected]> |
485 | ||
486 | Add a new method 'disassemble' to gdb.Architecture class. | |
487 | * python/py-arch.c (archpy_disassmble): Implementation of the | |
488 | new method gdb.Architecture.disassemble. | |
489 | (arch_object_methods): Add entry for the new method. | |
490 | ||
b74ea3eb JW |
491 | 2013-02-20 Jiong Wang <[email protected]> |
492 | ||
493 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
494 | ||
61a672f1 PA |
495 | 2013-02-19 Pedro Alves <[email protected]> |
496 | ||
497 | Garbage collect 'struct monitor_ops'::load_routine. | |
498 | ||
499 | * monitor.h (struct monitor_ops) <load_routine>: Remove field. | |
500 | * monitor.c (monitor_load): No longer call | |
501 | current_monitor->load_routine. | |
502 | * dbug-rom.c (init_dbug_cmds): Don't set 'load_routine'. | |
503 | * m32r-rom.c (init_m32r_cmds): Don't set 'load_routine'. | |
504 | * ppcbug-rom.c (init_ppc_cmds): Don't set 'load_routine'. | |
505 | ||
40e397df PA |
506 | 2013-02-19 Pedro Alves <[email protected]> |
507 | ||
508 | PR gdb/15161 | |
509 | ||
510 | Harmonize with generic_load. | |
511 | ||
512 | * monitor.c: Include "readline/readline.h". | |
513 | (monitor_load): Rename parameter 'file' to 'args'. Use build_argv | |
514 | instead of sscanf. Use CORE_ADDR/strtoulst instead of unsigned | |
515 | long/strtol for the 'load_offset' local. Error out if no argument | |
516 | is given or if too many arguments are given. Tilde expand the | |
517 | passed in file name. | |
518 | ||
f698ca8e KT |
519 | 2013-02-19 Kai Tietz <[email protected]> |
520 | ||
521 | PR gdb/15161 | |
522 | * symfile.c (load_section_data): Change type of load_offset | |
523 | to CORE_ADDR. | |
524 | (generic_load): User strtoulst instead of strtoul for conversion | |
525 | of load_offset. | |
526 | ||
3361b059 WL |
527 | 2013-02-19 Jiong Wang <[email protected]> |
528 | ||
529 | * tilegx-tdep.c (tilegx_analyze_prologue): add check for | |
530 | for return address, "lr" register, saved on stack. | |
531 | * tilegx-tdep.c (tilegx_frame_cache): update "PC" reg | |
532 | after we invoke tilegx_analyze_prologue. | |
533 | ||
3e9d5130 WL |
534 | 2013-02-19 Jiong Wang <[email protected]> |
535 | ||
bb1bcd86 WL |
536 | * tilegx-tdep.c (itilegx_gdbarch_init): char type should be signed. |
537 | ||
3361b059 | 538 | 2013-02-19 Jiong Wang <[email protected]> |
bb1bcd86 | 539 | |
b74ea3eb | 540 | * tilegx-tdep.c (tilegx_skip_prologue): Use skip_prologue_using_sal. |
3e9d5130 | 541 | |
4aaf2503 WL |
542 | 2013-02-19 Jiong Wang <[email protected]> |
543 | ||
b74ea3eb | 544 | * tilegx-tdep.c (INT_SWINT_1_SIGRETURN): New macro. |
4aaf2503 WL |
545 | (tilegx_write_pc): New function. |
546 | (tilegx_cannot_reference_register): Return zero if REGNO | |
547 | is TILEGX_FAULTNUM_REGNUM. | |
548 | (tilegx_gdbarch_init): Add call to set_gdbarch_write_pc. | |
549 | (tilegx_register_name): Add handling of "faultnum" register. | |
550 | * tilegx-tdep.h (enum tilegx_regnum): Add TILEGX_FAULTNUM_REGNUM. | |
551 | * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Add | |
552 | handling of TILEGX_FAULTNUM_REGNUM. | |
553 | * tilegx-linux-nat.c (regmap): Add entry for TILEGX_FAULTNUM_REGNUM. | |
554 | ||
bc23a956 WL |
555 | 2013-02-19 Jiong Wang <[email protected]> |
556 | ||
557 | * tilegx-tdep.c (tilegx_push_dummy_call): args pushed on stack | |
b74ea3eb | 558 | should be aligned to 64bit. |
bc23a956 | 559 | |
42f45f1a KT |
560 | 2013-02-19 Kai Tietz <[email protected]> |
561 | ||
562 | * windows-nat.c (windows_xfer_memory): Fix debug-output | |
563 | for LLP64. | |
564 | ||
6ce4c112 LL |
565 | 2013-02-19 Lei Liu <[email protected]> |
566 | ||
567 | * mips-linux-nat.c (mips64_linux_regsets_store_registers): | |
568 | Don't check DSP register number if HAVE_DSP is not set. | |
569 | ||
30e8ee25 AM |
570 | 2013-02-19 Alan Modra <[email protected]> |
571 | ||
572 | * elfread.c (struct build_id): Delete. Use struct elf_build_id | |
573 | throughout file instead. | |
574 | (build_id_bfd_get): Update to use new elf_tdata build_id field. | |
575 | Don't xmalloc return value. | |
576 | (build_id_verify): Similarly. Don't xfree. | |
577 | (build_id_to_debug_filename): Update. | |
578 | (find_separate_debug_file_by_buildid): Update, don't xfree. | |
579 | ||
4c9ad8c2 TT |
580 | 2013-02-18 Tom Tromey <[email protected]> |
581 | ||
582 | PR gdb/15102: | |
583 | * dwarf2read.c (read_subrange_type): Use result of | |
584 | 'check_typedef'. | |
585 | ||
983dc440 YQ |
586 | 2013-02-16 Yuanhui Zhang <[email protected]> |
587 | ||
588 | * frame.c: Remove one extra white space after #include | |
589 | directive. | |
590 | ||
7fb2b84a JK |
591 | 2013-02-15 Jan Kratochvil <[email protected]> |
592 | ||
593 | * contrib/cc-with-tweaks.sh: Extend the comment for -p option. | |
594 | ||
edceb2a9 JK |
595 | 2013-02-15 Jan Kratochvil <[email protected]> |
596 | ||
597 | * gdb-gdb.gdb.in: Wrap set complaints, b internal_error, b info_command | |
598 | and dir commands into an if block. | |
599 | ||
e81b7af8 TT |
600 | 2013-02-15 Sanimir Agovic <[email protected]> |
601 | ||
602 | * python/py-breakpoint (struct pybp_code): Use int instead of | |
603 | enum type_code. | |
604 | ||
f5911ea1 HAQ |
605 | 2013-02-15 Pedro Alves <[email protected]> |
606 | Hafiz Abid Qadeer <[email protected]> | |
607 | ||
608 | * NEWS: Mention new field "trace-file". | |
609 | * tracepoint.c (trace_status_mi): Output "trace-file" field. | |
610 | (tfile_open): Record the trace file's filename in the trace | |
611 | status. | |
612 | (tfile_files_info): Mention the name of the trace file. | |
613 | Check the "filename" field explicitely. | |
614 | (trace_status_command): Explicitely check "filename" field. | |
615 | (trace_find_command): Ditto. | |
616 | (trace_find_pc_command): Ditto. | |
617 | (trace_find_tracepoint_command): Ditto. | |
618 | (trace_find_line_command): Ditto. | |
619 | (trace_find_range_command): Ditto. | |
620 | (trace_find_outside_command): Ditto. | |
621 | * tracepoint.h (struct trace_status) <from_file>: Rename it | |
622 | to "filename" and make it hold the trace file's filename | |
623 | instead of a boolean. | |
624 | * remote.c (remote_get_trace_status): Initialize "filename" | |
625 | field with NULL instead of 0. | |
626 | ||
796cb314 YQ |
627 | 2013-02-15 Yao Qi <[email protected]> |
628 | ||
629 | * remote.c: Fix a typo. | |
630 | ||
42e79b1d PM |
631 | 2013-02-14 Pierre Muller <[email protected]> |
632 | ||
633 | * contrib/ari/gdb_ari.sh (GNU/Linux rule): Remove. | |
634 | ||
baea0dae PA |
635 | 2013-02-14 Pedro Alves <[email protected]> |
636 | ||
637 | * utils.c (savestring): Don't #undef it. Move function to | |
638 | common/common-utils.c. | |
639 | * common/common-utils.c: Include gdb_string.h. | |
640 | (savestring): Move here from utils.c. | |
641 | * common/common-utils.h (savestring): Declare. | |
642 | ||
57c3b6ed PA |
643 | 2013-02-14 Pedro Alves <[email protected]> |
644 | ||
645 | * utils.c (savestring): Rename parameter 'size' to 'len'. | |
646 | ||
d6c44983 YZ |
647 | 2013-02-14 Pedro Alves <[email protected]> |
648 | Yufeng Zhang <[email protected]> | |
649 | ||
650 | * aarch64-linux-nat.c (aarch64_init_debug_reg_state): Delete. | |
651 | (aarch64_inferior_data, struct aarch64_inferior_data): | |
652 | Delete. | |
653 | (struct aarch64_process_info): New. | |
654 | (aarch64_process_list): New global. | |
655 | (aarch64_find_process_pid, aarch64_add_process) | |
656 | (aarch64_process_info_get): New functions. | |
657 | (aarch64_inferior_data_get): Delete. | |
658 | (aarch64_process_info_get): New function. | |
659 | (aarch64_forget_process): New function. | |
660 | (aarch64_get_debug_reg_state): New parameter 'pid'. Reimplement. | |
661 | (aarch64_linux_prepare_to_resume): Pass the lwp's pid to | |
662 | aarch64_get_debug_reg_state. | |
663 | (aarch64_notify_debug_reg_change): Use iterate_over_lwps | |
664 | instead of linux_nat_iterate_watchpoint_lwps. | |
665 | (aarch64_linux_new_fork): New function. | |
666 | (aarch64_linux_child_post_startup_inferior): Use | |
667 | aarch64_forget_process instead of aarch64_init_debug_reg_state. | |
668 | (aarch64_handle_breakpoint, aarch64_linux_insert_hw_breakpoint) | |
669 | (aarch64_linux_remove_hw_breakpoint) | |
670 | (aarch64_handle_aligned_watchpoint) | |
671 | (aarch64_handle_unaligned_watchpoint) | |
672 | (aarch64_linux_insert_watchpoint) | |
673 | (aarch64_linux_remove_watchpoint) | |
674 | (aarch64_linux_stopped_data_address): Adjust to pass the current | |
675 | process id to aarch64_debug_reg_state. | |
676 | (_initialize_aarch64_linux_nat): Install aarch64_linux_new_fork as | |
677 | linux_nat_new_fork hook, and aarch64_forget_process as | |
678 | linux_nat_forget_process hook; remove the call to | |
679 | register_inferior_data_with_cleanup. | |
680 | ||
4819b3f8 PA |
681 | 2013-02-14 Pedro Alves <[email protected]> |
682 | ||
683 | * eval.c (evaluate_subexp_for_address) <default_case_after_eval, | |
684 | EVAL_AVOID_SIDE_EFFECTS>: Swap and handle TYPE_CODE_REF before | |
685 | lval_memory. | |
686 | ||
1773c82c HAQ |
687 | 2013-02-14 Pedro Alves <[email protected]> |
688 | Hafiz Abid Qadeer <[email protected]> | |
689 | ||
690 | * tracepoint.h (validate_trace_state_variable_name): Declare. | |
691 | * tracepoint.c (validate_trace_state_variable_name): New. | |
692 | (trace_variable_command): Parse the trace state variable's name | |
693 | without using parse_expression. Do several validations. | |
694 | * mi/mi-main.c (mi_cmd_trace_define_variable): Don't parse the | |
695 | trace state variable's name with parse_expression. Validate it. | |
696 | ||
53778a97 YQ |
697 | 2013-02-14 Yao Qi <[email protected]> |
698 | ||
699 | * infcmd.c (breakpoint_proceeded): Remove it. | |
700 | ||
7b3ae3a6 YQ |
701 | 2013-02-14 Yao Qi <[email protected]> |
702 | ||
703 | * tracepoint.c (end_actions_pseudocommand): Make it static. | |
704 | (while_stepping_pseudocommand): Likewise. | |
705 | * tracepoint.h (end_actions_pseudocommand): Remove the | |
706 | declaration. | |
707 | (while_stepping_pseudocommand): Likewise. | |
708 | ||
64580925 YQ |
709 | 2013-02-14 Yao Qi <[email protected]> |
710 | ||
711 | * cli/cli-decode.c (help_cmd): Remove the declaration of | |
712 | "cmdlist". | |
713 | (help_all): Likewise. | |
714 | ||
26cb8b7c PA |
715 | 2013-02-13 Pedro Alves <[email protected]> |
716 | ||
717 | * amd64-linux-nat.c (update_debug_registers_callback): | |
718 | Update comment. | |
719 | (amd64_linux_dr_set_control, amd64_linux_dr_set_addr): Use | |
720 | iterate_over_lwps. | |
721 | (amd64_linux_prepare_to_resume): Pass the lwp's pid to | |
722 | i386_debug_reg_state. | |
723 | (amd64_linux_new_fork): New function. | |
724 | (_initialize_amd64_linux_nat): Install amd64_linux_new_fork as | |
725 | linux_nat_new_fork hook, and i386_forget_process as | |
726 | linux_nat_forget_process hook. | |
727 | * i386-linux-nat.c (update_debug_registers_callback): | |
728 | Update comment. | |
a8256ea1 | 729 | (i386_linux_dr_set_control, i386_linux_dr_set_addr): Use |
26cb8b7c PA |
730 | iterate_over_lwps. |
731 | (i386_linux_prepare_to_resume): Pass the lwp's pid to | |
732 | i386_debug_reg_state. | |
733 | (i386_linux_new_fork): New function. | |
734 | (_initialize_i386_linux_nat): Install i386_linux_new_fork as | |
735 | linux_nat_new_fork hook, and i386_forget_process as | |
736 | linux_nat_forget_process hook. | |
737 | * i386-nat.c (i386_init_dregs): Delete. | |
738 | (i386_inferior_data, struct i386_inferior_data): | |
739 | Delete. | |
740 | (struct i386_process_info): New. | |
741 | (i386_process_list): New global. | |
742 | (i386_find_process_pid, i386_add_process, i386_process_info_get): | |
743 | New functions. | |
744 | (i386_inferior_data_get): Delete. | |
745 | (i386_process_info_get): New function. | |
746 | (i386_debug_reg_state): New parameter 'pid'. Reimplement. | |
747 | (i386_forget_process): New function. | |
748 | (i386_cleanup_dregs): Rewrite. | |
749 | (i386_update_inferior_debug_regs, i386_insert_watchpoint) | |
750 | (i386_remove_watchpoint, i386_region_ok_for_watchpoint) | |
751 | (i386_stopped_data_address, i386_insert_hw_breakpoint) | |
752 | (i386_remove_hw_breakpoint): Adjust to pass the current process id | |
753 | to i386_debug_reg_state. | |
754 | (i386_use_watchpoints): Don't register inferior data. | |
755 | * i386-nat.h (i386_debug_reg_state): Add new 'pid' parameter, and | |
756 | adjust comment. | |
757 | (i386_forget_process): Declare. | |
758 | * linux-fork.c (delete_fork): Call linux_nat_forget_process. | |
759 | * linux-nat.c (linux_nat_new_fork, linux_nat_forget_process_hook): | |
760 | New static globals. | |
761 | (linux_child_follow_fork): Don't call linux_nat_new_thread here. | |
762 | (add_initial_lwp): New, factored out from ... | |
763 | (add_lwp): ... this. Don't check the number of lwps before | |
764 | calling linux_nat_new_thread. | |
765 | (linux_nat_iterate_watchpoint_lwps): Delete. | |
766 | (linux_nat_attach): Use add_initial_lwp instead of add_lwp. | |
767 | (linux_handle_extended_wait): Call the linux_nat_new_fork hook on | |
768 | forks and vforks. | |
769 | (linux_nat_wait_1): Use add_initial_lwp instead of add_lwp for the | |
770 | initial lwp. | |
771 | (linux_nat_kill, linux_nat_mourn_inferior): Call | |
772 | linux_nat_forget_process. | |
773 | (linux_nat_set_new_fork, linux_nat_set_forget_process) | |
774 | (linux_nat_forget_process): New functions. | |
775 | * linux-nat.h (linux_nat_iterate_watchpoint_lwps_ftype): Delete | |
776 | type. | |
777 | (linux_nat_iterate_watchpoint_lwps): Delete declaration. | |
778 | (linux_nat_new_fork_ftype, linux_nat_forget_process_ftype): New | |
779 | types. | |
780 | (linux_nat_set_new_fork, linux_nat_set_forget_process) | |
781 | (linux_nat_forget_process): New declarations. | |
782 | ||
783 | * amd64fbsd-nat.c (super_mourn_inferior): New global. | |
784 | (amd64fbsd_mourn_inferior): New function. | |
785 | (_initialize_amd64fbsd_nat): Override to_mourn_inferior. | |
786 | * windows-nat.c (windows_detach): Call i386_cleanup_dregs. | |
787 | ||
5befea72 MS |
788 | 2013-02-13 Marcus Shawcroft <[email protected]> |
789 | ||
55015247 YQ |
790 | * aarch64-linux-nat.c (aarch64_linux_get_debug_reg_capacity): |
791 | Adding _(). | |
5befea72 | 792 | |
1d3ffd6b MS |
793 | 2013-02-13 Marcus Shawcroft <[email protected]> |
794 | ||
795 | * aarch64-linux-nat.c (debug_reg_change_callback) | |
796 | (aarch64_linux_get_debug_reg_capacity): ARI fix: Replace %llx with | |
797 | %s and phex(). | |
798 | ||
6eb04473 MS |
799 | 2013-02-13 Marcus Shawcroft <[email protected]> |
800 | ||
801 | * aarch64-linux-nat.c (dr_changed_t): ARI fix: Replace long long | |
802 | with LONGEST. | |
803 | ||
a016fc87 HAQ |
804 | 2013-02-13 Pedro Alves <[email protected]> |
805 | Hafiz Abid Qadeer <[email protected]> | |
806 | ||
807 | * c-lang.c (c_op_print_tab): Add entry for UNOP_PLUS. | |
808 | ||
e234dfaf TT |
809 | 2013-02-12 Tom Tromey <[email protected]> |
810 | ||
811 | PR symtab/11464: | |
812 | * c-exp.y (lex_one_token): Initialize other fields of yylval on | |
813 | NAME return. | |
814 | (classify_inner_name): Remove 'first_name' argument, add | |
815 | 'context'. Remove unused variable. | |
816 | (yylex): Explicitly maintain the context type. Exit loop earlier | |
817 | if NAME result is seen. | |
818 | ||
0b1afbb3 PA |
819 | 2013-02-12 Pedro Alves <[email protected]> |
820 | ||
821 | * amd64-darwin-tdep.c: Add (C) after Copyright. | |
822 | * cli/cli-cmds.h: Ditto. | |
823 | * cli/cli-decode.c: Ditto. | |
824 | * cli/cli-decode.h: Ditto. | |
825 | * cli/cli-dump.c: Ditto. | |
826 | * cli/cli-dump.h: Ditto. | |
827 | * cli/cli-interp.c: Ditto. | |
828 | * cli/cli-logging.c: Ditto. | |
829 | * cli/cli-script.c: Ditto. | |
830 | * cli/cli-script.h: Ditto. | |
831 | * cli/cli-setshow.c: Ditto. | |
832 | * cli/cli-setshow.h: Ditto. | |
833 | * cli/cli-utils.c: Ditto. | |
834 | * cli/cli-utils.h: Ditto. | |
835 | * config/alpha/nm-osf3.h: Ditto. | |
836 | * config/djgpp/djconfig.sh: Ditto. | |
837 | * config/i386/nm-fbsd.h: Ditto. | |
838 | * config/i386/nm-i386gnu.h: Ditto. | |
839 | * config/nm-linux.h: Ditto. | |
840 | * config/nm-nto.h: Ditto. | |
841 | * config/rs6000/nm-rs6000.h: Ditto. | |
842 | * config/sparc/nm-sol2.h: Ditto. | |
843 | * darwin-nat-info.c: Ditto. | |
844 | * dfp.c: Ditto. | |
845 | * dfp.h: Ditto. | |
846 | * gdb-demangle.h: Ditto. | |
847 | * i386-darwin-nat.c: Ditto. | |
848 | * i386-darwin-tdep.c: Ditto. | |
849 | * linux-fork.h: Ditto. | |
850 | * m32c-tdep.c: Ditto. | |
851 | * microblaze-linux-tdep.c: Ditto. | |
852 | * microblaze-rom.c: Ditto. | |
853 | * microblaze-tdep.c: Ditto. | |
854 | * microblaze-tdep.h: Ditto. | |
855 | * mips-linux-tdep.h: Ditto. | |
856 | * ppc-ravenscar-thread.c: Ditto. | |
857 | * ppc-ravenscar-thread.h: Ditto. | |
858 | * prologue-value.c: Ditto. | |
859 | * prologue-value.h: Ditto. | |
860 | * ravenscar-thread.c: Ditto. | |
861 | * ravenscar-thread.h: Ditto. | |
862 | * sparc-ravenscar-thread.c: Ditto. | |
863 | * sparc-ravenscar-thread.h: Ditto. | |
864 | * tilegx-linux-tdep.c: Ditto. | |
865 | * unwind_stop_reasons.def: Ditto. | |
866 | * windows-nat.h: Ditto. | |
867 | * xtensa-linux-tdep.c: Ditto. | |
868 | * xtensa-xtregs.c: Ditto. | |
869 | * regformats/regdat.sh: Ditto. | |
870 | * regformats/regdef.h: Ditto. | |
871 | ||
6c01dd94 PA |
872 | 2013-02-12 Pedro Alves <[email protected]> |
873 | ||
874 | * break-catch-sig.c: Update copyright years. | |
875 | ||
b65a2bd9 SCR |
876 | 2013-02-11 Siva Chandra Reddy <[email protected]> |
877 | ||
878 | Add support for a destructor for ui_out data and use it to | |
879 | provide a ui_out destructor. | |
880 | * ui-out.h: Declare the new ui_out destructor. | |
881 | (ui_out_impl): Add a field for data destructor in ui_out_impl. | |
882 | * ui-out.c (default_data_destroy): Add a default data destructor | |
883 | which does nothing. | |
884 | (default_ui_out_impl): Set the new data_destroy field to | |
885 | default_data_destroy | |
886 | (uo_data_destroy): Local function which invokes the data | |
887 | destructor if present. | |
888 | (clear_table): Local function which clears the table data of a | |
889 | ui_out object. | |
890 | (ui_out_destroy): Public function which frees a ui_out object. | |
891 | (ui_out_table_end): Use the new clear_table function. | |
892 | * cli-out.c (cli_ui_out_impl): Set the new data_destroy field to | |
893 | NULL. | |
894 | * mi/mi-out.c (mi_ui_out_impl): Set the new data_destroy field | |
895 | to NULL. | |
896 | ||
c2792f5a DE |
897 | 2013-02-11 Doug Evans <[email protected]> |
898 | ||
899 | * printcmd.c (printf_c_string,printf_wide_c_string): New functions. | |
900 | (printf_decfloat): New function. Broken out from ui_printf. | |
901 | Remove unnecessary code to shift the entire format string down. | |
902 | (printf_pointer): New function. | |
903 | (ui_printf): Code to print C strings, wide C strings, decfloats, | |
904 | and pointers moved to separate functions. | |
905 | ||
d9e98382 SDJ |
906 | 2013-02-11 Sergio Durigan Junior <[email protected]> |
907 | ||
908 | * valops.c (value_assign): Handling bitfield offset in | |
909 | `lval_internalvar_component' case. | |
910 | ||
4ff3ce77 DE |
911 | 2013-02-08 Doug Evans <[email protected]> |
912 | ||
913 | * common/format.c (parse_format_string): Fix whitespace. | |
914 | ||
901900c4 MGD |
915 | 2013-02-08 Matthew Gretton-Dann <[email protected]> |
916 | ||
917 | * stack.c (return_command): Work around uninitialized variable | |
918 | warning. | |
919 | ||
b5dbc8d4 YZ |
920 | 2013-02-08 Yufeng Zhang <[email protected]> |
921 | ||
922 | * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET): Change the | |
923 | number of the registers from 36 to 34. | |
924 | ||
51d66578 MS |
925 | 2013-02-08 Marcus Shawcroft <[email protected]> |
926 | ||
927 | * NEWS: Mention new AArch64 native and target support. | |
928 | ||
176b1c95 MS |
929 | 2013-02-08 Marcus Shawcroft <[email protected]> |
930 | ||
931 | * MAINTAINERS (Write After Approval): Add myself. | |
932 | ||
9d19df75 MS |
933 | 2013-02-08 Jim MacArthur <[email protected]> |
934 | Marcus Shawcroft <[email protected]> | |
935 | Nigel Stephens <[email protected]> | |
936 | Yufeng Zhang <[email protected]> | |
937 | ||
938 | * aarch64-linux-nat.c: New file. | |
939 | * config/aarch64/linux.mh: New file. | |
940 | * configure.host: Add AArch64. | |
941 | * Makefile.in (ALLDEPFILES): Add aarch64-linux-nat.c. | |
942 | ||
7e1e0340 DE |
943 | 2013-02-07 Doug Evans <[email protected]> |
944 | ||
945 | * cli/cli-cmds.c (_initialize_cli_cmds): Clarify argument to | |
946 | disassemble command. | |
947 | ||
45e25a36 MS |
948 | 2013-02-07 Marcus Shawcroft <[email protected]> |
949 | ||
950 | * aarch64-linux-tdep.c (aarch64_linux_init_abi): Call | |
951 | set_gdbarch_fetch_tls_load_module_address. | |
952 | ||
bbfdfe1c DM |
953 | 2013-02-06 David S. Miller <[email protected]> |
954 | ||
955 | * sparc-tdep.c (sparc32_return_value): Handle writing return value when | |
956 | using RETURN_VALUE_ABI_PRESERVES_ADDRESS. | |
957 | * value.c (struct_return_convention): New function. | |
958 | (using_struct_return): Implement in terms of struct_return_convention. | |
959 | * value.h (struct_return_convention): Declare. | |
960 | * stack.c (return_command): Allow successful overriding of the return | |
961 | value when RETURN_VALUE_ABI_PRESERVES_ADDRESS. | |
962 | ||
bc9abe4a TT |
963 | 2013-02-06 Tom Tromey <[email protected]> |
964 | ||
965 | * python/py-type.c (typy_strip_typedefs): Don't call check_typedef | |
966 | outside of TRY_CATCH. | |
967 | ||
134a2066 YQ |
968 | 2013-02-06 Yao Qi <[email protected]> |
969 | ||
970 | * mi/mi-interp.c: Include "tracepoint.h". | |
971 | (mi_tsv_modified): Declare. | |
972 | (mi_tsv_created, mi_tsv_deleted): Update declaration. | |
973 | (mi_interpreter_init): Call observer_attach_tsv_modified. | |
974 | (mi_tsv_modified): New. | |
975 | (mi_tsv_created, mi_tsv_deleted): Update. | |
976 | * tracepoint.c (trace_variable_command): Call | |
977 | observer_notify_tsv_modified if the initial value of tsv is | |
978 | changed. | |
979 | (delete_trace_state_variable): Call | |
980 | observer_notify_tsv_deleted earlier. | |
981 | (trace_variable_command): Caller update. | |
982 | (create_tsv_from_upload): Likewise. | |
983 | * observer.sh: Declare "struct trace_state_variable". | |
984 | ||
985 | * NEWS: Mention the new MI notification "=tsv-modified". | |
986 | ||
59be2b6a DE |
987 | 2013-02-05 Doug Evans <[email protected]> |
988 | ||
989 | * completer.c (location_completer): Fix typo in comment. | |
990 | ||
d30113d4 JK |
991 | 2013-02-05 Jan Kratochvil <[email protected]> |
992 | ||
993 | * breakpoint.c (add_location_to_breakpoint): Insert the location with | |
994 | ADDRESS sorted. | |
995 | ||
14ac654f MS |
996 | 2013-02-05 Marcus Shawcroft <[email protected]> |
997 | ||
998 | * aarch64-tdep.c (aarch64_analyze_prologue): ARI fix: | |
999 | Refactor if statement to avoid trailing || operator. | |
1000 | ||
543bf33d AT |
1001 | 2013-02-05 Andreas Tobler <[email protected]> |
1002 | ||
1003 | * NEWS: Add PowerPC FreeBSD as a new native configuration. | |
1004 | ||
dc18f110 AT |
1005 | 2013-02-04 Andreas Tobler <[email protected]> |
1006 | ||
1007 | * Makefile.in (ALL_TARGET_OBS): Add powerpc FreeBSD files. | |
1008 | * configure.host: Add powerpc*-*-freebsd* target. | |
1009 | * configure.tgt: Add target info for powerpc*-*-freebsd*. | |
1010 | * ppcfbsd-nat.c, ppcfbsd-tdep.h, ppcfbsd-tdep.c: New files. | |
1011 | * config/powerpc/fbsd.mh: New file. | |
1012 | ||
b3ac9c77 SDJ |
1013 | 2013-02-04 Sergio Durigan Junior <[email protected]> |
1014 | Denys Vlasenko <[email protected]> | |
1015 | Pedro Alves <[email protected]> | |
1016 | ||
1017 | * gdbarch.sh (elfcore_write_linux_prpsinfo): New F hook. | |
1018 | (struct elf_internal_linux_prpsinfo): Forward declare. | |
1019 | * gdbarch.h, gdbarch.c: Regenerate. | |
1020 | * linux-tdep.c: Include `cli/cli-utils.h'. | |
1021 | (linux_fill_prpsinfo): New function. | |
1022 | (linux_make_corefile_notes): Use linux_fill_prpsinfo. If there's | |
1023 | an elfcore_write_linux_prpsinfo hook, use it, otherwise, use | |
1024 | elfcore_write_linux_prpsinfo32 or elfcore_write_linux_prpsinfo64 | |
1025 | depending on gdbarch pointer bitness. | |
1026 | * ppc-linux-tdep.c: Include elf-bfd.h. | |
1027 | (ppc_linux_init_abi): Hook in elfcore_write_ppc_linux_prpsinfo32 | |
1028 | on 32-bit. | |
1029 | ||
176eb98c MS |
1030 | 2013-02-04 Jim MacArthur <[email protected]> |
1031 | Marcus Shawcroft <[email protected]> | |
1032 | Nigel Stephens <[email protected]> | |
1033 | Yufeng Zhang <[email protected]> | |
1034 | ||
1035 | * configure.tgt (aarch64*-*-linux*): Set build_gdbserver=yes. | |
1036 | ||
cf0dbd6f MS |
1037 | 2013-02-04 Jim MacArthur <[email protected]> |
1038 | Marcus Shawcroft <[email protected]> | |
1039 | Nigel Stephens <[email protected]> | |
1040 | Yufeng Zhang <[email protected]> | |
1041 | ||
1042 | * aarch64-newlib-tdep.c: New file. | |
1043 | * configure.tgt: Add aarch64-newlib-tdep.o to gdb_target_obs of | |
1044 | aarch64*-*-elf. | |
1045 | * defs.h (enum gdb_osabi): Add GDB_OSABI_NEWLIB. | |
1046 | * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-newlib-tdep.o. | |
1047 | (ALLDEPFILES): Add aarch64-newlib-tdep.c. | |
1048 | * osabi.c (gdb_osabi_names): Add "Newlib". | |
1049 | ||
1ae3db19 MS |
1050 | 2013-02-04 Jim MacArthur <[email protected]> |
1051 | Marcus Shawcroft <[email protected]> | |
1052 | Nigel Stephens <[email protected]> | |
1053 | Yufeng Zhang <[email protected]> | |
1054 | ||
1055 | * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-linux-tdep.o. | |
1056 | (ALLDEPFILES): Add aarch64-linux-tdep.c. | |
1057 | * aarch64-linux-tdep.c: New file. | |
1058 | * aarch64-linux-tdep.h: New file. | |
1059 | * aarch64-tdep.h (gdbarch_tdep): Define gregset and fpregset. | |
1060 | * configure.tgt: Add aarch64-none-linux-gnu. | |
1061 | ||
07b287a0 MS |
1062 | 2013-02-04 Jim MacArthur <[email protected]> |
1063 | Marcus Shawcroft <[email protected]> | |
1064 | Nigel Stephens <[email protected]> | |
1065 | Yufeng Zhang <[email protected]> | |
1066 | ||
1067 | * Makefile.in (ALL_64_TARGET_OBS): Add arch64-tdep.o. | |
1068 | (HFILES_NO_SRCDIR): Add aarch64-tdep.h. | |
1069 | (ALLDEPFILES): Add aarch64-tdep.c. | |
1070 | * aarch64-tdep.c: New file. | |
1071 | * aarch64-tdep.h: New file. | |
1072 | * configure.tgt: Add AArch64. | |
1073 | * features/Makefile (WHICH): Add aarch64 and aarch64-without-fpu. | |
1074 | (aarch64-expedite): New definition. | |
1075 | * features/aarch64-core.xml: New file. | |
1076 | * features/aarch64-fpu.xml: New file. | |
1077 | * features/aarch64-without-fpu.c: New file (generated). | |
1078 | * features/aarch64-without-fpu.xml: New file. | |
1079 | * features/aarch64.c: New file (generated). | |
1080 | * features/aarch64.xml: New file. | |
1081 | * regformats/aarch64-without-fpu.dat: New file (generated). | |
1082 | * regformats/aarch64.dat: New file (generated). | |
1083 | ||
0f1b18ab JK |
1084 | 2013-02-03 Jan Kratochvil <[email protected]> |
1085 | ||
1086 | * contrib/expect-read1.c: New file. | |
1087 | * contrib/expect-read1.sh: New file. | |
1088 | ||
233d95b5 JK |
1089 | 2013-02-03 Jan Kratochvil <[email protected]> |
1090 | ||
1091 | * dwarf2read.c (file_file_name): New function with code from | |
1092 | file_full_name. | |
1093 | (file_full_name): Move most of the code to file_file_name. | |
1094 | (macro_start_file): Rename variable full_name to file_name and use | |
1095 | file_file_name for it. Add comp_dir parameter to new_macro_table. | |
1096 | * macrocmd.c (show_pp_source_pos): New variable fullname. Replace any | |
1097 | macro_source_file->filename access by macro_source_fullname call. | |
1098 | * macroscope.c (_initialize_macroscope): Update the new_macro_table | |
1099 | caller. | |
1100 | * macrotab.c (struct macro_table): New field comp_dir. | |
1101 | (macro_include): New variables link_fullname and source_fullname. | |
1102 | Replace any macro_source_file->filename access by macro_source_fullname | |
1103 | call. | |
1104 | (macro_lookup_inclusion): Remove the partial filenames checking code. | |
1105 | (check_for_redefinition): New variables source_fullname and | |
1106 | found_key_fullname. Replace any macro_source_file->filename access by | |
1107 | macro_source_fullname call. | |
1108 | (macro_undef): New variables source_fullname and key_fullname. Replace | |
1109 | any macro_source_file->filename access by macro_source_fullname call. | |
1110 | (macro_lookup_definition): New variables retval and source_fullname. | |
1111 | Replace any macro_source_file->filename access by macro_source_fullname | |
1112 | call. | |
1113 | (foreach_macro): New variable key_fullname. Replace any | |
1114 | macro_source_file->filename access by macro_source_fullname call. | |
1115 | (foreach_macro_in_scope): New variable datum_fullname. Replace any | |
1116 | macro_source_file->filename access by macro_source_fullname call. | |
1117 | (new_macro_table): Add parameter comp_dir. Initialize T with it. | |
1118 | (macro_source_fullname): New function. | |
1119 | * macrotab.h (struct macro_source_file): Extent the filename field | |
1120 | comment. | |
1121 | (new_macro_table): New parameter comp_dir, add a comment for it. | |
1122 | (macro_source_fullname): new declaration. | |
1123 | ||
da235a7c JK |
1124 | 2013-02-03 Jan Kratochvil <[email protected]> |
1125 | ||
1126 | * dwarf2read.c (dw2_map_symtabs_matching_filename): Move variable | |
1127 | this_real_name to outer block. Use it also for | |
1128 | compare_filenames_for_search. | |
1129 | (dw2_expand_symtabs_matching): New variable this_real_name. Use it | |
1130 | with dw2_get_real_path for file_matcher, considering also | |
1131 | BASENAMES_MAY_DIFFER. | |
1132 | (file_full_name): Prepend COMP_DIR even for relative lh->INCLUDE_DIRS. | |
1133 | ||
fbd9ab74 JK |
1134 | 2013-02-03 Jan Kratochvil <[email protected]> |
1135 | ||
1136 | * dwarf2read.c (dw2_expand_symtabs_matching): Add basenames parameter | |
1137 | to the file_matcher parameter. Pass 0 to it. | |
1138 | (dwarf2_create_include_psymtab): Copy also DIRNAME. | |
1139 | * psymtab.c (partial_map_symtabs_matching_filename): Drop handling of | |
1140 | NULL psymtab_to_fullname result. | |
1141 | (psymtab_to_fullname): Remove variable r. Never return NULL, assemble | |
1142 | an expected filename instead. | |
1143 | (expand_symtabs_matching_via_partial): Add basenames parameter to the | |
1144 | file_matcher parameter. Call also psymtab_to_fullname, after newly | |
1145 | considering BASENAMES_MAY_DIFFER. | |
1146 | * source.c (rewrite_source_path): Remove static. | |
1147 | * source.h (rewrite_source_path): New declaration. | |
1148 | * symfile.h (struct quick_symbol_functions): Add basenames parameter to | |
1149 | the expand_symtabs_matching field. Comment it. | |
1150 | * symtab.c (file_matches): New function comment. Add parameter | |
1151 | basenames, implement it. | |
1152 | (search_symbols_file_matches): Add basenames parameter. Update the | |
1153 | file_matches caller. | |
1154 | (search_symbols): Match FILES also against symtab_to_fullname. | |
1155 | Optimize it for BASENAMES_MAY_DIFFER. | |
1156 | ||
56d397a3 JK |
1157 | 2013-02-03 Jan Kratochvil <[email protected]> |
1158 | ||
1159 | * source.c (print_source_lines_base): Print for TUI also "fullname". | |
1160 | * tui/tui-data.c (init_content_element): Change tui_locator_element | |
1161 | field to full_name. | |
1162 | * tui/tui-data.h (struct tui_locator_element): Likewise. | |
1163 | * tui/tui-disasm.c (tui_show_disassem_and_update_source): Rename | |
1164 | tui_update_locator_filename calls to tui_update_locator_fullname. | |
1165 | Replace symtab->filename refererence by symtab_to_fullname call. | |
1166 | * tui/tui-out.c (tui_field_string): Check for "fullname" now. | |
1167 | * tui/tui-source.c (tui_set_source_content): Change tui_locator_element | |
1168 | field to full_name. Replace symtab->filename refererence by | |
1169 | symtab_to_fullname call. | |
1170 | (tui_show_symtab_source): Rename parameter to fullname. Change | |
1171 | tui_locator_element field to full_name. | |
1172 | * tui/tui-stack.c: Include source.h. | |
1173 | (tui_set_locator_filename): Rename the declaration to ... | |
1174 | (tui_set_locator_fullname): ... here. Rename its parameter to | |
1175 | fullname, updates its comment. | |
1176 | (tui_set_locator_info): Rename its parameter to fullname. | |
1177 | (tui_set_locator_filename): Rename the definition to ... | |
1178 | (tui_set_locator_fullname): ... here. Rename its parameter to | |
1179 | fullname, updates its comment. Change tui_locator_element field to | |
1180 | full_name. | |
1181 | (tui_set_locator_info): Rename its parameter to fullname. | |
1182 | (tui_set_locator_info): Rename callee to tui_set_locator_fullname. | |
1183 | (tui_update_locator_filename): Rename to ... | |
1184 | (tui_update_locator_fullname): ... here. Rename callee to | |
1185 | tui_set_locator_fullname. | |
1186 | (tui_show_frame_info): Replace symtab->filename refererence by | |
1187 | symtab_to_fullname call. | |
1188 | * tui/tui-stack.h (tui_update_locator_filename): Rename to ... | |
1189 | (tui_update_locator_fullname): ... here. | |
1190 | * tui/tui-winsource.c (tui_display_main): Rename the callee to | |
1191 | tui_update_locator_fullname. Replace symtab->filename refererence by | |
1192 | symtab_to_fullname call. | |
1193 | * tui/tui.c (tui_show_source): Rename its parameter to fullname. | |
1194 | Rename the callee to tui_update_locator_fullname. | |
1195 | * tui/tui.h (tui_show_source): Rename its parameter to fullname. | |
1196 | ||
05cba821 JK |
1197 | 2013-02-03 Jan Kratochvil <[email protected]> |
1198 | ||
1199 | * ada-lang.c (user_select_syms): Replace symtab->filename refererences | |
1200 | by symtab_to_filename_for_display calls. | |
1201 | * breakpoint.c (print_breakpoint_location, resolve_sal_pc): Likewise. | |
1202 | (clear_command): New variable sal_fullname, initialize it. Replace | |
1203 | compare_filenames_for_search by filename_cmp with sal_fullname. | |
1204 | (say_where, update_static_tracepoint): Replace symtab->filename | |
1205 | refererences by symtab_to_filename_for_display calls. | |
1206 | * cli/cli-cmds.c (edit_command, list_command, ambiguous_line_spec): | |
1207 | Likewise. | |
1208 | * dwarf2read.c: Include source.h. | |
1209 | (fixup_go_packaging): Replace symtab->filename refererences by | |
1210 | symtab_to_filename_for_display calls. | |
1211 | * linespec.c (add_sal_to_sals): Rename variable filename to fullname. | |
1212 | Replace symtab->filename refererences by symtab_to_filename_for_display | |
1213 | calls. | |
1214 | (create_sals_line_offset, convert_linespec_to_sals): New variable | |
1215 | fullname, initialize it, replace symtab->filename reference by the | |
1216 | variable. | |
1217 | * linux-fork.c: Include source.h. | |
1218 | (info_checkpoints_command): Replace symtab->filename refererences by | |
1219 | symtab_to_filename_for_display calls. | |
1220 | * macroscope.c (sal_macro_scope): Replace symtab->filename refererences | |
1221 | by symtab_to_filename_for_display calls. | |
1222 | * mdebugread.c: Include source.h. | |
1223 | (psymtab_to_symtab_1): Replace symtab->filename refererences by | |
1224 | symtab_to_filename_for_display calls. | |
1225 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file) | |
1226 | (mi_cmd_file_list_exec_source_files): Likewise. | |
1227 | * printcmd.c: Include source.h. | |
1228 | (build_address_symbolic): Replace symtab->filename refererences by | |
1229 | symtab_to_filename_for_display calls. | |
1230 | * psymtab.c (partial_map_symtabs_matching_filename) | |
1231 | (read_psymtabs_with_fullname): Call compare_filenames_for_search also | |
1232 | with psymtab_to_fullname. | |
1233 | * python/py-symtab.c (stpy_str): Replace symtab->filename refererences | |
1234 | by symtab_to_filename_for_display calls. | |
1235 | (stpy_get_filename): New variable filename, initialize it, use instead | |
1236 | of symtab->filename refererences. | |
1237 | (salpy_str): Make variable filename const char *. Replace | |
1238 | symtab->filename refererences by symtab_to_filename_for_display calls. | |
1239 | * skip.c: Include source.h and filenames.h. | |
1240 | (skip_file_command): Remove const from the symtab variable. Replace | |
1241 | symtab->filename refererences by symtab_to_fullname call. | |
1242 | (function_name_is_marked_for_skip): New variables searched_for_fullname | |
1243 | and fullname. Use them to search also with symtab's fullname. | |
1244 | * source.c (find_source_lines): Replace symtab->filename refererences | |
1245 | by symtab_to_filename_for_display calls. | |
1246 | (print_source_lines_base): New variable filename, use it instead of | |
1247 | symtab->filename. Replace symtab->filename refererences by | |
1248 | symtab_to_filename_for_display calls. | |
1249 | (line_info, forward_search_command): Replace symtab->filename | |
1250 | refererences by symtab_to_filename_for_display calls. | |
1251 | (reverse_search_command): Replace symtab->filename refererences by | |
1252 | symtab_to_filename_for_display calls. New variable filename for it. | |
1253 | * stack.c (frame_info): Likewise. | |
1254 | * symmisc.c: Include source.h. | |
1255 | (dump_objfile, dump_symtab_1, maintenance_print_symbols) | |
1256 | (maintenance_info_symtabs): Replace symtab->filename refererences by | |
1257 | symtab_to_filename_for_display calls. | |
1258 | * symtab.c (iterate_over_some_symtabs): Call | |
1259 | compare_filenames_for_search also with symtab_to_fullname. | |
1260 | (lookup_symbol_aux_quick, basic_lookup_transparent_type_quick): Replace | |
1261 | symtab->filename refererences by symtab_to_filename_for_display calls. | |
1262 | (find_line_symtab): Replace symtab->filename refererences by | |
1263 | symtab_to_filename_for_display calls. | |
1264 | (file_matches): Replace filename_cmp by compare_filenames_for_search. | |
1265 | (print_symbol_info): Make the last parameter const char *. New | |
1266 | variable s_filename. Use it in the function. | |
1267 | (symtab_symbol_info): Make the last_filename variable const char *. | |
1268 | Replace symtab->filename refererences by symtab_to_filename_for_display | |
1269 | calls. | |
1270 | (rbreak_command): New variable fullname. Use it. Replace | |
1271 | symtab->filename refererence by symtab_to_filename_for_display call. | |
1272 | * tracepoint.c (set_traceframe_context, trace_find_line_command) | |
1273 | (print_one_static_tracepoint_marker): Replace symtab->filename | |
1274 | refererences by symtab_to_filename_for_display calls. | |
1275 | * tui/tui-source.c (tui_set_source_content): New variables filename and | |
1276 | s_filename. Replace symtab->filename refererences by this variable. | |
1277 | Replace other symtab->filename refererences by | |
1278 | symtab_to_filename_for_display calls. | |
1279 | ||
1b56eb55 JK |
1280 | 2013-02-03 Eldar Gaynetdinov <[email protected]> |
1281 | Jan Kratochvil <[email protected]> | |
1282 | ||
1283 | Add a new variable that controls a way in which filenames are | |
1284 | displayed. | |
1285 | * NEWS (set filename-display): New entry. | |
1286 | * source.c (filename_display_basename, filename_display_relative) | |
1287 | (filename_display_absolute, filename_display_kind_names) | |
1288 | (filename_display_string, show_filename_display_string) | |
1289 | (symtab_to_filename_for_display): New. | |
1290 | (_initialize_source): Added initialization of 'filename-display' | |
1291 | variable. | |
1292 | * source.h (symtab_to_filename_for_display): Added declaration. | |
1293 | * stack.c (print_frame): Added new variable and calling of a new | |
1294 | function and condition with this variable. Changed third argument of | |
1295 | calling of a function. | |
1296 | ||
aa079c93 JK |
1297 | 2013-02-03 Jan Kratochvil <[email protected]> |
1298 | ||
1299 | * tui/tui-data.c (init_win_info, tui_del_window, tui_free_window): | |
1300 | Rename field reference filename to fullname. | |
1301 | * tui/tui-data.h (struct tui_source_info): Rename field filename to | |
1302 | fullname. New comment for it. | |
1303 | * tui/tui-source.c (tui_set_source_content): Rename field reference | |
1304 | filename to fullname. Initialize field by symtab_to_fullname now. | |
1305 | * tui/tui-winsource.c (tui_update_breakpoint_info): Rename field | |
1306 | reference filename to fullname. Use symtab_to_fullname during | |
1307 | comparison. | |
1308 | ||
652a8996 JK |
1309 | 2013-02-03 Jan Kratochvil <[email protected]> |
1310 | ||
1311 | Code cleanup. | |
1312 | * dwarf2read.c (dw2_expand_symtabs_with_filename): Rename to ... | |
1313 | (dw2_expand_symtabs_with_fullname): ... here. Rename parameter | |
1314 | filename to fullname. Rename variable this_name to this_fullname. | |
1315 | Lowercase FILENAME_CMP call. | |
1316 | (dw2_find_symbol_file): New comment for the returned string. | |
1317 | (dwarf2_gdb_index_functions): Rename the function to | |
1318 | dw2_expand_symtabs_with_fullname. | |
1319 | * psymtab.c (read_psymtabs_with_filename): Rename to ... | |
1320 | (read_psymtabs_with_fullname): ... here. Rename parameter filename to | |
1321 | fullname. | |
1322 | (psym_functions): Rename the function to read_psymtabs_with_fullname. | |
1323 | * symfile.h (struct quick_symbol_functions): Rename field | |
1324 | expand_symtabs_with_filename to expand_symtabs_with_fullname and its | |
1325 | parameter filename to fullname. Document returned string meaning for | |
1326 | find_symbol_file. | |
1327 | * symtab.c (find_line_symtab): Rename the called function to | |
1328 | expand_symtabs_with_fullname. | |
1329 | ||
af529f8f JK |
1330 | 2013-02-03 Jan Kratochvil <[email protected]> |
1331 | ||
1332 | Code cleanup. | |
1333 | * breakpoint.c (clear_command): Remove variable is_abs, unify the | |
1334 | call of filename_cmp with compare_filenames_for_search. | |
1335 | * dwarf2read.c (dw2_map_symtabs_matching_filename): Remove variable | |
1336 | is_abs, unify the call of FILENAME_CMP with | |
1337 | compare_filenames_for_search. New gdb_asserts for real_path and name. | |
1338 | Unify the call of compare_filenames_for_search with FILENAME_CMP. | |
1339 | * psymtab.c (partial_map_symtabs_matching_filename): Likewise. | |
1340 | * symfile.h (struct quick_symbol_functions): Extend the comment for | |
1341 | map_symtabs_matching_filename. | |
1342 | * symtab.c (compare_filenames_for_search): Remove the function comment | |
1343 | relative path requirement. Handle absolute filenames, with a comment. | |
1344 | (iterate_over_some_symtabs): Remove variable is_abs, unify the call of | |
1345 | FILENAME_CMP with compare_filenames_for_search. New gdb_asserts for | |
1346 | real_path and name. Unify the call of compare_filenames_for_search | |
1347 | with FILENAME_CMP. | |
1348 | (iterate_over_symtabs): New gdb_assert on REAL_PATH. | |
1349 | ||
2f202fde JK |
1350 | 2013-02-03 Jan Kratochvil <[email protected]> |
1351 | ||
1352 | Code cleanup. | |
1353 | * breakpoint.c (print_breakpoint_location): Replace bp_location field | |
1354 | source_file references by symtab field references. Remove variables | |
1355 | sal and fullname. | |
1356 | (momentary_breakpoint_from_master, add_location_to_breakpoint): | |
1357 | (clear_command, say_where): Replace bp_location field source_file | |
1358 | references by symtab field references. | |
1359 | (bp_location_dtor): Remove the source_file reference. | |
1360 | (update_static_tracepoint): Replace bp_location field source_file | |
1361 | references by symtab field references. | |
1362 | (breakpoint_free_objfile): New function. | |
1363 | * breakpoint.h (struct bp_location): Extend the comment for line_number. | |
1364 | Replace the field source_file by field symtab, extend its comment. | |
1365 | (breakpoint_free_objfile): New declaration. | |
1366 | * objfiles.c (free_objfile): Call breakpoint_free_objfile. | |
1367 | * tui/tui-winsource.c (tui_update_breakpoint_info): Replace bp_location | |
1368 | field source_file references by symtab field references. | |
1369 | ||
f5b95b50 JK |
1370 | 2013-02-03 Jan Kratochvil <[email protected]> |
1371 | ||
1372 | Replace xfullpath calls by gdb_realpath calls. | |
1373 | * cli/cli-cmds.c (find_and_open_script): Remove xfullpath from the | |
1374 | function comment. | |
1375 | * dwarf2read.c (dw2_map_expand_apply): Remove parameter full_path. | |
1376 | Remove it from the iterate_over_some_symtabs call. | |
1377 | (dw2_map_symtabs_matching_filename): Remove parameter full_path. | |
1378 | Remove it from the dw2_map_expand_apply calls, remove a block handling | |
1379 | it. | |
1380 | * psymtab.c (partial_map_expand_apply): Remove parameter full_path. | |
1381 | Remove it from the iterate_over_some_symtabs call. | |
1382 | (partial_map_symtabs_matching_filename): Remove parameter full_path. | |
1383 | Remove it from the partial_map_expand_apply calls, remove a block | |
1384 | handling it. Drop gdb_realpath call and cleanups from the real_path | |
1385 | handling. | |
1386 | * source.c (openp): Drop the comment part about xfullpath. Replace | |
1387 | xfullpath calls by gdb_realpath calls. | |
1388 | (find_and_open_source): Replace xfullpath call by gdb_realpath call. | |
1389 | * symfile.h (struct quick_symbol_functions): Remove parameter full_path | |
1390 | from method map_symtabs_matching_filename and its comment. | |
1391 | * symmisc.c (maintenance_print_msymbols): Replace xfullpath call by | |
1392 | gdb_realpath call. | |
1393 | * symtab.c (iterate_over_some_symtabs): Remove parameter full_path, | |
1394 | remove it also from the function comment, remove a block handling it. | |
1395 | Drop gdb_realpath call and cleanups from the real_path handling. | |
1396 | (iterate_over_symtabs): Drop variable full_path and its use. | |
1397 | * symtab.h (iterate_over_some_symtabs): Remove parameter full_path. | |
1398 | * utils.c (xfullpath): Remove. | |
1399 | * utils.h (xfullpath): Remove. | |
1400 | ||
d78489bf AT |
1401 | 2013-02-01 Andreas Tobler <[email protected]> |
1402 | ||
1403 | * Makefile.in (ALL_TARGET_OBS): Add ppc64-tdep.o. | |
1404 | (HFILES_NO_SRCDIR): Add ppc64-tdep.h. | |
1405 | (ALLDEPFILES): Add ppc64-tdep.c. | |
1406 | * configure.tgt (powerpc-*-linux* | powerpc64-*-linux*): Add | |
1407 | ppc64-tdep.o to gdb_target_obs. | |
1408 | * ppc64-tdep.h: New file. | |
1409 | * ppc64-tdep.c: New file. | |
1410 | (insn_d, insn_ds, insn_xfx, ppc64_desc_entry_point): Move from | |
1411 | ppc-linux-tdep.c to here. | |
1412 | (PPC64_STANDARD_LINKAGE1_LEN, PPC64_STANDARD_LINKAGE2_LEN) | |
1413 | (PPC64_STANDARD_LINKAGE2_LEN): Likewise and use ARRAY_SIZE macro. | |
1414 | (ppc64_standard_linkage1_target, ppc64_standard_linkage2_target) | |
1415 | (ppc64_standard_linkage3_target, ppc64_skip_trampoline_code): Move | |
1416 | from ppc-linux-tdep.c to here. | |
1417 | (ppc64_convert_from_func_ptr_addr): Rename from | |
1418 | ppc64_linux_convert_from_func_ptr_addr to | |
1419 | ppc64_convert_from_func_ptr_addr and move from ppc-linux-tdep.c to | |
1420 | here. | |
1421 | * rs6000-tdep.c: | |
1422 | (read_insn): Move from ppc-linux-tdep.c to here. | |
1423 | (insns_match_pattern, insn_d_field, insn_ds_field): Move | |
1424 | from ppc-linux-tdep.c to here and rename them with the ppc_ prefix. | |
1425 | * ppc-linux-tdep.c: Include ppc64-tdep.h. | |
1426 | Removed above functions. | |
1427 | (ppc_linux_init_abi): Adjust. | |
1428 | ||
8db60374 AR |
1429 | 2013-02-01 Aleksandar Ristovski <[email protected]> |
1430 | ||
1431 | * ada-valprint.c (ada_print_floating): Remove unused 'len'. | |
1432 | ||
f2e5f4ce AR |
1433 | 2013-02-01 Aleksandar Ristovski <[email protected]> |
1434 | ||
1435 | * ada-lang.c (assign_aggregate): Remove unused 'is_array_aggregate'. | |
1436 | ||
c1f7d745 PA |
1437 | 2013-02-01 Pedro Alves <[email protected]> |
1438 | ||
1439 | * dummy-frame.c (deprecated_pc_in_call_dummy): Delete function. | |
1440 | * frame.h (deprecated_pc_in_call_dummy): Delete declaration. | |
1441 | ||
8a92335b JK |
1442 | 2013-02-01 Jan Kratochvil <[email protected]> |
1443 | ||
1444 | * elfread.c (elf_symfile_read): Limit separate debug info additions to | |
1445 | files with no separate debug info. | |
1446 | * objfiles.c (add_separate_debug_objfile): Add gdb_assert calls. | |
1447 | * symfile.c (read_symbols): Call find_separate_debug_file_in_section | |
1448 | only for files with no separate debug info. | |
1449 | ||
8eacb197 TT |
1450 | 2013-01-31 Tom Tromey <[email protected]> |
1451 | ||
1452 | * jit.c (jit_program_space_data): Rename from jit_inferior_data; | |
1453 | change type. | |
1454 | (struct jit_program_space_data): Rename from jit_inferior_data. | |
1455 | Update comments. | |
1456 | (get_jit_program_space_data): Rename from get_jit_inferior_data. | |
1457 | Change return type. Attach data to program space. | |
1458 | (jit_program_space_data_cleanup): Rename from | |
1459 | jit_inferior_data_cleanup; change argument type. | |
1460 | (jit_read_descriptor): Change 'inf_data' argument to 'ps_data', | |
1461 | change type. | |
1462 | (jit_register_code): Update. | |
1463 | (jit_update_inferior_cache): Remove. | |
1464 | (jit_breakpoint_deleted): Get jit data from the location's program | |
1465 | space. | |
1466 | (jit_breakpoint_re_set_internal): Rename 'inf_data' argument to | |
1467 | 'ps_data', change type. | |
1468 | (jit_inferior_init, jit_breakpoint_re_set_internal) | |
1469 | (jit_event_handler): Update. | |
1470 | (free_objfile_data): Get data from objfile's program space. | |
1471 | (_initialize_jit): Update. | |
1472 | ||
f25c0135 TT |
1473 | 2013-01-31 Tom Tromey <[email protected]> |
1474 | ||
1475 | PR gdb/13987: | |
1476 | * jit.c (struct jit_inferior_data) <cached_code_address, | |
1477 | jit_breakpoint>: New fields. | |
1478 | (jit_breakpoint_re_set_internal): Fix logging. Only create | |
1479 | breakpoint if cached address has changed. | |
1480 | (jit_update_inferior_cache, jit_breakpoint_deleted): New | |
1481 | functions. | |
1482 | (_initialize_jit): Register breakpoint deleted observer. | |
1483 | ||
974a734b AR |
1484 | 2013-01-31 Aleksandar Ristovski <[email protected]> |
1485 | ||
1486 | * infrun.c (handle_syscall_event): Remove unused gdbarch. | |
1487 | (save_infcall_suspend_state): Ifdef out unused inf. | |
1488 | (restore_infcall_suspend_state): Ifdef out unused inf. | |
1489 | * jit.c (jit_register_code): Remove unused i, b, inf_data. | |
1490 | (jit_frame_sniffer): Remove unused inf_data. | |
1491 | ||
df54f8eb AR |
1492 | 2013-01-31 Aleksandar Ristovski <[email protected]> |
1493 | ||
1494 | * c-exp.y (classify_inner_name): Remove unused type. | |
1495 | * c-lang.c (c_printstr): Remove unused byte_order, i, things_printed, | |
1496 | in_quotes, need_comma, wchar_buf, output, cleanup, iter, finished, | |
1497 | need_escape. | |
1498 | (c_get_string): Remove unused kind. | |
1499 | * c-typeprint.c (c_type_print_args): Remove unused i, len, args, table2. | |
1500 | ||
5799c0b9 AR |
1501 | 2013-01-31 Aleksandar Ristovski <[email protected]> |
1502 | ||
1503 | * charset.c (intermediate_encoding): Remove unused i. | |
1504 | * completer.c (signal_completer): Remove unused i. | |
1505 | * continuations.c (discard_my_continuations_1): Remove unused | |
1506 | continuation_ptr. | |
1507 | * corelow.c (core_close): Remove unuseD name. | |
1508 | (get_core_siginfo): Remove unused pid. | |
1509 | * cp-namespace.c (cp_lookup_symbol_imports_or_template): Remove unused | |
1510 | i, cps. | |
1511 | * dwarf2loc.c (dwarf2_compile_expr_to_ax): Remove unused base_offset. | |
1512 | (loclist_describe_location): Remove unused first. | |
1513 | * event-top.c (command_line_handler): Remove unused got_eof. | |
1514 | * exec.c (exec_close_1): Remove unused need_symtab_cleanup. | |
1515 | (resize_section_table): Remove unused old_value. | |
1516 | * gdb_bfd.c (gdb_bfd_map_section): Remove unused header. | |
1517 | * gnu-v3-abi.c (compute_vtable_size): Remove unused addr. | |
1518 | * i386-tdep.c (i386_process_record): Remove unused rex. | |
1519 | * infcmd.c (get_return_value): Remove unused uiout. | |
1520 | * jv-lang.c (type_from_class): Remove unused is_array. | |
1521 | * jv-valprint.c (java_val_print): Remove unused i. | |
1522 | * linux-nat.c (linux_nat_stop_lwp): Remove unused ptid. | |
1523 | * linux-thread-db.c (thread_db_find_new_threads_2): Remove unuseD pid. | |
1524 | * m2-typeprint.c (m2_print_type): Remove unused code. | |
1525 | * macroexp.c (get_character_constant): Remove unused body_start. | |
1526 | (macro_stringify): Remove unused result. | |
1527 | * objc-lang.c (find_methods): Remove unused gdbarch. | |
1528 | * objfiles.c (filter_overlapping_sections): Remove unused abfd1, abfd2. | |
1529 | * regcache.c (regcache_cooked_read): Remove unused gdbarch. | |
1530 | * stack.c (print_frame_args): Remove unused summary. | |
1531 | * thread.c (thread_apply_command): Remove unused p. | |
1532 | * valarith.c (value_x_unop): Remove unused mangle_ptr. | |
1533 | * valops.c (search_struct_method): Remove unused skip. | |
1534 | * valprint.c (generic_val_print): Remove unused byte_order. | |
1535 | * varobj.c (varobj_update): Remove unused changed. | |
1536 | * cli/cli-cmds.c (complete_command): Remove unused next_item. | |
1537 | (alias_command): Remove unused c. | |
1538 | * mi/mi-cmd-catch.c (mi_catch_load_unload): Remove unused c. | |
1539 | * mi/mi-main.c (mi_cmd_data_write_register_values): Remove unused | |
1540 | format. | |
1541 | (mi_cmd_data_write_memory): Remove unused word_format. | |
1542 | (mi_cmd_data_write_memory_bytes): Remove unused r. | |
1543 | * python/py-gdb-readline.c (gdbpy_readline_wrapper): Remove unused | |
1544 | p_start, p_end. | |
1545 | * python/python.c (_initialize_python): Remove unused cmd_name, cmd. | |
1546 | * tui/tui-disasm.c (tui_set_disassem_content): Remove unused | |
1547 | line_width. | |
1548 | ||
c656bca5 AR |
1549 | 2013-01-31 Aleksandar Ristovski <[email protected]> |
1550 | ||
1551 | * dwarf2-frame.c (dwarf2_compile_cfa_to_ax): Remove unused num_regs. | |
1552 | * symtab.c (iterate_over_symtabs): Remove unused s. | |
1553 | (find_pc_sect_symtab): Remove unused pspAce. | |
1554 | (find_pc_sect_line): Remove unused alt_symtab. | |
1555 | (find_pcs_for_symtab_line): Remove unused ix, previous_function. | |
1556 | (completion_list_add_name): Remove unused newsize. | |
1557 | ||
7078baeb TT |
1558 | 2013-01-31 Tom Tromey <[email protected]> |
1559 | ||
1560 | PR c++/14998: | |
1561 | * dwarf2read.c (read_tag_ptr_to_member_type): Handle | |
1562 | TYPE_CODE_FUNC. | |
1563 | ||
c2e8b827 AR |
1564 | 2013-01-31 Aleksandar Ristovski <[email protected]> |
1565 | ||
1566 | * target.c (target_read_string): Remove unused origlen. | |
1567 | ||
0e43993a AR |
1568 | 2013-01-31 Aleksandar Ristovski <[email protected]> |
1569 | ||
1570 | * auto-load.c (auto_load_expand_dir_vars): Remove unused dir_vec. | |
1571 | * ax-gdb.c (gen_printf): Remove unused expr, i, bot, fr, flen, fmt. | |
1572 | * ax-general.c (ax_print): Remove unused is_float. | |
1573 | * blockframe.c (block_innermost_frame): Remove unused start, end. | |
1574 | * break-catch-sig.c (catch_signal_command): Remove unused gdbarch. | |
1575 | ||
765a97ab AR |
1576 | 2013-01-31 Aleksandar Ristovski <[email protected]> |
1577 | ||
1578 | * solib-svr4.c (svr4_keep_data_in_core): Remove unused lmo. | |
1579 | (svr4_read_so_list): Remove unused lmo. | |
1580 | * solib-target.c (solib_target_relocate_section_addresses): Remove | |
1581 | unused flags. | |
1582 | ||
a99dad3d TT |
1583 | 2013-01-30 Tom Tromey <[email protected]> |
1584 | ||
1585 | * hppa-tdep.c (read_unwind_info): Use SECT_OFF_TEXT, not "0". | |
1586 | ||
3bff1ecd TT |
1587 | 2013-01-30 Tom Tromey <[email protected]> |
1588 | ||
1589 | * symfile.c (get_file_crc): Use bfd_calc_gnu_debuglink_crc32. | |
1590 | * utils.c (gnu_debuglink_crc32): Remove. | |
1591 | * utils.h (gnu_debuglink_crc32): Don't declare. | |
1592 | ||
7d455152 TT |
1593 | 2013-01-30 Tom Tromey <[email protected]> |
1594 | ||
1595 | * dwarf2read.c (compute_delayed_physnames, read_call_site_scope) | |
1596 | (read_structure_type, read_enumeration_type): Remove cast. | |
1597 | ||
abee88f2 TT |
1598 | 2013-01-30 Tom Tromey <[email protected]> |
1599 | ||
1600 | * dwarf2read.c (read_namespace_type): Remove cast. | |
1601 | (read_typedef): Likewise. | |
1602 | ||
8d9878a4 TT |
1603 | 2013-01-29 Tom Tromey <[email protected]> |
1604 | ||
1605 | * dwarf2read.c (free_dwo_file): Remove assert. | |
1606 | ||
a543d2a9 TT |
1607 | 2013-01-29 Tom Tromey <[email protected]> |
1608 | ||
1609 | * value.c (deprecated_set_value_modifiable): Remove. | |
1610 | * value.h (deprecated_set_value_modifiable): Remove. | |
1611 | ||
bed911e5 DE |
1612 | 2013-01-28 Doug Evans <[email protected]> |
1613 | ||
1614 | * dwarf2loc.c (dwarf2_find_location_expression): Don't add base address | |
1615 | to addresses from dwo files. | |
1616 | ||
28c64fc2 SCR |
1617 | 2013-01-25 Siva Chandra Reddy <[email protected]> |
1618 | ||
1619 | * valops.c (find_overload_match): Remove unused argument 'lax'. | |
1620 | * value.h: Remove unused argument 'lax' from the declaration of | |
1621 | find_overload_match. | |
1622 | * eval.c (value_subexp_standard): Do not pass a 'lax' argument | |
1623 | to find_overload_match. | |
1624 | * valarith.c (value_user_defined_cpp_op): Do not pass a 'lax' | |
1625 | argument to find_overload_match. | |
1626 | ||
4d4ec4e5 TT |
1627 | 2013-01-25 Tom Tromey <[email protected]> |
1628 | ||
1629 | * dwarf2read.c (processing_has_namespace_info): Remove. | |
1630 | (struct dwarf2_cu) <processing_has_namespace_info>: New field. | |
1631 | (process_die, read_func_scope, dwarf2_start_symtab) | |
1632 | (new_symbol_full): Update. | |
1633 | ||
195a3f6c TT |
1634 | 2013-01-25 Tom Tromey <[email protected]> |
1635 | ||
1636 | * cp-namespace.c (cp_set_block_scope): Remove. | |
1637 | * cp-support.h (cp_set_block_scope): Remove. | |
1638 | * dbxread.c: Include block.h. | |
1639 | (cp_set_block_scope): New function. | |
1640 | (process_one_symbol): Update. | |
1641 | * dwarf2read.c (read_func_scope): Use block_set_scope. | |
1642 | ||
8ba0730a PA |
1643 | 2013-01-25 Pedro Alves <[email protected]> |
1644 | ||
1645 | * remote.c (add_current_inferior_and_thread): Tweak comment. | |
1646 | ||
12aaed36 TT |
1647 | 2013-01-25 Tom Tromey <[email protected]> |
1648 | ||
1649 | * cp-namespace.c (cp_scan_for_anonymous_namespaces): Update. | |
1650 | (cp_add_using_directive): Add 'copy_names' argument. | |
1651 | * cp-support.h (cp_add_using_directive): Update. | |
1652 | (struct using_direct) <import_src, import_dest, alias, | |
1653 | declaration>: Now const. | |
1654 | * dwarf2read.c (read_import_statement): Use obconcat. | |
1655 | Don't copy names passed to cp_add_using_directive. | |
1656 | ||
7fc75ca7 TT |
1657 | 2013-01-25 Tom Tromey <[email protected]> |
1658 | ||
1659 | * c-exp.y (qualified_name): Use TYPE_SAFE_NAME. | |
1660 | ||
3405876a PA |
1661 | 2013-01-25 Pedro Alves <[email protected]> |
1662 | ||
1663 | * remote.c (stop_reply_extract_thread): New. | |
1664 | (add_current_inferior_and_thread): New parameter 'wait_status'. | |
1665 | Handle it. | |
1666 | (remote_start_remote): Pass wait status to | |
1667 | add_current_inferior_and_thread. | |
1668 | (extended_remote_run): Update comment. | |
1669 | (extended_remote_create_inferior_1): Pass wait status to | |
1670 | add_current_inferior_and_thread. | |
1671 | ||
8954db33 AB |
1672 | 2013-01-25 Andrew Burgess <[email protected]> |
1673 | Ulrich Weigand <[email protected]> | |
1674 | ||
1675 | * valarith.c (value_vector_widen): New function for replicating a | |
1676 | scalar into a vector. | |
1677 | (value_binop): Use value_vector_widen to widen scalar to vector | |
1678 | rather than casting, this better matches gcc C behaviour. | |
1679 | * valops.c (value_casst): Update logic for casting between vector | |
1680 | types, and for casting from scalar to vector, try to match gcc C | |
1681 | behaviour. | |
1682 | * value.h (value_vector_widen): Declare. | |
1683 | * opencl-lang.c (opencl_value_cast): New opencl specific casting | |
1684 | function, handle special case for casting scalar to vector. | |
1685 | (opencl_relop): Use opencl_value_cast. | |
1686 | (evaluate_subexp_opencl): Use opencl_value_cast instead of | |
1687 | value_cast, and handle BINOP_ASSIGN, UNOP_CAST, and UNOP_CAST_TYPE | |
1688 | in order to use opencl_value_cast. | |
1689 | ||
843b20dc YQ |
1690 | 2013-01-25 Yao Qi <[email protected]> |
1691 | ||
1692 | * event-loop.c: Include "queue.h". | |
1693 | (gdb_event_p): New typedef. | |
1694 | (DECLARE_QUEUE_P): Use. | |
1695 | (DEFINE_QUEUE_P): Use. | |
1696 | (async_queue_event): Remove. | |
1697 | (gdb_event_xfree): New. | |
1698 | (initialize_event_loop): New. | |
1699 | (process_event): Use QUEUE macros. | |
1700 | (event_queue): Remove. | |
1701 | (gdb_wait_for_event): Caller update. | |
1702 | (check_async_event_handlers): Likewise. | |
1703 | (poll_timers): Likewise. | |
1704 | * event-loop.h (initialize_event_loop): Declare. | |
1705 | * event-loop.c (gdb_event_xfree): New. | |
1706 | * top.c (gdb_init): Call initialize_event_loop. | |
1707 | ||
20ad8856 YQ |
1708 | 2013-01-25 Yao Qi <[email protected]> |
1709 | ||
1710 | * event-loop.c (async_queue_event): Remove one parameter | |
1711 | 'position'. Remove code handling 'position' == TAIL. | |
1712 | (gdb_wait_for_event): Caller update. | |
1713 | (check_async_event_handlers): Caller update. | |
1714 | (poll_timers): Caller update. | |
1715 | * event-loop.h (enum queue_position): Remove. | |
1716 | ||
3bbbe775 MK |
1717 | 2013-01-25 Maxim Kuvyrkov <[email protected]> |
1718 | ||
1719 | * MAINTAINERS: Update my email. | |
1720 | ||
a87d9ac4 YQ |
1721 | 2013-01-25 Yao Qi <[email protected]> |
1722 | ||
1723 | * main.c (print_gdb_help): Remove "--epoch" from the help | |
1724 | message. | |
1725 | ||
2077afdd TD |
1726 | 2013-01-24 Ulrich Weigand <[email protected]> |
1727 | ||
1728 | * symtab.c (skip_prologue_using_sal): Consider a file | |
1729 | change the same as an increased line number | |
1730 | ||
63da4037 TD |
1731 | 2013-01-24 Tiago Stürmer Daitx <[email protected]> |
1732 | ||
30e8ee25 | 1733 | * MAINTAINERS (Write After Approval): Add myself to the list. |
63da4037 | 1734 | |
45e6c716 TT |
1735 | 2013-01-24 Tom Tromey <[email protected]> |
1736 | ||
1737 | * ada-lang.h (ada_decode_symbol): Make return type const. | |
1738 | * ada-lang.c (ada_decode_symbol): Likewise. | |
1739 | ||
b1ae631a DE |
1740 | 2013-01-23 Doug Evans <[email protected]> |
1741 | ||
1742 | * linespec.c (find_linespec_symbols): Make static. | |
1743 | ||
55a78401 SDJ |
1744 | 2013-01-23 Tiago Stürmer Daitx <[email protected]> |
1745 | ||
1746 | * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Set correct | |
1747 | type on float conversion for complex type. | |
1748 | ||
bea883fd SCR |
1749 | 2013-01-23 Siva Chandra Reddy <[email protected]> |
1750 | ||
1751 | Add a new class gdb.Architecture which exposes GDB's | |
1752 | internal representation of architecture via GDB Python API. | |
1753 | * Makefile.in: Add entries corresponding to the new file | |
1754 | python/py-arch.c. | |
1755 | * NEWS (Python Scripting): Add entries for the new class | |
1756 | gdb.Architecture and the new method gdb.Frame.architecture. | |
1757 | * python/py-arch.c: Implement gdb.Architecture class. | |
1758 | * python/py-frame.c (frapy_arch): Implement the method | |
1759 | gdb.Frame.architecture(). | |
1760 | (frame_object_methods): Add 'architecture' to the method table. | |
1761 | * python/python-internal.h: Add declarations of new utility | |
1762 | functions. | |
1763 | * python/python.c (_initialize_python): Initialize | |
1764 | gdb.Architecture class. | |
1765 | ||
796a7ff8 DE |
1766 | 2013-01-23 Doug Evans <[email protected]> |
1767 | ||
1768 | Work around binutils/15021. | |
1769 | * dwarf2read.c (dwarf2_per_cu_data): Split imported_symtabs and | |
1770 | type_unit_group out of union s. All uses updated. | |
1771 | (read_index_from_section): Watch for index version 8. | |
1772 | (follow_die_sig): If using .gdb_index version <= 7, record the TU as | |
1773 | an imported symtab. | |
1774 | (write_psymtabs_to_index): Increment version number to 8. | |
1775 | ||
0928e93d PA |
1776 | 2013-01-22 Pedro Alves <[email protected]> |
1777 | ||
1778 | * annotate.c (breakpoint_changed): Skip if breakpoint is not | |
1779 | user-visible. | |
1780 | ||
9c97429f PA |
1781 | 2013-01-22 Pedro Alves <[email protected]> |
1782 | ||
1783 | * annotate.c (annotate_breakpoints_changed): Rename to ... | |
1784 | (annotate_breakpoints_invalid): ... this. Make static. | |
1785 | (breakpoint_changed): Adjust. | |
1786 | (_initialize_annotate): Always install the observers. Install a | |
1787 | "breakpoint_created" observer. | |
1788 | * annotate.h (annotate_breakpoints_changed): Delete declaration. | |
1789 | * breakpoint.c (set_breakpoint_condition) | |
1790 | (breakpoint_set_commands, do_map_commands_command) | |
1791 | (init_raw_breakpoint, clear_command, set_ignore_count) | |
1792 | (enable_breakpoint_disp): No longer call | |
1793 | annotate_breakpoints_changed. | |
1794 | ||
bd00c694 PA |
1795 | 2013-01-22 Pedro Alves <[email protected]> |
1796 | ||
1797 | * annotate.c: Include "inferior.h". | |
1798 | (frames_invalid_emitted) | |
1799 | (breakpoints_invalid_emitted): New globals. | |
1800 | (async_background_execution_p): New function. | |
1801 | (annotate_breakpoints_changed, annotate_frames_invalid): Skip | |
1802 | emitting the annotation if it has already been emitted. | |
1803 | (annotate_display_prompt): New function. | |
1804 | * annotate.h (annotate_display_prompt): New declaration. | |
1805 | * event-top.c: Include annotate.h. | |
1806 | (display_gdb_prompt): Call annotate_display_prompt. | |
1807 | ||
187d10dd PA |
1808 | 2013-01-22 Pedro Alves <[email protected]> |
1809 | ||
1810 | * annotate.c (ignore_count_changed): Delete. | |
1811 | (annotate_breakpoints_changed): Don't clear ignore_count_changed. | |
1812 | (annotate_ignore_count_change): Delete. | |
1813 | (annotate_stopped): Don't emit a delayed breakpoints-changed | |
1814 | annotation. | |
1815 | * annotate.h (annotate_ignore_count_change): Delete. | |
1816 | * breakpoint.c (bpstat_check_breakpoint_conditions): Don't call | |
1817 | annotate_ignore_count_change. | |
1818 | ||
d84cf7eb TT |
1819 | 2013-01-22 Tom Tromey <[email protected]> |
1820 | ||
1821 | * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: Only | |
1822 | require_rvalue for a register location. | |
1823 | ||
8f1d5693 MK |
1824 | 2013-01-21 Marc Khouzam <[email protected]> |
1825 | ||
1826 | * breakpoint.c (print_one_breakpoint_location): Add MI | |
1827 | field 'thread-groups' when printing a breakpoint. | |
1828 | (output_thread_groups): New function. | |
1829 | ||
aa6199c6 SCR |
1830 | 2013-01-21 Siva Chandra Reddy <[email protected]> |
1831 | ||
1832 | * python/lib/gdb/commands/explore.py | |
1833 | (CompoundExplorer.explore_expr): Correct the name of a method | |
1834 | being invoked. | |
1835 | (ExploreTypeCommand.invoke): Add a missing 'return'. | |
1836 | ||
d2afef13 TT |
1837 | 2013-01-21 Tom Tromey <[email protected]> |
1838 | ||
1839 | * gdb_obstack.h (obconcat): Move declaration here, from... | |
1840 | * symfile.h (obconcat): ... here. | |
1841 | * gdb_obstack.c: New file. | |
1842 | (obconcat): Move from... | |
1843 | * symfile.c (obconcat): ... here. | |
1844 | * Makefile.in (SFILES): Add gdb_obstack.c. | |
1845 | (COMMON_OBS): Add gdb_obstack.o. | |
1846 | ||
10f0c4bb TT |
1847 | 2013-01-21 Tom Tromey <[email protected]> |
1848 | ||
1849 | * symfile.h (obsavestring): Don't declare. | |
1850 | * symfile.c (obsavestring): Remove. | |
1851 | * ada-exp.y: Use obstack_copy0, not obsavestring. | |
1852 | * ada-lang.c: Use obstack_copy0, not obsavestring. | |
1853 | * coffread.c: Use obstack_copy0, not obsavestring. | |
1854 | * cp-namespace.c: Use obstack_copy0, not obsavestring. | |
1855 | * dbxread.c: Use obstack_copy0, not obsavestring. | |
1856 | * dwarf2read.c: Use obstack_copy0, not obsavestring. | |
1857 | * jit.c: Use obstack_copy0, not obsavestring. | |
1858 | * mdebugread.c: Use obstack_copy0, not obsavestring. | |
1859 | * psymtab.c: Use obstack_copy0, not obsavestring. | |
1860 | * stabsread.c: Use obstack_copy0, not obsavestring. | |
1861 | * xcoffread.c: Use obstack_copy0, not obsavestring. | |
1862 | ||
86f62fd7 TT |
1863 | 2013-01-21 Tom Tromey <[email protected]> |
1864 | ||
1865 | * dwarf2read.c (fixup_go_packaging): Save package name | |
1866 | on objfile obstack. | |
1867 | * gdbtypes.c (init_type): Don't copy name. | |
1868 | ||
15d034d0 TT |
1869 | 2013-01-21 Tom Tromey <[email protected]> |
1870 | ||
1871 | * dwarf2read.c (struct partial_die_info) <name, scope>: Now | |
1872 | const. | |
1873 | (struct attribute) <u.str>: Now const. | |
1874 | (struct fnfieldlist) <name>: Now const. | |
1875 | (dw2_get_file_names_reader, init_cutu_and_read_dies): Update. | |
1876 | (partial_die_parent_scope): Make return type const. | |
1877 | (partial_die_full_name, add_partial_symbol): Update. | |
1878 | (dwarf2_compute_name, dwarf2_full_name, dwarf2_physname): Make | |
1879 | 'name' const. | |
1880 | (find_file_and_directory): Make 'name' and 'comp_dir' const. | |
1881 | (read_file_scope, read_func_scope, dwarf2_add_field) | |
1882 | (dwarf2_add_member_fn, read_structure_type) | |
1883 | (process_enumeration_scope, read_array_type, read_module_type) | |
1884 | (read_base_type, read_subrange_type): Update. | |
1885 | (dwarf2_start_symtab): Make 'name' and 'comp_dir' const. | |
1886 | (new_symbol_full, guess_full_die_structure_name): Update. | |
1887 | (dwarf2_canonicalize_name): Return const type. Make 'name' const. | |
1888 | (dwarf2_name): Return const type. | |
1889 | (dwarf_decode_macro_bytes, dwarf_decode_macros): Make 'comp_dir' | |
1890 | const. | |
1891 | ||
748e18ae TT |
1892 | 2013-01-21 Tom Tromey <[email protected]> |
1893 | ||
1894 | * gdbtypes.c (init_type): Make 'name' const. | |
1895 | * gdbtypes.h (init_type): Update. | |
1896 | ||
46212e0b TT |
1897 | 2013-01-21 Tom Tromey <[email protected]> |
1898 | ||
1899 | * buildsym.c (patch_subfile_names): Use set_last_source_file. | |
1900 | (start_symtab): Make 'name' and 'dirname' const. Use | |
1901 | set_last_source_file. | |
1902 | (restart_symtab, reset_symtab_globals): Use set_last_source_file. | |
1903 | (last_source_file): Define. Now static. | |
1904 | (set_last_source_file, get_last_source_file): New functions. | |
1905 | * buildsym.h (last_source_file): Don't declare. | |
1906 | (start_symtab): Update. | |
1907 | (set_last_source_file, get_last_source_file): Declare. | |
1908 | * coffread.c (complete_symtab): Use set_last_source_file. | |
1909 | (coff_end_symtab): Likewise. | |
1910 | (coff_symtab_read): Use set_last_source_file, get_last_source_file. | |
1911 | * dbxread.c (read_dbx_symtab, read_ofile_symtab): Use | |
1912 | set_last_source_file. | |
1913 | (process_one_symbol): Use get_last_source_file. | |
1914 | * mdebugread.c (parse_partial_symbols): Use set_last_source_file. | |
1915 | (psymtab_to_symtab_1): Use get_last_source_file. | |
1916 | * xcoffread.c (process_linenos): Use get_last_source_file. | |
1917 | (complete_symtab): Use set_last_source_file. | |
1918 | (read_xcoff_symtab): Use set_last_source_file, get_last_source_file. | |
1919 | (scan_xcoff_symtab): Use set_last_source_file. | |
1920 | ||
9d2ceabe TT |
1921 | 2013-01-21 Tom Tromey <[email protected]> |
1922 | ||
1923 | * symtab.c (struct demangled_name_entry) <mangled>: Now const. | |
1924 | (symbol_set_names): Remove casts. Handle field const-ness. | |
1925 | ||
cfc594ee TT |
1926 | 2013-01-21 Tom Tromey <[email protected]> |
1927 | ||
1928 | * dwarf2read.c (new_symbol_full): Remove cast. | |
1929 | * symtab.c (symbol_set_demangled_name): Make 'name' const. | |
1930 | * symtab.h (symbol_set_demangled_name): Update. | |
1931 | ||
5484b13a TT |
1932 | 2013-01-21 Tom Tromey <[email protected]> |
1933 | ||
1934 | * main.c (captured_main): Call bfd_init. | |
1935 | ||
1605ef26 TT |
1936 | 2013-01-21 Tom Tromey <[email protected]> |
1937 | ||
1938 | * gnu-v2-abi.c (_initialize_gnu_v2_abi): Don't set default ABI. | |
1939 | * gnu-v3-abi.c (_initialize_gnu_v3_abi): Set default ABI. | |
1940 | * minsyms.c (install_minimal_symbols): Don't check for _Z symbols. | |
1941 | * NEWS: Update. | |
1942 | ||
3b74cdc3 JK |
1943 | 2013-01-21 Jan Kratochvil <[email protected]> |
1944 | ||
1945 | * symmisc.c (maintenance_print_msymbols): Check also ST_DEV. | |
1946 | ||
5a352474 JK |
1947 | 2013-01-21 Jan Kratochvil <[email protected]> |
1948 | ||
1949 | Fix gdb.fortran/common-block.exp crash in PIE mode. | |
1950 | * dwarf2read.c (new_symbol_full) <DW_TAG_common_block>: Use | |
1951 | LOC_COMMON_BLOCK. | |
1952 | * f-valprint.c (info_common_command_for_block): Expect | |
1953 | LOC_COMMON_BLOCK in gdb_assert. | |
1954 | * symtab.h (struct general_symbol_info): Update comment for the | |
1955 | common_block member. | |
1956 | (domain_enum): Extend comment for the COMMON_BLOCK_DOMAIN member. | |
1957 | (enum address_class): New member LOC_COMMON_BLOCK. | |
1958 | ||
c60797fd DB |
1959 | 2013-01-18 David Blaikie <[email protected]> |
1960 | ||
1961 | * MAINTAINERS (Write After Approval): Add "David Blaikie". | |
0cae7dfb | 1962 | |
46f35228 TT |
1963 | 2013-01-18 Tom Tromey <[email protected]> |
1964 | ||
1965 | PR c++/14999: | |
1966 | * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: | |
1967 | Call require_rvalue. | |
1968 | ||
257e7a09 YQ |
1969 | 2013-01-18 Yao Qi <[email protected]> |
1970 | ||
1971 | * dbxread.c (dbx_psymtab_to_symtab): Delete the declaration. | |
1972 | (dbx_read_symtab): New declaration. | |
1973 | (dbx_psymtab_to_symtab): Delete. | |
1974 | (dbx_read_symtab): Rename from dbx_psymtab_to_symtab. | |
1975 | Rename parameter PST to SELF. Exchanged two parameters. | |
1976 | (start_psymtab): Caller update. | |
1977 | * dwarf2read.c (dwarf2_psymtab_to_symtab): Delete the declaration. | |
1978 | (dwarf2_read_symtab): New declaration. | |
1979 | (dwarf2_psymtab_to_symtab): Delete. | |
1980 | (dwarf2_read_symtab): Rename from dwarf2_psymtab_to_symtab. | |
1981 | Rename parameter PST to SELF. Exchanged two parameters. | |
1982 | (create_partial_symtab): Caller update. | |
1983 | * mdebugread.c (mdebug_psymtab_to_symtab): Delete. | |
1984 | (mdebug_read_symtab): Rename from mdebug_psymtab_to_symtab. | |
1985 | Rename parameter PST to SELF. Exchanged two parameters. | |
1986 | (parse_partial_symbols, new_psymtab): Caller update. | |
1987 | * psympriv.h (struct partial_symtab) <read_symtab>: Exchange | |
1988 | two parameters. | |
1989 | * psymtab.c (psymtab_to_symtab): Caller update. | |
1990 | * xcoffread.c (xcoff_psymtab_to_symtab): Delete. | |
1991 | (xcoff_read_symtab): Rename from xcoff_psymtab_to_symtab. | |
1992 | Rename parameter PST to SELF. Exchanged two parameters. | |
1993 | (xcoff_start_psymtab): Caller update. | |
1994 | ||
0de5618e YQ |
1995 | 2013-01-18 Yao Qi <[email protected]> |
1996 | ||
1997 | * infrun.c (proceed): Rename local variable 'oneproc' to | |
1998 | 'force_step'. | |
1999 | ||
5c04624b DE |
2000 | 2013-01-17 Doug Evans <[email protected]> |
2001 | ||
848e3e78 DE |
2002 | * dwarf2read.c (dw2_build_type_unit_groups_reader): Delete. |
2003 | (dw2_build_type_unit_groups): Delete. All uses updated. | |
2004 | ||
5c04624b DE |
2005 | * symtab.h (struct symbol_search): Add comment. |
2006 | ||
d84fca2c JK |
2007 | 2013-01-17 Jan Kratochvil <[email protected]> |
2008 | ||
2009 | * symtab.c (compare_filenames_for_search): New comment for | |
2010 | HAS_DRIVE_SPEC. | |
2011 | ||
6108433d TT |
2012 | 2013-01-17 Tom Tromey <[email protected]> |
2013 | ||
2014 | * cp-abi.c (cp_abi_completer): Fix typo in assignment. | |
2015 | ||
c89ffd86 JK |
2016 | 2013-01-17 Jan Kratochvil <[email protected]> |
2017 | ||
2018 | * symtab.c (iterate_over_some_symtabs): New variable cleanups, | |
2019 | initialize it by existing make_cleanup. Call new do_cleanups. | |
2020 | ||
db2b2972 TT |
2021 | 2013-01-17 Tom Tromey <[email protected]> |
2022 | ||
2023 | * cp-abi.c (cp_abi_completer): New function. | |
2024 | (_initialize_cp_abi): Set completer for "set cp-abi". | |
2025 | ||
be7d37a2 TT |
2026 | 2013-01-17 Tom Tromey <[email protected]> |
2027 | ||
2028 | * mem-break.c: Remove obsolete comment. | |
2029 | * bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment. | |
2030 | ||
c9fb1240 SD |
2031 | 2012-01-17 Sanjoy Das <[email protected]> |
2032 | ||
2033 | * jit.c (jit_reader_load_command): Interpret the jit reader name | |
2034 | as an absolute path if it begins with a forward slash. | |
2035 | ||
db334a01 SD |
2036 | 2012-01-17 Sanjoy Das <[email protected]> |
2037 | ||
2038 | PR gdb/14550 | |
2039 | ||
2040 | * jit.c (finalize_symtab): Ensure that only the global block has a | |
2041 | NULL superblock. | |
2042 | ||
7d928dac PA |
2043 | 2013-01-17 Pedro Alves <[email protected]> |
2044 | ||
2045 | * acinclude.m4: Include ../config/plugins.m4, | |
2046 | ../config/largefile.m4 and ../config/lead-dot.m4. Add comments. | |
2047 | * Makefile.in (aclocal_m4_deps): Update. | |
2048 | * aclocal.m4: Renegerate. | |
2049 | ||
fb8cf7c5 DE |
2050 | 2013-01-16 Doug Evans <[email protected]> |
2051 | ||
2052 | * contrib/cc-with-tweaks.sh: Add references to Fission docs. | |
2053 | ||
ab04a2af TT |
2054 | 2013-01-16 Pedro Alves <[email protected]> |
2055 | Tom Tromey <[email protected]> | |
2056 | ||
2057 | PR cli/7221: | |
2058 | * NEWS: Add "catch signal". | |
2059 | * breakpoint.c (base_breakpoint_ops): No longer static. | |
2060 | (bpstat_explains_signal): New function. | |
2061 | (init_catchpoint): No longer static. | |
2062 | (base_breakpoint_explains_signal): New function. | |
2063 | (base_breakpoint_ops): Initialize new field. | |
2064 | * breakpoint.h (enum bpstat_signal_value): New. | |
2065 | (struct breakpoint_ops) <explains_signal>: New field. | |
2066 | (bpstat_explains_signal): Remove macro, declare as function. | |
2067 | (base_breakpoint_ops, init_catchpoint): Declare. | |
2068 | * break-catch-sig.c: New file. | |
2069 | * inferior.h (signal_catch_update): Declare. | |
2070 | * infrun.c (signal_catch): New global. | |
2071 | (handle_syscall_event): Update for change to | |
2072 | bpstat_explains_signal. | |
2073 | (handle_inferior_event): Likewise. Always handle random signals | |
2074 | via bpstats. | |
2075 | (signal_cache_update): Check signal_catch. | |
2076 | (signal_catch_update): New function. | |
2077 | (_initialize_infrun): Initialize signal_catch. | |
2078 | * Makefile.in (SFILES): Add break-catch-sig.c. | |
2079 | (COMMON_OBS): Add break-catch-sig.o. | |
2080 | ||
8ac3646f TT |
2081 | 2013-01-16 Tom Tromey <[email protected]> |
2082 | ||
2083 | * breakpoint.c (print_one_catch_fork, print_one_catch_vfork) | |
2084 | (print_one_catch_solib, print_one_catch_syscall) | |
2085 | (print_one_catch_exec, print_one_exception_catchpoint): Emit | |
2086 | "catch-type". | |
2087 | ||
5a18e302 YQ |
2088 | 2013-01-16 Yao Qi <[email protected]> |
2089 | ||
2090 | * printcmd.c (current_display_number): Make it static. | |
2091 | ||
3f01d0d0 YQ |
2092 | 2013-01-16 Yao Qi <[email protected]> |
2093 | ||
2094 | * infcmd.c (step_once): Don't check '!single_inst' as it was | |
2095 | checked before. | |
2096 | ||
1ed59174 JK |
2097 | 2013-01-15 Jan Kratochvil <[email protected]> |
2098 | ||
2099 | * dwarf2read.c (psymtab_include_file_name): Extend the function comment. | |
2100 | ||
44478ab3 TT |
2101 | 2013-01-14 Tom Tromey <[email protected]> |
2102 | ||
2103 | * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the | |
2104 | set command. | |
2105 | * command.h (add_setshow_string_noescape_cmd): Update. | |
2106 | * corefile.c (set_gnutarget_command): Remove trailing whitespace. | |
2107 | (complete_set_gnutarget): New function. | |
2108 | (_initialize_core): Set the "set gnutarget" completer. | |
2109 | ||
06d66ee9 TT |
2110 | 2013-01-14 Tom Tromey <[email protected]> |
2111 | ||
2112 | PR symtab/14442: | |
2113 | * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'. | |
2114 | (c_type_print_modifier): Likewise. | |
2115 | * dwarf2read.c (read_tag_restrict_type): New function. | |
2116 | (read_type_die_1): Handle DW_TAG_restrict_type. | |
2117 | * gdbtypes.c (make_restrict_type): New function. | |
2118 | (recursive_dump_type): Handle TYPE_RESTRICT. | |
2119 | * gdbtypes.h (enum type_flag_values): Renumber. | |
2120 | (enum type_instance_flag_value): Add | |
2121 | TYPE_INSTANCE_FLAG_RESTRICT. | |
2122 | (TYPE_RESTRICT): New macro. | |
2123 | (make_restrict_type): Declare. | |
2124 | ||
c9bf0622 TT |
2125 | 2013-01-14 Tom Tromey <[email protected]> |
2126 | ||
2127 | PR symtab/14931: | |
2128 | * psymtab.c (struct psymtab_state): New. | |
2129 | (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New | |
2130 | functions. | |
2131 | * psympriv.h (make_cleanup_discard_psymtabs): Declare. | |
2132 | * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions. | |
2133 | ||
44d594fd PA |
2134 | 2013-01-14 Richard Sharman <[email protected]> |
2135 | Pedro Alves <[email protected]> | |
2136 | ||
2137 | PR remote/14786 | |
2138 | ||
2139 | * remote.c (remote_threads_info): Make a copy of the reply from | |
2140 | qfThreadInfo and use that instead of rs->buf. | |
2141 | ||
442e4d9c YQ |
2142 | 2013-01-14 Yao Qi <[email protected]> |
2143 | ||
2144 | * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL. | |
2145 | (dbx_psymtab_to_symtab): Likewise. | |
2146 | * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise. | |
2147 | * mdebugread.c (mdebug_psymtab_to_symtab): Likewise. | |
2148 | * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise. | |
2149 | ||
5b12a61c JK |
2150 | 2013-01-13 Jan Kratochvil <[email protected]> |
2151 | ||
2152 | * parse.c (parse_exp_in_context): New variable inner_chain. Call | |
2153 | make_cleanup_restore_current_language. Call set_language. Move | |
2154 | OLD_CHAIN and INNER_CHAIN cleanups. | |
2155 | * utils.c (do_restore_current_language) | |
2156 | (make_cleanup_restore_current_language): New functions. | |
2157 | * utils.h (make_cleanup_restore_current_language): New declaration. | |
2158 | ||
f0a4b570 JK |
2159 | 2013-01-13 Jan Kratochvil <[email protected]> |
2160 | ||
2161 | * source.c (symtab_to_fullname): Apply rewrite_source_path also for | |
2162 | non-existing files. | |
2163 | ||
57b3c00c JK |
2164 | * source.c (symtab_to_fullname): Do not prepend DIRNAME for |
2165 | non-existing files if FILENAME is already absolute. | |
2166 | ||
daefa854 JK |
2167 | 2013-01-11 Jan Kratochvil <[email protected]> |
2168 | ||
2169 | * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of | |
2170 | fputs_filtered. Append trailing newline. | |
2171 | ||
ca9c6ee2 YQ |
2172 | 2013-01-11 Yao Qi <[email protected]> |
2173 | Stan Shebs <[email protected]> | |
2174 | ||
2175 | * psymtab.c (init_psymbol_list): Clarify the comment. | |
2176 | ||
f28045c2 YQ |
2177 | 2013-01-11 Yao Qi <[email protected]> |
2178 | ||
2179 | * breakpoint.c (print_one_breakpoint_location): Remove dead code. | |
2180 | (update_dprintf_command_list): Assert that 'printf_line' is | |
2181 | non-null. Remove condition check. | |
2182 | ||
da5132d3 JK |
2183 | 2013-01-10 Jan Kratochvil <[email protected]> |
2184 | ||
2185 | Code cleanup. | |
2186 | * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return | |
2187 | type const char *. | |
2188 | * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname | |
2189 | const char *. | |
2190 | * tui/tui-source.h (tui_source_is_displayed): Likewise. | |
2191 | ||
843e694d AG |
2192 | 2013-01-09 Anthony Green <[email protected]> |
2193 | ||
2194 | * cp-abi.c (cplus_print_vtable): Don't return value from void | |
2195 | function. | |
2196 | * ada-lang.c (re_set_catch_assert): Ditto. | |
2197 | ||
da51c347 DE |
2198 | 2013-01-09 Doug Evans <[email protected]> |
2199 | ||
2200 | * symfile.h (quick_symbol_functions): Delete member | |
2201 | pre_expand_symtabs_matching. All uses removed. | |
2202 | * dwarf2read.c (dw2_lookup_symbol): Implement. | |
2203 | (dw2_do_expand_symtabs_matching): Delete. | |
2204 | (dw2_pre_expand_symtabs_matching): Delete. | |
2205 | (struct dw2_symtab_iterator): New type. | |
2206 | (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions. | |
2207 | (dw2_expand_symtabs_for_function): Rewrite. | |
2208 | (dwarf2_gdb_index_functions): Update. | |
2209 | * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete. | |
2210 | (psym_functions): Update. | |
2211 | ||
b2259038 TT |
2212 | 2013-01-09 Tom Tromey <[email protected]> |
2213 | ||
2214 | * config/pa/hpux.mh (NATDEPFILES): Remove somread.o. | |
2215 | * configure: Rebuild. | |
2216 | * configure.ac: Add somread.o to the build if BFD has SOM | |
2217 | support. | |
2218 | * somread.c: Include som/aout.h, not syms.h. | |
2219 | (som_symtab_read): Use som_external_symbol_dictionary_record. | |
2220 | Unpack records manually. | |
2221 | (_initialize_somread): Declare. | |
2222 | ||
bdad4180 MF |
2223 | 2012-01-08 Mike Frysinger <[email protected]> |
2224 | ||
2225 | * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx) [__x86_64__]: | |
2226 | Cast return_address to 64bits. | |
2227 | ||
03cdf680 HZ |
2228 | 2013-01-08 Hui Zhu <[email protected]> |
2229 | ||
2230 | * printcmd.c: Remove define of function output_command. | |
2231 | * tracepoint.c: Remove extern of function output_command. | |
2232 | * valprint.h: (output_command): New extern. | |
2233 | ||
8a808554 TT |
2234 | 2013-01-07 Tom Tromey <[email protected]> |
2235 | ||
2236 | * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr): | |
2237 | Remove. | |
2238 | (objc_language_defn): Use c_printchar, c_printstr, | |
2239 | c_emit_char. | |
2240 | ||
e93a8774 TT |
2241 | 2013-01-07 Tom Tromey <[email protected]> |
2242 | ||
2243 | PR cli/7719: | |
2244 | * NEWS: Update. | |
2245 | * ada-valprint.c (printstr, print_field_values): Remove | |
2246 | "inspect_it" code. | |
2247 | * cp-valprint.c (cp_print_value_fields): Remove "inspect_it" | |
2248 | code. | |
2249 | * jv-valprint.c (java_print_value_fields): Remove "inspect_it" | |
2250 | code. | |
2251 | * m2-lang.c (m2_printstr): Remove "inspect_it" code. | |
2252 | * main.c (captured_main): Remove "epoch" argument. | |
2253 | * objc-lang.c (objc_printstr): Remove "inspect_it" code. | |
2254 | * p-lang.c (pascal_printstr): Remove "inspect_it" code. | |
2255 | * p-valprint.c (pascal_object_print_value_fields): Remove | |
2256 | "inspect_it" code. | |
2257 | * printcmd.c (print_command_1): Remove 'inspect' argument. | |
2258 | (print_command, call_command): Update. | |
2259 | (inspect_command): Remove. | |
2260 | (_initialize_printcmd): Make "inspect" an alias for "print". | |
2261 | * top.c (epoch_interface): Remove. | |
2262 | * top.h (epoch_interface): Remove. | |
2263 | * valprint.c (user_print_options): Update. | |
2264 | (print_converted_chars_to_obstack): Remove "inspect_it" code. | |
2265 | * valprint.h (struct value_print_options) <inspect_it>: Remove | |
2266 | field. | |
2267 | ||
2268 | 2013-01-04 Tom Tromey <[email protected]> | |
2269 | ||
2270 | * valprint.h (read_string): Add 'extern'. | |
2271 | ||
b967eb24 JB |
2272 | 2013-01-07 Joel Brobecker <[email protected]> |
2273 | ||
2274 | * darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test | |
2275 | used to decide whether to define darwin_read_dyld_info or not. | |
2276 | ||
78a8b30e PM |
2277 | 2013-01-03 Pierre Muller <[email protected]> |
2278 | ||
2279 | * main.c (relocate_gdb_directory): Avoid calling stat function | |
2280 | if DIR is empty. | |
2281 | ||
50da2f25 YQ |
2282 | 2013-01-03 Yao Qi <[email protected]> |
2283 | ||
2284 | * psymtab.c (fixup_psymbol_section): Update declaration. | |
2285 | (fixup_psymbol_section): Remove code returning value. | |
2286 | ||
e7e8980f YQ |
2287 | 2013-01-03 Yao Qi <[email protected]> |
2288 | ||
2289 | * symtab.h: Remove some out of date comments. | |
2290 | (enum exception_event_kind): Move it ... | |
2291 | * breakpoint.c: ... here. | |
2292 | ||
569283d4 MF |
2293 | 2013-01-02 Iain Sandoe <[email protected]> |
2294 | ||
9f9d9a96 | 2295 | PR gdb/14405 |
569283d4 MF |
2296 | * darwin-nat.c (darwin_read_dyld_info): Only build if |
2297 | TASK_DYLD_INFO_COUNT is defined. | |
2298 | (darwin_xfer_partial): Call darwin_read_dyld_info only if | |
2299 | TASK_DYLD_INFO_COUNT is defined. | |
2300 | ||
2e36fbea TT |
2301 | 2013-01-02 Tom Tromey <[email protected]> |
2302 | ||
2303 | * symfile.h (struct ecoff_debug_hack): Remove. | |
2304 | * objfiles.c: Don't include mdebugread.h. | |
2305 | ||
4f05add4 TT |
2306 | 2013-01-02 Tom Tromey <[email protected]> |
2307 | ||
2308 | * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o. | |
2309 | * configure.ac: Check for Mach-O support in BFD. Update | |
2310 | CONFIG_OBS. | |
2311 | * configure: Rebuild. | |
2312 | ||
def63ff0 TT |
2313 | 2013-01-02 Tom Tromey <[email protected]> |
2314 | ||
2315 | * acinclude.m4 (GDB_AC_CHECK_BFD): New macro. | |
2316 | * configure.ac: Use GDB_AC_CHECK_BFD. | |
2317 | * configure: Rebuild. | |
2318 | ||
60c5dd93 MK |
2319 | 2013-01-01 Maxim Kuvyrkov <[email protected]> |
2320 | ||
2321 | * MAINTAINERS: Update my email. | |
2322 | ||
6e58437e JB |
2323 | 2013-01-01 Joel Brobecker <[email protected]> |
2324 | ||
2325 | * cli/cli-script.h (make_cleanup_free_command_lines): Make extern. | |
2326 | ||
627fe805 JB |
2327 | 2013-01-01 Joel Brobecker <[email protected]> |
2328 | ||
2329 | * rs6000-nat.c (bss_data_overlap): New function. | |
2330 | (vmap_symtab): Use it to adjust the .bss section's offset. | |
2331 | ||
28e7fd62 JB |
2332 | 2013-01-01 Joel Brobecker <[email protected]> |
2333 | ||
2334 | Update year range in copyright notice of all files. | |
2335 | ||
e93a8774 | 2336 | 2013-01-01, 13 Joel Brobecker <[email protected]> |
b9786c74 JB |
2337 | |
2338 | * top.c (print_gdb_version): Update copyright year. | |
2339 | ||
72b20e9c | 2340 | For older changes see ChangeLog-2012. |
c906108c SS |
2341 | \f |
2342 | Local Variables: | |
2343 | mode: change-log | |
2344 | left-margin: 8 | |
2345 | fill-column: 74 | |
2346 | version-control: never | |
57da7796 | 2347 | coding: utf-8 |
c906108c | 2348 | End: |