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