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