]>
Commit | Line | Data |
---|---|---|
2f9d54cf PA |
1 | 2013-04-10 Pedro Alves <[email protected]> |
2 | ||
3 | * cli/cli-cmds.c (quit_command): Call query_if_trace_running | |
4 | instead of disconnect_tracing. | |
5 | * infcmd.c (detach_command, disconnect_command): Call | |
6 | query_if_trace_running. Adjust. | |
7 | * top.c: Include "tracepoint.h". | |
8 | (quit_target): Delete. Contents moved ... | |
9 | (quit_force): ... here. Wrap each stage of teardown in | |
10 | TRY_CATCH. Call disconnect_tracing before detaching. | |
11 | ||
393fd4c3 YQ |
12 | 2013-04-10 Hui Zhu <[email protected]> |
13 | Yao Qi <[email protected]> | |
14 | ||
15 | * configure.ac: Check libbabeltrace is installed. | |
16 | * config.in: Regenerate. | |
17 | * configure: Regenerate. | |
18 | * Makefile.in (LIBBABELTRACE): New. | |
19 | (CLIBS): Add LIBBABELTRACE. | |
20 | * ctf.c: Include "exec.h". | |
21 | (CTF_EVENT_ID_STATUS, CTF_EVENT_ID_TSV_DEF): New macros. | |
22 | (CTF_EVENT_ID_TP_DEF, ctf_save_write_int32): New macros. | |
23 | (ctf_save_metadata_header): Define new type aliases in | |
24 | metadata. | |
25 | (ctf_write_header): Define event type "tsv_def" and "tp_def" | |
26 | in metadata. Start a new faked packet for trace status. | |
27 | (ctf_write_status): Write trace status to CTF. | |
28 | (ctf_write_uploaded_tsv): Write TSV to CTF. | |
29 | (ctf_write_uploaded_tp): Write tracepoint definition to CTF. | |
30 | (ctf_write_definition_end): End the faked packet. | |
31 | ||
32 | (ctx, ctf_iter, trace_dirname): New. | |
33 | (start_pos): New variable. | |
34 | (ctf_destroy, ctf_open_dir, ctf_open): New. | |
35 | (SET_INT32_FIELD, SET_ARRAY_FIELD, SET_STRING_FIELD): New | |
36 | macros. | |
37 | (ctf_read_tsv, ctf_read_tp, ctf_close, ctf_files_info): New. | |
38 | (ctf_fetch_registers, ctf_xfer_partial): New. | |
39 | (ctf_get_trace_state_variable_value): New. | |
40 | (ctf_get_tpnum_from_frame_event): New. | |
41 | (ctf_get_traceframe_address): New. | |
42 | (ctf_trace_find, ctf_has_stack): New. | |
43 | (ctf_has_registers, ctf_traceframe_info, init_ctf_ops): New. | |
44 | (ctf_get_trace_status, ctf_read_status): New. | |
45 | (_initialize_ctf): New. | |
46 | * tracepoint.c (get_tracepoint_number): New | |
47 | (get_uploaded_tsv): Remove 'static'. | |
48 | (struct traceframe_info, trace_regblock_size): Move it to ... | |
49 | * tracepoint.h: ... here. | |
50 | (get_tracepoint_number): Declare it. | |
51 | (get_uploaded_tsv): Declare it. | |
52 | ||
53 | * NEWS: Mention new configure option. | |
54 | ||
5c2b4418 HZ |
55 | 2013-04-10 Pedro Alves <[email protected]> |
56 | Hui Zhu <[email protected]> | |
57 | ||
58 | * breakpoint.c (dprintf_re_set): New. | |
59 | (initialize_breakpoint_ops): Set dprintf_breakpoint_ops re_set | |
60 | to dprintf_re_set. | |
61 | ||
a5c66735 JB |
62 | 2013-04-09 Joel Brobecker <[email protected]> |
63 | ||
64 | * configure.tgt (gdb_target_obs) <powerpc-*-aix* | rs6000-*-*>: | |
65 | Remove solib-svr4.o from the list. | |
66 | ||
9e77999c JB |
67 | 2013-04-09 Joel Brobecker <[email protected]> |
68 | ||
69 | * varobj.c (update_dynamic_varobj_children) [!HAVE_PYTHON]: | |
70 | Use gdb_assert_not_reached instead of invalid boolean expression. | |
71 | ||
1927e618 PA |
72 | 2013-04-09 Pedro Alves <[email protected]> |
73 | ||
74 | * remote.c (unpush_and_perror): New function. | |
75 | (readchar, remote_serial_write): Use it. | |
76 | ||
10782d74 MM |
77 | 2013-04-09 Markus Metzger <[email protected]> |
78 | ||
79 | * NEWS: Mention new btrace RSP packets. | |
80 | ||
4c8429ef TT |
81 | 2013-04-08 Tom Tromey <[email protected]> |
82 | ||
83 | * symmisc.c (dump_msymbols): Cast fprintf_filtered argument to | |
84 | long. | |
85 | ||
8625fc1b TT |
86 | 2013-04-08 Tom Tromey <[email protected]> |
87 | ||
88 | * maint.c (print_bfd_section_info): Print the section index. | |
89 | * symmisc.c (dump_msymbols): Print the section index. | |
90 | ||
e27d198c TT |
91 | 2013-04-08 Tom Tromey <[email protected]> |
92 | ||
93 | PR symtab/8424: | |
94 | * blockframe.c (find_pc_partial_function_gnu_ifunc): Check | |
95 | SYMBOL_SECTION, not SYMBOL_OBJ_SECTION. | |
96 | * breakpoint.c (resolve_sal_pc): Update. | |
97 | * elfread.c (elf_gnu_ifunc_record_cache): Update. | |
98 | * findvar.c (struct minsym_lookup_data) <objfile>: New field. | |
99 | (minsym_lookup_iterator_cb): Use it. | |
100 | (default_read_var_value): Update. | |
101 | * hppa-hpux-tdep.c (hppa64_hpux_in_solib_call_trampoline): | |
102 | Update. | |
103 | * infcmd.c (jump_command): Update. | |
104 | * linespec.c (minsym_found): Update. | |
105 | * maint.c (maintenance_translate_address): Update. | |
106 | * minsyms.c (lookup_minimal_symbol_by_pc_section_1): Update. | |
107 | (prim_record_minimal_symbol_full): Don't set SYMBOL_OBJ_SECTION. | |
108 | * parse.c (write_exp_msymbol): Update. | |
109 | * printcmd.c (address_info): Update. | |
110 | * psymtab.c (find_pc_sect_psymbol): Update. | |
111 | (fixup_psymbol_section): Check SYMBOL_SECTION, not | |
112 | SYMBOL_OBJ_SECTION. | |
113 | (add_psymbol_to_bcache): Correctly initialize SYMBOL_SECTION. | |
114 | Don't initialize SYMBOL_OBJ_SECTION. | |
115 | * spu-tdep.c (spu_catch_start): Update. | |
116 | * stabsread.c (define_symbol): Don't set SYMBOL_SECTION. | |
117 | * symmisc.c (dump_msymbols, print_symbol): Update. | |
118 | * symtab.c (fixup_section): Don't set 'obj_section'. Change | |
119 | how fallback section is computed. | |
120 | (fixup_symbol_section): Update. | |
121 | (find_pc_sect_symtab, find_function_start_sal, skip_prologue_sal): | |
122 | Update. | |
123 | (allocate_symbol, initialize_symbol, allocate_template_symbol): | |
124 | Initialize SYMBOL_SECTION. | |
125 | * symtab.h (struct general_symbol_info) <section>: Update comment. | |
126 | <obj_section>: Remove. | |
127 | (SYMBOL_OBJ_SECTION): Add 'objfile' argument. Rewrite. | |
128 | (SYMBOL_OBJFILE): New macro. | |
129 | ||
e6dc44a8 TT |
130 | 2013-04-08 Tom Tromey <[email protected]> |
131 | ||
132 | * coffread.c (record_minimal_symbol): Update. | |
133 | * dbxread.c (record_minimal_symbol): Update. | |
134 | * elfread.c (record_minimal_symbol): Update. | |
135 | * machoread.c (macho_symtab_add_minsym): Update. | |
136 | * mdebugread.c (record_minimal_symbol, parse_partial_symbols): | |
137 | Update. | |
138 | * minsyms.c (prim_record_minimal_symbol): Update. | |
139 | (prim_record_minimal_symbol_full): Remove 'bfd_section' | |
140 | argument. | |
141 | (prim_record_minimal_symbol_and_info): Likewise. | |
142 | * minsyms.h (prim_record_minimal_symbol_full) | |
143 | (prim_record_minimal_symbol_and_info): Update. | |
144 | * symtab.c (allocate_symbol, initialize_symbol) | |
145 | (allocate_template_symbol): Initialize SYMBOL_SECTION. | |
146 | * xcoffread.c (record_minimal_symbol, scan_xcoff_symtab): | |
147 | Update. | |
148 | ||
36192a8d TT |
149 | 2013-04-08 Tom Tromey <[email protected]> |
150 | ||
151 | PR symtab/8423: | |
152 | * solib-som.c (som_solib_section_offsets): Use BFD section | |
153 | indices. Set offsets for all sections. | |
154 | * somread.c (som_symtab_read): Compute BFD section for | |
155 | symbol. Use prim_record_minimal_symbol_and_info. | |
156 | (som_symfile_read): Fix comment. | |
157 | (struct find_section_offset_arg): New. | |
158 | (find_section_offset, set_section_index): New functions. | |
159 | (som_symfile_offsets): Use set_section_index to compute | |
160 | section indices. | |
161 | ||
65cf3563 TT |
162 | 2013-04-08 Tom Tromey <[email protected]> |
163 | ||
164 | * coffread.c (cs_to_section): Use gdb_bfd_section_index. | |
165 | * elfread.c (record_minimal_symbol, elf_symtab_read): Use | |
166 | gdb_bfd_section_index. | |
167 | * gdb_bfd.c (gdb_bfd_section_index, gdb_bfd_count_sections): | |
168 | New functions. | |
169 | * gdb_bfd.h (gdb_bfd_section_index, gdb_bfd_count_sections): | |
170 | Declare. | |
171 | * machoread.c (macho_symtab_add_minsym, macho_symfile_offsets): | |
172 | Update. | |
173 | * objfiles.c (add_to_objfile_sections_full): New function. | |
174 | (add_to_objfile_sections): Use it. | |
175 | (build_section_table): Rewrite. | |
176 | (objfile_relocate1): Use gdb_bfd_section_index. Update. | |
177 | * objfiles.h (obj_section_offset): Use gdb_bfd_section_index. | |
178 | (struct objfile) <sections>: Update comment. | |
179 | (ALL_OBJFILE_OSECTIONS): Skip sections where the_bfd_section | |
180 | is NULL. | |
181 | (ALL_OBJSECTIONS): Use it. | |
182 | * solib-dsbt.c (dsbt_relocate_main_executable): Update. | |
183 | * solib-frv.c (frv_relocate_main_executable): Update. | |
184 | * solib-target.c (solib_target_relocate_section_addresses): | |
185 | Use gdb_bfd_section_index. | |
186 | * symfile.c (build_section_addr_info_from_section_table): | |
187 | Use gdb_bfd_section_index. | |
188 | (build_section_addr_info_from_bfd, place_section): Likewise. | |
189 | * symtab.c (fixup_section): Update. | |
190 | * xcoffread.c (find_targ_sec): Use gdb_bfd_section_index. | |
191 | ||
7cbd4a93 TT |
192 | 2013-04-08 Tom Tromey <[email protected]> |
193 | ||
194 | * minsyms.h (struct bound_minimal_symbol): New. | |
195 | (lookup_minimal_symbol_and_objfile): Return bound_minimal_symbol. | |
196 | Remove objfile argument. | |
197 | (lookup_minimal_symbol_by_pc_section, lookup_minimal_symbol_by_pc): | |
198 | Return bound_minimal_symbol. | |
199 | * minsyms.c (lookup_minimal_symbol_by_pc_1) | |
200 | (lookup_minimal_symbol_by_pc_section, lookup_minimal_symbol_by_pc): | |
201 | Return bound_minimal_symbol. | |
202 | (in_gnu_ifunc_stub): Update. | |
203 | (lookup_minimal_symbol_and_objfile): Return bound_minimal_symbol. | |
204 | Remove 'objfile_p' argument. | |
205 | (lookup_solib_trampoline_symbol_by_pc): Update. | |
206 | * ada-tasks.c, amd64-windows-tdep.c, arm-tdep.c, | |
207 | arm-wince-tdep.c, block.c, blockframe.c, breakpoint.c, btrace.c, | |
208 | c-valprint.c, dwarf2loc.c, elfread.c, frame.c, frv-tdep.c, | |
209 | glibc-tdep.c, gnu-v2-abi.c, gnu-v3-abi.c, hppa-hpux-tdep.c, | |
210 | i386-tdep.c, ia64-tdep.c, infcall.c, infcmd.c, jit.c, | |
211 | linux-fork.c, m32c-tdep.c, m68hc11-tdep.c, maint.c, | |
212 | mips-tdep.c, p-valprint.c, parse.c, ppc-linux-tdep.c, | |
213 | ppc-sysv-tdep.c, printcmd.c, rs6000-tdep.c, sh64-tdep.c, | |
214 | stack.c, symtab.c, tui/tui-disasm.c: Update. | |
215 | ||
f85f34ed TT |
216 | 2013-04-08 Tom Tromey <[email protected]> |
217 | ||
218 | * ada-lang.c (ada_decode_symbol): Check and set 'ada_mangled'. | |
219 | Use symbol's obstack, not an objfile. | |
220 | * coffread.c (process_coff_symbol): Update. | |
221 | * dwarf2read.c (fixup_go_packaging, new_symbol_full): Update. | |
222 | * jv-lang.c (add_class_symbol): Update. | |
223 | * mdebugread.c (new_symbol): Update. | |
224 | * minsyms.c (prim_record_minimal_symbol_full) | |
225 | (terminate_minimal_symbol_table): Update. | |
226 | * psymtab.c (add_psymbol_to_bcache): Clear entire symbol. Update. | |
227 | * stabsread.c (define_symbol, read_enum_type): Update. | |
228 | * symtab.c (symbol_set_demangled_name, symbol_get_demangled_name): | |
229 | Handle Ada specially. | |
230 | (symbol_set_language): Add 'obstack' argument. | |
231 | (symbol_set_names): Update. | |
232 | (symbol_natural_name, symbol_demangled_name): Always use | |
233 | ada_decode_symbol. | |
234 | * symtab.h (struct general_symbol_info) | |
235 | <language_specific::obstack>: New field. | |
236 | <ada_mangled>: New field. | |
237 | (SYMBOL_SET_LANGUAGE): Add 'obstack' argument. | |
238 | (symbol_set_language): Update. | |
239 | ||
ccde22c0 TT |
240 | 2013-04-08 Tom Tromey <[email protected]> |
241 | ||
242 | * symtab.c (symbol_init_cplus_specific, symbol_set_demangled_name): | |
243 | Take an obstack, not an objfile. | |
244 | (symbol_set_names): Update. | |
245 | * symtab.h (symbol_set_demangled_name): Update. | |
246 | ||
e623cf5d TT |
247 | 2013-04-08 Tom Tromey <[email protected]> |
248 | ||
249 | * coffread.c (process_coff_symbol, coff_read_enum_type): Call | |
250 | allocate_symbol. | |
251 | * dwarf2read.c (fixup_go_packaging): Call allocate_symbol. | |
252 | (read_func_scope): Call allocate_template_symbol. | |
253 | (new_symbol_full): Call allocate_symbol. | |
254 | * jit.c (finalize_symtab): Call allocate_symbol. | |
255 | * jv-lang.c (add_class_symbol): Call allocate_symbol. | |
256 | * mdebugread.c (parse_symbol, new_block): Call allocate_symbol. | |
257 | * stabsread.c (patch_block_stabs, define_symbol, read_enum_type) | |
258 | (common_block_end): Call allocate_symbol. | |
259 | * symtab.c (allocate_symbol, initialize_symbol) | |
260 | (allocate_template_symbol): New functions. | |
261 | * symtab.c (allocate_symbol, initialize_symbol) | |
262 | (allocate_template_symbol): Declare. | |
263 | * xcoffread.c (process_xcoff_symbol): Call initialize_symbol. | |
264 | ||
f6de8ec2 PA |
265 | 2013-04-08 Pedro Alves <[email protected]> |
266 | Keith Seitz <[email protected]> | |
267 | ||
268 | * breakpoint.c (create_breakpoint): Rename | |
269 | "parse_condition_and_thread" parameter to "parse_arg". Update | |
270 | describing comment. If !PARSE_ARG, then error out if ARG is not | |
271 | the empty string after extracting the location. | |
272 | * breakpoint.h (create_breakpoint): Rename | |
273 | "parse_condition_and_thread" parameter to "parse_arg". | |
274 | ||
f65ce5fb AR |
275 | 2013-04-08 Aleksandar Ristovski <[email protected] |
276 | ||
277 | * solib-svr4.c (lm_addr_check): Add const qualifier to 'so' arg. | |
278 | ||
cc5925ad YQ |
279 | 2013-04-07 Yao Qi <[email protected]> |
280 | ||
281 | * remote.c (remote_trace_find): Change type of parameters 'addr1' | |
282 | and 'addr2' to CORE_ADDR. | |
283 | * target.c (update_current_target): Update. | |
284 | * target.h (struct target_ops) <to_trace_find>: Change parameter | |
285 | type to CORE_ADDR. | |
286 | * tracepoint.c (tfind_1): Change type of parameters 'addr1' and | |
287 | 'addr2' to CORE_ADDR. | |
288 | (tfile_trace_find): Likewise. | |
289 | (tfile_get_traceframe_address): Change return type to CORE_ADDR. | |
290 | Change local variable 'addr' to type CORE_ADDR. | |
291 | * tracepoint.h (tfind_1): Update declaration. | |
292 | ||
d9ac0664 EZ |
293 | 2013-04-06 Eli Zaretskii <[email protected]> |
294 | ||
295 | * windows-nat.c (windows_get_absolute_argv0): Move from here... | |
296 | * mingw-hdep.c (windows_get_absolute_argv0): ...to here. | |
297 | Include main.h. | |
298 | ||
299 | * windows-nat.h (windows_get_absolute_argv0): Move prototype from | |
300 | here... | |
301 | * main.h (windows_get_absolute_argv0): ...to here. | |
302 | ||
02142a6c DE |
303 | 2013-04-05 Doug Evans <[email protected]> |
304 | ||
305 | * dwarf2read.c (struct dwarf2_per_objfile): Tweak comment. | |
306 | (read_cutu_die_from_dwo): Add comments. | |
307 | (read_structure_type): Update comment. | |
308 | (read_enumeration_type, read_namespace_type): Update comment. | |
309 | (read_die_type, get_die_type_at_offset, get_die_type): Update comment. | |
310 | ||
43662968 JK |
311 | 2013-04-05 Jan Kratochvil <[email protected]> |
312 | ||
313 | Convert man pages to texinfo, new gdbinit.5 texinfo page. | |
314 | * Makefile.in (gdb.z): Remove. | |
315 | (install-only): Remove $(man1dir) and gdb.1 installation. | |
316 | * gdb.1: Remove. | |
317 | ||
9ead1b84 JK |
318 | 2013-04-05 Jan Kratochvil <[email protected]> |
319 | ||
320 | Fix compatibility with Linux kernel 3.8.3. | |
321 | * linux-tdep.c (linux_find_memory_regions_full): Move variable number | |
322 | to more inner block. Remove parsing of NUMBER from outer block. | |
323 | Parse NUMBER only if KEYWORD has been identified. | |
324 | ||
d1794952 JK |
325 | 2013-04-05 Jan Kratochvil <[email protected]> |
326 | ||
327 | Fix variable name shadowing. | |
328 | * linux-tdep.c (linux_find_memory_regions_full): Rename outer variable | |
329 | filename to mapsfilename and update its uses. | |
330 | ||
9025569e EZ |
331 | 2013-04-05 Eli Zaretskii <[email protected]> |
332 | ||
333 | * Makefile.in (TAGS): Avoid warning from etags when $GDB_NM_FILE is | |
334 | empty. See http://sourceware.org/ml/gdb-patches/2012-08/msg00504.html | |
335 | and http://sourceware.org/ml/gdb-patches/2013-04/msg00055.html for | |
336 | details of the problem. | |
337 | ||
c9a6ce02 PA |
338 | 2013-04-04 Pedro Alves <[email protected]> |
339 | Hui Zhu <[email protected]> | |
340 | ||
341 | * breakpoint.c (validate_commands_for_breakpoint): If validating a | |
342 | tracepoint, reset its STEP_COUNT and call validate_actionline. | |
343 | ||
5ff888ce DE |
344 | 2013-04-03 Doug Evans <[email protected]> |
345 | ||
bf6af496 DE |
346 | * dwarf2read.c (read_die_and_siblings_1): Renamed from |
347 | read_die_and_siblings. | |
348 | (read_die_and_siblings): New function. | |
349 | (read_cutu_die_from_dwo): Dump die if requested. | |
350 | (read_die_and_children): Call read_full_die_1 and | |
351 | read_die_and_siblings_1. | |
352 | (read_full_die): Dump die if requested. | |
353 | ||
354 | * dwarf2read.c (read_comp_units_from_section): Add debugging printf. | |
355 | ||
0ac5b59e DE |
356 | * dwarf2read.c (struct dwo_file): New member comp_dir. |
357 | Rename member name to dwo_name. All uses updated. | |
358 | (hash_dwo_file): Include comp_dir in computation. | |
359 | (eq_dwo_file): Ditto. | |
360 | (lookup_dwo_file_slot): New arg comp_dir. All callers updated. | |
361 | (create_dwo_in_dwp, lookup_dwo_in_dwp, open_and_init_dwo_file): Ditto. | |
362 | ||
5ff888ce DE |
363 | * psymtab.c (read_psymtabs_with_fullname): Don't call |
364 | psymtab_to_fullname if the basenames are different. | |
365 | ||
ec83d211 JK |
366 | 2013-04-03 Jan Kratochvil <[email protected]> |
367 | ||
368 | * NEWS (Changes in GDB 7.6): Update the data-disassemble for "fullname". | |
369 | New entry about "fullname" presence. | |
370 | ||
4f4352f7 PA |
371 | 2013-04-03 Pedro Alves <[email protected]> |
372 | ||
373 | * NEWS: Mention x86_64/Cygwin as new native configuration. | |
374 | ||
3d1d5ea3 DE |
375 | 2013-04-02 Doug Evans <[email protected]> |
376 | ||
377 | * dwarf2read.c (read_structure_type): Fix typo in comment. | |
378 | ||
be9a8770 PA |
379 | 2013-04-02 Pedro Alves <[email protected]> |
380 | ||
381 | * NEWS: Mention "set/show debug aarch64", "set/show debug | |
382 | coff-pe-read" and "set/show debug mach-o". | |
383 | ||
a46c1e42 PA |
384 | 2013-04-02 Pedro Alves <[email protected]> |
385 | ||
386 | * NEWS: Mention "set/show remote trace-buffer-size-packet". | |
387 | ||
3ad18b19 EZ |
388 | 2013-04-02 Eli Zaretskii <[email protected]> |
389 | ||
390 | * Makefile.in (HFILES_NO_SRCDIR): Remove call-cmds.h. | |
391 | gdb_string.h is now in common/. | |
392 | ||
e9f1758d PA |
393 | 2013-04-02 Pedro Alves <[email protected]> |
394 | ||
395 | * NEWS: Move "set debug notification" and "set trace-buffer-size" | |
396 | under "New options". | |
397 | ||
049dc89b JK |
398 | 2013-04-02 Jan Kratochvil <[email protected]> |
399 | ||
400 | Revert this patch: | |
401 | PR gdb/15275 | |
402 | * remote.c (remote_get_trace_status): Include putpkt in TRY_CATCH. | |
403 | ||
c33e31fd PA |
404 | 2013-04-02 Pedro Alves <[email protected]> |
405 | ||
406 | PR gdb/15275 | |
407 | ||
408 | * remote.c (send_interrupt_sequence): Use remote_serial_write. | |
409 | (remote_serial_write): New function. | |
410 | (putpkt_binary, getpkt_or_notif_sane_1): Use remote_serial_write. | |
411 | ||
ea5f3910 JW |
412 | 2013-04-01 Jiong Wang <[email protected]> |
413 | ||
414 | * NEWS: Mention TILE-Gx in "New native configurations" and | |
415 | "New targets" sections. | |
416 | ||
5c6fa7ab DE |
417 | 2013-04-01 Doug Evans <[email protected]> |
418 | ||
c0f78cd4 DE |
419 | * dwarf2read.c (lookup_signatured_type_at_offset): Delete. |
420 | (process_enumeration_scope): Simplify. | |
421 | ||
0186c6a7 DE |
422 | * dwarf2read.c (struct dwarf2_per_cu_data): Move member |
423 | type_unit_group ... | |
424 | (struct signatured_type): ... to here. | |
425 | (sig_type_ptr): New typedef. | |
426 | (type_unit_group): Delete member 't.first_cu'. Move member 'tus' | |
427 | out of union 't'. All uses updated. | |
428 | (dw2_get_file_names_reader): Assert not called for a type unit. | |
429 | (dw2_get_file_names): Assert not called for a type unit or type | |
430 | unit group. | |
431 | (build_type_psymtabs_reader): Assert called for a type unit. | |
432 | (build_type_psymtab_dependencies): Assert called for a type unit group. | |
433 | ||
5c6fa7ab DE |
434 | * dwarf2read.c (free_dwo_file): Add comment. |
435 | (dwarf2_per_objfile_free): Unref dwp bfd. | |
436 | ||
b3c0ad67 | 437 | 2013-04-01 Aleksandar Ristovski <[email protected]> |
cebca8c1 AR |
438 | |
439 | * coff-pe-read.c (add_pe_exported_sym): Remove unused 'dll_name_len'. | |
440 | (add_pe_forwarded_sym): Remove unused 'section', 'dll_name_len'. | |
441 | (read_pe_exported_syms): Remove unused 'exportix'. | |
442 | (pe_text_section_offset): Remove unused 'opthdr_ofs', 'num_entries', | |
443 | 'export_rva', 'export_size', 'expptr', 'exp_funcbase', 'expdata', | |
444 | 'erva', 'name_rvas', 'ordinals', 'nexp', 'ordbase', 'dll_name'. | |
445 | ||
e2df1547 AR |
446 | 2013-04-01 Aleksandar Ristovski <[email protected]> |
447 | ||
448 | * breakpoint.c (parse_cond_to_aexpr): Remove unused 'old_chain'. | |
449 | (print_it_watchpoint): Remove unused 'bl'. | |
450 | (say_where): Remove unused 'uiout'. | |
451 | (bpstat_remove_breakpoint_callback): Remove unused 'uiout'. | |
452 | (bkpt_breakpoint_hit): Remove unused 'b'. | |
453 | (internal_bkpt_print_it): Remove unused 'uiout'. | |
454 | * buildsym.c (augment_type_symtab): Remove unused 'i'. | |
455 | ||
d81e75c0 TD |
456 | 2013-03-31 Tiago Stürmer Daitx <[email protected]> |
457 | ||
458 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_float): New function. | |
459 | (ppc64_sysv_abi_push_dummy_call): Handle complex arguments. | |
460 | ||
5a8b3f62 DE |
461 | 2013-03-29 Doug Evans <[email protected]> |
462 | ||
ab5088bf DE |
463 | * dwarf2read.c (open_dwo_file): Renamed from open_dwop_file. |
464 | Delete arg is_dwp. All callers updated. | |
465 | (open_dwp_file): New function. | |
466 | (open_and_init_dwp_file): Call it. | |
467 | (get_dwp_file): New function. | |
468 | (lookup_dwo_cutu): Call it. | |
469 | ||
a8ad1e57 DE |
470 | * dwarf2read.c (open_and_init_dwp_file): Remove incorrect, and |
471 | unnecessary, cleanup. | |
472 | ||
6296d8c1 DE |
473 | * dwarf2read.c (lookup_dwo_cutu): Improve complaint text. |
474 | ||
b0c7bfa9 DE |
475 | * dwarf2read.c (read_cutu_die_from_dwo): New function. |
476 | (lookup_dwo_unit): New function. | |
477 | (init_cutu_and_read_dies): Move DWO handling to new functions. | |
478 | ||
c88ee1f0 DE |
479 | * dwarf2read.c (struct signatured_type): Tweak comment. |
480 | (struct dwo_unit): Tweak comment. | |
481 | (create_debug_types_hash_table): Tweak comment. Reformat long line. | |
482 | (create_dwo_debug_info_hash_table): Tweak comment. | |
483 | (dwarf2_per_cu_offset_and_type): Tweak comment. | |
484 | ||
5a8b3f62 DE |
485 | * dwarf2read.c (lookup_signatured_type): Remove complaint about |
486 | missing .debug_types section. | |
487 | ||
9852c492 YQ |
488 | 2013-03-29 Yao Qi <[email protected]> |
489 | ||
490 | * corelow.c: Include "completer.h". | |
491 | (_initialize_corelow): Call add_target_with_completer with | |
492 | argument 'filename_completer'. | |
493 | * tracepoint.c: Likewise. | |
494 | * exec.c (_initialize_exec): Likewise. | |
495 | * target.c (add_target): Rename to ... | |
496 | (add_target_with_completer): ... this. Call set_cmd_completer | |
497 | if parameter completer is not NULL. | |
498 | (add_target): New. | |
499 | * target.h: Include "command.h". | |
500 | (add_target_with_completer): Declare it. | |
501 | ||
af312be7 JB |
502 | 2013-03-28 Joel Brobecker <[email protected]> |
503 | ||
504 | * coffread.c (is_import_fixup_symbol): New function. | |
505 | (record_minimal_symbol): Use is_import_fixup_symbol to | |
506 | detect import fixup symbols, and discard them. | |
507 | ||
8a0459fd DE |
508 | 2013-03-28 Doug Evans <[email protected]> |
509 | ||
0349ea22 DE |
510 | * dwarf2read.c (create_debug_types_hash_table): Don't allocate the |
511 | types hash table until we know we need it. | |
512 | ||
f652bce2 DE |
513 | * dwarf2read.c (create_addrmap_from_index): Complain about bad CU |
514 | index numbers. | |
515 | ||
e4a48d9d DE |
516 | * dwarf2read.c (dw2_get_file_names): Delete arg "objfile". |
517 | All callers updated. | |
518 | (dw2_print_stats): Print #read CUs too. | |
519 | (dump_die_shallow): Print signatured types better. | |
520 | ||
8a0459fd DE |
521 | * dwarf2read.c (struct dwarf2_per_cu_data): Rename member |
522 | info_or_types_section to section. All uses updated. | |
523 | (struct dwo_unit): Ditto. | |
524 | ||
bd3eecc3 PA |
525 | 2013-03-28 Pedro Alves <[email protected]> |
526 | ||
527 | * NEWS (New options): New section. | |
528 | (New options): Mention set/show remote trace-status-packet. | |
529 | * remote.c (PACKET_qTStatus): New enumeration value. | |
530 | (remote_get_trace_status): Skip sending qTStatus if the packet is | |
531 | disabled. Use packet_ok. | |
532 | (_initialize_remote): Register a configuration command for | |
533 | qTStatus packet. | |
534 | ||
41245087 DE |
535 | 2013-03-28 Doug Evans <[email protected]> |
536 | ||
7edbb660 DE |
537 | * symfile.c (find_separate_debug_file): Add comment. |
538 | (terminate_after_last_dir_separator): Tweak comment. | |
539 | ||
0018ea6f DE |
540 | * dwarf2read.c (create_partial_symtab): Add forward decl. |
541 | (create_partial_symtab): Move to be closer to other psymtab functions. | |
542 | (process_psymtab_comp_unit_reader, process_psymtab_comp_unit): Ditto. | |
543 | ||
ca69b9e6 DE |
544 | * dwarf2read.c (dwarf2_physname): Move declaration to better spot. |
545 | (compute_symtab_includes): Remove unnecessary forward declaration. | |
546 | (die_needs_namespace): Add comment marking group of functions for | |
547 | dwarf2 name computation. | |
548 | ||
a9375afe DE |
549 | * typeprint.c (_initialize_typeprint): Improve type help text. |
550 | ||
41245087 DE |
551 | * python/python.c (finish_python_initialization): Provide suggestion |
552 | for how to tell gdb to find its python files. | |
553 | ||
7f7cc265 PA |
554 | 2013-03-28 Pedro Alves <[email protected]> |
555 | ||
556 | PR gdb/15294 | |
557 | ||
558 | * source.c (_initialize_source): Change back "set listsize" to an | |
559 | integer command. | |
560 | ||
ec21308c JK |
561 | 2013-03-27 Gareth McMullin <[email protected]> |
562 | ||
563 | PR gdb/15275 | |
564 | * remote.c (remote_get_trace_status): Include putpkt in TRY_CATCH. | |
565 | ||
840a9a1f PA |
566 | 2013-03-27 Pedro Alves <[email protected]> |
567 | ||
568 | * top.c (history_size): Rename to ... | |
569 | (history_size_setshow_var): ... this. Add comment. | |
570 | (show_commands): Use readline's 'history_length' instead of | |
571 | computing the history length by calling history_get in a loop. | |
572 | (set_history_size_command): Error out for sizes over INT_MAX. | |
573 | Restore previous history size on invalid size. | |
574 | (init_history): If HISTSIZE is negative, leave the history size as | |
575 | zero. Add comments. | |
576 | (init_main): Adjust. | |
577 | ||
826ecc4d PA |
578 | 2013-03-27 Pedro Alves <[email protected]> |
579 | ||
580 | * coff-pe-read.c (_initialize_coff_pe_read): Rename "set debug | |
581 | coff_pe_read" command to "set debug coff-pe-read". | |
582 | ||
0ccfeeae MM |
583 | 2013-03-27 Markus Metzger <[email protected]> |
584 | ||
585 | * record.c (command_size_to_target_size): Fix size comparison. | |
586 | Change parameter type from pointer to integer to integer. | |
587 | Update all users. | |
588 | ||
40653b35 PM |
589 | 2013-03-27 Pierre Muller <[email protected]> |
590 | ||
591 | * windows-nat.c (handle_output_debug_string): Avoid typecast | |
592 | from integer of different size warning. | |
593 | ||
c62fa0e2 JB |
594 | 2013-03-26 Joel Brobecker <[email protected]> |
595 | ||
596 | * windows-nat.c (handle_output_debug_string): Add empty line | |
597 | after local block variable definition. | |
598 | ||
2c619be2 PA |
599 | 2013-03-26 Pedro Alves <[email protected]> |
600 | ||
601 | * ser-tcp.c (wait_for_connect): Make 'polls' parameter unsigned. | |
602 | (net_open): Make 'polls' local unsigned. | |
603 | ||
1b493192 PA |
604 | 2013-03-26 Pedro Alves <[email protected]> |
605 | ||
606 | * remote.c (_initialize_remote): Make "set remoteaddresssize" | |
607 | a zuinteger command instead of uinteger. | |
608 | ||
7ee70bf5 PA |
609 | 2013-03-26 Pedro Alves <[email protected]> |
610 | ||
611 | * record-full.c (record_full_insn_num): Make it unsigned. | |
612 | (record_full_check_insn_num, record_full_message) | |
613 | (record_full_registers_change, record_full_xfer_partial): Remove | |
614 | record_full_insn_max_num check (it's always != 0). | |
615 | (record_full_info, record_full_restore): Use %u as format string. | |
616 | (): Use %u as format string. | |
617 | (set_record_full_insn_max_num): Remove record_full_insn_max_num | |
618 | check (it's always != 0). | |
619 | ||
dfd1f9bb PA |
620 | 2013-03-26 Pedro Alves <[email protected]> |
621 | ||
622 | * dcache.c (_initialize_dcache): Make the "set dcache line-size" | |
623 | and "set dcache size" commands zuinteger instead of uinteger. | |
624 | ||
addb4faf PA |
625 | 2013-03-26 Pedro Alves <[email protected]> |
626 | ||
627 | * cris-tdep.c (_initialize_cris_tdep): Make the "set cris-version" | |
628 | command zuinteger instead of uinteger. | |
629 | ||
b75bf488 PA |
630 | 2013-03-26 Pedro Alves <[email protected]> |
631 | ||
632 | * coff-pe-read.c (_initialize_coff_pe_read): Make the command | |
633 | zuinteger instead of uinteger. | |
634 | ||
42c634cb PA |
635 | 2013-03-26 Pedro Alves <[email protected]> |
636 | ||
637 | * record.c (record_insn_history_size_setshow_var) | |
638 | (record_call_history_size_setshow_var): New globals. | |
639 | (command_size_to_target_size): New function. | |
640 | (cmd_record_insn_history, cmd_record_call_history): Use | |
641 | command_size_to_target_size instead of cast. | |
642 | (validate_history_size, set_record_insn_history_size) | |
643 | (set_record_call_history_size): New functions. | |
644 | (_initialize_record): Install set_record_insn_history_size and | |
645 | set_record_call_history_size as "set" hooks of "set record | |
646 | instruction-history-size" and "set record | |
647 | function-call-history-size". | |
648 | ||
1fb2e2b5 PA |
649 | 2013-03-26 Pedro Alves <[email protected]> |
650 | ||
651 | * top.c (gdb_rl_operate_and_get_next): Replace max_input_history | |
652 | use with history_max_entries use. Remove FIXME note. | |
653 | ||
99c819ee MM |
654 | 2013-03-26 Markus Metzger <[email protected]> |
655 | ||
656 | * record-btrace.c (record_btrace_close): Call | |
657 | record_btrace_auto_disable. | |
658 | ||
9f9e404c JB |
659 | 2013-03-25 Joel Brobecker <[email protected]> |
660 | ||
661 | * rs6000-nat.c (fixup_breakpoints): Delete declaration. | |
662 | ||
ebcdfe33 DE |
663 | 2013-03-25 Doug Evans <[email protected]> |
664 | ||
665 | * contrib/cc-with-tweaks.sh: Check exit code of dwp. | |
666 | ||
24955f63 TT |
667 | 2013-03-25 Tom Tromey <[email protected]> |
668 | ||
669 | PR symtab/11462: | |
670 | * c-exp.y (exp): Add new productions for destructors after '.' and | |
671 | '->'. | |
672 | (write_destructor_name): New function. | |
673 | ||
fce632b6 TT |
674 | 2013-03-25 Tom Tromey <[email protected]> |
675 | ||
676 | PR c++/9197: | |
677 | * opencl-lang.c (evaluate_subexp_opencl) <STRUCTOP_STRUCT>: Use | |
678 | value_struct_elt, not lookup_struct_elt_type. | |
679 | * eval.c (evaluate_subexp_standard) <STRUCTOP_STRUCT, | |
680 | STRUCTOP_PTR>: Use value_struct_elt, not lookup_struct_elt_type. | |
681 | * expression.h (EVAL_AVOID_SIDE_EFFECTS): Update comment. | |
682 | ||
a4341769 YQ |
683 | 2013-03-25 Yao Qi <[email protected]> |
684 | ||
685 | * ctf.c [USE_WIN32API]: Undef 'mkdir' and use 'mkdir' | |
686 | instead of '_mkdir'. | |
687 | ||
b5981e5a EZ |
688 | 2013-03-23 Eli Zaretskii <[email protected]> |
689 | ||
690 | * windows-nat.c (windows_get_absolute_argv0): New function. | |
691 | * windows-nat.h: Add its prototype. | |
692 | ||
693 | * main.c (get_init_files): Use filename_ncmp instead of strncmp. | |
694 | Use IS_DIR_SEPARATOR instead of looking for a character inside | |
695 | SLASH_STRING. Include filenames.h. | |
696 | (captured_main) [__MINGW32__]: Make argv[0] absolute, so that | |
697 | relocate_gdb_directory works when passed gdb_program_name. | |
698 | Include windows-nat.h. | |
699 | ||
598d3636 JK |
700 | 2013-03-22 Jan Kratochvil <[email protected]> |
701 | ||
702 | * exceptions.h (enum errors): New entry TARGET_CLOSE_ERROR. | |
703 | * remote.c (trace_error): Remove the special handling of '2'. | |
704 | (readchar) <SERIAL_EOF> | |
705 | (readchar) <SERIAL_ERROR> | |
706 | (getpkt_or_notif_sane_1): Use TARGET_CLOSE_ERROR for them. | |
707 | (remote_get_trace_status): Call throw_exception if EX is | |
708 | TARGET_CLOSE_ERROR. | |
709 | * utils.c (perror_with_name): Rename to ... | |
710 | (throw_perror_with_name): ... here. New parameter errcode, describe it | |
711 | in the function comment. | |
712 | (perror_with_name): New function wrapper. | |
713 | * utils.h (enum errors): New stub declaration. | |
714 | (throw_perror_with_name): New declaration. | |
715 | ||
82b821e9 PA |
716 | 2013-03-22 Pedro Alves <[email protected]> |
717 | Yao Qi <[email protected]> | |
718 | Mark Kettenis <[email protected]> | |
719 | ||
720 | * cli/cli-setshow.c (do_set_command) <var_uinteger>: | |
721 | Don't let the user set the value to UINT_MAX directly. | |
722 | <var_integer>: Don't let the user set the value to INT_MAX | |
723 | directly. | |
724 | ||
78a095c3 JK |
725 | 2013-03-22 Jan Kratochvil <[email protected]> |
726 | ||
727 | * remote.c (remote_unpush_target): New function. | |
728 | (remote_open_1): Remove two pop_target calls, update one comment, add | |
729 | comment to target_preopen call. Replace pop_target call by | |
730 | remote_unpush_target call. | |
731 | (interrupt_query, readchar, getpkt_or_notif_sane_1): Replace | |
732 | pop_target calls by remote_unpush_target calls. | |
733 | ||
3e74e146 PA |
734 | 2013-03-22 Pedro Alves <[email protected]> |
735 | ||
736 | * linux-nat.c (linux_child_follow_fork): Don't call | |
737 | linux_enable_event_reporting. | |
738 | (linux_handle_extended_wait): Don't call | |
739 | linux_enable_event_reporting. | |
740 | ||
a2213dca PA |
741 | 2013-03-22 Pedro Alves <[email protected]> |
742 | ||
743 | * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Define INSN macro, | |
744 | use it to rewrite the trampoline buffers with type gdb_byte[], and | |
745 | undefine the macro. Remove char* cast. | |
746 | ||
bd712aed DE |
747 | 2013-03-21 Doug Evans <[email protected]> |
748 | ||
749 | New commands "mt set per-command {space,time,symtab} {on,off}". | |
750 | * NEWS: Add entry. | |
751 | * event-top.c: #include "maint.h". | |
752 | * main.c: #include "maint.h". | |
753 | * maint.c: #include <sys/time.h>, <time.h>, block.h, top.h, | |
754 | timeval-utils.h, maint.h, cli/cli-setshow.h. | |
755 | (per_command_time, per_command_space): New static globals. | |
756 | (per_command_symtab): New static global. | |
757 | (per_command_setlist, per_command_showlist): New static globals. | |
758 | (struct cmd_stats): Move here from utils.c. | |
759 | (set_per_command_time): Renamed from set_display_time in utils.c | |
760 | and moved here. All callers updated. | |
761 | (set_per_command_space): Renamed from set_display_space in utils.c | |
762 | and moved here. All callers updated. | |
763 | (count_symtabs_and_blocks): New function. | |
764 | (report_command_stats): Moved here from utils.c. Add support for | |
765 | printing symtab stats. Only print data if enabled before command | |
766 | executed. | |
767 | (make_command_stats_cleanup): Ditto. | |
768 | (sert_per_command_cmd, show_per_command_cmd): New functions. | |
769 | (_initialize_maint_cmds): Add new commands | |
770 | mt set per-command {space,time,symtab} {on,off}. | |
771 | * maint.h: New file. | |
772 | * top.c: #include "maint.h". | |
773 | * utils.c (reset_prompt_for_continue_wait_time): New function. | |
774 | (get_prompt_for_continue_wait_time): New function. | |
775 | * utils.h (reset_prompt_for_continue_wait_time): Declare | |
776 | (get_prompt_for_continue_wait_time): Declare. | |
777 | (make_command_stats_cleanup): Moved to maint.h. | |
778 | (set_display_time, set_display_space): Moved to maint.h and renamed | |
779 | to set_per_command_time, set_per_command_space. | |
780 | * cli/cli-setshow.c (parse_cli_boolean_value): Renamed from | |
781 | parse_binary_operation and made non-static. Don't call error, | |
782 | just return an error marker. All callers updated. | |
783 | * cli/cli-setshow.h (parse_cli_boolean_value): Declare. | |
784 | ||
d76488d8 TT |
785 | 2013-03-21 Tom Tromey <[email protected]> |
786 | ||
787 | * symfile.c (alloc_section_addr_info): Update header. Don't set | |
788 | 'num_sections' field. | |
789 | (build_section_addr_info_from_section_table): Set 'num_sections'. | |
790 | (build_section_addr_info_from_bfd): Likewise. | |
791 | (build_section_addr_info_from_objfile): Remove dead loop | |
792 | condition. | |
793 | (free_section_addr_info): Unconditionally call xfree. | |
794 | (relative_addr_info_to_section_offsets, addrs_section_sort) | |
795 | (addr_info_make_relative, syms_from_objfile_1): Remove dead loop | |
796 | condition. | |
797 | (syms_from_objfile_1): Remove dead 'if' condition. Check | |
798 | 'num_sections'. | |
799 | (add_symbol_file_command): Set 'num_sections'. | |
800 | * symfile-mem.c (symbol_file_add_from_memory): Set | |
801 | 'num_sections'. | |
802 | * somread.c (som_symfile_offsets): Remove dead loop condition. | |
803 | * machoread.c (macho_symfile_offsets): Remove dead 'if'. | |
804 | * jit.c (jit_bfd_try_read_symtab): Set 'num_sections'. | |
805 | ||
a72e5169 | 806 | 2013-03-21 Tom Tromey <[email protected]> |
92bc6a20 TT |
807 | |
808 | * tracepoint.h (decode_agent_options): Add 'trace_string' | |
809 | argument. | |
810 | * tracepoint.c (decode_agent_options): Add 'trace_string' | |
811 | argument. | |
812 | (validate_actionline): Update. | |
813 | (collect_symbol): Add 'trace_string' argument. | |
814 | (struct add_local_symbols_data) <trace_string>: New field. | |
815 | (do_collect_symbol): Update. | |
816 | (add_local_symbols): Add 'trace_string' argument. | |
817 | (encode_actions_1): Update. | |
818 | (trace_dump_actions): Update. | |
819 | * dwarf2loc.c (access_memory): Update. | |
820 | * ax.h (struct agent_expr) <tracing, trace_string>: New fields. | |
821 | * ax-general.c (new_agent_expr): Update. | |
822 | * ax-gdb.h (gen_trace_for_expr, gen_trace_for_var) | |
823 | (gen_trace_for_return_address): Add argument. | |
824 | (trace_kludge, trace_string_kludge): Remove. | |
825 | * ax-gdb.c (trace_kludge, trace_string_kludge): Remove. | |
826 | (gen_traced_pop, gen_fetch, gen_bitfield_ref, gen_expr): Update. | |
827 | (gen_trace_for_var): Add 'trace_string' argument. | |
828 | (gen_trace_for_expr, gen_trace_for_return_address): Likewise. | |
829 | (gen_printf, agent_eval_command_one): Update. | |
830 | ||
b2f83c08 TT |
831 | 2013-03-21 Tom Tromey <[email protected]> |
832 | ||
833 | PR exp/15109: | |
834 | * c-exp.y (yylex): Rewrite to push all tokens onto the FIFO. | |
835 | Handle FILENAME token. | |
836 | ||
9507860e TT |
837 | 2013-03-21 Tom Tromey <[email protected]> |
838 | ||
839 | * c-exp.y (YYPRINT): Define. | |
840 | (c_print_token): New function. | |
841 | ||
e403aa4b TT |
842 | 2013-03-21 Tom Tromey <[email protected]> |
843 | ||
844 | * c-exp.y (%union) <sym, ivar, ivec>: Remove. | |
845 | ||
af307d6a YQ |
846 | 2013-03-21 Yao Qi <[email protected]> |
847 | ||
848 | * ctf.c: Include "gdb_stat.h". | |
849 | [USE_WIN32API]: New macro 'mkdir'. | |
850 | (ctf_start): Use permission bits macros if they are defined. | |
851 | ||
fb81d016 KS |
852 | 2013-03-20 Keith Seitz <[email protected]> |
853 | ||
854 | * breakpoint.h (struct breakpoint): Add comment to | |
855 | extra_string indicating that this member is mallod'd. | |
856 | * breakpoint.c (base_breakpoint_dtor): Free extra_string. | |
857 | ||
ef0026f0 PA |
858 | 2013-03-20 Pedro Alves <[email protected]> |
859 | ||
860 | PR gdb/15289 | |
861 | ||
862 | * cli/cli-setshow.c (do_set_command) | |
863 | <var_uinteger, var_zuinteger>: Use LONGEST for variable holding | |
864 | the result of parsing the command argument. Throw error if the | |
865 | value is greater than UINT_MAX. Print the invalid value with | |
866 | plongest. | |
867 | <var_integer, var_zinteger>: Use LONGEST for variable holding the | |
868 | result of parsing the command argument. Throw error if the value | |
869 | is greater than INT_MAX, not greater or equal. Also throw error | |
870 | if the value is less than INT_MIN. Print the invalid value with | |
871 | plongest. | |
872 | <var_zuinteger_unlimited>: Throw error if the value is greater | |
873 | than INT_MAX, not greater or equal. | |
874 | (do_show_command) <var_integer, var_zinteger, | |
875 | var_zuinteger_unlimited>: Use %d for printing int, not %u. | |
876 | ||
24d6c2a0 TT |
877 | 2013-03-20 Tom Tromey <[email protected]> |
878 | ||
879 | * ax-gdb.c (gen_var_ref): Unconditionally call via computed ops, | |
880 | if possible. | |
881 | * dwarf2read.c (read_func_scope): Remove old FIXME. | |
882 | * eval.c (evaluate_subexp_standard): Check SYMBOL_COMPUTED_OPS, | |
883 | not LOC_COMPUTED. | |
884 | * findvar.c (symbol_read_needs_frame, default_read_var_value): | |
885 | Unconditionally call via computed ops, if possible. | |
886 | * printcmd.c (address_info): Unconditionally call via computed ops, | |
887 | if possible. | |
888 | * stack.c (read_frame_arg): Unconditionally call via computed ops, | |
889 | if possible. | |
890 | * symtab.c (register_symbol_computed_impl): Sanity check 'ops'. | |
891 | * tracepoint.c (scope_info): Unconditionally call via computed ops, | |
892 | if possible. | |
893 | ||
f1e6e072 TT |
894 | 2013-03-20 Jan Kratochvil <[email protected]> |
895 | Tom Tromey <[email protected]> | |
896 | ||
897 | PR symtab/8421: | |
898 | * coffread.c (coff_register_index): New global. | |
899 | (process_coff_symbol, coff_read_enum_type): Set | |
900 | SYMBOL_ACLASS_INDEX. | |
901 | (_initialize_coffread): Initialize new global. | |
902 | * dwarf2loc.c (locexpr_find_frame_base_location) | |
903 | (dwarf2_block_frame_base_locexpr_funcs) | |
904 | (loclist_find_frame_base_location) | |
905 | (dwarf2_block_frame_base_loclist_funcs): New. | |
906 | (dwarf_expr_frame_base_1): Call SYMBOL_BLOCK_OPS, remove internal_error. | |
907 | (dwarf2_locexpr_funcs, dwarf2_loclist_funcs): Add location_has_loclist. | |
908 | * dwarf2loc.h (dwarf2_block_frame_base_locexpr_funcs) | |
909 | (dwarf2_block_frame_base_loclist_funcs): New. | |
910 | * dwarf2read.c (dwarf2_locexpr_index, dwarf2_loclist_index) | |
911 | (dwarf2_locexpr_block_index, dwarf2_loclist_block_index): New | |
912 | globals. | |
913 | (read_func_scope): Update. | |
914 | (fixup_go_packaging, mark_common_block_symbol_computed) | |
915 | (var_decode_location, new_symbol_full, dwarf2_const_value): | |
916 | Set SYMBOL_ACLASS_INDEX. | |
917 | (dwarf2_symbol_mark_computed): Likewise. Add 'is_block' argument. | |
918 | (_initialize_dwarf2_read): Initialize new globals. | |
919 | * jit.c (finalize_symtab): Set SYMBOL_ACLASS_INDEX. | |
920 | * jv-lang.c (add_class_symbol): Set SYMBOL_ACLASS_INDEX. | |
921 | * mdebugread.c (mdebug_register_index, mdebug_regparm_index): New | |
922 | globals. | |
923 | (parse_symbol, psymtab_to_symtab_1): Set SYMBOL_ACLASS_INDEX. | |
924 | (_initialize_mdebugread): Initialize new globals. | |
925 | * psympriv.h (struct partial_symbol) <aclass>: Update comment. | |
926 | * stabsread.c (patch_block_stabs): Set SYMBOL_ACLASS_INDEX. | |
927 | (stab_register_index, stab_regparm_index): New globals. | |
928 | (define_symbol, read_enum_type, common_block_end): Set | |
929 | SYMBOL_ACLASS_INDEX. | |
930 | (_initialize_stabsread): Initialize new globals. | |
931 | * symtab.c (next_aclass_value, symbol_impl, symbol_impls): New | |
932 | globals. | |
933 | (MAX_SYMBOL_IMPLS): New define. | |
934 | (register_symbol_computed_impl, register_symbol_block_impl) | |
935 | (register_symbol_register_impl) | |
936 | (initialize_ordinary_address_classes): New functions. | |
937 | (_initialize_symtab): Call initialize_ordinary_address_classes. | |
938 | * symtab.h (enum address_class) <LOC_FINAL_VALUE>: New constant. | |
939 | (struct symbol_impl): New. | |
940 | (SYMBOL_ACLASS_BITS): New define. | |
941 | (struct symbol) <aclass, ops>: Remove fields. | |
942 | <aclass_index>: New field. | |
943 | (symbol_impls): Declare. | |
944 | (SYMBOL_CLASS, SYMBOL_COMPUTED_OPS, SYMBOL_REGISTER_OPS): Redefine. | |
945 | (SYMBOL_IMPL, SYMBOL_ACLASS_INDEX): New defines. | |
946 | (register_symbol_computed_impl, register_symbol_block_impl) | |
947 | (register_symbol_register_impl): Declare. | |
948 | (struct symbol_computed_ops): Add location_has_loclist. | |
949 | (struct symbol_block_ops): New. | |
950 | (SYMBOL_BLOCK_OPS): New. | |
951 | * xcoffread.c (process_xcoff_symbol): Set SYMBOL_ACLASS_INDEX. | |
952 | ||
dbccfd4c TT |
953 | 2013-03-20 Tom Tromey <[email protected]> |
954 | ||
955 | * psymtab.c (find_pc_sect_psymbol, fixup_psymbol_section) | |
956 | (print_partial_symbols, recursively_search_psymtabs): Use | |
957 | PSYMBOL_CLASS. | |
958 | ||
e3f1ad4f PM |
959 | 2013-03-20 Pierre Muller <[email protected]> |
960 | ||
961 | * contrib/ari/gdb_ari.sh (OP eol rule): Also check | |
962 | addtion, subtraction, multiplication and division binary operator. | |
963 | ||
460014f5 JK |
964 | 2013-03-20 Jan Kratochvil <[email protected]> |
965 | ||
966 | Code cleanup. | |
967 | * bfd-target.c (target_bfd_xclose): Remove parameter quitting. | |
968 | * bsd-kvm.c (bsd_kvm_close): Likewise. | |
969 | * bsd-uthread.c (bsd_uthread_close): Likewise. | |
970 | * corelow.c (core_close): Likewise. | |
971 | (core_close_cleanup): Remove parameter quitting from a caller. | |
972 | * event-top.c (async_disconnect): Likewise. | |
973 | * exec.c (exec_close_1): Remove parameter quitting. | |
974 | * go32-nat.c (go32_close): Likewise. | |
975 | * linux-nat.c (linux_nat_close): Remove parameter quitting. Remove | |
976 | parameter quitting from a caller. | |
977 | * mips-linux-nat.c (super_close): Remove parameter quitting from the | |
978 | variable. | |
979 | (mips_linux_close): Remove parameter quitting. Remove parameter | |
980 | quitting from a caller. | |
981 | * monitor.c (monitor_close): Remove parameter quitting. | |
982 | * monitor.h (monitor_close): Likewise. | |
983 | * record-btrace.c (record_btrace_close): Likewise. | |
984 | * record-full.c (record_full_close): Likewise. | |
985 | * remote-m32r-sdi.c (m32r_close): Remove parameter quitting and remove | |
986 | it also from fprintf_unfiltered. | |
987 | * remote-mips.c (mips_close): Remove parameter quitting. | |
988 | (mips_detach): Remove parameter quitting from a caller. | |
989 | * remote-sim.c (gdbsim_close): Remove parameter quitting. | |
990 | (gdbsim_close): Remove duplicate function comment. Remove parameter | |
991 | quitting and remove it also from printf_filtered. | |
992 | * remote.c (remote_close): Remove parameter quitting. | |
993 | * solib-svr4.c (enable_break): Remove parameter quitting from a caller. | |
994 | * target.c (update_current_target): Remove parameter int from to_close | |
995 | de_fault. | |
996 | (push_target, unpush_target, pop_target): Remove parameter quitting from | |
997 | a caller. | |
998 | (pop_all_targets_above, pop_all_targets): Remove parameter quitting. | |
999 | Remove parameter quitting from a caller. | |
1000 | (target_preopen): Remove parameter quitting from a caller. | |
1001 | (target_close): Remove parameter quitting. Remove parameter quitting | |
1002 | from a caller two times. Remove parameter quitting also from | |
1003 | fprintf_unfiltered. | |
1004 | * target.h (struct target_ops): Remove parameter quitting and as int | |
1005 | from fields to_xclose and to_close. | |
1006 | (extern struct target_ops current_target): | |
1007 | (target_close, pop_all_targets): Remove parameter quitting. Update the | |
1008 | comment. | |
1009 | (pop_all_targets_above): Remove parameter quitting. | |
1010 | * top.c (quit_target): Remove parameter quitting from a caller. | |
1011 | * tracepoint.c (tfile_close): Remove parameter quitting. | |
1012 | * windows-nat.c (windows_close): Remove parameter quitting. | |
1013 | ||
35a7120b CV |
1014 | 2013-03-20 Corinna Vinschen <[email protected]> |
1015 | ||
1016 | * windows-nat.c (handle_output_debug_string): Replace call | |
1017 | to string_to_core_addr with call to strtoull. | |
1018 | ||
8249a5a9 YQ |
1019 | 2013-03-20 Yao Qi <[email protected]> |
1020 | ||
1021 | * ctf.c (ctf_save_metadata_header): Define macro HOST_ENDIANNESS | |
1022 | and write it to CTF metadata. | |
1023 | ||
2c15ef43 CV |
1024 | 2013-03-19 Corinna Vinschen <[email protected]> |
1025 | ||
1026 | * windows-nat.c (handle_output_debug_string): Change type of n to | |
1027 | SIZE_T to avoid crash on 64 bit systems. | |
1028 | ||
1cdd3232 EZ |
1029 | 2013-03-17 Eli Zaretskii <[email protected]> |
1030 | ||
1031 | * python/python-internal.h (HAVE_SNPRINTF) | |
1032 | [_WIN32 && HAVE_DECL_SNPRINTF]: Define, to avoid compiler warnings | |
1033 | about redefinition of snprintf by pyerrors.h. | |
1034 | ||
3cb2ab1a SE |
1035 | 2013-03-15 Steve Ellcey <[email protected]> |
1036 | ||
1037 | * remote-sim.c (sim_command_completer): Make char arguments const. | |
1038 | ||
9ce98649 TT |
1039 | 2013-03-15 Tom Tromey <[email protected]> |
1040 | ||
1041 | PR c++/15116: | |
1042 | * gdbtypes.c (types_equal): Handle TYPE_CODE_FUNC. | |
1043 | ||
dccee2de TT |
1044 | 2013-03-14 Tom Tromey <[email protected]> |
1045 | ||
1046 | * gdb_bfd.c (struct gdb_bfd_data) <crc_computed, crc>: | |
1047 | New fields. | |
1048 | (get_file_crc): Move from symfile.c. | |
1049 | (gdb_bfd_crc): New function. | |
1050 | * gdb_bfd.h (gdb_bfd_crc): Declare. | |
1051 | * objfiles.h (struct objfile) <crc32, crc32_p>: Remove. | |
1052 | * symfile.c (get_file_crc): Move to gdb_bfd.c. | |
1053 | (separate_debug_file_exists): Use gdb_bfd_crc. | |
1054 | ||
cc0ea93c TT |
1055 | 2013-03-14 Tom Tromey <[email protected]> |
1056 | ||
1057 | * symfile.c (get_debug_link_info): Remove. | |
1058 | (find_separate_debug_file_by_debuglink): Use | |
1059 | bfd_get_debug_link_info. | |
1060 | ||
08c23b0d TT |
1061 | 2013-03-14 Tom Tromey <[email protected]> |
1062 | ||
1063 | * symtab.c (error_in_psymtab_expansion): New function. | |
1064 | (lookup_symbol_aux_quick) | |
1065 | (basic_lookup_transparent_type_quick): Remove "last resort" | |
1066 | code. Use error_in_psymtab_expansion. | |
1067 | ||
288e77a7 JK |
1068 | 2013-03-14 Doug Evans <[email protected]> |
1069 | Jan Kratochvil <[email protected]> | |
1070 | ||
1071 | * dwarf2read.c (dw2_map_symtabs_matching_filename): Put continue after | |
1072 | any successful compare_filenames_for_search or FILENAME_CMP. | |
1073 | * psymtab.c (partial_map_symtabs_matching_filename): Likewise. | |
1074 | * symtab.c (iterate_over_some_symtabs): Likewise. | |
1075 | ||
8f1b8b82 JK |
1076 | 2013-03-14 Jan Kratochvil <[email protected]> |
1077 | ||
1078 | * source.c (print_source_lines_base): Make a local copy of | |
1079 | symtab_to_fullname. | |
1080 | ||
23eb71e4 JK |
1081 | 2013-03-14 Hui Zhu <[email protected]> |
1082 | Jan Kratochvil <[email protected]> | |
1083 | ||
1084 | * source.c (print_source_lines_base): Suppress "file" for TUI. | |
1085 | ||
bb869963 SDJ |
1086 | 2013-03-14 Keith Seitz <[email protected]> |
1087 | Alan Matsuoka <[email protected]> | |
1088 | ||
1089 | PR c++/15203 | |
1090 | PR c++/15210 | |
1091 | * cp-namespace.c (cp_lookup_nested_symbol): Handle TYPE_CODE_FUNC and | |
1092 | TYPE_CODE_METHOD. | |
1093 | * elfread.c (elf_symtab_read): Handle BSF_GNU_UNIQUE for certain | |
1094 | symbols. | |
1095 | ||
d6682f9e YQ |
1096 | 2013-03-14 Yao Qi <[email protected]> |
1097 | ||
1098 | * tracepoint.c (tfile_write_status): Write 'stop_desc' of trace | |
1099 | status to tfile if trace is stopped by command 'tstop'. | |
1100 | ||
a22fa6e4 YQ |
1101 | 2013-03-14 Yao Qi <[email protected]> |
1102 | ||
1103 | * tracepoint.c (tfile_write_status): Write trace notes and user | |
1104 | name into tfile if they are not NULL. | |
1105 | ||
d0353e76 YQ |
1106 | 2013-03-14 Hui Zhu <[email protected]> |
1107 | Yao Qi <[email protected]> | |
1108 | ||
1109 | * Makefile.in (REMOTE_OBS): Add ctf.o. | |
1110 | (SFILES): Add ctf.c. | |
1111 | (HFILES_NO_SRCDIR): Add ctf.h. | |
1112 | * ctf.c, ctf.h: New files. | |
1113 | * tracepoint.c: Include 'ctf.h'. | |
1114 | (collect_pseudocommand): Remove static. | |
1115 | (trace_save_command): Parse option "-ctf". | |
1116 | Produce different trace file writers per option. | |
1117 | Adjust output message. | |
1118 | (trace_save_tfile, trace_save_ctf): New. | |
1119 | * tracepoint.h (trace_save_tfile, trace_save_ctf): Declare. | |
1120 | * mi/mi-main.c: Include 'ctf.h'. | |
1121 | (mi_cmd_trace_save): Handle option '-ctf'. Call either | |
1122 | trace_save_tfile or trace_save_ctf. | |
1123 | * NEWS: Mention these changes. | |
1124 | ||
3f43bc09 YQ |
1125 | 2013-03-14 Yao Qi <[email protected]> |
1126 | ||
1127 | * tracepoint.c (trace_file_writer_xfree): New. | |
1128 | (struct tfile_writer_data): New. | |
1129 | (tfile_dtor, tfile_can_target_save, tfile_start): New. | |
1130 | (tfile_write_header, tfile_write_regblock_type): New. | |
1131 | (tfile_write_status, tfile_write_uploaded_tsv): New. | |
1132 | (tfile_write_uploaded_tp, tfile_write_definition_end): New. | |
1133 | (tfile_write_raw_data, (tfile_end): New. | |
1134 | (tfile_write_ops): New global variable. | |
1135 | (TRACE_WRITE_R_BLOCK): New macro. | |
1136 | (TRACE_WRITE_M_BLOCK_HEADER): New macro. | |
1137 | (TRACE_WRITE_M_BLOCK_MEMORY): New macro. | |
1138 | (TRACE_WRITE_V_BLOCK): New macro. | |
1139 | (trace_save): Add extra one parameter WRITER. Make it static. | |
1140 | Use WRITER to writer trace. | |
1141 | (tfile_trace_file_writer_new): New. | |
1142 | (trace_save_command): Caller update. | |
1143 | (trace_save_tfile): Write trace data in TFILE format. | |
1144 | * tracepoint.h (struct trace_frame_write_ops): New. | |
1145 | (struct trace_file_write_ops): New. | |
1146 | (struct trace_file_writer): New. | |
1147 | (trace_save): Remove its declaration. | |
1148 | (trace_save_tfile): Declare it. | |
1149 | * mi/mi-main.c (mi_cmd_trace_save): Call trace_save_tfile | |
1150 | instead of trace_save. | |
1151 | ||
58665b40 PA |
1152 | 2013-03-13 Pedro Alves <[email protected]> |
1153 | ||
1154 | * hppa-hpux-nat.c (hppa_hpux_save_state_offset): Make static. | |
1155 | ||
10217050 PA |
1156 | 2013-03-13 Pedro Alves <[email protected]> |
1157 | ||
1158 | * dbxread.c (read_ofile_symtab, process_one_symbol): Remove | |
1159 | commented out code. | |
1160 | * demangle.c (current_demangling_style_string): Make it const. | |
1161 | (set_demangling_command): Assert the demangling style is known. | |
1162 | Remove all handling of unknown styles. Set | |
1163 | 'current_demangling_style_string' to an element of the | |
1164 | demangling_style_names array. | |
1165 | (set_demangling_style): Delete. | |
1166 | (_initialize_demangler): Set current_demangling_style_string to the | |
1167 | element of the demangling_style_names array that corresponds to | |
1168 | the default demangling style. Remove FIXME note. Don't call | |
1169 | set_demangling_style. | |
1170 | * gdb-demangle.h (set_demangling_style): Remove declaration. | |
1171 | ||
6f937416 PA |
1172 | 2013-03-13 Pedro Alves <[email protected]> |
1173 | ||
1174 | * ada-lang.c (struct add_partial_datum) <text, text0, word>: Make | |
1175 | fields const. | |
1176 | (ada_make_symbol_completion_list): Make "text0" parameter const. | |
1177 | * ax-gdb.c (agent_eval_command_one): Make "exp" parameter const. | |
1178 | * breakpoint.c (condition_completer): Make "text" and "word" | |
1179 | parameters const. Adjust. | |
1180 | (check_tracepoint_command): Adjust to validate_actionline | |
1181 | prototype change. | |
1182 | (catch_syscall_completer): Make "text" and "word" parameters | |
1183 | const. | |
1184 | * cli/cli-cmds.c (show_user): Make "comname" local const. | |
1185 | (valid_command_p): Make "command" parameter const. | |
1186 | (alias_command): Make "alias_prefix" and "command_prefix" locals | |
1187 | const. | |
1188 | * cli/cli-decode.c (add_cmd): Make "name" parameter const. | |
1189 | (add_alias_cmd): Make "name" and "oldname" parameters const. | |
1190 | Adjust. No longer make copy of OLDNAME. | |
1191 | (add_prefix_cmd, add_abbrev_prefix_cmd, add_set_or_show_cmd) | |
1192 | (add_setshow_cmd_full, add_setshow_enum_cmd) | |
1193 | (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd) | |
1194 | (add_setshow_filename_cmd, add_setshow_string_cmd) | |
1195 | (add_setshow_string_noescape_cmd) | |
1196 | (add_setshow_optional_filename_cmd, add_setshow_integer_cmd) | |
1197 | (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd) | |
1198 | (add_setshow_zuinteger_unlimited_cmd, add_setshow_zuinteger_cmd) | |
1199 | (delete_cmd, add_info, add_info_alias, add_com, add_com_alias): | |
1200 | Make "name" parameter const. | |
1201 | (help_cmd): Rename "command" parameter to "arg". New const local | |
1202 | "command". | |
1203 | (find_cmd): Make "command" parameter const. | |
1204 | (lookup_cmd_1): Make "text" parameter pointer to const. Adjust to | |
1205 | deprecated_cmd_warning prototype change. | |
1206 | (undef_cmd_error): Make "cmdtype" parameter const. | |
1207 | (lookup_cmd): Make "line" parameter const. | |
1208 | (deprecated_cmd_warning): Change type of "text" parameter to | |
1209 | pointer to const char, from pointer to pointer to char. Adjust. | |
1210 | (lookup_cmd_composition): Make "text" parameter const. | |
1211 | (complete_on_cmdlist, complete_on_enum): Make "text" and "word" | |
1212 | parameters const. | |
1213 | * cli/cli-decode.h (struct cmd_list_element) <name>: Make field | |
1214 | const. | |
1215 | * cli/cli-script.c (validate_comname): Make "tem" local const. | |
1216 | (define_command): New const local "tem_c". Use it in calls to | |
1217 | lookup_cmd. | |
1218 | (document_command): Make "tem" and "comfull" locals const. | |
1219 | (show_user_1): Make "prefix" and "name" parameters const. | |
1220 | * cli-script.h (show_user_1): Make "prefix" and "name" parameters | |
1221 | const. | |
1222 | * command.h (add_cmd, add_alias_cmd, add_prefix_cmd) | |
1223 | (add_abbrev_prefix_cmd, completer_ftype, lookup_cmd, lookup_cmd_1) | |
1224 | (deprecated_cmd_warning, lookup_cmd_composition, add_com) | |
1225 | (add_com_alias, add_info, add_info_alias, complete_on_cmdlist) | |
1226 | (complete_on_enum, add_setshow_enum_cmd) | |
1227 | (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd) | |
1228 | (add_setshow_filename_cmd, add_setshow_string_cmd) | |
1229 | (add_setshow_string_noescape_cmd) | |
1230 | (add_setshow_optional_filename_cmd, add_setshow_integer_cmd) | |
1231 | (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd) | |
1232 | (add_setshow_zuinteger_cmd, add_setshow_zuinteger_unlimited_cmd): | |
1233 | Change prototypes, constifying strings. | |
1234 | * completer.c (noop_completer, filename_completer): Make "text" | |
1235 | and "prefix" parameters const. | |
1236 | (location_completer, expression_completer) | |
1237 | (complete_line_internal): Make "text" and "prefix" parameters | |
1238 | const and adjust. | |
1239 | (command_completer, signal_completer): Make "text" and "prefix" | |
1240 | parameters const. | |
1241 | * completer.h (noop_completer, filename_completer) | |
1242 | (expression_completer, location_completer, command_completer) | |
1243 | (signal_completer): Change prototypes. | |
1244 | * corefile.c (complete_set_gnutarget): Make "text" and "word" | |
1245 | parameters const. | |
1246 | * cp-abi.c (cp_abi_completer): Likewise. | |
1247 | * expression.h (parse_expression_for_completion): Change | |
1248 | prototype. | |
1249 | * f-lang.c (f_make_symbol_completion_list): Make "text" and "word" | |
1250 | parameters const. | |
1251 | * infcmd.c (_initialize_infcmd): Make "cmd_name" local const. | |
1252 | * infrun.c (handle_completer): Make "text" and "word" parameters | |
1253 | const. | |
1254 | * interps.c (interpreter_completer): Make "text" and "word" | |
1255 | parameters const. | |
1256 | * language.h (struct language_defn) | |
1257 | <la_make_symbol_completion_list>: Make "text" and "word" | |
1258 | parameters const. | |
1259 | * parse.c (parse_exp_1): Move const hack to parse_exp_in_context. | |
1260 | (parse_exp_in_context): Rename to ... | |
1261 | (parse_exp_in_context_1): ... this. | |
1262 | (parse_exp_in_context): Reimplement, with const hack from | |
1263 | parse_exp_1. | |
1264 | (parse_expression_for_completion): Make "string" parameter const. | |
1265 | * printcmd.c (decode_format): Make "string_ptr" parameter pointer | |
1266 | to pointer to const char. Adjust. | |
1267 | (print_command_1): Make "exp" parameter const. | |
1268 | (output_command): Rename to ... | |
1269 | (output_command_const): ... this. Make "exp" parameter const. | |
1270 | (output_command): Reimplement. | |
1271 | (x_command): Adjust. | |
1272 | (display_command): Rename "exp" parameter to "arg". New "exp" | |
1273 | local, const version of "arg". | |
1274 | * python/py-auto-load.c (gdbpy_initialize_auto_load): Make | |
1275 | "cmd_name" local const. | |
1276 | * python/py-cmd.c (cmdpy_destroyer): Cast const away in xfree | |
1277 | call. | |
1278 | (cmdpy_completer): Make "text" and "word" parameters const. | |
1279 | (gdbpy_parse_command_name): Make "prefix_text2" local const. | |
1280 | * python/py-param.c (add_setshow_generic): Make "tmp_name" local | |
1281 | const. | |
1282 | * remote.c (_initialize_remote): Make "cmd_name" local const. | |
1283 | * symtab.c (language_search_unquoted_string): Make "text" and "p" | |
1284 | parameters const. Adjust. | |
1285 | (completion_list_add_fields): Make "sym_text", "text" and "word" | |
1286 | parameters const. | |
1287 | (struct add_name_data) <sym_text, text, word>: Make fields const. | |
1288 | (default_make_symbol_completion_list_break_on): Make "text" and | |
1289 | "word" parameters const. Adjust locals. | |
1290 | (default_make_symbol_completion_list) | |
1291 | (make_symbol_completion_list, make_symbol_completion_type) | |
1292 | (make_symbol_completion_list_fn): Make "text" and "word" | |
1293 | parameters const. | |
1294 | (make_file_symbol_completion_list): Make "text", "word" and | |
1295 | "srcfile" parameters const. Adjust locals. | |
1296 | (add_filename_to_list): Make "text" and "word" parameters const. | |
1297 | (struct add_partial_filename_data) <text, word>: Make fields | |
1298 | const. | |
1299 | (make_source_files_completion_list): Make "text" and "word" | |
1300 | parameters const. | |
1301 | * symtab.h (default_make_symbol_completion_list_break_on) | |
1302 | (default_make_symbol_completion_list, make_symbol_completion_list) | |
1303 | (make_symbol_completion_type enum type_code) | |
1304 | (make_symbol_completion_list_fn make_file_symbol_completion_list) | |
1305 | (make_source_files_completion_list): Change prototype. | |
1306 | * top.c (execute_command): Adjust to pass pointer to pointer to | |
1307 | const char to lookup_cmd, and to deprecated_cmd_warning prototype | |
1308 | change. | |
1309 | (set_verbose): Make "cmdname" local const. | |
1310 | * tracepoint.c (decode_agent_options): Make "exp" parameter const, | |
1311 | and adjust. | |
1312 | (validate_actionline): Make "line" parameter a pointer to const | |
1313 | char, and adjust. | |
1314 | (encode_actions_1): Make "action_exp" local const, and adjust. | |
1315 | (encode_actions): Adjust. | |
1316 | (replace_comma): Delete. | |
1317 | (trace_dump_actions): Make "action_exp" and "next_comma" locals | |
1318 | const, and adjust. Don't frob the action string while splitting | |
1319 | it at commas. Instead, make a copy of each split substring in | |
1320 | turn. | |
1321 | (trace_dump_command): Adjust to validate_actionline prototype | |
1322 | change. | |
1323 | * tracepoint.h (decode_agent_options, decode_agent_options) | |
1324 | (encode_actions, validate_actionline): Change prototypes. | |
1325 | * valprint.h (output_command): Delete declaration. | |
1326 | (output_command_const): Declare. | |
1327 | * value.c (function_destroyer): Cast const away in xfree call. | |
1328 | ||
a0bcdaa7 PA |
1329 | 2013-03-13 Pedro Alves <[email protected]> |
1330 | ||
1331 | * ada-lang.c (ada_decode_symbol): Cast away constness of GSYMBOL | |
1332 | rather than casting 'const char * const *' to 'const char **'. | |
1333 | * ada-lex.l (processInt): Make "trailer" local const. Remove | |
1334 | 'const char **' cast. | |
1335 | * arm-linux-tdep.c (arm_stap_parse_special_token): Add 'char *' | |
1336 | locals, and use those as strtol output pointer, instead than doing | |
1337 | invalid casts to from 'const char **' to 'char **'. | |
1338 | (_initialize_demangle): Remove cast. | |
1339 | * i386-tdep.c (i386_stap_parse_special_token): : Add 'char *' | |
1340 | locals, and use those as strtol output pointer, instead than doing | |
1341 | invalid casts to from 'const char **' to 'char **'. | |
1342 | * solib-dsbt.c (dsbt_get_initial_loadmaps): Remove 'gdb_byte**' | |
1343 | casts. | |
1344 | * stap-probe.c (stap_parse_register_operand) | |
1345 | (stap_parse_single_operand): Likewise. | |
1346 | ||
8ddb1965 YQ |
1347 | 2013-03-13 Yao Qi <[email protected]> |
1348 | ||
1349 | * tracepoint.c (tfile_get_trace_state_variable_value): Look for | |
1350 | the last matched 'V' blcok in trace frame. | |
1351 | ||
2d450646 JB |
1352 | 2013-03-12 Joel Brobecker <[email protected]> |
1353 | ||
1354 | * NEWS: Create a new section for the next release branch. | |
1355 | Rename the section of the current branch, now that it has | |
1356 | been cut. | |
1357 | ||
b4b79973 | 1358 | 2013-03-12 Joel Brobecker <[email protected]> |
1359 | ||
1360 | GDB 7.6 branch created (branch timestamp: 2013-03-12 22:15 UTC) | |
1361 | * version.in: Bump version to 7.6.50.20130312-cvs. | |
1362 | ||
ee047554 KS |
1363 | 2013-03-12 Keith Seitz <[email protected]> |
1364 | ||
1365 | * mi/mi-cmds.h (mi_execute_command): Make "cmd" const. | |
1366 | * mi/mi-interp.c (mi_interpreter_exec): Make "command" const. | |
1367 | Remove temporary copy of input string. | |
1368 | (mi_execute_command_wrapper): Make "cmd" const. | |
1369 | * mi/mi-main.c (mi_execute_command): Make "string_ptr" const. | |
1370 | * mi/mi-parse.c (mi_parse_argv): Make "args" const. | |
1371 | Use const strings. | |
1372 | (mi_parse): Make "cmd" const. | |
1373 | Use const strings. | |
1374 | * mi/mi-parse.h (mi_parse): Make "cmd" const. | |
1375 | ||
bbc13ae3 KS |
1376 | 2013-03-12 Keith Seitz <[email protected]> |
1377 | ||
1378 | * ada-lang.c (ada_read_renaming_var_value): Pass const | |
1379 | pointer to expression string to parse_exp_1. | |
1380 | (create_excep_cond_exprs): Likewise. | |
1381 | * ax-gdb.c (agent_eval_command_one): Likewise. | |
1382 | (maint_agent_printf_command): Likewise. | |
1383 | Constify much of the string handling/parsing. | |
1384 | * breakpoint.c (set_breakpoint_condition): Pass const | |
1385 | pointer to expression string to parse_exp_1. | |
1386 | (update_watchpoint): Likewise. | |
1387 | (parse_cmd_to_aexpr): Constify string handling. | |
1388 | Pass const pointer to parse_exp_1. | |
1389 | (init_breakpoint_sal): Pass const pointer to parse_exp_1. | |
1390 | (find_condition_and_thread): Likewise. | |
1391 | Make TOK const. | |
1392 | (watch_command_1): Make "arg" const. | |
1393 | Constify string handling. | |
1394 | Copy the expression string instead of changing the input | |
1395 | string. | |
1396 | (update_breakpoint_location): Pass const pointer to | |
1397 | parse_exp_1. | |
1398 | * eval.c (parse_and_eval_address): Make "exp" const. | |
1399 | (parse_to_comma_and_eval): Make "expp" const. | |
1400 | (parse_and_eval): Make "exp" const. | |
1401 | * expression.h (parse_expression): Make argument const. | |
1402 | (parse_exp_1): Make first argument const. | |
1403 | * findcmd.c (parse_find_args): Treat "args" as const. | |
1404 | * linespec.c (parse_linespec): Pass const pointer to | |
1405 | linespec_expression_to_pc. | |
1406 | (linespec_expression_to_pc): Make "exp_ptr" const. | |
1407 | * parse.c (parse_exp_1): Make "stringptr" const. | |
1408 | Make a copy of the expression to pass to parse_exp_in_context until | |
1409 | this whole interface can be constified. | |
1410 | (parse_expression): Make "string" const. | |
1411 | * printcmd.c (ui_printf): Treat "arg" as const. | |
1412 | Handle const strings. | |
1413 | * tracepoint.c (validate_actionline): Pass const pointer to | |
1414 | all calls to parse_exp_1. | |
1415 | (encode_actions_1): Likewise. | |
1416 | * value.h (parse_to_comma_and_eval): Make argument const. | |
1417 | (parse_and_eval_address): Likewise. | |
1418 | (parse_and_eval): Likewise. | |
1419 | * varobj.c (varobj_create): Pass const pointer to parse_exp_1. | |
1420 | (varobj_set_value): Likewise. | |
1421 | * cli/cli-cmds.c (disassemble_command): Treat "arg" as const and | |
1422 | constify string handling. | |
1423 | Pass const pointers to parse_and_eval_address and | |
1424 | parse_to_comman_and_eval. | |
1425 | * cli/cli-utils.c (skip_to_space): Rename to ... | |
1426 | (skip_to_space_const): ... this. Handle const strings. | |
1427 | * cli/cli-utils.h (skip_to_space): Turn into macro which invokes | |
1428 | skip_to_space_const. | |
1429 | (skip_to_space_const): Declare. | |
1430 | * common/format.c (parse_format_string): Make "arg" const. | |
1431 | Handle const strings. | |
1432 | * common/format.h (parse_format_string): Make "arg" const. | |
1433 | * gdbserver/ax.c (ax_printf): Make "format" const. | |
1434 | * python/python.c (gdbpy_parse_and_eval): Do not make a copy | |
1435 | of the expression string. | |
1436 | ||
f3cec7e6 HZ |
1437 | 2013-03-12 Hui Zhu <[email protected]> |
1438 | ||
1439 | * dwarf2loc.c (dwarf2_compile_expr_to_ax): Update error message. | |
1440 | ||
9df7235c HZ |
1441 | 2013-03-12 Yao Qi <[email protected]> |
1442 | Hui Zhu <[email protected]> | |
1443 | ||
1444 | * dwarf2loc.c (access_memory): Change nbits to nbytes in gdb_assert. | |
1445 | (dwarf2_compile_expr_to_ax): Call access_memory in DW_OP_deref and | |
1446 | DW_OP_deref_size. | |
1447 | ||
82d049ab PH |
1448 | 2013-03-12 Paul Hilfinger <[email protected]> |
1449 | ||
1450 | * ada-lex.l (rules): Only recognize 'thread' as a | |
1451 | delimiter when followed by numerals, as for c-exp.y. | |
1452 | Use new rewind_to_char function to rewind the input for | |
1453 | expression-delimiting tokens. | |
1454 | (rewind_to_char): New function. | |
1455 | ||
8c1fb155 JK |
1456 | 2013-03-11 Pedro Alves <[email protected]> |
1457 | Jan Kratochvil <[email protected]> | |
1458 | ||
1459 | * configure: Regenerate. | |
1460 | * configure.ac (check dynamic export flag): Link python test with | |
1461 | $PYTHON_LIBS. | |
1462 | ||
cc81e1c6 DE |
1463 | 2013-03-11 Doug Evans <[email protected]> |
1464 | Keith Seitz <[email protected]> | |
1465 | ||
1466 | * linespec.c (find_linespec_symbols): Call find_function_symbols | |
1467 | first, and then call lookup_prefix_sym/find_method. | |
1468 | ||
39086a0e PA |
1469 | 2013-03-11 Pedro Alves <[email protected]> |
1470 | ||
1471 | * charset.c (convert_between_encodings): Don't cast between | |
1472 | different pointer to pointer types. Instead, make the 'inp' local | |
1473 | be of the type iconv expects. | |
1474 | (wchar_iterate): Don't cast between different pointer to pointer | |
1475 | types. Instead, use new pointer local of the type iconv expects. | |
1476 | * target.c (target_read_stralloc, target_fileio_read_stralloc): | |
1477 | Add new local of type char pointer, and use it to get a | |
1478 | char/string view of the byte buffer, instead of casting between | |
1479 | pointer to pointer types. | |
1480 | ||
90585175 HAQ |
1481 | 2013-03-11 Hafiz Abid Qadeer <[email protected]> |
1482 | ||
1483 | * remote.c (remote_set_trace_buffer_size): Move != operator | |
1484 | to the start of next line to fix an ARI warning. | |
1485 | ||
59ea5688 MM |
1486 | 2013-03-11 Markus Metzger <[email protected]> |
1487 | ||
1488 | * NEWS: Add record changes. | |
1489 | ||
946287b7 MM |
1490 | 2013-03-11 Markus Metzger <[email protected]> |
1491 | ||
1492 | * record-btrace.c (btrace_insn_history): Omit the pc prefix in | |
1493 | the instruction history disassembly. | |
1494 | * disasm.c (dump_insns): Omit the pc prefix, if requested. | |
1495 | * disasm.h (DISASSEMBLY_OMIT_PC): New. | |
1496 | ||
afedecd3 MM |
1497 | 2013-03-11 Markus Metzger <[email protected]> |
1498 | ||
1499 | * Makefile.in (SFILES): Add record-btrace.c | |
1500 | (COMMON_OBS): Add record-btrace.o | |
1501 | * record-btrace.c: New. | |
1502 | * objfiles.c: Include btrace.h. | |
1503 | (free_objfile): call btrace_free_objfile. | |
1504 | ||
15984c13 MM |
1505 | 2013-03-11 Markus Metzger <[email protected]> |
1506 | ||
1507 | * target.c (target_call_history, target_call_history_from, | |
1508 | target_call_history_range): New. | |
1509 | * target.h (target_ops) <to_call_history, to_call_history_from, | |
1510 | to_call_history_range>: New fields. | |
1511 | (target_call_history, target_call_history_from, | |
1512 | target_call_history_range): New declaration. | |
1513 | * record.c (get_call_history_modifiers, cmd_record_call_history, | |
1514 | record_call_history_size): New. | |
1515 | (_initialize_record): Add the "record function-call-history" command. | |
1516 | Add "set/show record function-call-history-size" commands. | |
1517 | * record.h (record_print_flag): New. | |
1518 | ||
67c86d06 MM |
1519 | 2013-03-11 Markus Metzger <[email protected]> |
1520 | ||
1521 | * target.h (target_ops) <to_insn_history, to_insn_history_from, | |
1522 | to_insn_history_range>: New fields. | |
1523 | (target_insn_history): New. | |
1524 | (target_insn_history_from): New. | |
1525 | (target_insn_history_range): New. | |
1526 | * target.c (target_insn_history): New. | |
1527 | (target_insn_history_from): New. | |
1528 | (target_insn_history_range): New. | |
1529 | * record.c: Include cli/cli-utils.h, disasm.h, ctype.h. | |
1530 | (record_insn_history_size): New. | |
1531 | (get_insn_number): New. | |
1532 | (get_context_size): New. | |
1533 | (no_chunk): New. | |
1534 | (get_insn_history_modifiers): New. | |
1535 | (cmd_record_insn_history): New. | |
1536 | (_initialize_record): Add "set/show record instruction-history-size" | |
1537 | command. Add "record instruction-history" command. | |
1538 | ||
7c1687a9 MM |
1539 | 2013-03-11 Markus Metzger <[email protected]> |
1540 | ||
1541 | * record.h (record_disconnect): New. | |
1542 | (record_detach): New. | |
1543 | (record_mourn_inferior): New. | |
1544 | (record_kill): New. | |
1545 | * record-full.c (record_disconnect, record_detach, | |
1546 | record_mourn_inferior, record_kill): Move to... | |
1547 | * record.c: ...here. | |
1548 | (DEBUG): New. | |
1549 | (record_stop): New. | |
1550 | (record_unpush): New. | |
1551 | (cmd_record_stop): Call record_stop. Replace unpush_target | |
1552 | call with record_unpush call. | |
1553 | (record_disconnect, record_detach): Assert that the target | |
1554 | is of record stratum. Call record_unpush, record_stop, and | |
1555 | DEBUG. | |
1556 | (record_mourn_inferior, record_kill): Assert that the target | |
1557 | is of record stratum. Call record_unpush and DEBUG. | |
1558 | ||
25ea693b MM |
1559 | 2013-03-11 Markus Metzger <[email protected]> |
1560 | ||
1561 | * record-full.h, record-full.c (record_memory_query): Rename | |
1562 | to ... | |
1563 | (record_full_memory_query): ...this. Update all users. | |
1564 | (record_arch_list_add_reg): Rename to ... | |
1565 | (record_full_arch_list_add_reg): ...this. Update all users. | |
1566 | (record_arch_list_add_mem): Rename to ... | |
1567 | (record_full_arch_list_add_mem): ...this. Update all users. | |
1568 | (record_arch_list_add_end): Rename to ... | |
1569 | (record_full_arch_list_add_end): ...this. Update all users. | |
1570 | (record_gdb_operation_disable_set): Rename to ... | |
1571 | (record_full_gdb_operation_disable_set): ...this. | |
1572 | Update all users. | |
1573 | ||
88d1aa9d MM |
1574 | 2013-03-11 Markus Metzger <[email protected]> |
1575 | ||
1576 | * record-full.c (DEFAULT_RECORD_INSN_MAX_NUM): Renamed to ... | |
1577 | (DEFAULT_RECORD_FULL_INSN_MAX_NUM): ... this. Updated all users. | |
1578 | (RECORD_IS_REPLAY): Renamed to ... | |
1579 | (RECORD_FULL_IS_REPLAY): ... this. Updated all users. | |
1580 | (RECORD_FILE_MAGIC): Renamed to ... | |
1581 | (RECORD_FULL_FILE_MAGIC): ... this. Updated all users. | |
1582 | (record_mem_entry): Renamed to ... | |
1583 | (record_full_mem_entry): ... this. Updated all users. | |
1584 | (record_reg_entry): Renamed to ... | |
1585 | (record_full_reg_entry): ... this. Updated all users. | |
1586 | (record_end_entry): Renamed to ... | |
1587 | (record_full_end_entry): ... this. Updated all users. | |
1588 | (record_type) <record_end, record_reg, record_mem>: Renamed | |
1589 | to ... | |
1590 | (record_full_type) <record_full_end, record_full_reg, | |
1591 | record_full_mem>: ... this. Updated all users. | |
1592 | (record_entry): Renamed to ... | |
1593 | (record_full_entry): ... this. Updated all users. | |
1594 | (record_core_buf_entry): Renamed to ... | |
1595 | (record_full_core_buf_entry): ... this. Updated all users. | |
1596 | (record_core_regbuf): Renamed to ... | |
1597 | (record_full_core_regbuf): ... this. Updated all users. | |
1598 | (record_core_start): Renamed to ... | |
1599 | (record_full_core_start): ... this. Updated all users. | |
1600 | (record_core_end): Renamed to ... | |
1601 | (record_full_core_end): ... this. Updated all users. | |
1602 | (record_core_buf_list): Renamed to ... | |
1603 | (record_full_core_buf_list): ... this. Updated all users. | |
1604 | (record_first): Renamed to ... | |
1605 | (record_full_first): ... this. Updated all users. | |
1606 | (record_list): Renamed to ... | |
1607 | (record_full_list): ... this. Updated all users. | |
1608 | (record_arch_list_head): Renamed to ... | |
1609 | (record_full_arch_list_head): ... this. Updated all users. | |
1610 | (record_arch_list_tail): Renamed to ... | |
1611 | (record_full_arch_list_tail): ... this. Updated all users. | |
1612 | (record_stop_at_limit): Renamed to ... | |
1613 | (record_full_stop_at_limit): ... this. Updated all users. | |
1614 | (record_insn_max_num): Renamed to ... | |
1615 | (record_full_insn_max_num): ... this. Updated all users. | |
1616 | (record_insn_num): Renamed to ... | |
1617 | (record_full_insn_num): ... this. Updated all users. | |
1618 | (record_insn_count): Renamed to ... | |
1619 | (record_full_insn_count): ... this. Updated all users. | |
1620 | (record_ops): Renamed to ... | |
1621 | (record_full_ops): ... this. Updated all users. | |
1622 | (record_core_ops): Renamed to ... | |
1623 | (record_full_core_ops): ... this. Updated all users. | |
1624 | (set_record_cmdlist): Renamed to ... | |
1625 | (set_record_full_cmdlist): ... this. Updated all users. | |
1626 | (show_record_cmdlist): Renamed to ... | |
1627 | (show_record_full_cmdlist): ... this. Updated all users. | |
1628 | (record_cmdlist): Renamed to ... | |
1629 | (record_full_cmdlist): ... this. Updated all users. | |
1630 | (record_beneath_to_resume_ops): Renamed to ... | |
1631 | (record_full_beneath_to_resume_ops): ... this. Updated all users. | |
1632 | (record_beneath_to_resume): Renamed to ... | |
1633 | (record_full_beneath_to_resume): ... this. Updated all users. | |
1634 | (record_beneath_to_wait_ops): Renamed to ... | |
1635 | (record_full_beneath_to_wait_ops): ... this. Updated all users. | |
1636 | (record_beneath_to_wait): Renamed to ... | |
1637 | (record_full_beneath_to_wait): ... this. Updated all users. | |
1638 | (record_beneath_to_store_registers_ops): Renamed to ... | |
1639 | (record_full_beneath_to_store_registers_ops): ... this. | |
1640 | Updated all users. | |
1641 | (record_beneath_to_store_registers): Renamed to ... | |
1642 | (record_full_beneath_to_store_registers): ... this. | |
1643 | Updated all users. | |
1644 | (record_beneath_to_xfer_partial_ops): Renamed to ... | |
1645 | (record_full_beneath_to_xfer_partial_ops): ... this. | |
1646 | Updated all users. | |
1647 | (record_beneath_to_xfer_partial): Renamed to ... | |
1648 | (record_full_beneath_to_xfer_partial): ... this. | |
1649 | Updated all users. | |
1650 | (record_beneath_to_insert_breakpoint): Renamed to ... | |
1651 | (record_full_beneath_to_insert_breakpoint): ... this. | |
1652 | Updated all users. | |
1653 | (record_beneath_to_stopped_by_watchpoint): Renamed to ... | |
1654 | (record_full_beneath_to_stopped_by_watchpoint): ... this. | |
1655 | Updated all users. | |
1656 | (record_beneath_to_stopped_data_address): Renamed to ... | |
1657 | (record_full_beneath_to_stopped_data_address): ... this. | |
1658 | Updated all users. | |
1659 | (record_beneath_to_async): Renamed to ... | |
1660 | (record_full_beneath_to_async): ... this. Updated all users. | |
1661 | (record_goto_insn): Renamed to ... | |
1662 | (record_full_goto_insn): ... this. Updated all users. | |
1663 | (record_save): Renamed to ... | |
1664 | (record_full_save): ... this. Updated all users. | |
1665 | (record_reg_alloc): Renamed to ... | |
1666 | (record_full_reg_alloc): ... this. Updated all users. | |
1667 | (record_reg_release): Renamed to ... | |
1668 | (record_full_reg_release): ... this. Updated all users. | |
1669 | (record_mem_alloc): Renamed to ... | |
1670 | (record_full_mem_alloc): ... this. Updated all users. | |
1671 | (record_mem_release): Renamed to ... | |
1672 | (record_full_mem_release): ... this. Updated all users. | |
1673 | (record_end_alloc): Renamed to ... | |
1674 | (record_full_end_alloc): ... this. Updated all users. | |
1675 | (record_end_release): Renamed to ... | |
1676 | (record_full_end_release): ... this. Updated all users. | |
1677 | (record_entry_release): Renamed to ... | |
1678 | (record_full_entry_release): ... this. Updated all users. | |
1679 | (record_list_release): Renamed to ... | |
1680 | (record_full_list_release): ... this. Updated all users. | |
1681 | (record_list_release_following): Renamed to ... | |
1682 | (record_full_list_release_following): ... this. | |
1683 | Updated all users. | |
1684 | (record_list_release_first): Renamed to ... | |
1685 | (record_full_list_release_first): ... this. Updated all users. | |
1686 | (record_arch_list_add): Renamed to ... | |
1687 | (record_full_arch_list_add): ... this. Updated all users. | |
1688 | (record_get_loc): Renamed to ... | |
1689 | (record_full_get_loc): ... this. Updated all users. | |
1690 | (record_check_insn_num): Renamed to ... | |
1691 | (record_full_check_insn_num): ... this. Updated all users. | |
1692 | (record_arch_list_cleanups): Renamed to ... | |
1693 | (record_full_arch_list_cleanups): ... this. Updated all users. | |
1694 | (record_message): Renamed to ... | |
1695 | (record_full_message): ... this. Updated all users. | |
1696 | (record_message_wrapper): Renamed to ... | |
1697 | (record_full_message_wrapper): ... this. Updated all users. | |
1698 | (record_message_wrapper_safe): Renamed to ... | |
1699 | (record_full_message_wrapper_safe): ... this. Updated all users. | |
1700 | (record_gdb_operation_disable): Renamed to ... | |
1701 | (record_full_gdb_operation_disable): ... this. Updated all users. | |
1702 | (record_hw_watchpoint): Renamed to ... | |
1703 | (record_full_hw_watchpoint): ... this. Updated all users. | |
1704 | (record_exec_insn): Renamed to ... | |
1705 | (record_full_exec_insn): ... this. Updated all users. | |
1706 | (record_restore): Renamed to ... | |
1707 | (record_full_restore): ... this. Updated all users. | |
1708 | (record_async_inferior_event_token): Renamed to ... | |
1709 | (record_full_async_inferior_event_token): ... this. | |
1710 | Updated all users. | |
1711 | (record_async_inferior_event_handler): Renamed to ... | |
1712 | (record_full_async_inferior_event_handler): ... this. | |
1713 | Updated all users. | |
1714 | (record_core_open_1): Renamed to ... | |
1715 | (record_full_core_open_1): ... this. Updated all users. | |
1716 | (record_open_1): Renamed to ... | |
1717 | (record_full_open_1): ... this. Updated all users. | |
1718 | (record_open): Renamed to ... | |
1719 | (record_full_open): ... this. Updated all users. | |
1720 | (record_close): Renamed to ... | |
1721 | (record_full_close): ... this. Updated all users. | |
1722 | (record_resume_step): Renamed to ... | |
1723 | (record_full_resume_step): ... this. Updated all users. | |
1724 | (record_resumed): Renamed to ... | |
1725 | (record_full_resumed): ... this. Updated all users. | |
1726 | (record_execution_dir): Renamed to ... | |
1727 | (record_full_execution_dir): ... this. Updated all users. | |
1728 | (record_resume): Renamed to ... | |
1729 | (record_full_resume): ... this. Updated all users. | |
1730 | (record_get_sig): Renamed to ... | |
1731 | (record_full_get_sig): ... this. Updated all users. | |
1732 | (record_sig_handler): Renamed to ... | |
1733 | (record_full_sig_handler): ... this. Updated all users. | |
1734 | (record_wait_cleanups): Renamed to ... | |
1735 | (record_full_wait_cleanups): ... this. Updated all users. | |
1736 | (record_wait_1): Renamed to ... | |
1737 | (record_full_wait_1): ... this. Updated all users. | |
1738 | (record_wait): Renamed to ... | |
1739 | (record_full_wait): ... this. Updated all users. | |
1740 | (record_stopped_by_watchpoint): Renamed to ... | |
1741 | (record_full_stopped_by_watchpoint): ... this. Updated all users. | |
1742 | (record_disconnect): Renamed to ... | |
1743 | (record_full_disconnect): ... this. Updated all users. | |
1744 | (record_detach): Renamed to ... | |
1745 | (record_full_detach): ... this. Updated all users. | |
1746 | (record_mourn_inferior): Renamed to ... | |
1747 | (record_full_mourn_inferior): ... this. Updated all users. | |
1748 | (record_kill): Renamed to ... | |
1749 | (record_full_kill): ... this. Updated all users. | |
1750 | (record_stopped_data_address): Renamed to ... | |
1751 | (record_full_stopped_data_address): ... this. Updated all users. | |
1752 | (record_registers_change): Renamed to ... | |
1753 | (record_full_registers_change): ... this. Updated all users. | |
1754 | (record_store_registers): Renamed to ... | |
1755 | (record_full_store_registers): ... this. Updated all users. | |
1756 | (record_xfer_partial): Renamed to ... | |
1757 | (record_full_xfer_partial): ... this. Updated all users. | |
1758 | (record_breakpoint): Renamed to ... | |
1759 | (record_full_breakpoint): ... this. Updated all users. | |
1760 | (record_breakpoint_p): Renamed to ... | |
1761 | (record_full_breakpoint_p): ... this. Updated all users. | |
1762 | (record_breakpoints): Renamed to ... | |
1763 | (record_full_breakpoints): ... this. Updated all users. | |
1764 | (record_sync_record_breakpoints): Renamed to ... | |
1765 | (record_full_sync_record_breakpoints): ... this. | |
1766 | Updated all users. | |
1767 | (record_init_record_breakpoints): Renamed to ... | |
1768 | (record_full_init_record_breakpoints): ... this. | |
1769 | Updated all users. | |
1770 | (record_insert_breakpoint): Renamed to ... | |
1771 | (record_full_insert_breakpoint): ... this. Updated all users. | |
1772 | (record_remove_breakpoint): Renamed to ... | |
1773 | (record_full_remove_breakpoint): ... this. Updated all users. | |
1774 | (record_can_execute_reverse): Renamed to ... | |
1775 | (record_full_can_execute_reverse): ... this. Updated all users. | |
1776 | (record_get_bookmark): Renamed to ... | |
1777 | (record_full_get_bookmark): ... this. Updated all users. | |
1778 | (record_goto_bookmark): Renamed to ... | |
1779 | (record_full_goto_bookmark): ... this. Updated all users. | |
1780 | (record_async): Renamed to ... | |
1781 | (record_full_async): ... this. Updated all users. | |
1782 | (record_can_async_p): Renamed to ... | |
1783 | (record_full_can_async_p): ... this. Updated all users. | |
1784 | (record_is_async_p): Renamed to ... | |
1785 | (record_full_is_async_p): ... this. Updated all users. | |
1786 | (record_execution_direction): Renamed to ... | |
1787 | (record_full_execution_direction): ... this. Updated all users. | |
1788 | (record_info): Renamed to ... | |
1789 | (record_full_info): ... this. Updated all users. | |
1790 | (record_delete): Renamed to ... | |
1791 | (record_full_delete): ... this. Updated all users. | |
1792 | (record_is_replaying): Renamed to ... | |
1793 | (record_full_is_replaying): ... this. Updated all users. | |
1794 | (record_goto_entry): Renamed to ... | |
1795 | (record_full_goto_entry): ... this. Updated all users. | |
1796 | (record_goto_begin): Renamed to ... | |
1797 | (record_full_goto_begin): ... this. Updated all users. | |
1798 | (record_goto_end): Renamed to ... | |
1799 | (record_full_goto_end): ... this. Updated all users. | |
1800 | (record_goto): Renamed to ... | |
1801 | (record_full_goto): ... this. Updated all users. | |
1802 | (init_record_ops): Renamed to ... | |
1803 | (init_record_full_ops): ... this. Updated all users. | |
1804 | (record_core_resume): Renamed to ... | |
1805 | (record_full_core_resume): ... this. Updated all users. | |
1806 | (record_core_kill): Renamed to ... | |
1807 | (record_full_core_kill): ... this. Updated all users. | |
1808 | (record_core_fetch_registers): Renamed to ... | |
1809 | (record_full_core_fetch_registers): ... this. Updated all users. | |
1810 | (record_core_prepare_to_store): Renamed to ... | |
1811 | (record_full_core_prepare_to_store): ... this. Updated all users. | |
1812 | (record_core_store_registers): Renamed to ... | |
1813 | (record_full_core_store_registers): ... this. Updated all users. | |
1814 | (record_core_xfer_partial): Renamed to ... | |
1815 | (record_full_core_xfer_partial): ... this. Updated all users. | |
1816 | (record_core_insert_breakpoint): Renamed to ... | |
1817 | (record_full_core_insert_breakpoint): ... this. Updated all users. | |
1818 | (record_core_remove_breakpoint): Renamed to ... | |
1819 | (record_full_core_remove_breakpoint): ... this. Updated all users. | |
1820 | (record_core_has_execution): Renamed to ... | |
1821 | (record_full_core_has_execution): ... this. Updated all users. | |
1822 | (init_record_core_ops): Renamed to ... | |
1823 | (init_record_full_core_ops): ... this. Updated all users. | |
1824 | (cmd_record_restore): Renamed to ... | |
1825 | (cmd_record_full_restore): ... this. Updated all users. | |
1826 | (record_save_cleanups): Renamed to ... | |
1827 | (record_full_save_cleanups): ... this. Updated all users. | |
1828 | (cmd_record_start): Renamed to ... | |
1829 | (cmd_record_full_start): ... this. Updated all users. | |
1830 | (set_record_insn_max_num): Renamed to ... | |
1831 | (set_record_full_insn_max_num): ... this. Updated all users. | |
1832 | (set_record_command): Renamed to ... | |
1833 | (set_record_full_command): ... this. Updated all users. | |
1834 | (show_record_command): Renamed to ... | |
1835 | (show_record_full_command): ... this. Updated all users. | |
1836 | (_initialize_record): Renamed to ... | |
1837 | (_initialize_record_full): ... this. Updated all users. | |
1838 | ||
d02ed0bb MM |
1839 | 2013-03-11 Markus Metzger <[email protected]> |
1840 | ||
1841 | * record.h: Split into this and ... | |
1842 | * record-full.h: ... this. | |
1843 | * record.c: Split into this and ... | |
1844 | * record-full.c: ... this. | |
1845 | * target.h (target_ops): Add new fields to_info_record, | |
1846 | to_save_record, to_delete_record, to_record_is_replaying, | |
1847 | to_goto_record_begin, to_goto_record_end, to_goto_record. | |
1848 | (target_info_record): New. | |
1849 | (target_save_record): New. | |
1850 | (target_supports_delete_record): New. | |
1851 | (target_delete_record): New. | |
1852 | (target_record_is_replaying): New. | |
1853 | (target_goto_record_begin): New. | |
1854 | (target_goto_record_end): New. | |
1855 | (target_goto_record): New. | |
1856 | * target.c (target_info_record): New. | |
1857 | (target_save_record): New. | |
1858 | (target_supports_delete_record): New. | |
1859 | (target_delete_record): New. | |
1860 | (target_record_is_replaying): New. | |
1861 | (target_goto_record_begin): New. | |
1862 | (target_goto_record_end): New. | |
1863 | (target_goto_record): New. | |
1864 | * record.h: Declare struct cmd_list_element. | |
1865 | (record_cmdlist): New declaration. | |
1866 | (set_record_cmdlist): New declaration. | |
1867 | (show_record_cmdlist): New declaration. | |
1868 | (info_record_cmdlist): New declaration. | |
1869 | (cmd_record_goto): New declaration. | |
1870 | * record.c: Remove unnecessary includes. | |
1871 | Include inferior.h. | |
1872 | (cmd_record_goto): Remove declaration. | |
1873 | (record_cmdlist): Now extern. Initialize. | |
1874 | (set_record_cmdlist): Now extern. Initialize. | |
1875 | (show_record_cmdlist): Now extern. Initialize. | |
1876 | (info_record_cmdlist): Now extern. Initialize. | |
1877 | (find_record_target): New. | |
1878 | (require_record_target): New. | |
1879 | (cmd_record_start): Update. | |
1880 | (cmd_record_delete): Remove target-specific code. | |
1881 | Call target_delete_record. | |
1882 | (cmd_record_stop): Unpush any record target. | |
1883 | (set_record_insn_max_num): Move to record-full.c | |
1884 | (set_record_command): Add comment. | |
1885 | (show_record_command): Add comment. | |
1886 | (info_record_command): Update comment. | |
1887 | Remove target-specific code. | |
1888 | Call the record target's to_info_record. | |
1889 | (cmd_record_start): New. | |
1890 | (cmd_record_goto): Now extern. | |
1891 | Remove target-specific code. | |
1892 | Call target_goto_begin, target_goto_end, or target_goto. | |
1893 | (_initialize_record): Move record target ops initialization to | |
1894 | record-full.c. | |
1895 | Change "record" command help text. | |
1896 | Move "record restore", "record set", and "record show" commands to | |
1897 | record-full.c. | |
1898 | * Makefile.in (SFILES): Add record-full.c. | |
1899 | (HFILES_NO_SRCDIR): Add record-full.h. | |
1900 | (COMMON_OBS): Add record-full.o. | |
1901 | * amd64-linux-tdep.c: Include record-full.h instead of record.h. | |
1902 | * arm-tdep.c: Include record-full.h. | |
1903 | * i386-linux-tdep.c: Include record-full.h instead of record.h. | |
1904 | * i386-tdep.c: Include record-full.h. | |
1905 | * infrun.c: Include record-full.h. | |
1906 | * linux-record.c: Include record-full.h. | |
1907 | * moxie-tdep.c: Include record-full.h. | |
1908 | * record-full.c: Include record-full.h. | |
1909 | Change module comment. | |
1910 | (set_record_full_cmdlist): New. | |
1911 | (show_record_full_cmdlist): New. | |
1912 | (record_full_cmdlist): New. | |
1913 | (record_goto_insn): New declaration. | |
1914 | (record_save): New declaration. | |
1915 | (record_check_insn_num): Change query string. | |
1916 | (record_info): New. | |
1917 | (record_delete): New. | |
1918 | (record_is_replaying): New. | |
1919 | (record_goto_entry): New. | |
1920 | (record_goto_begin): New. | |
1921 | (record_goto_end): New. | |
1922 | (record_goto): New. | |
1923 | (init_record_ops): Update. | |
1924 | (init_record_core_ops): Update. | |
1925 | (cmd_record_save): Rename to record_save. Remove target and arg checks. | |
1926 | (cmd_record_start): New. | |
1927 | (set_record_insn_max_num): Moved from record.c | |
1928 | (set_record_full_command): New. | |
1929 | (show_record_full_command): New. | |
1930 | (_initialize_record_full): New. | |
1931 | ||
b48d48eb MM |
1932 | 2013-03-11 Markus Metzger <[email protected]> |
1933 | ||
1934 | * target.h (add_deprecated_target_alias): New. | |
1935 | * target.c (add_deprecated_target_alias): New. | |
1936 | ||
a950d57c MM |
1937 | 2013-03-11 Markus Metzger <[email protected]> |
1938 | ||
1939 | * common/linux-btrace.c: Include sys/ptrace, sys/types, sys/wait.h, | |
1940 | and signal.h. | |
1941 | (linux_supports_btrace): Add kernel and | |
1942 | cpuid check. | |
1943 | (kernel_supports_btrace): New function. | |
1944 | (cpu_supports_btrace): New function. | |
1945 | (intel_supports_btrace): New function. | |
1946 | ||
9accd112 MM |
1947 | 2013-03-11 Markus Metzger <[email protected]> |
1948 | ||
1949 | * target.h (enum target_object): Add TARGET_OBJECT_BTRACE. | |
1950 | * remote.c: Include btrace.h. | |
1951 | (struct btrace_target_info): New struct. | |
1952 | (remote_supports_btrace): New function. | |
1953 | (send_Qbtrace): New function. | |
1954 | (remote_enable_btrace): New function. | |
1955 | (remote_disable_btrace): New function. | |
1956 | (remote_teardown_btrace): New function. | |
1957 | (remote_read_btrace): New function. | |
1958 | (init_remote_ops): Add btrace ops. | |
1959 | (enum <unnamed>): Add btrace packets. | |
1960 | (struct protocol_feature remote_protocol_features[]): Add btrace packets. | |
1961 | (_initialize_remote): Add packet configuration for branch tracing. | |
1962 | ||
c12a2917 MM |
1963 | 2013-03-11 Markus Metzger <[email protected]> |
1964 | ||
1965 | * features/btrace.dtd: New file. | |
1966 | * Makefile.in (XMLFILES): Add btrace.dtd. | |
1967 | * btrace.h (parse_xml_btrace): New declaration. | |
1968 | * btrace.c: Include xml-support.h. | |
1969 | (parse_xml_btrace): New function. | |
1970 | (parse_xml_btrace_block): New function. | |
1971 | (block_attributes): New struct. | |
1972 | (btrace_attributes): New struct. | |
1973 | (btrace_children): New struct. | |
1974 | (btrace_elements): New struct. | |
1975 | ||
3e3aea48 MM |
1976 | 2013-03-11 Markus Metzger <[email protected]> |
1977 | ||
1978 | * amd64-linux-nat.c: Include btrace.h and linux-btrace.h. | |
1979 | (amd64_linux_enable_btrace): New. | |
1980 | (amd64_linux_disable_btrace): New. | |
1981 | (amd64_linux_teardown_btrace): New. | |
1982 | (_initialize_amd64_linux_nat): Initialize btrace ops. | |
1983 | * i386-linux.nat.c: Include btrace.h and linux-btrace.h. | |
1984 | (i386_linux_enable_btrace): New. | |
1985 | (i386_linux_disable_btrace): New. | |
1986 | (i386_linux_teardown_btrace): New. | |
1987 | (_initialize_i386_linux_nat): Initialize btrace ops. | |
1988 | * config/i386/linux.mh: Add linux-btrace.o. | |
1989 | * config/i386/linux64.mh: Add linux-btrace.o. | |
1990 | ||
7c97f91e MM |
1991 | 2013-03-11 Markus Metzger <[email protected]> |
1992 | ||
1993 | * common/linux_btrace.h: New file. | |
1994 | * common/linux_btrace.c: New file. | |
1995 | * Makefile.in (SFILES): Add btrace.c. | |
1996 | (HFILES_NO_SRCDIR): Add common/linux-btrace.h. | |
1997 | (COMMON_OBS): Add btrace.o. | |
1998 | (linux-btrace.o): New rule. | |
1999 | ||
1999790b | 2000 | 2013-03-11 Markus Metzger <[email protected]> |
02d27625 MM |
2001 | |
2002 | * target.h: Include btrace.h. | |
2003 | (struct target_ops) <to_supports_btrace, to_enable_btrace, | |
2004 | to_disable_btrace, to_teardown_btrace, to_read_btrace>: New. | |
2005 | * target.c (target_supports_btrace): New function. | |
2006 | (target_enable_btrace): New function. | |
2007 | (target_disable_btrace): New function. | |
2008 | (target_teardown_btrace): New function. | |
2009 | (target_read_btrace): New function. | |
2010 | * btrace.h: New file. | |
2011 | * btrace.c: New file. | |
2012 | * Makefile.in: Add btrace.c. | |
2013 | * gdbthread.h: Include btrace.h. | |
2014 | (struct thread_info): Add btrace field. | |
2015 | * thread.c: Include btrace.h. | |
2016 | (clear_thread_inferior_resources): Call target_teardown_btrace. | |
2017 | * common/btrace-common.h: New file. | |
2018 | ||
61a31a67 JK |
2019 | 2013-03-10 Jan Kratochvil <[email protected]> |
2020 | ||
2021 | * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx): Call also kill | |
2022 | for CHILD, ignore PTRACE_KILL errors, move the inner block variable | |
2023 | kill_status to outer block. | |
2024 | ||
05c56a9d JK |
2025 | 2013-03-10 Jan Kratochvil <[email protected]> |
2026 | ||
2027 | Fix entry-values if the callee called a noreturn function. | |
2028 | * dwarf2-frame-tailcall.c (dwarf2_tailcall_sniffer_first): Use | |
2029 | get_frame_address_in_block. Add new comment. | |
2030 | ||
9112db09 JK |
2031 | 2013-03-10 Jan Kratochvil <[email protected]> |
2032 | ||
2033 | Fix entry-values in C++ across CUs. | |
2034 | * dwarf2loc.c (call_site_to_target_addr) <FIELD_LOC_KIND_PHYSNAME>: Use | |
2035 | lookup_minimal_symbol. Add a comment. | |
2036 | * dwarf2read.c | |
2037 | (read_call_site_scope) <is_ref_attr> <die_is_declaration>: Prefer | |
2038 | DW_AT_linkage_name. | |
2039 | ||
9b67fcec YQ |
2040 | 2013-03-08 Yao Qi <[email protected]> |
2041 | ||
2042 | * tracepoint.c (_initialize_tracepoint): Indent the code. | |
2043 | ||
6221be90 PA |
2044 | 2013-03-08 Pedro Alves <[email protected]> |
2045 | ||
2046 | * findcmd.c (put_bits): Change type of parameter to 'gdb_byte *'. | |
2047 | (parse_find_args, find_command): Change type of pattern buffer | |
2048 | locals to 'gdb_byte *'. | |
2049 | ||
be9a119c | 2050 | 2013-03-08 Stan Shebs <[email protected]> |
f6f899bf HAQ |
2051 | Hafiz Abid Qadeer <[email protected]> |
2052 | ||
2053 | * NEWS: Mention set and show trace-buffer-size commands. | |
2054 | Mention new packet. | |
2055 | * target.h (struct target_ops): New method | |
2056 | to_set_trace_buffer_size. | |
2057 | (target_set_trace_buffer_size): New macro. | |
2058 | * target.c (update_current_target): Set up new method. | |
2059 | * tracepoint.c (trace_buffer_size): New global. | |
2060 | (start_tracing): Send it to the target. | |
2061 | (set_trace_buffer_size): New function. | |
2062 | (_initialize_tracepoint): Add new setshow for trace-buffer-size. | |
2063 | * remote.c (remote_set_trace_buffer_size): New function. | |
2064 | (_initialize_remote): Use it. | |
2065 | (QTBuffer:size) New remote command. | |
2066 | (PACKET_QTBuffer_size): New enum. | |
2067 | (remote_protocol_features): Add an entry for | |
2068 | PACKET_QTBuffer_size. | |
2069 | ||
7da3ab79 TT |
2070 | 2013-03-08 Tom Tromey <[email protected]> |
2071 | ||
2072 | * remote-m32r-sdi.c (m32r_load): Call skip_spaces on correct | |
2073 | variable. | |
2074 | ||
0c1f71e7 PA |
2075 | 2013-03-07 Pedro Alves <[email protected]> |
2076 | ||
2077 | * target.c (target_read_stralloc, target_fileio_read_alloc): | |
2078 | *Cast pointer to 'gdb_byte *' in target call. | |
2079 | ||
c8af03a2 PA |
2080 | 2013-03-07 Pedro Alves <[email protected]> |
2081 | ||
2082 | * corefile.c (read_memory_string): Cast pointer to gdb_byte* in | |
2083 | call. | |
2084 | ||
529480d0 KS |
2085 | 2013-03-07 Keith Seitz <[email protected]> |
2086 | ||
2087 | * breakpoint.c (catch_syscall_split_args): Use skip_spaces. | |
2088 | (trace_pass_command): Likewise. | |
2089 | * cli/cli-cmds.c: Include cli/cli-utils.h. | |
2090 | (source_command): Use skip-spaces. | |
2091 | (disassemble_command): Likewise. | |
2092 | * findcmd.c: Include cli/cli-utils.h. | |
2093 | (parse_find_args): Use skip_spaces. | |
2094 | * go32-nat.c: Include cli/cli-utils.h. | |
2095 | (go32_sldt): Use skip_spaces. | |
2096 | (go32_sgdt): Likewise. | |
2097 | (go32_sidt): Likewise. | |
2098 | (go32_pde): Likewise. | |
2099 | (go32_pte): Likewise. | |
2100 | (go32_pte_for_address): Likewise. | |
2101 | * infcmd.c: Include cli/cli-utils.h. | |
2102 | (registers_info): Use skip_spaces. | |
2103 | * linux-tdep.c (read_mapping): Use skip_spaces_const. | |
2104 | (linux_info_proc): Likewise. | |
2105 | * linux-thread-db.c: Include cli/cli-utils.h. | |
2106 | (info_auto_load_libthread_db): Use skip_spaces_const. | |
2107 | * m32r-rom.c: Include cli/cli-utils.h. | |
2108 | (m32r_upload_command): Use skip_spaces. | |
2109 | * maint.c: Include cli/cli-utils.h. | |
2110 | (maintenance_translate_address): Use skip_spaces. | |
2111 | * mi/mi-parse.c: Include cli/cli-utils.h. | |
2112 | (mi_parse_argv): Use skip_spaces. | |
2113 | (mi_parse): Likewise. | |
2114 | * minsyms.c: Include cli/cli-utils.h. | |
2115 | (msymbol_hash_iw): Use skip_spaces_const. | |
2116 | * objc-lang.c: Include cli/cli-utils.h. | |
2117 | (parse_selector): Use skip_spaces. | |
2118 | (parse_method): Likewise. | |
2119 | * python/python.c: Include cli/cli-utils.h. | |
2120 | (python_interactive_command)[HAVE_PYTHON]: Use skip_spaces. | |
2121 | (python_command)[HAVE_PYTHON]: Likewise. | |
2122 | (python_interactive_command)[!HAVE_PYTHON]: Likewise. | |
2123 | * remote-m32r-sdi.c: Include cli/cli-utils.h. | |
2124 | (m32r_load): Use skip_spaces. | |
2125 | * serial.c: Include cli/cli-utils.h. | |
2126 | (serial_open): Use skip_spaces_const. | |
2127 | * stack.c: Include cli/cli-utils.h. | |
2128 | (parse_frame_specification_1): Use skip_spaces_const. | |
2129 | * symfile.c: Include cli/cli-utils.h. | |
2130 | (set_ext_lang_command): Use skip_spaces. | |
2131 | * symtab.c: Include cli/cli-utils.h. | |
2132 | (rbreak_command): Use skip_spaces. | |
2133 | * thread.c (thread_name_command): Use skip_spaces. | |
2134 | * tracepoint.c (validate_actionline): Use skip_spaces. | |
2135 | (encode_actions_1): Likewise. | |
2136 | (trace_find_range_command): Likewise. | |
2137 | (trace_find_outside_command): Likewise. | |
2138 | (trace_dump_actions): Likewise. | |
2139 | ||
ac91cd70 PA |
2140 | 2013-03-07 Pedro Alves <[email protected]> |
2141 | ||
2142 | * c-lang.c (parse_one_string): Cast argument to gdb_byte *. | |
2143 | * expprint.c (print_subexp_standard): Likewise. | |
2144 | * utils.c (host_char_to_target): Likewise. | |
2145 | * valprint.c (generic_emit_char, generic_printstr): Likewise. | |
2146 | * varobj.c (value_get_print_value): Change type of local to char*. | |
2147 | Cast it gdb_byte * in call to language printer. | |
2148 | ||
2898e560 PA |
2149 | 2013-03-07 Pedro Alves <[email protected]> |
2150 | ||
2151 | * charset.c (struct wchar_iterator) <input>: Change type to 'const | |
2152 | gdb_byte *'. | |
2153 | (make_wchar_iterator): Remove cast to char*. | |
2154 | (wchar_iterate): Change type of local. | |
2155 | ||
a09b4448 PA |
2156 | 2013-03-07 Pedro Alves <[email protected]> |
2157 | ||
2158 | * regcache.c (regcache_xmalloc_1): Call XCALLOC with signed char | |
2159 | for 'regcache->register_status'. | |
2160 | ||
20ced3e4 PA |
2161 | 2013-03-07 Pedro Alves <[email protected]> |
2162 | ||
c2d6a675 | 2163 | * breakpoint.c (breakpoint_xfer_memory): Change type of local to |
20ced3e4 PA |
2164 | int. |
2165 | ||
fe106009 PA |
2166 | 2013-03-07 Pedro Alves <[email protected]> |
2167 | ||
2168 | * stap-probe.c (handle_stap_probe): Add cast to char*. | |
2169 | ||
8ac2c12b PA |
2170 | 2013-03-07 Pedro Alves <[email protected]> |
2171 | ||
2172 | * linux-record.c (record_linux_system_call) <gdb_sys_msgrcv, | |
2173 | RECORD_MSGRCV>: Pass a signed variable to | |
2174 | regcache_raw_read_signed, instead of an unsigned one. | |
2175 | ||
99f0a309 PA |
2176 | 2013-03-07 Pedro Alves <[email protected]> |
2177 | ||
2178 | * remote-notif.c (notif_debug): Change type to int. | |
2179 | * remote-notif.h (notif_debug): Likewise. | |
2180 | ||
964b8317 PA |
2181 | 2013-03-07 Pedro Alves <[email protected]> |
2182 | ||
2183 | * ser-tcp.c (tcp_retry_limit): Change type to unsigned int. | |
2184 | ||
f0cc8ad4 PA |
2185 | 2013-03-07 Pedro Alves <[email protected]> |
2186 | ||
2187 | * remote.c (hex2bin, bin2hex): Move extern declarations to ... | |
2188 | * remote.h (hex2bin, bin2hex): ... here. | |
2189 | * tracepoint.c (hex2bin, bin2hex): Remove extern declarations. | |
2190 | ||
77dec115 EZ |
2191 | 2013-03-07 Eli Zaretskii <[email protected]> |
2192 | ||
2193 | * utils.c (initialize_utils): Improve doc strings of "set/show | |
2194 | width", "set/show height", and "set/show pagination". | |
2195 | ||
741d92cf KS |
2196 | 2013-03-06 Keith Seitz <[email protected]> |
2197 | ||
2198 | * ax-gdb.c (gen_printf): Make FORMAT const. | |
2199 | * ax-gdb.h (gen_printf): Likewise. | |
2200 | * ax-general.c (ax_string): Make STR const. | |
2201 | * ax.h (ax_string): Likewise. | |
2202 | ||
7b6c814e DE |
2203 | 2013-03-06 Doug Evans <[email protected]> |
2204 | ||
2205 | * elfread.c (elf_symfile_read): Move debugging printf to more | |
2206 | logical location. | |
2207 | ||
634334ab PA |
2208 | 2013-03-06 Pedro Alves <[email protected]> |
2209 | ||
2210 | * python/py-utils.c (target_string_to_unicode): Delete function. | |
2211 | * python/python-internal.h (target_string_to_unicode): Delete | |
2212 | declaration. | |
2213 | ||
e482a1a7 PM |
2214 | 2013-03-06 Pierre Muller <[email protected]> |
2215 | ||
2216 | * linespec.c (get_current_search_block): ARI fix, use (void) | |
2217 | for empty parameter list. | |
2218 | ||
4eeaa230 DE |
2219 | 2013-03-05 Doug Evans <[email protected]> |
2220 | ||
2221 | * ada-lang.c (ada_lookup_symbol_list_worker): New function, contents | |
2222 | of old ada_lookup_symbol_list. In !full_search case, don't | |
2223 | search superblocks. | |
2224 | (ada_lookup_symbol_list): Delete arg full_search, all callers | |
2225 | updated. Call ada_lookup_symbol_list_worker. | |
2226 | (ada_iterate_over_symbols): Call ada_lookup_symbol_list_worker. | |
2227 | * ada-lang.h (ada_lookup_symbol_list): Update. | |
2228 | * language.h (language_defn): Update comment for | |
2229 | la_iterate_over_symbols. | |
2230 | * linespec.c (iterate_over_file_blocks): New function. | |
2231 | (iterate_over_all_matching_symtabs): Call it. | |
2232 | (lookup_prefix_sym): Ditto. | |
2233 | (get_current_search_block): New function. | |
2234 | (get_search_block): Delete. | |
2235 | (find_label_symbols): Call get_current_search_block. | |
2236 | (add_matching_symbols_to_info): Call iterate_over_file_blocks. | |
2237 | * symtab.c (iterate_over_symbols): Don't search superblocks. | |
2238 | ||
b69b1fb1 YQ |
2239 | 2013-03-05 Yao Qi <[email protected]> |
2240 | ||
2241 | * cli/cli-decode.c (add_setshow_zuinteger_unlimited_cmd): Change | |
2242 | parameter VAR's type from "unsigned int" to "int". | |
2243 | * command.h (var_zuinteger_unlimited): Update its comments. | |
2244 | (add_setshow_zuinteger_unlimited_cmd): Update the declaration. | |
2245 | ||
3c095f49 CV |
2246 | 2013-03-05 Corinna Vinschen <[email protected]> |
2247 | ||
2248 | * NEWS: Mention new target x86_64-*-cygwin*. | |
2249 | ||
b5b0b0af CV |
2250 | 2013-03-05 Corinna Vinschen <[email protected]> |
2251 | ||
2252 | * configure.host: Add x86_64-*-cygwin* as host. | |
2253 | * configure.tgt: Add x86_64-*-cygwin* as target. | |
2254 | * config/i386/cygwin64.mh: New file. | |
2255 | ||
f6f99966 JK |
2256 | 2013-03-04 Jan Kratochvil <[email protected]> |
2257 | ||
2258 | * linespec.c (decode_line_2): Fix duplicate request off by two message. | |
2259 | ||
33f448b1 JK |
2260 | 2013-03-04 Jan Kratochvil <[email protected]> |
2261 | ||
2262 | * linespec.c (struct linespec_canonical_name): New. | |
2263 | (struct linespec_state): Change canonical_names type to it. | |
2264 | (add_sal_to_sals): Change variable canonical_name to canonical. Change | |
2265 | xrealloc element size. Initialize the different CANONICAL fields. | |
2266 | (canonical_to_fullform): New. | |
2267 | (filter_results): Use it. Add variables canonical, fullform and | |
2268 | cleanup. | |
2269 | (struct decode_line_2_item, decode_line_2_compare_items): New. | |
2270 | (decode_line_2): Remove variables iter and item_names, add variables | |
2271 | items and items_count. Modify the code for these new variables. | |
2272 | ||
feb14725 CV |
2273 | 2013-03-04 Corinna Vinschen <[email protected]> |
2274 | ||
2275 | * coff-pe-read.c (read_pe_exported_syms): Don't return without | |
2276 | calling do_cleanup. | |
2277 | ||
e83b17ba HZ |
2278 | 2013-03-04 Luis Machado <[email protected]> |
2279 | ||
2280 | * tracepoint.c (build_traceframe_info): Add code for byte order. | |
2281 | ||
a2d13a0d KB |
2282 | 2013-03-02 Kevin Buettner <[email protected]> |
2283 | ||
8dddcae8 KB |
2284 | * v850-tdep.c: (v850e2_register_name): Revise system register |
2285 | names to match current V850E2M architecture specifications. | |
2286 | Update register number enum comments too. | |
a2d13a0d | 2287 | |
d79e58d8 JW |
2288 | 2013-03-01 Jiong Wang <[email protected]> |
2289 | Pedro Alves <[email protected]> | |
2290 | ||
2291 | * tilegx-tdep.c (tilegx_analyze_prologue): Limit bundle reading | |
2292 | to END_ADDR. | |
2293 | (tilegx_skip_prologue): Limit prologue analysis to section end. | |
2294 | ||
c4be5165 JK |
2295 | 2013-03-01 Jan Kratochvil <[email protected]> |
2296 | ||
2297 | * dwarf2loc.c (call_site_find_chain_1): New variable save_callee_pc, | |
2298 | use it. | |
2299 | ||
e362b510 PA |
2300 | 2013-03-01 Pedro Alves <[email protected]> |
2301 | ||
2302 | Use gdb_byte for bytes from the program being debugged. | |
2303 | ||
2304 | * arm-tdep.c (arm_store_return_value, arm_get_longjmp_target): | |
2305 | Change type of local 'buf' to gdb_byte. | |
2306 | * avr-tdep.c (avr_frame_prev_register, avr_push_dummy_call): Likewise. | |
2307 | * bfin-tdep.c (bfin_push_dummy_call): Likewise. | |
2308 | * cris-tdep.c (cris_sigcontext_addr) | |
2309 | (cris_sigtramp_frame_unwind_cache): Likewise. | |
2310 | * frv-linux-tdep.c (frv_linux_pc_in_sigtramp) | |
2311 | (frv_linux_sigcontext_reg_addr, frv_linux_sigtramp_frame_cache): | |
2312 | Likewise. | |
2313 | * frv-tdep.c (frv_pseudo_register_write, frv_analyze_prologue): Likewise. | |
2314 | * hppa-hpux-tdep.c (hppa32_hpux_find_global_pointer) | |
2315 | (hppa32_hpux_search_dummy_call_sequence) | |
2316 | (hppa_hpux_supply_save_state): Likewise. | |
2317 | * hppa-linux-tdep.c (insns_match_pattern) | |
2318 | (hppa_linux_find_global_pointer): Likewise. | |
2319 | * hppa-tdep.c (hppa_in_function_epilogue_p) | |
2320 | (skip_prologue_hard_way, hppa_frame_cache): Likewise. | |
2321 | * i386-nto-tdep.c (i386nto_sigcontext_addr): Likewise. | |
2322 | * i386fbsd-tdep.c (i386fbsd_supply_uthread) | |
2323 | (i386fbsd_collect_uthread): Likewise. | |
2324 | * ia64-hpux-tdep.c (ia64_hpux_push_dummy_code): Likewise. | |
2325 | * ia64-linux-tdep.c (ia64_linux_sigcontext_register_address): Likewise. | |
2326 | * ia64-tdep.c (examine_prologue, ia64_frame_cache) | |
2327 | (ia64_frame_prev_register, ia64_sigtramp_frame_cache) | |
2328 | (ia64_sigtramp_frame_prev_register, ia64_access_reg) | |
2329 | (ia64_access_rse_reg, ia64_libunwind_frame_this_id) | |
2330 | (ia64_libunwind_frame_prev_register) | |
2331 | (ia64_libunwind_sigtramp_frame_this_id) | |
2332 | (ia64_find_global_pointer_from_dynamic_section) | |
2333 | (find_extant_func_descr, find_func_descr, ia64_dummy_id) | |
2334 | (ia64_unwind_pc): Likewise. | |
2335 | * iq2000-tdep.c (iq2000_store_return_value): Likewise. | |
2336 | * m68hc11-tdep.c (m68hc11_push_dummy_call) | |
2337 | (m68hc11_extract_return_value): Likewise. | |
2338 | * m68klinux-nat.c (fetch_register, store_register): Likewise. | |
2339 | * mep-tdep.c (mep_pseudo_cr32_read, mep_pseudo_cr32_write) | |
2340 | (mep_get_insn, mep_push_dummy_call): Likewise. | |
2341 | * mips-linux-tdep.c (mips_linux_get_longjmp_target) | |
2342 | (mips_linux_in_dynsym_stub): Likewise. | |
2343 | * mn10300-tdep.c (mep_pseudo_cr32_write): Likewise. | |
2344 | * ppc-linux-nat.c (fetch_register, store_register): Likewise. | |
2345 | * regcache.c (dump_endian_bytes): Change type of parameter 'buf' | |
2346 | to gdb_byte. | |
2347 | * remote-mips.c (mips_set_register): Likewise. | |
2348 | * remote-sim.c (gdbsim_fetch_register): Likewise. | |
2349 | * score-tdep.c (score7_fetch_inst): Change type of parameter | |
2350 | 'memblock' and local 'buf' to gdb_byte. | |
2351 | (score7_malloc_and_get_memblock): Change return type to gdb_byte. | |
2352 | Change type of local 'buf' to gdb_byte. Adjust. | |
2353 | (score7_adjust_memblock_ptr): Change type of parameter 'memblock' | |
2354 | to gdb_byte**. | |
2355 | (score7_analyze_prologue): Change type of 'memblock' and | |
2356 | 'memblock_ptr' locals to gdb_byte*. | |
2357 | * sh64-tdep.c (sh64_extract_return_value) | |
2358 | (sh64_store_return_value): Change type of local 'buf' to gdb_byte. | |
2359 | * solib-darwin.c (darwin_current_sos, darwin_read_exec_load_addr): | |
2360 | * solib-pa64.c (pa64_solib_create_inferior_hook) | |
2361 | (pa64_open_symbol_file_object): Remove local 'buf'. | |
2362 | * solib-som.c (som_solib_create_inferior_hook, link_map_start) | |
2363 | (som_open_symbol_file_object): Likewise. | |
2364 | * solib-spu.c (spu_current_sos): Likewise. | |
2365 | * spu-linux-nat.c (spu_fetch_inferior_registers): Likewise. | |
2366 | * spu-multiarch.c (parse_spufs_run, spu_fetch_registers) | |
2367 | (spu_store_registers): Likewise. | |
2368 | * target.c (debug_print_register): Likewise. | |
2369 | * tic6x-tdep.c (tic6x_get_longjmp_target): Likewise. | |
2370 | * xstormy16-tdep.c (xstormy16_store_return_value) | |
2371 | (xstormy16_push_dummy_call, xstormy16_resolve_jmp_table_entry) | |
2372 | (xstormy16_find_jmp_table_entry): Likewise. | |
2373 | ||
75cc61ca | 2374 | 2013-03-01 Jiong Wang <[email protected]> |
61d8bd0e JW |
2375 | |
2376 | * tilegx-tdep.c (tilegx_get_longjmp_target): New function. | |
2377 | (tilegx_gdbarch_init): Install it. | |
2378 | ||
ddb08e9c TT |
2379 | 2013-02-28 Tom Tromey <[email protected]> |
2380 | ||
2381 | * python/py-arch.c (archpy_disassemble): Use PyInt_Check and | |
2382 | PyLong_Check. | |
2383 | ||
62d7fb51 DE |
2384 | 2013-02-28 Doug Evans <[email protected]> |
2385 | ||
2386 | * python/py-finishbreakpoint.c (bpfinishpy_init): gcc -Wall lint. | |
2387 | * python/python.c (gdbpy_find_pc_line): Ditto. | |
2388 | ||
c4a9e8b4 TT |
2389 | 2013-02-28 Tom Tromey <[email protected]> |
2390 | ||
2391 | * contrib/excheck.py: New file. | |
2392 | * contrib/exsummary.py: New file. | |
2393 | * contrib/gcc-with-excheck: New file. | |
2394 | ||
7f6a5dde TT |
2395 | 2013-02-28 Tom Tromey <[email protected]> |
2396 | ||
2397 | * python/python.c (gdbpy_print_stack): Call begin_line and | |
2398 | fprintf_filtered inside TRY_CATCH. | |
2399 | ||
9e974e55 TT |
2400 | 2013-02-28 Tom Tromey <[email protected]> |
2401 | ||
2402 | * python/python.c (gdbpy_find_pc_line): Call find_pc_line | |
2403 | inside TRY_CATCH. | |
2404 | ||
dd5fa3e7 TT |
2405 | 2013-02-28 Tom Tromey <[email protected]> |
2406 | ||
2407 | * py-finishbreakpoint.c (bpfinishpy_init): Reorganize to call | |
2408 | frame_object_to_frame_info inside TRY_CATCH. | |
2409 | ||
86a3263f TT |
2410 | 2013-02-28 Tom Tromey <[email protected]> |
2411 | ||
2412 | * py-block.c (gdbpy_block_for_pc): Call block_for_pc inside | |
2413 | TRY_CATCH. | |
2414 | ||
81b52a3a TT |
2415 | 2013-02-28 Tom Tromey <[email protected]> |
2416 | ||
2417 | * objfiles.h (ALL_PSPACE_OBJFILES): Remove trailing backlash. | |
2418 | ||
d50a0ce2 CV |
2419 | 2013-02-27 Corinna Vinschen <[email protected]> |
2420 | ||
2421 | * windows-nat.c: Throughout, fix format strings and casts of | |
2422 | printf-like functions to avoid type related warnings on all | |
2423 | platforms. | |
2424 | (handle_output_debug_string): Fetch context information address | |
2425 | from debug string using string_to_core_addr. | |
2426 | ||
e1f58301 JW |
2427 | 2013-02-27 Jiong Wang <[email protected]> |
2428 | ||
2429 | * regformats/reg-tilegx.dat (name): Change abi name to "tilegx". | |
2430 | * regformats/reg-tilegx32.dat: New. | |
2431 | ||
4fcd89fc JW |
2432 | 2013-02-27 Jiong Wang <[email protected]> |
2433 | ||
2434 | * configure.tgt (tilegx-*-linux*): Enable gdbserver. | |
2435 | ||
748d24e6 JW |
2436 | 2013-02-27 Jiong Wang <[email protected]> |
2437 | ||
2438 | * configure.tgt (tilegx-*-linux*): Replace whitespace with tab. | |
2439 | ||
6c8e944d YQ |
2440 | 2013-02-27 Yao Qi <[email protected]> |
2441 | Pedro Alves <[email protected]> | |
2442 | ||
2443 | * tracepoint.c (tfile_trace_find): For tfind | |
2444 | pc/tp/range/outside, look for the next trace frame instead of | |
2445 | always starting from frame 0. | |
2446 | ||
acd7db30 AG |
2447 | 2013-02-26 Anthony Green <[email protected]> |
2448 | ||
2449 | * configure.tgt: Add support for moxie-*-rtems* target. | |
2450 | ||
025e6dce PA |
2451 | 2013-02-25 Pedro Alves <[email protected]> |
2452 | ||
2453 | * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx): Change | |
2454 | warning text. | |
2455 | ||
ca9c94ef MR |
2456 | 2013-02-24 Maciej W. Rozycki <[email protected]> |
2457 | ||
2458 | * mips-tdep.c (mips32_scan_prologue): Reset frame_offset to zero | |
2459 | if $fp is used as the virtual frame pointer. | |
2460 | ||
24c274a1 AM |
2461 | 2013-02-23 Alan Modra <[email protected]> |
2462 | ||
2463 | * elfread.c (elf_symtab_read): Do not use udata.p here to find | |
2464 | symbol size. | |
2465 | * ppc64-tdep.c (ppc64_elf_make_msymbol_special): New function. | |
2466 | * ppc64-tdep.h (ppc64_elf_make_msymbol_special): Declare. | |
2467 | * ppc-linux-tdep.c (ppc_linux_init_abi): Set up to use the above. | |
2468 | * ppcfbsd-tdep.c (ppcfbsd_init_abi): Likewise. | |
2469 | ||
bfada189 JK |
2470 | 2013-02-22 Jan Kratochvil <[email protected]> |
2471 | ||
2472 | Code cleanup. | |
2473 | * elfread.c (build_id_bfd_get): Make the return type const. | |
2474 | (build_id_verify): Make the check parameter const. | |
2475 | (build_id_to_debug_filename): Make the build_id parameter and variable | |
2476 | data const. | |
2477 | (find_separate_debug_file_by_buildid): Make the variable build_id const. | |
2478 | ||
c0355132 AM |
2479 | 2013-02-21 Alan Modra <[email protected]> |
2480 | ||
2481 | * elfread.c (build_id_bfd_get): Adjust for elf_tdata changes. | |
2482 | ||
9f44fbc0 SCR |
2483 | 2013-02-20 Siva Chandra Reddy <[email protected]> |
2484 | ||
2485 | Add a new method 'disassemble' to gdb.Architecture class. | |
2486 | * python/py-arch.c (archpy_disassmble): Implementation of the | |
2487 | new method gdb.Architecture.disassemble. | |
2488 | (arch_object_methods): Add entry for the new method. | |
2489 | ||
b74ea3eb JW |
2490 | 2013-02-20 Jiong Wang <[email protected]> |
2491 | ||
2492 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
2493 | ||
61a672f1 PA |
2494 | 2013-02-19 Pedro Alves <[email protected]> |
2495 | ||
2496 | Garbage collect 'struct monitor_ops'::load_routine. | |
2497 | ||
2498 | * monitor.h (struct monitor_ops) <load_routine>: Remove field. | |
2499 | * monitor.c (monitor_load): No longer call | |
2500 | current_monitor->load_routine. | |
2501 | * dbug-rom.c (init_dbug_cmds): Don't set 'load_routine'. | |
2502 | * m32r-rom.c (init_m32r_cmds): Don't set 'load_routine'. | |
2503 | * ppcbug-rom.c (init_ppc_cmds): Don't set 'load_routine'. | |
2504 | ||
40e397df PA |
2505 | 2013-02-19 Pedro Alves <[email protected]> |
2506 | ||
2507 | PR gdb/15161 | |
2508 | ||
2509 | Harmonize with generic_load. | |
2510 | ||
2511 | * monitor.c: Include "readline/readline.h". | |
2512 | (monitor_load): Rename parameter 'file' to 'args'. Use build_argv | |
2513 | instead of sscanf. Use CORE_ADDR/strtoulst instead of unsigned | |
2514 | long/strtol for the 'load_offset' local. Error out if no argument | |
2515 | is given or if too many arguments are given. Tilde expand the | |
2516 | passed in file name. | |
2517 | ||
f698ca8e KT |
2518 | 2013-02-19 Kai Tietz <[email protected]> |
2519 | ||
2520 | PR gdb/15161 | |
2521 | * symfile.c (load_section_data): Change type of load_offset | |
2522 | to CORE_ADDR. | |
2523 | (generic_load): User strtoulst instead of strtoul for conversion | |
2524 | of load_offset. | |
2525 | ||
3361b059 WL |
2526 | 2013-02-19 Jiong Wang <[email protected]> |
2527 | ||
2528 | * tilegx-tdep.c (tilegx_analyze_prologue): add check for | |
2529 | for return address, "lr" register, saved on stack. | |
2530 | * tilegx-tdep.c (tilegx_frame_cache): update "PC" reg | |
2531 | after we invoke tilegx_analyze_prologue. | |
2532 | ||
3e9d5130 WL |
2533 | 2013-02-19 Jiong Wang <[email protected]> |
2534 | ||
bb1bcd86 WL |
2535 | * tilegx-tdep.c (itilegx_gdbarch_init): char type should be signed. |
2536 | ||
3361b059 | 2537 | 2013-02-19 Jiong Wang <[email protected]> |
bb1bcd86 | 2538 | |
b74ea3eb | 2539 | * tilegx-tdep.c (tilegx_skip_prologue): Use skip_prologue_using_sal. |
3e9d5130 | 2540 | |
4aaf2503 WL |
2541 | 2013-02-19 Jiong Wang <[email protected]> |
2542 | ||
b74ea3eb | 2543 | * tilegx-tdep.c (INT_SWINT_1_SIGRETURN): New macro. |
4aaf2503 WL |
2544 | (tilegx_write_pc): New function. |
2545 | (tilegx_cannot_reference_register): Return zero if REGNO | |
2546 | is TILEGX_FAULTNUM_REGNUM. | |
2547 | (tilegx_gdbarch_init): Add call to set_gdbarch_write_pc. | |
2548 | (tilegx_register_name): Add handling of "faultnum" register. | |
2549 | * tilegx-tdep.h (enum tilegx_regnum): Add TILEGX_FAULTNUM_REGNUM. | |
2550 | * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Add | |
2551 | handling of TILEGX_FAULTNUM_REGNUM. | |
2552 | * tilegx-linux-nat.c (regmap): Add entry for TILEGX_FAULTNUM_REGNUM. | |
2553 | ||
bc23a956 WL |
2554 | 2013-02-19 Jiong Wang <[email protected]> |
2555 | ||
2556 | * tilegx-tdep.c (tilegx_push_dummy_call): args pushed on stack | |
b74ea3eb | 2557 | should be aligned to 64bit. |
bc23a956 | 2558 | |
42f45f1a KT |
2559 | 2013-02-19 Kai Tietz <[email protected]> |
2560 | ||
2561 | * windows-nat.c (windows_xfer_memory): Fix debug-output | |
2562 | for LLP64. | |
2563 | ||
6ce4c112 LL |
2564 | 2013-02-19 Lei Liu <[email protected]> |
2565 | ||
2566 | * mips-linux-nat.c (mips64_linux_regsets_store_registers): | |
2567 | Don't check DSP register number if HAVE_DSP is not set. | |
2568 | ||
30e8ee25 AM |
2569 | 2013-02-19 Alan Modra <[email protected]> |
2570 | ||
2571 | * elfread.c (struct build_id): Delete. Use struct elf_build_id | |
2572 | throughout file instead. | |
2573 | (build_id_bfd_get): Update to use new elf_tdata build_id field. | |
2574 | Don't xmalloc return value. | |
2575 | (build_id_verify): Similarly. Don't xfree. | |
2576 | (build_id_to_debug_filename): Update. | |
2577 | (find_separate_debug_file_by_buildid): Update, don't xfree. | |
2578 | ||
4c9ad8c2 TT |
2579 | 2013-02-18 Tom Tromey <[email protected]> |
2580 | ||
2581 | PR gdb/15102: | |
2582 | * dwarf2read.c (read_subrange_type): Use result of | |
2583 | 'check_typedef'. | |
2584 | ||
983dc440 YQ |
2585 | 2013-02-16 Yuanhui Zhang <[email protected]> |
2586 | ||
2587 | * frame.c: Remove one extra white space after #include | |
2588 | directive. | |
2589 | ||
7fb2b84a JK |
2590 | 2013-02-15 Jan Kratochvil <[email protected]> |
2591 | ||
2592 | * contrib/cc-with-tweaks.sh: Extend the comment for -p option. | |
2593 | ||
edceb2a9 JK |
2594 | 2013-02-15 Jan Kratochvil <[email protected]> |
2595 | ||
2596 | * gdb-gdb.gdb.in: Wrap set complaints, b internal_error, b info_command | |
2597 | and dir commands into an if block. | |
2598 | ||
e81b7af8 TT |
2599 | 2013-02-15 Sanimir Agovic <[email protected]> |
2600 | ||
2601 | * python/py-breakpoint (struct pybp_code): Use int instead of | |
2602 | enum type_code. | |
2603 | ||
f5911ea1 HAQ |
2604 | 2013-02-15 Pedro Alves <[email protected]> |
2605 | Hafiz Abid Qadeer <[email protected]> | |
2606 | ||
2607 | * NEWS: Mention new field "trace-file". | |
2608 | * tracepoint.c (trace_status_mi): Output "trace-file" field. | |
2609 | (tfile_open): Record the trace file's filename in the trace | |
2610 | status. | |
2611 | (tfile_files_info): Mention the name of the trace file. | |
2612 | Check the "filename" field explicitely. | |
2613 | (trace_status_command): Explicitely check "filename" field. | |
2614 | (trace_find_command): Ditto. | |
2615 | (trace_find_pc_command): Ditto. | |
2616 | (trace_find_tracepoint_command): Ditto. | |
2617 | (trace_find_line_command): Ditto. | |
2618 | (trace_find_range_command): Ditto. | |
2619 | (trace_find_outside_command): Ditto. | |
2620 | * tracepoint.h (struct trace_status) <from_file>: Rename it | |
2621 | to "filename" and make it hold the trace file's filename | |
2622 | instead of a boolean. | |
2623 | * remote.c (remote_get_trace_status): Initialize "filename" | |
2624 | field with NULL instead of 0. | |
2625 | ||
796cb314 YQ |
2626 | 2013-02-15 Yao Qi <[email protected]> |
2627 | ||
2628 | * remote.c: Fix a typo. | |
2629 | ||
42e79b1d PM |
2630 | 2013-02-14 Pierre Muller <[email protected]> |
2631 | ||
2632 | * contrib/ari/gdb_ari.sh (GNU/Linux rule): Remove. | |
2633 | ||
baea0dae PA |
2634 | 2013-02-14 Pedro Alves <[email protected]> |
2635 | ||
2636 | * utils.c (savestring): Don't #undef it. Move function to | |
2637 | common/common-utils.c. | |
2638 | * common/common-utils.c: Include gdb_string.h. | |
2639 | (savestring): Move here from utils.c. | |
2640 | * common/common-utils.h (savestring): Declare. | |
2641 | ||
57c3b6ed PA |
2642 | 2013-02-14 Pedro Alves <[email protected]> |
2643 | ||
2644 | * utils.c (savestring): Rename parameter 'size' to 'len'. | |
2645 | ||
d6c44983 YZ |
2646 | 2013-02-14 Pedro Alves <[email protected]> |
2647 | Yufeng Zhang <[email protected]> | |
2648 | ||
2649 | * aarch64-linux-nat.c (aarch64_init_debug_reg_state): Delete. | |
2650 | (aarch64_inferior_data, struct aarch64_inferior_data): | |
2651 | Delete. | |
2652 | (struct aarch64_process_info): New. | |
2653 | (aarch64_process_list): New global. | |
2654 | (aarch64_find_process_pid, aarch64_add_process) | |
2655 | (aarch64_process_info_get): New functions. | |
2656 | (aarch64_inferior_data_get): Delete. | |
2657 | (aarch64_process_info_get): New function. | |
2658 | (aarch64_forget_process): New function. | |
2659 | (aarch64_get_debug_reg_state): New parameter 'pid'. Reimplement. | |
2660 | (aarch64_linux_prepare_to_resume): Pass the lwp's pid to | |
2661 | aarch64_get_debug_reg_state. | |
2662 | (aarch64_notify_debug_reg_change): Use iterate_over_lwps | |
2663 | instead of linux_nat_iterate_watchpoint_lwps. | |
2664 | (aarch64_linux_new_fork): New function. | |
2665 | (aarch64_linux_child_post_startup_inferior): Use | |
2666 | aarch64_forget_process instead of aarch64_init_debug_reg_state. | |
2667 | (aarch64_handle_breakpoint, aarch64_linux_insert_hw_breakpoint) | |
2668 | (aarch64_linux_remove_hw_breakpoint) | |
2669 | (aarch64_handle_aligned_watchpoint) | |
2670 | (aarch64_handle_unaligned_watchpoint) | |
2671 | (aarch64_linux_insert_watchpoint) | |
2672 | (aarch64_linux_remove_watchpoint) | |
2673 | (aarch64_linux_stopped_data_address): Adjust to pass the current | |
2674 | process id to aarch64_debug_reg_state. | |
2675 | (_initialize_aarch64_linux_nat): Install aarch64_linux_new_fork as | |
2676 | linux_nat_new_fork hook, and aarch64_forget_process as | |
2677 | linux_nat_forget_process hook; remove the call to | |
2678 | register_inferior_data_with_cleanup. | |
2679 | ||
4819b3f8 PA |
2680 | 2013-02-14 Pedro Alves <[email protected]> |
2681 | ||
2682 | * eval.c (evaluate_subexp_for_address) <default_case_after_eval, | |
2683 | EVAL_AVOID_SIDE_EFFECTS>: Swap and handle TYPE_CODE_REF before | |
2684 | lval_memory. | |
2685 | ||
1773c82c HAQ |
2686 | 2013-02-14 Pedro Alves <[email protected]> |
2687 | Hafiz Abid Qadeer <[email protected]> | |
2688 | ||
2689 | * tracepoint.h (validate_trace_state_variable_name): Declare. | |
2690 | * tracepoint.c (validate_trace_state_variable_name): New. | |
2691 | (trace_variable_command): Parse the trace state variable's name | |
2692 | without using parse_expression. Do several validations. | |
2693 | * mi/mi-main.c (mi_cmd_trace_define_variable): Don't parse the | |
2694 | trace state variable's name with parse_expression. Validate it. | |
2695 | ||
53778a97 YQ |
2696 | 2013-02-14 Yao Qi <[email protected]> |
2697 | ||
2698 | * infcmd.c (breakpoint_proceeded): Remove it. | |
2699 | ||
7b3ae3a6 YQ |
2700 | 2013-02-14 Yao Qi <[email protected]> |
2701 | ||
2702 | * tracepoint.c (end_actions_pseudocommand): Make it static. | |
2703 | (while_stepping_pseudocommand): Likewise. | |
2704 | * tracepoint.h (end_actions_pseudocommand): Remove the | |
2705 | declaration. | |
2706 | (while_stepping_pseudocommand): Likewise. | |
2707 | ||
64580925 YQ |
2708 | 2013-02-14 Yao Qi <[email protected]> |
2709 | ||
2710 | * cli/cli-decode.c (help_cmd): Remove the declaration of | |
2711 | "cmdlist". | |
2712 | (help_all): Likewise. | |
2713 | ||
26cb8b7c PA |
2714 | 2013-02-13 Pedro Alves <[email protected]> |
2715 | ||
2716 | * amd64-linux-nat.c (update_debug_registers_callback): | |
2717 | Update comment. | |
2718 | (amd64_linux_dr_set_control, amd64_linux_dr_set_addr): Use | |
2719 | iterate_over_lwps. | |
2720 | (amd64_linux_prepare_to_resume): Pass the lwp's pid to | |
2721 | i386_debug_reg_state. | |
2722 | (amd64_linux_new_fork): New function. | |
2723 | (_initialize_amd64_linux_nat): Install amd64_linux_new_fork as | |
2724 | linux_nat_new_fork hook, and i386_forget_process as | |
2725 | linux_nat_forget_process hook. | |
2726 | * i386-linux-nat.c (update_debug_registers_callback): | |
2727 | Update comment. | |
a8256ea1 | 2728 | (i386_linux_dr_set_control, i386_linux_dr_set_addr): Use |
26cb8b7c PA |
2729 | iterate_over_lwps. |
2730 | (i386_linux_prepare_to_resume): Pass the lwp's pid to | |
2731 | i386_debug_reg_state. | |
2732 | (i386_linux_new_fork): New function. | |
2733 | (_initialize_i386_linux_nat): Install i386_linux_new_fork as | |
2734 | linux_nat_new_fork hook, and i386_forget_process as | |
2735 | linux_nat_forget_process hook. | |
2736 | * i386-nat.c (i386_init_dregs): Delete. | |
2737 | (i386_inferior_data, struct i386_inferior_data): | |
2738 | Delete. | |
2739 | (struct i386_process_info): New. | |
2740 | (i386_process_list): New global. | |
2741 | (i386_find_process_pid, i386_add_process, i386_process_info_get): | |
2742 | New functions. | |
2743 | (i386_inferior_data_get): Delete. | |
2744 | (i386_process_info_get): New function. | |
2745 | (i386_debug_reg_state): New parameter 'pid'. Reimplement. | |
2746 | (i386_forget_process): New function. | |
2747 | (i386_cleanup_dregs): Rewrite. | |
2748 | (i386_update_inferior_debug_regs, i386_insert_watchpoint) | |
2749 | (i386_remove_watchpoint, i386_region_ok_for_watchpoint) | |
2750 | (i386_stopped_data_address, i386_insert_hw_breakpoint) | |
2751 | (i386_remove_hw_breakpoint): Adjust to pass the current process id | |
2752 | to i386_debug_reg_state. | |
2753 | (i386_use_watchpoints): Don't register inferior data. | |
2754 | * i386-nat.h (i386_debug_reg_state): Add new 'pid' parameter, and | |
2755 | adjust comment. | |
2756 | (i386_forget_process): Declare. | |
2757 | * linux-fork.c (delete_fork): Call linux_nat_forget_process. | |
2758 | * linux-nat.c (linux_nat_new_fork, linux_nat_forget_process_hook): | |
2759 | New static globals. | |
2760 | (linux_child_follow_fork): Don't call linux_nat_new_thread here. | |
2761 | (add_initial_lwp): New, factored out from ... | |
2762 | (add_lwp): ... this. Don't check the number of lwps before | |
2763 | calling linux_nat_new_thread. | |
2764 | (linux_nat_iterate_watchpoint_lwps): Delete. | |
2765 | (linux_nat_attach): Use add_initial_lwp instead of add_lwp. | |
2766 | (linux_handle_extended_wait): Call the linux_nat_new_fork hook on | |
2767 | forks and vforks. | |
2768 | (linux_nat_wait_1): Use add_initial_lwp instead of add_lwp for the | |
2769 | initial lwp. | |
2770 | (linux_nat_kill, linux_nat_mourn_inferior): Call | |
2771 | linux_nat_forget_process. | |
2772 | (linux_nat_set_new_fork, linux_nat_set_forget_process) | |
2773 | (linux_nat_forget_process): New functions. | |
2774 | * linux-nat.h (linux_nat_iterate_watchpoint_lwps_ftype): Delete | |
2775 | type. | |
2776 | (linux_nat_iterate_watchpoint_lwps): Delete declaration. | |
2777 | (linux_nat_new_fork_ftype, linux_nat_forget_process_ftype): New | |
2778 | types. | |
2779 | (linux_nat_set_new_fork, linux_nat_set_forget_process) | |
2780 | (linux_nat_forget_process): New declarations. | |
2781 | ||
2782 | * amd64fbsd-nat.c (super_mourn_inferior): New global. | |
2783 | (amd64fbsd_mourn_inferior): New function. | |
2784 | (_initialize_amd64fbsd_nat): Override to_mourn_inferior. | |
2785 | * windows-nat.c (windows_detach): Call i386_cleanup_dregs. | |
2786 | ||
5befea72 MS |
2787 | 2013-02-13 Marcus Shawcroft <[email protected]> |
2788 | ||
55015247 YQ |
2789 | * aarch64-linux-nat.c (aarch64_linux_get_debug_reg_capacity): |
2790 | Adding _(). | |
5befea72 | 2791 | |
1d3ffd6b MS |
2792 | 2013-02-13 Marcus Shawcroft <[email protected]> |
2793 | ||
2794 | * aarch64-linux-nat.c (debug_reg_change_callback) | |
2795 | (aarch64_linux_get_debug_reg_capacity): ARI fix: Replace %llx with | |
2796 | %s and phex(). | |
2797 | ||
6eb04473 MS |
2798 | 2013-02-13 Marcus Shawcroft <[email protected]> |
2799 | ||
2800 | * aarch64-linux-nat.c (dr_changed_t): ARI fix: Replace long long | |
2801 | with LONGEST. | |
2802 | ||
a016fc87 HAQ |
2803 | 2013-02-13 Pedro Alves <[email protected]> |
2804 | Hafiz Abid Qadeer <[email protected]> | |
2805 | ||
2806 | * c-lang.c (c_op_print_tab): Add entry for UNOP_PLUS. | |
2807 | ||
e234dfaf TT |
2808 | 2013-02-12 Tom Tromey <[email protected]> |
2809 | ||
2810 | PR symtab/11464: | |
2811 | * c-exp.y (lex_one_token): Initialize other fields of yylval on | |
2812 | NAME return. | |
2813 | (classify_inner_name): Remove 'first_name' argument, add | |
2814 | 'context'. Remove unused variable. | |
2815 | (yylex): Explicitly maintain the context type. Exit loop earlier | |
2816 | if NAME result is seen. | |
2817 | ||
0b1afbb3 PA |
2818 | 2013-02-12 Pedro Alves <[email protected]> |
2819 | ||
2820 | * amd64-darwin-tdep.c: Add (C) after Copyright. | |
2821 | * cli/cli-cmds.h: Ditto. | |
2822 | * cli/cli-decode.c: Ditto. | |
2823 | * cli/cli-decode.h: Ditto. | |
2824 | * cli/cli-dump.c: Ditto. | |
2825 | * cli/cli-dump.h: Ditto. | |
2826 | * cli/cli-interp.c: Ditto. | |
2827 | * cli/cli-logging.c: Ditto. | |
2828 | * cli/cli-script.c: Ditto. | |
2829 | * cli/cli-script.h: Ditto. | |
2830 | * cli/cli-setshow.c: Ditto. | |
2831 | * cli/cli-setshow.h: Ditto. | |
2832 | * cli/cli-utils.c: Ditto. | |
2833 | * cli/cli-utils.h: Ditto. | |
2834 | * config/alpha/nm-osf3.h: Ditto. | |
2835 | * config/djgpp/djconfig.sh: Ditto. | |
2836 | * config/i386/nm-fbsd.h: Ditto. | |
2837 | * config/i386/nm-i386gnu.h: Ditto. | |
2838 | * config/nm-linux.h: Ditto. | |
2839 | * config/nm-nto.h: Ditto. | |
2840 | * config/rs6000/nm-rs6000.h: Ditto. | |
2841 | * config/sparc/nm-sol2.h: Ditto. | |
2842 | * darwin-nat-info.c: Ditto. | |
2843 | * dfp.c: Ditto. | |
2844 | * dfp.h: Ditto. | |
2845 | * gdb-demangle.h: Ditto. | |
2846 | * i386-darwin-nat.c: Ditto. | |
2847 | * i386-darwin-tdep.c: Ditto. | |
2848 | * linux-fork.h: Ditto. | |
2849 | * m32c-tdep.c: Ditto. | |
2850 | * microblaze-linux-tdep.c: Ditto. | |
2851 | * microblaze-rom.c: Ditto. | |
2852 | * microblaze-tdep.c: Ditto. | |
2853 | * microblaze-tdep.h: Ditto. | |
2854 | * mips-linux-tdep.h: Ditto. | |
2855 | * ppc-ravenscar-thread.c: Ditto. | |
2856 | * ppc-ravenscar-thread.h: Ditto. | |
2857 | * prologue-value.c: Ditto. | |
2858 | * prologue-value.h: Ditto. | |
2859 | * ravenscar-thread.c: Ditto. | |
2860 | * ravenscar-thread.h: Ditto. | |
2861 | * sparc-ravenscar-thread.c: Ditto. | |
2862 | * sparc-ravenscar-thread.h: Ditto. | |
2863 | * tilegx-linux-tdep.c: Ditto. | |
2864 | * unwind_stop_reasons.def: Ditto. | |
2865 | * windows-nat.h: Ditto. | |
2866 | * xtensa-linux-tdep.c: Ditto. | |
2867 | * xtensa-xtregs.c: Ditto. | |
2868 | * regformats/regdat.sh: Ditto. | |
2869 | * regformats/regdef.h: Ditto. | |
2870 | ||
6c01dd94 PA |
2871 | 2013-02-12 Pedro Alves <[email protected]> |
2872 | ||
2873 | * break-catch-sig.c: Update copyright years. | |
2874 | ||
b65a2bd9 SCR |
2875 | 2013-02-11 Siva Chandra Reddy <[email protected]> |
2876 | ||
2877 | Add support for a destructor for ui_out data and use it to | |
2878 | provide a ui_out destructor. | |
2879 | * ui-out.h: Declare the new ui_out destructor. | |
2880 | (ui_out_impl): Add a field for data destructor in ui_out_impl. | |
2881 | * ui-out.c (default_data_destroy): Add a default data destructor | |
2882 | which does nothing. | |
2883 | (default_ui_out_impl): Set the new data_destroy field to | |
2884 | default_data_destroy | |
2885 | (uo_data_destroy): Local function which invokes the data | |
2886 | destructor if present. | |
2887 | (clear_table): Local function which clears the table data of a | |
2888 | ui_out object. | |
2889 | (ui_out_destroy): Public function which frees a ui_out object. | |
2890 | (ui_out_table_end): Use the new clear_table function. | |
2891 | * cli-out.c (cli_ui_out_impl): Set the new data_destroy field to | |
2892 | NULL. | |
2893 | * mi/mi-out.c (mi_ui_out_impl): Set the new data_destroy field | |
2894 | to NULL. | |
2895 | ||
c2792f5a DE |
2896 | 2013-02-11 Doug Evans <[email protected]> |
2897 | ||
2898 | * printcmd.c (printf_c_string,printf_wide_c_string): New functions. | |
2899 | (printf_decfloat): New function. Broken out from ui_printf. | |
2900 | Remove unnecessary code to shift the entire format string down. | |
2901 | (printf_pointer): New function. | |
2902 | (ui_printf): Code to print C strings, wide C strings, decfloats, | |
2903 | and pointers moved to separate functions. | |
2904 | ||
d9e98382 SDJ |
2905 | 2013-02-11 Sergio Durigan Junior <[email protected]> |
2906 | ||
2907 | * valops.c (value_assign): Handling bitfield offset in | |
2908 | `lval_internalvar_component' case. | |
2909 | ||
4ff3ce77 DE |
2910 | 2013-02-08 Doug Evans <[email protected]> |
2911 | ||
2912 | * common/format.c (parse_format_string): Fix whitespace. | |
2913 | ||
901900c4 MGD |
2914 | 2013-02-08 Matthew Gretton-Dann <[email protected]> |
2915 | ||
2916 | * stack.c (return_command): Work around uninitialized variable | |
2917 | warning. | |
2918 | ||
b5dbc8d4 YZ |
2919 | 2013-02-08 Yufeng Zhang <[email protected]> |
2920 | ||
2921 | * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET): Change the | |
2922 | number of the registers from 36 to 34. | |
2923 | ||
51d66578 MS |
2924 | 2013-02-08 Marcus Shawcroft <[email protected]> |
2925 | ||
2926 | * NEWS: Mention new AArch64 native and target support. | |
2927 | ||
176b1c95 MS |
2928 | 2013-02-08 Marcus Shawcroft <[email protected]> |
2929 | ||
2930 | * MAINTAINERS (Write After Approval): Add myself. | |
2931 | ||
9d19df75 MS |
2932 | 2013-02-08 Jim MacArthur <[email protected]> |
2933 | Marcus Shawcroft <[email protected]> | |
2934 | Nigel Stephens <[email protected]> | |
2935 | Yufeng Zhang <[email protected]> | |
2936 | ||
2937 | * aarch64-linux-nat.c: New file. | |
2938 | * config/aarch64/linux.mh: New file. | |
2939 | * configure.host: Add AArch64. | |
2940 | * Makefile.in (ALLDEPFILES): Add aarch64-linux-nat.c. | |
2941 | ||
7e1e0340 DE |
2942 | 2013-02-07 Doug Evans <[email protected]> |
2943 | ||
2944 | * cli/cli-cmds.c (_initialize_cli_cmds): Clarify argument to | |
2945 | disassemble command. | |
2946 | ||
45e25a36 MS |
2947 | 2013-02-07 Marcus Shawcroft <[email protected]> |
2948 | ||
2949 | * aarch64-linux-tdep.c (aarch64_linux_init_abi): Call | |
2950 | set_gdbarch_fetch_tls_load_module_address. | |
2951 | ||
bbfdfe1c DM |
2952 | 2013-02-06 David S. Miller <[email protected]> |
2953 | ||
2954 | * sparc-tdep.c (sparc32_return_value): Handle writing return value when | |
2955 | using RETURN_VALUE_ABI_PRESERVES_ADDRESS. | |
2956 | * value.c (struct_return_convention): New function. | |
2957 | (using_struct_return): Implement in terms of struct_return_convention. | |
2958 | * value.h (struct_return_convention): Declare. | |
2959 | * stack.c (return_command): Allow successful overriding of the return | |
2960 | value when RETURN_VALUE_ABI_PRESERVES_ADDRESS. | |
2961 | ||
bc9abe4a TT |
2962 | 2013-02-06 Tom Tromey <[email protected]> |
2963 | ||
2964 | * python/py-type.c (typy_strip_typedefs): Don't call check_typedef | |
2965 | outside of TRY_CATCH. | |
2966 | ||
134a2066 YQ |
2967 | 2013-02-06 Yao Qi <[email protected]> |
2968 | ||
2969 | * mi/mi-interp.c: Include "tracepoint.h". | |
2970 | (mi_tsv_modified): Declare. | |
2971 | (mi_tsv_created, mi_tsv_deleted): Update declaration. | |
2972 | (mi_interpreter_init): Call observer_attach_tsv_modified. | |
2973 | (mi_tsv_modified): New. | |
2974 | (mi_tsv_created, mi_tsv_deleted): Update. | |
2975 | * tracepoint.c (trace_variable_command): Call | |
2976 | observer_notify_tsv_modified if the initial value of tsv is | |
2977 | changed. | |
2978 | (delete_trace_state_variable): Call | |
2979 | observer_notify_tsv_deleted earlier. | |
2980 | (trace_variable_command): Caller update. | |
2981 | (create_tsv_from_upload): Likewise. | |
2982 | * observer.sh: Declare "struct trace_state_variable". | |
2983 | ||
2984 | * NEWS: Mention the new MI notification "=tsv-modified". | |
2985 | ||
59be2b6a DE |
2986 | 2013-02-05 Doug Evans <[email protected]> |
2987 | ||
2988 | * completer.c (location_completer): Fix typo in comment. | |
2989 | ||
d30113d4 JK |
2990 | 2013-02-05 Jan Kratochvil <[email protected]> |
2991 | ||
2992 | * breakpoint.c (add_location_to_breakpoint): Insert the location with | |
2993 | ADDRESS sorted. | |
2994 | ||
14ac654f MS |
2995 | 2013-02-05 Marcus Shawcroft <[email protected]> |
2996 | ||
2997 | * aarch64-tdep.c (aarch64_analyze_prologue): ARI fix: | |
2998 | Refactor if statement to avoid trailing || operator. | |
2999 | ||
543bf33d AT |
3000 | 2013-02-05 Andreas Tobler <[email protected]> |
3001 | ||
3002 | * NEWS: Add PowerPC FreeBSD as a new native configuration. | |
3003 | ||
dc18f110 AT |
3004 | 2013-02-04 Andreas Tobler <[email protected]> |
3005 | ||
3006 | * Makefile.in (ALL_TARGET_OBS): Add powerpc FreeBSD files. | |
3007 | * configure.host: Add powerpc*-*-freebsd* target. | |
3008 | * configure.tgt: Add target info for powerpc*-*-freebsd*. | |
3009 | * ppcfbsd-nat.c, ppcfbsd-tdep.h, ppcfbsd-tdep.c: New files. | |
3010 | * config/powerpc/fbsd.mh: New file. | |
3011 | ||
b3ac9c77 SDJ |
3012 | 2013-02-04 Sergio Durigan Junior <[email protected]> |
3013 | Denys Vlasenko <[email protected]> | |
3014 | Pedro Alves <[email protected]> | |
3015 | ||
3016 | * gdbarch.sh (elfcore_write_linux_prpsinfo): New F hook. | |
3017 | (struct elf_internal_linux_prpsinfo): Forward declare. | |
3018 | * gdbarch.h, gdbarch.c: Regenerate. | |
3019 | * linux-tdep.c: Include `cli/cli-utils.h'. | |
3020 | (linux_fill_prpsinfo): New function. | |
3021 | (linux_make_corefile_notes): Use linux_fill_prpsinfo. If there's | |
3022 | an elfcore_write_linux_prpsinfo hook, use it, otherwise, use | |
3023 | elfcore_write_linux_prpsinfo32 or elfcore_write_linux_prpsinfo64 | |
3024 | depending on gdbarch pointer bitness. | |
3025 | * ppc-linux-tdep.c: Include elf-bfd.h. | |
3026 | (ppc_linux_init_abi): Hook in elfcore_write_ppc_linux_prpsinfo32 | |
3027 | on 32-bit. | |
3028 | ||
176eb98c MS |
3029 | 2013-02-04 Jim MacArthur <[email protected]> |
3030 | Marcus Shawcroft <[email protected]> | |
3031 | Nigel Stephens <[email protected]> | |
3032 | Yufeng Zhang <[email protected]> | |
3033 | ||
3034 | * configure.tgt (aarch64*-*-linux*): Set build_gdbserver=yes. | |
3035 | ||
cf0dbd6f MS |
3036 | 2013-02-04 Jim MacArthur <[email protected]> |
3037 | Marcus Shawcroft <[email protected]> | |
3038 | Nigel Stephens <[email protected]> | |
3039 | Yufeng Zhang <[email protected]> | |
3040 | ||
3041 | * aarch64-newlib-tdep.c: New file. | |
3042 | * configure.tgt: Add aarch64-newlib-tdep.o to gdb_target_obs of | |
3043 | aarch64*-*-elf. | |
3044 | * defs.h (enum gdb_osabi): Add GDB_OSABI_NEWLIB. | |
3045 | * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-newlib-tdep.o. | |
3046 | (ALLDEPFILES): Add aarch64-newlib-tdep.c. | |
3047 | * osabi.c (gdb_osabi_names): Add "Newlib". | |
3048 | ||
1ae3db19 MS |
3049 | 2013-02-04 Jim MacArthur <[email protected]> |
3050 | Marcus Shawcroft <[email protected]> | |
3051 | Nigel Stephens <[email protected]> | |
3052 | Yufeng Zhang <[email protected]> | |
3053 | ||
3054 | * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-linux-tdep.o. | |
3055 | (ALLDEPFILES): Add aarch64-linux-tdep.c. | |
3056 | * aarch64-linux-tdep.c: New file. | |
3057 | * aarch64-linux-tdep.h: New file. | |
3058 | * aarch64-tdep.h (gdbarch_tdep): Define gregset and fpregset. | |
3059 | * configure.tgt: Add aarch64-none-linux-gnu. | |
3060 | ||
07b287a0 MS |
3061 | 2013-02-04 Jim MacArthur <[email protected]> |
3062 | Marcus Shawcroft <[email protected]> | |
3063 | Nigel Stephens <[email protected]> | |
3064 | Yufeng Zhang <[email protected]> | |
3065 | ||
3066 | * Makefile.in (ALL_64_TARGET_OBS): Add arch64-tdep.o. | |
3067 | (HFILES_NO_SRCDIR): Add aarch64-tdep.h. | |
3068 | (ALLDEPFILES): Add aarch64-tdep.c. | |
3069 | * aarch64-tdep.c: New file. | |
3070 | * aarch64-tdep.h: New file. | |
3071 | * configure.tgt: Add AArch64. | |
3072 | * features/Makefile (WHICH): Add aarch64 and aarch64-without-fpu. | |
3073 | (aarch64-expedite): New definition. | |
3074 | * features/aarch64-core.xml: New file. | |
3075 | * features/aarch64-fpu.xml: New file. | |
3076 | * features/aarch64-without-fpu.c: New file (generated). | |
3077 | * features/aarch64-without-fpu.xml: New file. | |
3078 | * features/aarch64.c: New file (generated). | |
3079 | * features/aarch64.xml: New file. | |
3080 | * regformats/aarch64-without-fpu.dat: New file (generated). | |
3081 | * regformats/aarch64.dat: New file (generated). | |
3082 | ||
0f1b18ab JK |
3083 | 2013-02-03 Jan Kratochvil <[email protected]> |
3084 | ||
3085 | * contrib/expect-read1.c: New file. | |
3086 | * contrib/expect-read1.sh: New file. | |
3087 | ||
233d95b5 JK |
3088 | 2013-02-03 Jan Kratochvil <[email protected]> |
3089 | ||
3090 | * dwarf2read.c (file_file_name): New function with code from | |
3091 | file_full_name. | |
3092 | (file_full_name): Move most of the code to file_file_name. | |
3093 | (macro_start_file): Rename variable full_name to file_name and use | |
3094 | file_file_name for it. Add comp_dir parameter to new_macro_table. | |
3095 | * macrocmd.c (show_pp_source_pos): New variable fullname. Replace any | |
3096 | macro_source_file->filename access by macro_source_fullname call. | |
3097 | * macroscope.c (_initialize_macroscope): Update the new_macro_table | |
3098 | caller. | |
3099 | * macrotab.c (struct macro_table): New field comp_dir. | |
3100 | (macro_include): New variables link_fullname and source_fullname. | |
3101 | Replace any macro_source_file->filename access by macro_source_fullname | |
3102 | call. | |
3103 | (macro_lookup_inclusion): Remove the partial filenames checking code. | |
3104 | (check_for_redefinition): New variables source_fullname and | |
3105 | found_key_fullname. Replace any macro_source_file->filename access by | |
3106 | macro_source_fullname call. | |
3107 | (macro_undef): New variables source_fullname and key_fullname. Replace | |
3108 | any macro_source_file->filename access by macro_source_fullname call. | |
3109 | (macro_lookup_definition): New variables retval and source_fullname. | |
3110 | Replace any macro_source_file->filename access by macro_source_fullname | |
3111 | call. | |
3112 | (foreach_macro): New variable key_fullname. Replace any | |
3113 | macro_source_file->filename access by macro_source_fullname call. | |
3114 | (foreach_macro_in_scope): New variable datum_fullname. Replace any | |
3115 | macro_source_file->filename access by macro_source_fullname call. | |
3116 | (new_macro_table): Add parameter comp_dir. Initialize T with it. | |
3117 | (macro_source_fullname): New function. | |
3118 | * macrotab.h (struct macro_source_file): Extent the filename field | |
3119 | comment. | |
3120 | (new_macro_table): New parameter comp_dir, add a comment for it. | |
3121 | (macro_source_fullname): new declaration. | |
3122 | ||
da235a7c JK |
3123 | 2013-02-03 Jan Kratochvil <[email protected]> |
3124 | ||
3125 | * dwarf2read.c (dw2_map_symtabs_matching_filename): Move variable | |
3126 | this_real_name to outer block. Use it also for | |
3127 | compare_filenames_for_search. | |
3128 | (dw2_expand_symtabs_matching): New variable this_real_name. Use it | |
3129 | with dw2_get_real_path for file_matcher, considering also | |
3130 | BASENAMES_MAY_DIFFER. | |
3131 | (file_full_name): Prepend COMP_DIR even for relative lh->INCLUDE_DIRS. | |
3132 | ||
fbd9ab74 JK |
3133 | 2013-02-03 Jan Kratochvil <[email protected]> |
3134 | ||
3135 | * dwarf2read.c (dw2_expand_symtabs_matching): Add basenames parameter | |
3136 | to the file_matcher parameter. Pass 0 to it. | |
3137 | (dwarf2_create_include_psymtab): Copy also DIRNAME. | |
3138 | * psymtab.c (partial_map_symtabs_matching_filename): Drop handling of | |
3139 | NULL psymtab_to_fullname result. | |
3140 | (psymtab_to_fullname): Remove variable r. Never return NULL, assemble | |
3141 | an expected filename instead. | |
3142 | (expand_symtabs_matching_via_partial): Add basenames parameter to the | |
3143 | file_matcher parameter. Call also psymtab_to_fullname, after newly | |
3144 | considering BASENAMES_MAY_DIFFER. | |
3145 | * source.c (rewrite_source_path): Remove static. | |
3146 | * source.h (rewrite_source_path): New declaration. | |
3147 | * symfile.h (struct quick_symbol_functions): Add basenames parameter to | |
3148 | the expand_symtabs_matching field. Comment it. | |
3149 | * symtab.c (file_matches): New function comment. Add parameter | |
3150 | basenames, implement it. | |
3151 | (search_symbols_file_matches): Add basenames parameter. Update the | |
3152 | file_matches caller. | |
3153 | (search_symbols): Match FILES also against symtab_to_fullname. | |
3154 | Optimize it for BASENAMES_MAY_DIFFER. | |
3155 | ||
56d397a3 JK |
3156 | 2013-02-03 Jan Kratochvil <[email protected]> |
3157 | ||
3158 | * source.c (print_source_lines_base): Print for TUI also "fullname". | |
3159 | * tui/tui-data.c (init_content_element): Change tui_locator_element | |
3160 | field to full_name. | |
3161 | * tui/tui-data.h (struct tui_locator_element): Likewise. | |
3162 | * tui/tui-disasm.c (tui_show_disassem_and_update_source): Rename | |
3163 | tui_update_locator_filename calls to tui_update_locator_fullname. | |
3164 | Replace symtab->filename refererence by symtab_to_fullname call. | |
3165 | * tui/tui-out.c (tui_field_string): Check for "fullname" now. | |
3166 | * tui/tui-source.c (tui_set_source_content): Change tui_locator_element | |
3167 | field to full_name. Replace symtab->filename refererence by | |
3168 | symtab_to_fullname call. | |
3169 | (tui_show_symtab_source): Rename parameter to fullname. Change | |
3170 | tui_locator_element field to full_name. | |
3171 | * tui/tui-stack.c: Include source.h. | |
3172 | (tui_set_locator_filename): Rename the declaration to ... | |
3173 | (tui_set_locator_fullname): ... here. Rename its parameter to | |
3174 | fullname, updates its comment. | |
3175 | (tui_set_locator_info): Rename its parameter to fullname. | |
3176 | (tui_set_locator_filename): Rename the definition to ... | |
3177 | (tui_set_locator_fullname): ... here. Rename its parameter to | |
3178 | fullname, updates its comment. Change tui_locator_element field to | |
3179 | full_name. | |
3180 | (tui_set_locator_info): Rename its parameter to fullname. | |
3181 | (tui_set_locator_info): Rename callee to tui_set_locator_fullname. | |
3182 | (tui_update_locator_filename): Rename to ... | |
3183 | (tui_update_locator_fullname): ... here. Rename callee to | |
3184 | tui_set_locator_fullname. | |
3185 | (tui_show_frame_info): Replace symtab->filename refererence by | |
3186 | symtab_to_fullname call. | |
3187 | * tui/tui-stack.h (tui_update_locator_filename): Rename to ... | |
3188 | (tui_update_locator_fullname): ... here. | |
3189 | * tui/tui-winsource.c (tui_display_main): Rename the callee to | |
3190 | tui_update_locator_fullname. Replace symtab->filename refererence by | |
3191 | symtab_to_fullname call. | |
3192 | * tui/tui.c (tui_show_source): Rename its parameter to fullname. | |
3193 | Rename the callee to tui_update_locator_fullname. | |
3194 | * tui/tui.h (tui_show_source): Rename its parameter to fullname. | |
3195 | ||
05cba821 JK |
3196 | 2013-02-03 Jan Kratochvil <[email protected]> |
3197 | ||
3198 | * ada-lang.c (user_select_syms): Replace symtab->filename refererences | |
3199 | by symtab_to_filename_for_display calls. | |
3200 | * breakpoint.c (print_breakpoint_location, resolve_sal_pc): Likewise. | |
3201 | (clear_command): New variable sal_fullname, initialize it. Replace | |
3202 | compare_filenames_for_search by filename_cmp with sal_fullname. | |
3203 | (say_where, update_static_tracepoint): Replace symtab->filename | |
3204 | refererences by symtab_to_filename_for_display calls. | |
3205 | * cli/cli-cmds.c (edit_command, list_command, ambiguous_line_spec): | |
3206 | Likewise. | |
3207 | * dwarf2read.c: Include source.h. | |
3208 | (fixup_go_packaging): Replace symtab->filename refererences by | |
3209 | symtab_to_filename_for_display calls. | |
3210 | * linespec.c (add_sal_to_sals): Rename variable filename to fullname. | |
3211 | Replace symtab->filename refererences by symtab_to_filename_for_display | |
3212 | calls. | |
3213 | (create_sals_line_offset, convert_linespec_to_sals): New variable | |
3214 | fullname, initialize it, replace symtab->filename reference by the | |
3215 | variable. | |
3216 | * linux-fork.c: Include source.h. | |
3217 | (info_checkpoints_command): Replace symtab->filename refererences by | |
3218 | symtab_to_filename_for_display calls. | |
3219 | * macroscope.c (sal_macro_scope): Replace symtab->filename refererences | |
3220 | by symtab_to_filename_for_display calls. | |
3221 | * mdebugread.c: Include source.h. | |
3222 | (psymtab_to_symtab_1): Replace symtab->filename refererences by | |
3223 | symtab_to_filename_for_display calls. | |
3224 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file) | |
3225 | (mi_cmd_file_list_exec_source_files): Likewise. | |
3226 | * printcmd.c: Include source.h. | |
3227 | (build_address_symbolic): Replace symtab->filename refererences by | |
3228 | symtab_to_filename_for_display calls. | |
3229 | * psymtab.c (partial_map_symtabs_matching_filename) | |
3230 | (read_psymtabs_with_fullname): Call compare_filenames_for_search also | |
3231 | with psymtab_to_fullname. | |
3232 | * python/py-symtab.c (stpy_str): Replace symtab->filename refererences | |
3233 | by symtab_to_filename_for_display calls. | |
3234 | (stpy_get_filename): New variable filename, initialize it, use instead | |
3235 | of symtab->filename refererences. | |
3236 | (salpy_str): Make variable filename const char *. Replace | |
3237 | symtab->filename refererences by symtab_to_filename_for_display calls. | |
3238 | * skip.c: Include source.h and filenames.h. | |
3239 | (skip_file_command): Remove const from the symtab variable. Replace | |
3240 | symtab->filename refererences by symtab_to_fullname call. | |
3241 | (function_name_is_marked_for_skip): New variables searched_for_fullname | |
3242 | and fullname. Use them to search also with symtab's fullname. | |
3243 | * source.c (find_source_lines): Replace symtab->filename refererences | |
3244 | by symtab_to_filename_for_display calls. | |
3245 | (print_source_lines_base): New variable filename, use it instead of | |
3246 | symtab->filename. Replace symtab->filename refererences by | |
3247 | symtab_to_filename_for_display calls. | |
3248 | (line_info, forward_search_command): Replace symtab->filename | |
3249 | refererences by symtab_to_filename_for_display calls. | |
3250 | (reverse_search_command): Replace symtab->filename refererences by | |
3251 | symtab_to_filename_for_display calls. New variable filename for it. | |
3252 | * stack.c (frame_info): Likewise. | |
3253 | * symmisc.c: Include source.h. | |
3254 | (dump_objfile, dump_symtab_1, maintenance_print_symbols) | |
3255 | (maintenance_info_symtabs): Replace symtab->filename refererences by | |
3256 | symtab_to_filename_for_display calls. | |
3257 | * symtab.c (iterate_over_some_symtabs): Call | |
3258 | compare_filenames_for_search also with symtab_to_fullname. | |
3259 | (lookup_symbol_aux_quick, basic_lookup_transparent_type_quick): Replace | |
3260 | symtab->filename refererences by symtab_to_filename_for_display calls. | |
3261 | (find_line_symtab): Replace symtab->filename refererences by | |
3262 | symtab_to_filename_for_display calls. | |
3263 | (file_matches): Replace filename_cmp by compare_filenames_for_search. | |
3264 | (print_symbol_info): Make the last parameter const char *. New | |
3265 | variable s_filename. Use it in the function. | |
3266 | (symtab_symbol_info): Make the last_filename variable const char *. | |
3267 | Replace symtab->filename refererences by symtab_to_filename_for_display | |
3268 | calls. | |
3269 | (rbreak_command): New variable fullname. Use it. Replace | |
3270 | symtab->filename refererence by symtab_to_filename_for_display call. | |
3271 | * tracepoint.c (set_traceframe_context, trace_find_line_command) | |
3272 | (print_one_static_tracepoint_marker): Replace symtab->filename | |
3273 | refererences by symtab_to_filename_for_display calls. | |
3274 | * tui/tui-source.c (tui_set_source_content): New variables filename and | |
3275 | s_filename. Replace symtab->filename refererences by this variable. | |
3276 | Replace other symtab->filename refererences by | |
3277 | symtab_to_filename_for_display calls. | |
3278 | ||
1b56eb55 JK |
3279 | 2013-02-03 Eldar Gaynetdinov <[email protected]> |
3280 | Jan Kratochvil <[email protected]> | |
3281 | ||
3282 | Add a new variable that controls a way in which filenames are | |
3283 | displayed. | |
3284 | * NEWS (set filename-display): New entry. | |
3285 | * source.c (filename_display_basename, filename_display_relative) | |
3286 | (filename_display_absolute, filename_display_kind_names) | |
3287 | (filename_display_string, show_filename_display_string) | |
3288 | (symtab_to_filename_for_display): New. | |
3289 | (_initialize_source): Added initialization of 'filename-display' | |
3290 | variable. | |
3291 | * source.h (symtab_to_filename_for_display): Added declaration. | |
3292 | * stack.c (print_frame): Added new variable and calling of a new | |
3293 | function and condition with this variable. Changed third argument of | |
3294 | calling of a function. | |
3295 | ||
aa079c93 JK |
3296 | 2013-02-03 Jan Kratochvil <[email protected]> |
3297 | ||
3298 | * tui/tui-data.c (init_win_info, tui_del_window, tui_free_window): | |
3299 | Rename field reference filename to fullname. | |
3300 | * tui/tui-data.h (struct tui_source_info): Rename field filename to | |
3301 | fullname. New comment for it. | |
3302 | * tui/tui-source.c (tui_set_source_content): Rename field reference | |
3303 | filename to fullname. Initialize field by symtab_to_fullname now. | |
3304 | * tui/tui-winsource.c (tui_update_breakpoint_info): Rename field | |
3305 | reference filename to fullname. Use symtab_to_fullname during | |
3306 | comparison. | |
3307 | ||
652a8996 JK |
3308 | 2013-02-03 Jan Kratochvil <[email protected]> |
3309 | ||
3310 | Code cleanup. | |
3311 | * dwarf2read.c (dw2_expand_symtabs_with_filename): Rename to ... | |
3312 | (dw2_expand_symtabs_with_fullname): ... here. Rename parameter | |
3313 | filename to fullname. Rename variable this_name to this_fullname. | |
3314 | Lowercase FILENAME_CMP call. | |
3315 | (dw2_find_symbol_file): New comment for the returned string. | |
3316 | (dwarf2_gdb_index_functions): Rename the function to | |
3317 | dw2_expand_symtabs_with_fullname. | |
3318 | * psymtab.c (read_psymtabs_with_filename): Rename to ... | |
3319 | (read_psymtabs_with_fullname): ... here. Rename parameter filename to | |
3320 | fullname. | |
3321 | (psym_functions): Rename the function to read_psymtabs_with_fullname. | |
3322 | * symfile.h (struct quick_symbol_functions): Rename field | |
3323 | expand_symtabs_with_filename to expand_symtabs_with_fullname and its | |
3324 | parameter filename to fullname. Document returned string meaning for | |
3325 | find_symbol_file. | |
3326 | * symtab.c (find_line_symtab): Rename the called function to | |
3327 | expand_symtabs_with_fullname. | |
3328 | ||
af529f8f JK |
3329 | 2013-02-03 Jan Kratochvil <[email protected]> |
3330 | ||
3331 | Code cleanup. | |
3332 | * breakpoint.c (clear_command): Remove variable is_abs, unify the | |
3333 | call of filename_cmp with compare_filenames_for_search. | |
3334 | * dwarf2read.c (dw2_map_symtabs_matching_filename): Remove variable | |
3335 | is_abs, unify the call of FILENAME_CMP with | |
3336 | compare_filenames_for_search. New gdb_asserts for real_path and name. | |
3337 | Unify the call of compare_filenames_for_search with FILENAME_CMP. | |
3338 | * psymtab.c (partial_map_symtabs_matching_filename): Likewise. | |
3339 | * symfile.h (struct quick_symbol_functions): Extend the comment for | |
3340 | map_symtabs_matching_filename. | |
3341 | * symtab.c (compare_filenames_for_search): Remove the function comment | |
3342 | relative path requirement. Handle absolute filenames, with a comment. | |
3343 | (iterate_over_some_symtabs): Remove variable is_abs, unify the call of | |
3344 | FILENAME_CMP with compare_filenames_for_search. New gdb_asserts for | |
3345 | real_path and name. Unify the call of compare_filenames_for_search | |
3346 | with FILENAME_CMP. | |
3347 | (iterate_over_symtabs): New gdb_assert on REAL_PATH. | |
3348 | ||
2f202fde JK |
3349 | 2013-02-03 Jan Kratochvil <[email protected]> |
3350 | ||
3351 | Code cleanup. | |
3352 | * breakpoint.c (print_breakpoint_location): Replace bp_location field | |
3353 | source_file references by symtab field references. Remove variables | |
3354 | sal and fullname. | |
3355 | (momentary_breakpoint_from_master, add_location_to_breakpoint): | |
3356 | (clear_command, say_where): Replace bp_location field source_file | |
3357 | references by symtab field references. | |
3358 | (bp_location_dtor): Remove the source_file reference. | |
3359 | (update_static_tracepoint): Replace bp_location field source_file | |
3360 | references by symtab field references. | |
3361 | (breakpoint_free_objfile): New function. | |
3362 | * breakpoint.h (struct bp_location): Extend the comment for line_number. | |
3363 | Replace the field source_file by field symtab, extend its comment. | |
3364 | (breakpoint_free_objfile): New declaration. | |
3365 | * objfiles.c (free_objfile): Call breakpoint_free_objfile. | |
3366 | * tui/tui-winsource.c (tui_update_breakpoint_info): Replace bp_location | |
3367 | field source_file references by symtab field references. | |
3368 | ||
f5b95b50 JK |
3369 | 2013-02-03 Jan Kratochvil <[email protected]> |
3370 | ||
3371 | Replace xfullpath calls by gdb_realpath calls. | |
3372 | * cli/cli-cmds.c (find_and_open_script): Remove xfullpath from the | |
3373 | function comment. | |
3374 | * dwarf2read.c (dw2_map_expand_apply): Remove parameter full_path. | |
3375 | Remove it from the iterate_over_some_symtabs call. | |
3376 | (dw2_map_symtabs_matching_filename): Remove parameter full_path. | |
3377 | Remove it from the dw2_map_expand_apply calls, remove a block handling | |
3378 | it. | |
3379 | * psymtab.c (partial_map_expand_apply): Remove parameter full_path. | |
3380 | Remove it from the iterate_over_some_symtabs call. | |
3381 | (partial_map_symtabs_matching_filename): Remove parameter full_path. | |
3382 | Remove it from the partial_map_expand_apply calls, remove a block | |
3383 | handling it. Drop gdb_realpath call and cleanups from the real_path | |
3384 | handling. | |
3385 | * source.c (openp): Drop the comment part about xfullpath. Replace | |
3386 | xfullpath calls by gdb_realpath calls. | |
3387 | (find_and_open_source): Replace xfullpath call by gdb_realpath call. | |
3388 | * symfile.h (struct quick_symbol_functions): Remove parameter full_path | |
3389 | from method map_symtabs_matching_filename and its comment. | |
3390 | * symmisc.c (maintenance_print_msymbols): Replace xfullpath call by | |
3391 | gdb_realpath call. | |
3392 | * symtab.c (iterate_over_some_symtabs): Remove parameter full_path, | |
3393 | remove it also from the function comment, remove a block handling it. | |
3394 | Drop gdb_realpath call and cleanups from the real_path handling. | |
3395 | (iterate_over_symtabs): Drop variable full_path and its use. | |
3396 | * symtab.h (iterate_over_some_symtabs): Remove parameter full_path. | |
3397 | * utils.c (xfullpath): Remove. | |
3398 | * utils.h (xfullpath): Remove. | |
3399 | ||
d78489bf AT |
3400 | 2013-02-01 Andreas Tobler <[email protected]> |
3401 | ||
3402 | * Makefile.in (ALL_TARGET_OBS): Add ppc64-tdep.o. | |
3403 | (HFILES_NO_SRCDIR): Add ppc64-tdep.h. | |
3404 | (ALLDEPFILES): Add ppc64-tdep.c. | |
3405 | * configure.tgt (powerpc-*-linux* | powerpc64-*-linux*): Add | |
3406 | ppc64-tdep.o to gdb_target_obs. | |
3407 | * ppc64-tdep.h: New file. | |
3408 | * ppc64-tdep.c: New file. | |
3409 | (insn_d, insn_ds, insn_xfx, ppc64_desc_entry_point): Move from | |
3410 | ppc-linux-tdep.c to here. | |
3411 | (PPC64_STANDARD_LINKAGE1_LEN, PPC64_STANDARD_LINKAGE2_LEN) | |
3412 | (PPC64_STANDARD_LINKAGE2_LEN): Likewise and use ARRAY_SIZE macro. | |
3413 | (ppc64_standard_linkage1_target, ppc64_standard_linkage2_target) | |
3414 | (ppc64_standard_linkage3_target, ppc64_skip_trampoline_code): Move | |
3415 | from ppc-linux-tdep.c to here. | |
3416 | (ppc64_convert_from_func_ptr_addr): Rename from | |
3417 | ppc64_linux_convert_from_func_ptr_addr to | |
3418 | ppc64_convert_from_func_ptr_addr and move from ppc-linux-tdep.c to | |
3419 | here. | |
3420 | * rs6000-tdep.c: | |
3421 | (read_insn): Move from ppc-linux-tdep.c to here. | |
3422 | (insns_match_pattern, insn_d_field, insn_ds_field): Move | |
3423 | from ppc-linux-tdep.c to here and rename them with the ppc_ prefix. | |
3424 | * ppc-linux-tdep.c: Include ppc64-tdep.h. | |
3425 | Removed above functions. | |
3426 | (ppc_linux_init_abi): Adjust. | |
3427 | ||
8db60374 AR |
3428 | 2013-02-01 Aleksandar Ristovski <[email protected]> |
3429 | ||
3430 | * ada-valprint.c (ada_print_floating): Remove unused 'len'. | |
3431 | ||
f2e5f4ce AR |
3432 | 2013-02-01 Aleksandar Ristovski <[email protected]> |
3433 | ||
3434 | * ada-lang.c (assign_aggregate): Remove unused 'is_array_aggregate'. | |
3435 | ||
c1f7d745 PA |
3436 | 2013-02-01 Pedro Alves <[email protected]> |
3437 | ||
3438 | * dummy-frame.c (deprecated_pc_in_call_dummy): Delete function. | |
3439 | * frame.h (deprecated_pc_in_call_dummy): Delete declaration. | |
3440 | ||
8a92335b JK |
3441 | 2013-02-01 Jan Kratochvil <[email protected]> |
3442 | ||
3443 | * elfread.c (elf_symfile_read): Limit separate debug info additions to | |
3444 | files with no separate debug info. | |
3445 | * objfiles.c (add_separate_debug_objfile): Add gdb_assert calls. | |
3446 | * symfile.c (read_symbols): Call find_separate_debug_file_in_section | |
3447 | only for files with no separate debug info. | |
3448 | ||
8eacb197 TT |
3449 | 2013-01-31 Tom Tromey <[email protected]> |
3450 | ||
3451 | * jit.c (jit_program_space_data): Rename from jit_inferior_data; | |
3452 | change type. | |
3453 | (struct jit_program_space_data): Rename from jit_inferior_data. | |
3454 | Update comments. | |
3455 | (get_jit_program_space_data): Rename from get_jit_inferior_data. | |
3456 | Change return type. Attach data to program space. | |
3457 | (jit_program_space_data_cleanup): Rename from | |
3458 | jit_inferior_data_cleanup; change argument type. | |
3459 | (jit_read_descriptor): Change 'inf_data' argument to 'ps_data', | |
3460 | change type. | |
3461 | (jit_register_code): Update. | |
3462 | (jit_update_inferior_cache): Remove. | |
3463 | (jit_breakpoint_deleted): Get jit data from the location's program | |
3464 | space. | |
3465 | (jit_breakpoint_re_set_internal): Rename 'inf_data' argument to | |
3466 | 'ps_data', change type. | |
3467 | (jit_inferior_init, jit_breakpoint_re_set_internal) | |
3468 | (jit_event_handler): Update. | |
3469 | (free_objfile_data): Get data from objfile's program space. | |
3470 | (_initialize_jit): Update. | |
3471 | ||
f25c0135 TT |
3472 | 2013-01-31 Tom Tromey <[email protected]> |
3473 | ||
3474 | PR gdb/13987: | |
3475 | * jit.c (struct jit_inferior_data) <cached_code_address, | |
3476 | jit_breakpoint>: New fields. | |
3477 | (jit_breakpoint_re_set_internal): Fix logging. Only create | |
3478 | breakpoint if cached address has changed. | |
3479 | (jit_update_inferior_cache, jit_breakpoint_deleted): New | |
3480 | functions. | |
3481 | (_initialize_jit): Register breakpoint deleted observer. | |
3482 | ||
974a734b AR |
3483 | 2013-01-31 Aleksandar Ristovski <[email protected]> |
3484 | ||
3485 | * infrun.c (handle_syscall_event): Remove unused gdbarch. | |
3486 | (save_infcall_suspend_state): Ifdef out unused inf. | |
3487 | (restore_infcall_suspend_state): Ifdef out unused inf. | |
3488 | * jit.c (jit_register_code): Remove unused i, b, inf_data. | |
3489 | (jit_frame_sniffer): Remove unused inf_data. | |
3490 | ||
df54f8eb AR |
3491 | 2013-01-31 Aleksandar Ristovski <[email protected]> |
3492 | ||
3493 | * c-exp.y (classify_inner_name): Remove unused type. | |
3494 | * c-lang.c (c_printstr): Remove unused byte_order, i, things_printed, | |
3495 | in_quotes, need_comma, wchar_buf, output, cleanup, iter, finished, | |
3496 | need_escape. | |
3497 | (c_get_string): Remove unused kind. | |
3498 | * c-typeprint.c (c_type_print_args): Remove unused i, len, args, table2. | |
3499 | ||
5799c0b9 AR |
3500 | 2013-01-31 Aleksandar Ristovski <[email protected]> |
3501 | ||
3502 | * charset.c (intermediate_encoding): Remove unused i. | |
3503 | * completer.c (signal_completer): Remove unused i. | |
3504 | * continuations.c (discard_my_continuations_1): Remove unused | |
3505 | continuation_ptr. | |
3506 | * corelow.c (core_close): Remove unuseD name. | |
3507 | (get_core_siginfo): Remove unused pid. | |
3508 | * cp-namespace.c (cp_lookup_symbol_imports_or_template): Remove unused | |
3509 | i, cps. | |
3510 | * dwarf2loc.c (dwarf2_compile_expr_to_ax): Remove unused base_offset. | |
3511 | (loclist_describe_location): Remove unused first. | |
3512 | * event-top.c (command_line_handler): Remove unused got_eof. | |
3513 | * exec.c (exec_close_1): Remove unused need_symtab_cleanup. | |
3514 | (resize_section_table): Remove unused old_value. | |
3515 | * gdb_bfd.c (gdb_bfd_map_section): Remove unused header. | |
3516 | * gnu-v3-abi.c (compute_vtable_size): Remove unused addr. | |
3517 | * i386-tdep.c (i386_process_record): Remove unused rex. | |
3518 | * infcmd.c (get_return_value): Remove unused uiout. | |
3519 | * jv-lang.c (type_from_class): Remove unused is_array. | |
3520 | * jv-valprint.c (java_val_print): Remove unused i. | |
3521 | * linux-nat.c (linux_nat_stop_lwp): Remove unused ptid. | |
3522 | * linux-thread-db.c (thread_db_find_new_threads_2): Remove unuseD pid. | |
3523 | * m2-typeprint.c (m2_print_type): Remove unused code. | |
3524 | * macroexp.c (get_character_constant): Remove unused body_start. | |
3525 | (macro_stringify): Remove unused result. | |
3526 | * objc-lang.c (find_methods): Remove unused gdbarch. | |
3527 | * objfiles.c (filter_overlapping_sections): Remove unused abfd1, abfd2. | |
3528 | * regcache.c (regcache_cooked_read): Remove unused gdbarch. | |
3529 | * stack.c (print_frame_args): Remove unused summary. | |
3530 | * thread.c (thread_apply_command): Remove unused p. | |
3531 | * valarith.c (value_x_unop): Remove unused mangle_ptr. | |
3532 | * valops.c (search_struct_method): Remove unused skip. | |
3533 | * valprint.c (generic_val_print): Remove unused byte_order. | |
3534 | * varobj.c (varobj_update): Remove unused changed. | |
3535 | * cli/cli-cmds.c (complete_command): Remove unused next_item. | |
3536 | (alias_command): Remove unused c. | |
3537 | * mi/mi-cmd-catch.c (mi_catch_load_unload): Remove unused c. | |
3538 | * mi/mi-main.c (mi_cmd_data_write_register_values): Remove unused | |
3539 | format. | |
3540 | (mi_cmd_data_write_memory): Remove unused word_format. | |
3541 | (mi_cmd_data_write_memory_bytes): Remove unused r. | |
3542 | * python/py-gdb-readline.c (gdbpy_readline_wrapper): Remove unused | |
3543 | p_start, p_end. | |
3544 | * python/python.c (_initialize_python): Remove unused cmd_name, cmd. | |
3545 | * tui/tui-disasm.c (tui_set_disassem_content): Remove unused | |
3546 | line_width. | |
3547 | ||
c656bca5 AR |
3548 | 2013-01-31 Aleksandar Ristovski <[email protected]> |
3549 | ||
3550 | * dwarf2-frame.c (dwarf2_compile_cfa_to_ax): Remove unused num_regs. | |
3551 | * symtab.c (iterate_over_symtabs): Remove unused s. | |
3552 | (find_pc_sect_symtab): Remove unused pspAce. | |
3553 | (find_pc_sect_line): Remove unused alt_symtab. | |
3554 | (find_pcs_for_symtab_line): Remove unused ix, previous_function. | |
3555 | (completion_list_add_name): Remove unused newsize. | |
3556 | ||
7078baeb TT |
3557 | 2013-01-31 Tom Tromey <[email protected]> |
3558 | ||
3559 | PR c++/14998: | |
3560 | * dwarf2read.c (read_tag_ptr_to_member_type): Handle | |
3561 | TYPE_CODE_FUNC. | |
3562 | ||
c2e8b827 AR |
3563 | 2013-01-31 Aleksandar Ristovski <[email protected]> |
3564 | ||
3565 | * target.c (target_read_string): Remove unused origlen. | |
3566 | ||
0e43993a AR |
3567 | 2013-01-31 Aleksandar Ristovski <[email protected]> |
3568 | ||
3569 | * auto-load.c (auto_load_expand_dir_vars): Remove unused dir_vec. | |
3570 | * ax-gdb.c (gen_printf): Remove unused expr, i, bot, fr, flen, fmt. | |
3571 | * ax-general.c (ax_print): Remove unused is_float. | |
3572 | * blockframe.c (block_innermost_frame): Remove unused start, end. | |
3573 | * break-catch-sig.c (catch_signal_command): Remove unused gdbarch. | |
3574 | ||
765a97ab AR |
3575 | 2013-01-31 Aleksandar Ristovski <[email protected]> |
3576 | ||
3577 | * solib-svr4.c (svr4_keep_data_in_core): Remove unused lmo. | |
3578 | (svr4_read_so_list): Remove unused lmo. | |
3579 | * solib-target.c (solib_target_relocate_section_addresses): Remove | |
3580 | unused flags. | |
3581 | ||
a99dad3d TT |
3582 | 2013-01-30 Tom Tromey <[email protected]> |
3583 | ||
3584 | * hppa-tdep.c (read_unwind_info): Use SECT_OFF_TEXT, not "0". | |
3585 | ||
3bff1ecd TT |
3586 | 2013-01-30 Tom Tromey <[email protected]> |
3587 | ||
3588 | * symfile.c (get_file_crc): Use bfd_calc_gnu_debuglink_crc32. | |
3589 | * utils.c (gnu_debuglink_crc32): Remove. | |
3590 | * utils.h (gnu_debuglink_crc32): Don't declare. | |
3591 | ||
7d455152 TT |
3592 | 2013-01-30 Tom Tromey <[email protected]> |
3593 | ||
3594 | * dwarf2read.c (compute_delayed_physnames, read_call_site_scope) | |
3595 | (read_structure_type, read_enumeration_type): Remove cast. | |
3596 | ||
abee88f2 TT |
3597 | 2013-01-30 Tom Tromey <[email protected]> |
3598 | ||
3599 | * dwarf2read.c (read_namespace_type): Remove cast. | |
3600 | (read_typedef): Likewise. | |
3601 | ||
8d9878a4 TT |
3602 | 2013-01-29 Tom Tromey <[email protected]> |
3603 | ||
3604 | * dwarf2read.c (free_dwo_file): Remove assert. | |
3605 | ||
a543d2a9 TT |
3606 | 2013-01-29 Tom Tromey <[email protected]> |
3607 | ||
3608 | * value.c (deprecated_set_value_modifiable): Remove. | |
3609 | * value.h (deprecated_set_value_modifiable): Remove. | |
3610 | ||
bed911e5 DE |
3611 | 2013-01-28 Doug Evans <[email protected]> |
3612 | ||
3613 | * dwarf2loc.c (dwarf2_find_location_expression): Don't add base address | |
3614 | to addresses from dwo files. | |
3615 | ||
28c64fc2 SCR |
3616 | 2013-01-25 Siva Chandra Reddy <[email protected]> |
3617 | ||
3618 | * valops.c (find_overload_match): Remove unused argument 'lax'. | |
3619 | * value.h: Remove unused argument 'lax' from the declaration of | |
3620 | find_overload_match. | |
3621 | * eval.c (value_subexp_standard): Do not pass a 'lax' argument | |
3622 | to find_overload_match. | |
3623 | * valarith.c (value_user_defined_cpp_op): Do not pass a 'lax' | |
3624 | argument to find_overload_match. | |
3625 | ||
4d4ec4e5 TT |
3626 | 2013-01-25 Tom Tromey <[email protected]> |
3627 | ||
3628 | * dwarf2read.c (processing_has_namespace_info): Remove. | |
3629 | (struct dwarf2_cu) <processing_has_namespace_info>: New field. | |
3630 | (process_die, read_func_scope, dwarf2_start_symtab) | |
3631 | (new_symbol_full): Update. | |
3632 | ||
195a3f6c TT |
3633 | 2013-01-25 Tom Tromey <[email protected]> |
3634 | ||
3635 | * cp-namespace.c (cp_set_block_scope): Remove. | |
3636 | * cp-support.h (cp_set_block_scope): Remove. | |
3637 | * dbxread.c: Include block.h. | |
3638 | (cp_set_block_scope): New function. | |
3639 | (process_one_symbol): Update. | |
3640 | * dwarf2read.c (read_func_scope): Use block_set_scope. | |
3641 | ||
8ba0730a PA |
3642 | 2013-01-25 Pedro Alves <[email protected]> |
3643 | ||
3644 | * remote.c (add_current_inferior_and_thread): Tweak comment. | |
3645 | ||
12aaed36 TT |
3646 | 2013-01-25 Tom Tromey <[email protected]> |
3647 | ||
3648 | * cp-namespace.c (cp_scan_for_anonymous_namespaces): Update. | |
3649 | (cp_add_using_directive): Add 'copy_names' argument. | |
3650 | * cp-support.h (cp_add_using_directive): Update. | |
3651 | (struct using_direct) <import_src, import_dest, alias, | |
3652 | declaration>: Now const. | |
3653 | * dwarf2read.c (read_import_statement): Use obconcat. | |
3654 | Don't copy names passed to cp_add_using_directive. | |
3655 | ||
7fc75ca7 TT |
3656 | 2013-01-25 Tom Tromey <[email protected]> |
3657 | ||
3658 | * c-exp.y (qualified_name): Use TYPE_SAFE_NAME. | |
3659 | ||
3405876a PA |
3660 | 2013-01-25 Pedro Alves <[email protected]> |
3661 | ||
3662 | * remote.c (stop_reply_extract_thread): New. | |
3663 | (add_current_inferior_and_thread): New parameter 'wait_status'. | |
3664 | Handle it. | |
3665 | (remote_start_remote): Pass wait status to | |
3666 | add_current_inferior_and_thread. | |
3667 | (extended_remote_run): Update comment. | |
3668 | (extended_remote_create_inferior_1): Pass wait status to | |
3669 | add_current_inferior_and_thread. | |
3670 | ||
8954db33 AB |
3671 | 2013-01-25 Andrew Burgess <[email protected]> |
3672 | Ulrich Weigand <[email protected]> | |
3673 | ||
3674 | * valarith.c (value_vector_widen): New function for replicating a | |
3675 | scalar into a vector. | |
3676 | (value_binop): Use value_vector_widen to widen scalar to vector | |
3677 | rather than casting, this better matches gcc C behaviour. | |
3678 | * valops.c (value_casst): Update logic for casting between vector | |
3679 | types, and for casting from scalar to vector, try to match gcc C | |
3680 | behaviour. | |
3681 | * value.h (value_vector_widen): Declare. | |
3682 | * opencl-lang.c (opencl_value_cast): New opencl specific casting | |
3683 | function, handle special case for casting scalar to vector. | |
3684 | (opencl_relop): Use opencl_value_cast. | |
3685 | (evaluate_subexp_opencl): Use opencl_value_cast instead of | |
3686 | value_cast, and handle BINOP_ASSIGN, UNOP_CAST, and UNOP_CAST_TYPE | |
3687 | in order to use opencl_value_cast. | |
3688 | ||
843b20dc YQ |
3689 | 2013-01-25 Yao Qi <[email protected]> |
3690 | ||
3691 | * event-loop.c: Include "queue.h". | |
3692 | (gdb_event_p): New typedef. | |
3693 | (DECLARE_QUEUE_P): Use. | |
3694 | (DEFINE_QUEUE_P): Use. | |
3695 | (async_queue_event): Remove. | |
3696 | (gdb_event_xfree): New. | |
3697 | (initialize_event_loop): New. | |
3698 | (process_event): Use QUEUE macros. | |
3699 | (event_queue): Remove. | |
3700 | (gdb_wait_for_event): Caller update. | |
3701 | (check_async_event_handlers): Likewise. | |
3702 | (poll_timers): Likewise. | |
3703 | * event-loop.h (initialize_event_loop): Declare. | |
3704 | * event-loop.c (gdb_event_xfree): New. | |
3705 | * top.c (gdb_init): Call initialize_event_loop. | |
3706 | ||
20ad8856 YQ |
3707 | 2013-01-25 Yao Qi <[email protected]> |
3708 | ||
3709 | * event-loop.c (async_queue_event): Remove one parameter | |
3710 | 'position'. Remove code handling 'position' == TAIL. | |
3711 | (gdb_wait_for_event): Caller update. | |
3712 | (check_async_event_handlers): Caller update. | |
3713 | (poll_timers): Caller update. | |
3714 | * event-loop.h (enum queue_position): Remove. | |
3715 | ||
3bbbe775 MK |
3716 | 2013-01-25 Maxim Kuvyrkov <[email protected]> |
3717 | ||
3718 | * MAINTAINERS: Update my email. | |
3719 | ||
a87d9ac4 YQ |
3720 | 2013-01-25 Yao Qi <[email protected]> |
3721 | ||
3722 | * main.c (print_gdb_help): Remove "--epoch" from the help | |
3723 | message. | |
3724 | ||
2077afdd TD |
3725 | 2013-01-24 Ulrich Weigand <[email protected]> |
3726 | ||
3727 | * symtab.c (skip_prologue_using_sal): Consider a file | |
3728 | change the same as an increased line number | |
3729 | ||
63da4037 TD |
3730 | 2013-01-24 Tiago Stürmer Daitx <[email protected]> |
3731 | ||
30e8ee25 | 3732 | * MAINTAINERS (Write After Approval): Add myself to the list. |
63da4037 | 3733 | |
45e6c716 TT |
3734 | 2013-01-24 Tom Tromey <[email protected]> |
3735 | ||
3736 | * ada-lang.h (ada_decode_symbol): Make return type const. | |
3737 | * ada-lang.c (ada_decode_symbol): Likewise. | |
3738 | ||
b1ae631a DE |
3739 | 2013-01-23 Doug Evans <[email protected]> |
3740 | ||
3741 | * linespec.c (find_linespec_symbols): Make static. | |
3742 | ||
55a78401 SDJ |
3743 | 2013-01-23 Tiago Stürmer Daitx <[email protected]> |
3744 | ||
3745 | * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Set correct | |
3746 | type on float conversion for complex type. | |
3747 | ||
bea883fd SCR |
3748 | 2013-01-23 Siva Chandra Reddy <[email protected]> |
3749 | ||
3750 | Add a new class gdb.Architecture which exposes GDB's | |
3751 | internal representation of architecture via GDB Python API. | |
3752 | * Makefile.in: Add entries corresponding to the new file | |
3753 | python/py-arch.c. | |
3754 | * NEWS (Python Scripting): Add entries for the new class | |
3755 | gdb.Architecture and the new method gdb.Frame.architecture. | |
3756 | * python/py-arch.c: Implement gdb.Architecture class. | |
3757 | * python/py-frame.c (frapy_arch): Implement the method | |
3758 | gdb.Frame.architecture(). | |
3759 | (frame_object_methods): Add 'architecture' to the method table. | |
3760 | * python/python-internal.h: Add declarations of new utility | |
3761 | functions. | |
3762 | * python/python.c (_initialize_python): Initialize | |
3763 | gdb.Architecture class. | |
3764 | ||
796a7ff8 DE |
3765 | 2013-01-23 Doug Evans <[email protected]> |
3766 | ||
3767 | Work around binutils/15021. | |
3768 | * dwarf2read.c (dwarf2_per_cu_data): Split imported_symtabs and | |
3769 | type_unit_group out of union s. All uses updated. | |
3770 | (read_index_from_section): Watch for index version 8. | |
3771 | (follow_die_sig): If using .gdb_index version <= 7, record the TU as | |
3772 | an imported symtab. | |
3773 | (write_psymtabs_to_index): Increment version number to 8. | |
3774 | ||
0928e93d PA |
3775 | 2013-01-22 Pedro Alves <[email protected]> |
3776 | ||
3777 | * annotate.c (breakpoint_changed): Skip if breakpoint is not | |
3778 | user-visible. | |
3779 | ||
9c97429f PA |
3780 | 2013-01-22 Pedro Alves <[email protected]> |
3781 | ||
3782 | * annotate.c (annotate_breakpoints_changed): Rename to ... | |
3783 | (annotate_breakpoints_invalid): ... this. Make static. | |
3784 | (breakpoint_changed): Adjust. | |
3785 | (_initialize_annotate): Always install the observers. Install a | |
3786 | "breakpoint_created" observer. | |
3787 | * annotate.h (annotate_breakpoints_changed): Delete declaration. | |
3788 | * breakpoint.c (set_breakpoint_condition) | |
3789 | (breakpoint_set_commands, do_map_commands_command) | |
3790 | (init_raw_breakpoint, clear_command, set_ignore_count) | |
3791 | (enable_breakpoint_disp): No longer call | |
3792 | annotate_breakpoints_changed. | |
3793 | ||
bd00c694 PA |
3794 | 2013-01-22 Pedro Alves <[email protected]> |
3795 | ||
3796 | * annotate.c: Include "inferior.h". | |
3797 | (frames_invalid_emitted) | |
3798 | (breakpoints_invalid_emitted): New globals. | |
3799 | (async_background_execution_p): New function. | |
3800 | (annotate_breakpoints_changed, annotate_frames_invalid): Skip | |
3801 | emitting the annotation if it has already been emitted. | |
3802 | (annotate_display_prompt): New function. | |
3803 | * annotate.h (annotate_display_prompt): New declaration. | |
3804 | * event-top.c: Include annotate.h. | |
3805 | (display_gdb_prompt): Call annotate_display_prompt. | |
3806 | ||
187d10dd PA |
3807 | 2013-01-22 Pedro Alves <[email protected]> |
3808 | ||
3809 | * annotate.c (ignore_count_changed): Delete. | |
3810 | (annotate_breakpoints_changed): Don't clear ignore_count_changed. | |
3811 | (annotate_ignore_count_change): Delete. | |
3812 | (annotate_stopped): Don't emit a delayed breakpoints-changed | |
3813 | annotation. | |
3814 | * annotate.h (annotate_ignore_count_change): Delete. | |
3815 | * breakpoint.c (bpstat_check_breakpoint_conditions): Don't call | |
3816 | annotate_ignore_count_change. | |
3817 | ||
d84cf7eb TT |
3818 | 2013-01-22 Tom Tromey <[email protected]> |
3819 | ||
3820 | * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: Only | |
3821 | require_rvalue for a register location. | |
3822 | ||
8f1d5693 MK |
3823 | 2013-01-21 Marc Khouzam <[email protected]> |
3824 | ||
3825 | * breakpoint.c (print_one_breakpoint_location): Add MI | |
3826 | field 'thread-groups' when printing a breakpoint. | |
3827 | (output_thread_groups): New function. | |
3828 | ||
aa6199c6 SCR |
3829 | 2013-01-21 Siva Chandra Reddy <[email protected]> |
3830 | ||
3831 | * python/lib/gdb/commands/explore.py | |
3832 | (CompoundExplorer.explore_expr): Correct the name of a method | |
3833 | being invoked. | |
3834 | (ExploreTypeCommand.invoke): Add a missing 'return'. | |
3835 | ||
d2afef13 TT |
3836 | 2013-01-21 Tom Tromey <[email protected]> |
3837 | ||
3838 | * gdb_obstack.h (obconcat): Move declaration here, from... | |
3839 | * symfile.h (obconcat): ... here. | |
3840 | * gdb_obstack.c: New file. | |
3841 | (obconcat): Move from... | |
3842 | * symfile.c (obconcat): ... here. | |
3843 | * Makefile.in (SFILES): Add gdb_obstack.c. | |
3844 | (COMMON_OBS): Add gdb_obstack.o. | |
3845 | ||
10f0c4bb TT |
3846 | 2013-01-21 Tom Tromey <[email protected]> |
3847 | ||
3848 | * symfile.h (obsavestring): Don't declare. | |
3849 | * symfile.c (obsavestring): Remove. | |
3850 | * ada-exp.y: Use obstack_copy0, not obsavestring. | |
3851 | * ada-lang.c: Use obstack_copy0, not obsavestring. | |
3852 | * coffread.c: Use obstack_copy0, not obsavestring. | |
3853 | * cp-namespace.c: Use obstack_copy0, not obsavestring. | |
3854 | * dbxread.c: Use obstack_copy0, not obsavestring. | |
3855 | * dwarf2read.c: Use obstack_copy0, not obsavestring. | |
3856 | * jit.c: Use obstack_copy0, not obsavestring. | |
3857 | * mdebugread.c: Use obstack_copy0, not obsavestring. | |
3858 | * psymtab.c: Use obstack_copy0, not obsavestring. | |
3859 | * stabsread.c: Use obstack_copy0, not obsavestring. | |
3860 | * xcoffread.c: Use obstack_copy0, not obsavestring. | |
3861 | ||
86f62fd7 TT |
3862 | 2013-01-21 Tom Tromey <[email protected]> |
3863 | ||
3864 | * dwarf2read.c (fixup_go_packaging): Save package name | |
3865 | on objfile obstack. | |
3866 | * gdbtypes.c (init_type): Don't copy name. | |
3867 | ||
15d034d0 TT |
3868 | 2013-01-21 Tom Tromey <[email protected]> |
3869 | ||
3870 | * dwarf2read.c (struct partial_die_info) <name, scope>: Now | |
3871 | const. | |
3872 | (struct attribute) <u.str>: Now const. | |
3873 | (struct fnfieldlist) <name>: Now const. | |
3874 | (dw2_get_file_names_reader, init_cutu_and_read_dies): Update. | |
3875 | (partial_die_parent_scope): Make return type const. | |
3876 | (partial_die_full_name, add_partial_symbol): Update. | |
3877 | (dwarf2_compute_name, dwarf2_full_name, dwarf2_physname): Make | |
3878 | 'name' const. | |
3879 | (find_file_and_directory): Make 'name' and 'comp_dir' const. | |
3880 | (read_file_scope, read_func_scope, dwarf2_add_field) | |
3881 | (dwarf2_add_member_fn, read_structure_type) | |
3882 | (process_enumeration_scope, read_array_type, read_module_type) | |
3883 | (read_base_type, read_subrange_type): Update. | |
3884 | (dwarf2_start_symtab): Make 'name' and 'comp_dir' const. | |
3885 | (new_symbol_full, guess_full_die_structure_name): Update. | |
3886 | (dwarf2_canonicalize_name): Return const type. Make 'name' const. | |
3887 | (dwarf2_name): Return const type. | |
3888 | (dwarf_decode_macro_bytes, dwarf_decode_macros): Make 'comp_dir' | |
3889 | const. | |
3890 | ||
748e18ae TT |
3891 | 2013-01-21 Tom Tromey <[email protected]> |
3892 | ||
3893 | * gdbtypes.c (init_type): Make 'name' const. | |
3894 | * gdbtypes.h (init_type): Update. | |
3895 | ||
46212e0b TT |
3896 | 2013-01-21 Tom Tromey <[email protected]> |
3897 | ||
3898 | * buildsym.c (patch_subfile_names): Use set_last_source_file. | |
3899 | (start_symtab): Make 'name' and 'dirname' const. Use | |
3900 | set_last_source_file. | |
3901 | (restart_symtab, reset_symtab_globals): Use set_last_source_file. | |
3902 | (last_source_file): Define. Now static. | |
3903 | (set_last_source_file, get_last_source_file): New functions. | |
3904 | * buildsym.h (last_source_file): Don't declare. | |
3905 | (start_symtab): Update. | |
3906 | (set_last_source_file, get_last_source_file): Declare. | |
3907 | * coffread.c (complete_symtab): Use set_last_source_file. | |
3908 | (coff_end_symtab): Likewise. | |
3909 | (coff_symtab_read): Use set_last_source_file, get_last_source_file. | |
3910 | * dbxread.c (read_dbx_symtab, read_ofile_symtab): Use | |
3911 | set_last_source_file. | |
3912 | (process_one_symbol): Use get_last_source_file. | |
3913 | * mdebugread.c (parse_partial_symbols): Use set_last_source_file. | |
3914 | (psymtab_to_symtab_1): Use get_last_source_file. | |
3915 | * xcoffread.c (process_linenos): Use get_last_source_file. | |
3916 | (complete_symtab): Use set_last_source_file. | |
3917 | (read_xcoff_symtab): Use set_last_source_file, get_last_source_file. | |
3918 | (scan_xcoff_symtab): Use set_last_source_file. | |
3919 | ||
9d2ceabe TT |
3920 | 2013-01-21 Tom Tromey <[email protected]> |
3921 | ||
3922 | * symtab.c (struct demangled_name_entry) <mangled>: Now const. | |
3923 | (symbol_set_names): Remove casts. Handle field const-ness. | |
3924 | ||
cfc594ee TT |
3925 | 2013-01-21 Tom Tromey <[email protected]> |
3926 | ||
3927 | * dwarf2read.c (new_symbol_full): Remove cast. | |
3928 | * symtab.c (symbol_set_demangled_name): Make 'name' const. | |
3929 | * symtab.h (symbol_set_demangled_name): Update. | |
3930 | ||
5484b13a TT |
3931 | 2013-01-21 Tom Tromey <[email protected]> |
3932 | ||
3933 | * main.c (captured_main): Call bfd_init. | |
3934 | ||
1605ef26 TT |
3935 | 2013-01-21 Tom Tromey <[email protected]> |
3936 | ||
3937 | * gnu-v2-abi.c (_initialize_gnu_v2_abi): Don't set default ABI. | |
3938 | * gnu-v3-abi.c (_initialize_gnu_v3_abi): Set default ABI. | |
3939 | * minsyms.c (install_minimal_symbols): Don't check for _Z symbols. | |
3940 | * NEWS: Update. | |
3941 | ||
3b74cdc3 JK |
3942 | 2013-01-21 Jan Kratochvil <[email protected]> |
3943 | ||
3944 | * symmisc.c (maintenance_print_msymbols): Check also ST_DEV. | |
3945 | ||
5a352474 JK |
3946 | 2013-01-21 Jan Kratochvil <[email protected]> |
3947 | ||
3948 | Fix gdb.fortran/common-block.exp crash in PIE mode. | |
3949 | * dwarf2read.c (new_symbol_full) <DW_TAG_common_block>: Use | |
3950 | LOC_COMMON_BLOCK. | |
3951 | * f-valprint.c (info_common_command_for_block): Expect | |
3952 | LOC_COMMON_BLOCK in gdb_assert. | |
3953 | * symtab.h (struct general_symbol_info): Update comment for the | |
3954 | common_block member. | |
3955 | (domain_enum): Extend comment for the COMMON_BLOCK_DOMAIN member. | |
3956 | (enum address_class): New member LOC_COMMON_BLOCK. | |
3957 | ||
c60797fd DB |
3958 | 2013-01-18 David Blaikie <[email protected]> |
3959 | ||
3960 | * MAINTAINERS (Write After Approval): Add "David Blaikie". | |
0cae7dfb | 3961 | |
46f35228 TT |
3962 | 2013-01-18 Tom Tromey <[email protected]> |
3963 | ||
3964 | PR c++/14999: | |
3965 | * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: | |
3966 | Call require_rvalue. | |
3967 | ||
257e7a09 YQ |
3968 | 2013-01-18 Yao Qi <[email protected]> |
3969 | ||
3970 | * dbxread.c (dbx_psymtab_to_symtab): Delete the declaration. | |
3971 | (dbx_read_symtab): New declaration. | |
3972 | (dbx_psymtab_to_symtab): Delete. | |
3973 | (dbx_read_symtab): Rename from dbx_psymtab_to_symtab. | |
3974 | Rename parameter PST to SELF. Exchanged two parameters. | |
3975 | (start_psymtab): Caller update. | |
3976 | * dwarf2read.c (dwarf2_psymtab_to_symtab): Delete the declaration. | |
3977 | (dwarf2_read_symtab): New declaration. | |
3978 | (dwarf2_psymtab_to_symtab): Delete. | |
3979 | (dwarf2_read_symtab): Rename from dwarf2_psymtab_to_symtab. | |
3980 | Rename parameter PST to SELF. Exchanged two parameters. | |
3981 | (create_partial_symtab): Caller update. | |
3982 | * mdebugread.c (mdebug_psymtab_to_symtab): Delete. | |
3983 | (mdebug_read_symtab): Rename from mdebug_psymtab_to_symtab. | |
3984 | Rename parameter PST to SELF. Exchanged two parameters. | |
3985 | (parse_partial_symbols, new_psymtab): Caller update. | |
3986 | * psympriv.h (struct partial_symtab) <read_symtab>: Exchange | |
3987 | two parameters. | |
3988 | * psymtab.c (psymtab_to_symtab): Caller update. | |
3989 | * xcoffread.c (xcoff_psymtab_to_symtab): Delete. | |
3990 | (xcoff_read_symtab): Rename from xcoff_psymtab_to_symtab. | |
3991 | Rename parameter PST to SELF. Exchanged two parameters. | |
3992 | (xcoff_start_psymtab): Caller update. | |
3993 | ||
0de5618e YQ |
3994 | 2013-01-18 Yao Qi <[email protected]> |
3995 | ||
3996 | * infrun.c (proceed): Rename local variable 'oneproc' to | |
3997 | 'force_step'. | |
3998 | ||
5c04624b DE |
3999 | 2013-01-17 Doug Evans <[email protected]> |
4000 | ||
848e3e78 DE |
4001 | * dwarf2read.c (dw2_build_type_unit_groups_reader): Delete. |
4002 | (dw2_build_type_unit_groups): Delete. All uses updated. | |
4003 | ||
5c04624b DE |
4004 | * symtab.h (struct symbol_search): Add comment. |
4005 | ||
d84fca2c JK |
4006 | 2013-01-17 Jan Kratochvil <[email protected]> |
4007 | ||
4008 | * symtab.c (compare_filenames_for_search): New comment for | |
4009 | HAS_DRIVE_SPEC. | |
4010 | ||
6108433d TT |
4011 | 2013-01-17 Tom Tromey <[email protected]> |
4012 | ||
4013 | * cp-abi.c (cp_abi_completer): Fix typo in assignment. | |
4014 | ||
c89ffd86 JK |
4015 | 2013-01-17 Jan Kratochvil <[email protected]> |
4016 | ||
4017 | * symtab.c (iterate_over_some_symtabs): New variable cleanups, | |
4018 | initialize it by existing make_cleanup. Call new do_cleanups. | |
4019 | ||
db2b2972 TT |
4020 | 2013-01-17 Tom Tromey <[email protected]> |
4021 | ||
4022 | * cp-abi.c (cp_abi_completer): New function. | |
4023 | (_initialize_cp_abi): Set completer for "set cp-abi". | |
4024 | ||
be7d37a2 TT |
4025 | 2013-01-17 Tom Tromey <[email protected]> |
4026 | ||
4027 | * mem-break.c: Remove obsolete comment. | |
4028 | * bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment. | |
4029 | ||
c9fb1240 SD |
4030 | 2012-01-17 Sanjoy Das <[email protected]> |
4031 | ||
4032 | * jit.c (jit_reader_load_command): Interpret the jit reader name | |
4033 | as an absolute path if it begins with a forward slash. | |
4034 | ||
db334a01 SD |
4035 | 2012-01-17 Sanjoy Das <[email protected]> |
4036 | ||
4037 | PR gdb/14550 | |
4038 | ||
4039 | * jit.c (finalize_symtab): Ensure that only the global block has a | |
4040 | NULL superblock. | |
4041 | ||
7d928dac PA |
4042 | 2013-01-17 Pedro Alves <[email protected]> |
4043 | ||
4044 | * acinclude.m4: Include ../config/plugins.m4, | |
4045 | ../config/largefile.m4 and ../config/lead-dot.m4. Add comments. | |
4046 | * Makefile.in (aclocal_m4_deps): Update. | |
4047 | * aclocal.m4: Renegerate. | |
4048 | ||
fb8cf7c5 DE |
4049 | 2013-01-16 Doug Evans <[email protected]> |
4050 | ||
4051 | * contrib/cc-with-tweaks.sh: Add references to Fission docs. | |
4052 | ||
ab04a2af TT |
4053 | 2013-01-16 Pedro Alves <[email protected]> |
4054 | Tom Tromey <[email protected]> | |
4055 | ||
4056 | PR cli/7221: | |
4057 | * NEWS: Add "catch signal". | |
4058 | * breakpoint.c (base_breakpoint_ops): No longer static. | |
4059 | (bpstat_explains_signal): New function. | |
4060 | (init_catchpoint): No longer static. | |
4061 | (base_breakpoint_explains_signal): New function. | |
4062 | (base_breakpoint_ops): Initialize new field. | |
4063 | * breakpoint.h (enum bpstat_signal_value): New. | |
4064 | (struct breakpoint_ops) <explains_signal>: New field. | |
4065 | (bpstat_explains_signal): Remove macro, declare as function. | |
4066 | (base_breakpoint_ops, init_catchpoint): Declare. | |
4067 | * break-catch-sig.c: New file. | |
4068 | * inferior.h (signal_catch_update): Declare. | |
4069 | * infrun.c (signal_catch): New global. | |
4070 | (handle_syscall_event): Update for change to | |
4071 | bpstat_explains_signal. | |
4072 | (handle_inferior_event): Likewise. Always handle random signals | |
4073 | via bpstats. | |
4074 | (signal_cache_update): Check signal_catch. | |
4075 | (signal_catch_update): New function. | |
4076 | (_initialize_infrun): Initialize signal_catch. | |
4077 | * Makefile.in (SFILES): Add break-catch-sig.c. | |
4078 | (COMMON_OBS): Add break-catch-sig.o. | |
4079 | ||
8ac3646f TT |
4080 | 2013-01-16 Tom Tromey <[email protected]> |
4081 | ||
4082 | * breakpoint.c (print_one_catch_fork, print_one_catch_vfork) | |
4083 | (print_one_catch_solib, print_one_catch_syscall) | |
4084 | (print_one_catch_exec, print_one_exception_catchpoint): Emit | |
4085 | "catch-type". | |
4086 | ||
5a18e302 YQ |
4087 | 2013-01-16 Yao Qi <[email protected]> |
4088 | ||
4089 | * printcmd.c (current_display_number): Make it static. | |
4090 | ||
3f01d0d0 YQ |
4091 | 2013-01-16 Yao Qi <[email protected]> |
4092 | ||
4093 | * infcmd.c (step_once): Don't check '!single_inst' as it was | |
4094 | checked before. | |
4095 | ||
1ed59174 JK |
4096 | 2013-01-15 Jan Kratochvil <[email protected]> |
4097 | ||
4098 | * dwarf2read.c (psymtab_include_file_name): Extend the function comment. | |
4099 | ||
44478ab3 TT |
4100 | 2013-01-14 Tom Tromey <[email protected]> |
4101 | ||
4102 | * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the | |
4103 | set command. | |
4104 | * command.h (add_setshow_string_noescape_cmd): Update. | |
4105 | * corefile.c (set_gnutarget_command): Remove trailing whitespace. | |
4106 | (complete_set_gnutarget): New function. | |
4107 | (_initialize_core): Set the "set gnutarget" completer. | |
4108 | ||
06d66ee9 TT |
4109 | 2013-01-14 Tom Tromey <[email protected]> |
4110 | ||
4111 | PR symtab/14442: | |
4112 | * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'. | |
4113 | (c_type_print_modifier): Likewise. | |
4114 | * dwarf2read.c (read_tag_restrict_type): New function. | |
4115 | (read_type_die_1): Handle DW_TAG_restrict_type. | |
4116 | * gdbtypes.c (make_restrict_type): New function. | |
4117 | (recursive_dump_type): Handle TYPE_RESTRICT. | |
4118 | * gdbtypes.h (enum type_flag_values): Renumber. | |
4119 | (enum type_instance_flag_value): Add | |
4120 | TYPE_INSTANCE_FLAG_RESTRICT. | |
4121 | (TYPE_RESTRICT): New macro. | |
4122 | (make_restrict_type): Declare. | |
4123 | ||
c9bf0622 TT |
4124 | 2013-01-14 Tom Tromey <[email protected]> |
4125 | ||
4126 | PR symtab/14931: | |
4127 | * psymtab.c (struct psymtab_state): New. | |
4128 | (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New | |
4129 | functions. | |
4130 | * psympriv.h (make_cleanup_discard_psymtabs): Declare. | |
4131 | * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions. | |
4132 | ||
44d594fd PA |
4133 | 2013-01-14 Richard Sharman <[email protected]> |
4134 | Pedro Alves <[email protected]> | |
4135 | ||
4136 | PR remote/14786 | |
4137 | ||
4138 | * remote.c (remote_threads_info): Make a copy of the reply from | |
4139 | qfThreadInfo and use that instead of rs->buf. | |
4140 | ||
442e4d9c YQ |
4141 | 2013-01-14 Yao Qi <[email protected]> |
4142 | ||
4143 | * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL. | |
4144 | (dbx_psymtab_to_symtab): Likewise. | |
4145 | * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise. | |
4146 | * mdebugread.c (mdebug_psymtab_to_symtab): Likewise. | |
4147 | * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise. | |
4148 | ||
5b12a61c JK |
4149 | 2013-01-13 Jan Kratochvil <[email protected]> |
4150 | ||
4151 | * parse.c (parse_exp_in_context): New variable inner_chain. Call | |
4152 | make_cleanup_restore_current_language. Call set_language. Move | |
4153 | OLD_CHAIN and INNER_CHAIN cleanups. | |
4154 | * utils.c (do_restore_current_language) | |
4155 | (make_cleanup_restore_current_language): New functions. | |
4156 | * utils.h (make_cleanup_restore_current_language): New declaration. | |
4157 | ||
f0a4b570 JK |
4158 | 2013-01-13 Jan Kratochvil <[email protected]> |
4159 | ||
4160 | * source.c (symtab_to_fullname): Apply rewrite_source_path also for | |
4161 | non-existing files. | |
4162 | ||
57b3c00c JK |
4163 | * source.c (symtab_to_fullname): Do not prepend DIRNAME for |
4164 | non-existing files if FILENAME is already absolute. | |
4165 | ||
daefa854 JK |
4166 | 2013-01-11 Jan Kratochvil <[email protected]> |
4167 | ||
4168 | * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of | |
4169 | fputs_filtered. Append trailing newline. | |
4170 | ||
ca9c6ee2 YQ |
4171 | 2013-01-11 Yao Qi <[email protected]> |
4172 | Stan Shebs <[email protected]> | |
4173 | ||
4174 | * psymtab.c (init_psymbol_list): Clarify the comment. | |
4175 | ||
f28045c2 YQ |
4176 | 2013-01-11 Yao Qi <[email protected]> |
4177 | ||
4178 | * breakpoint.c (print_one_breakpoint_location): Remove dead code. | |
4179 | (update_dprintf_command_list): Assert that 'printf_line' is | |
4180 | non-null. Remove condition check. | |
4181 | ||
da5132d3 JK |
4182 | 2013-01-10 Jan Kratochvil <[email protected]> |
4183 | ||
4184 | Code cleanup. | |
4185 | * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return | |
4186 | type const char *. | |
4187 | * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname | |
4188 | const char *. | |
4189 | * tui/tui-source.h (tui_source_is_displayed): Likewise. | |
4190 | ||
843e694d AG |
4191 | 2013-01-09 Anthony Green <[email protected]> |
4192 | ||
4193 | * cp-abi.c (cplus_print_vtable): Don't return value from void | |
4194 | function. | |
4195 | * ada-lang.c (re_set_catch_assert): Ditto. | |
4196 | ||
da51c347 DE |
4197 | 2013-01-09 Doug Evans <[email protected]> |
4198 | ||
4199 | * symfile.h (quick_symbol_functions): Delete member | |
4200 | pre_expand_symtabs_matching. All uses removed. | |
4201 | * dwarf2read.c (dw2_lookup_symbol): Implement. | |
4202 | (dw2_do_expand_symtabs_matching): Delete. | |
4203 | (dw2_pre_expand_symtabs_matching): Delete. | |
4204 | (struct dw2_symtab_iterator): New type. | |
4205 | (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions. | |
4206 | (dw2_expand_symtabs_for_function): Rewrite. | |
4207 | (dwarf2_gdb_index_functions): Update. | |
4208 | * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete. | |
4209 | (psym_functions): Update. | |
4210 | ||
b2259038 TT |
4211 | 2013-01-09 Tom Tromey <[email protected]> |
4212 | ||
4213 | * config/pa/hpux.mh (NATDEPFILES): Remove somread.o. | |
4214 | * configure: Rebuild. | |
4215 | * configure.ac: Add somread.o to the build if BFD has SOM | |
4216 | support. | |
4217 | * somread.c: Include som/aout.h, not syms.h. | |
4218 | (som_symtab_read): Use som_external_symbol_dictionary_record. | |
4219 | Unpack records manually. | |
4220 | (_initialize_somread): Declare. | |
4221 | ||
bdad4180 MF |
4222 | 2012-01-08 Mike Frysinger <[email protected]> |
4223 | ||
4224 | * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx) [__x86_64__]: | |
4225 | Cast return_address to 64bits. | |
4226 | ||
03cdf680 HZ |
4227 | 2013-01-08 Hui Zhu <[email protected]> |
4228 | ||
4229 | * printcmd.c: Remove define of function output_command. | |
4230 | * tracepoint.c: Remove extern of function output_command. | |
4231 | * valprint.h: (output_command): New extern. | |
4232 | ||
8a808554 TT |
4233 | 2013-01-07 Tom Tromey <[email protected]> |
4234 | ||
4235 | * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr): | |
4236 | Remove. | |
4237 | (objc_language_defn): Use c_printchar, c_printstr, | |
4238 | c_emit_char. | |
4239 | ||
e93a8774 TT |
4240 | 2013-01-07 Tom Tromey <[email protected]> |
4241 | ||
4242 | PR cli/7719: | |
4243 | * NEWS: Update. | |
4244 | * ada-valprint.c (printstr, print_field_values): Remove | |
4245 | "inspect_it" code. | |
4246 | * cp-valprint.c (cp_print_value_fields): Remove "inspect_it" | |
4247 | code. | |
4248 | * jv-valprint.c (java_print_value_fields): Remove "inspect_it" | |
4249 | code. | |
4250 | * m2-lang.c (m2_printstr): Remove "inspect_it" code. | |
4251 | * main.c (captured_main): Remove "epoch" argument. | |
4252 | * objc-lang.c (objc_printstr): Remove "inspect_it" code. | |
4253 | * p-lang.c (pascal_printstr): Remove "inspect_it" code. | |
4254 | * p-valprint.c (pascal_object_print_value_fields): Remove | |
4255 | "inspect_it" code. | |
4256 | * printcmd.c (print_command_1): Remove 'inspect' argument. | |
4257 | (print_command, call_command): Update. | |
4258 | (inspect_command): Remove. | |
4259 | (_initialize_printcmd): Make "inspect" an alias for "print". | |
4260 | * top.c (epoch_interface): Remove. | |
4261 | * top.h (epoch_interface): Remove. | |
4262 | * valprint.c (user_print_options): Update. | |
4263 | (print_converted_chars_to_obstack): Remove "inspect_it" code. | |
4264 | * valprint.h (struct value_print_options) <inspect_it>: Remove | |
4265 | field. | |
4266 | ||
4267 | 2013-01-04 Tom Tromey <[email protected]> | |
4268 | ||
4269 | * valprint.h (read_string): Add 'extern'. | |
4270 | ||
b967eb24 JB |
4271 | 2013-01-07 Joel Brobecker <[email protected]> |
4272 | ||
4273 | * darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test | |
4274 | used to decide whether to define darwin_read_dyld_info or not. | |
4275 | ||
78a8b30e PM |
4276 | 2013-01-03 Pierre Muller <[email protected]> |
4277 | ||
4278 | * main.c (relocate_gdb_directory): Avoid calling stat function | |
4279 | if DIR is empty. | |
4280 | ||
50da2f25 YQ |
4281 | 2013-01-03 Yao Qi <[email protected]> |
4282 | ||
4283 | * psymtab.c (fixup_psymbol_section): Update declaration. | |
4284 | (fixup_psymbol_section): Remove code returning value. | |
4285 | ||
e7e8980f YQ |
4286 | 2013-01-03 Yao Qi <[email protected]> |
4287 | ||
4288 | * symtab.h: Remove some out of date comments. | |
4289 | (enum exception_event_kind): Move it ... | |
4290 | * breakpoint.c: ... here. | |
4291 | ||
569283d4 MF |
4292 | 2013-01-02 Iain Sandoe <[email protected]> |
4293 | ||
9f9d9a96 | 4294 | PR gdb/14405 |
569283d4 MF |
4295 | * darwin-nat.c (darwin_read_dyld_info): Only build if |
4296 | TASK_DYLD_INFO_COUNT is defined. | |
4297 | (darwin_xfer_partial): Call darwin_read_dyld_info only if | |
4298 | TASK_DYLD_INFO_COUNT is defined. | |
4299 | ||
2e36fbea TT |
4300 | 2013-01-02 Tom Tromey <[email protected]> |
4301 | ||
4302 | * symfile.h (struct ecoff_debug_hack): Remove. | |
4303 | * objfiles.c: Don't include mdebugread.h. | |
4304 | ||
4f05add4 TT |
4305 | 2013-01-02 Tom Tromey <[email protected]> |
4306 | ||
4307 | * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o. | |
4308 | * configure.ac: Check for Mach-O support in BFD. Update | |
4309 | CONFIG_OBS. | |
4310 | * configure: Rebuild. | |
4311 | ||
def63ff0 TT |
4312 | 2013-01-02 Tom Tromey <[email protected]> |
4313 | ||
4314 | * acinclude.m4 (GDB_AC_CHECK_BFD): New macro. | |
4315 | * configure.ac: Use GDB_AC_CHECK_BFD. | |
4316 | * configure: Rebuild. | |
4317 | ||
60c5dd93 MK |
4318 | 2013-01-01 Maxim Kuvyrkov <[email protected]> |
4319 | ||
4320 | * MAINTAINERS: Update my email. | |
4321 | ||
6e58437e JB |
4322 | 2013-01-01 Joel Brobecker <[email protected]> |
4323 | ||
4324 | * cli/cli-script.h (make_cleanup_free_command_lines): Make extern. | |
4325 | ||
627fe805 JB |
4326 | 2013-01-01 Joel Brobecker <[email protected]> |
4327 | ||
4328 | * rs6000-nat.c (bss_data_overlap): New function. | |
4329 | (vmap_symtab): Use it to adjust the .bss section's offset. | |
4330 | ||
28e7fd62 JB |
4331 | 2013-01-01 Joel Brobecker <[email protected]> |
4332 | ||
4333 | Update year range in copyright notice of all files. | |
4334 | ||
e93a8774 | 4335 | 2013-01-01, 13 Joel Brobecker <[email protected]> |
b9786c74 JB |
4336 | |
4337 | * top.c (print_gdb_version): Update copyright year. | |
4338 | ||
72b20e9c | 4339 | For older changes see ChangeLog-2012. |
c906108c SS |
4340 | \f |
4341 | Local Variables: | |
4342 | mode: change-log | |
4343 | left-margin: 8 | |
4344 | fill-column: 74 | |
4345 | version-control: never | |
57da7796 | 4346 | coding: utf-8 |
c906108c | 4347 | End: |