]>
Commit | Line | Data |
---|---|---|
d1be3247 JB |
1 | 2013-05-16 Joel Brobecker <[email protected]> |
2 | ||
3 | * dwarf2read.c (set_cu_language): Add DW_LANG_UPC handling. | |
4 | ||
b8fea896 JB |
5 | 2013-05-16 Joel Brobecker <[email protected]> |
6 | ||
7 | * ada-lang.c (ada_make_symbol_completion_list): Make sure | |
8 | all cleanups are done before returning from this function. | |
9 | ||
af880d85 JB |
10 | 2013-05-15 Joel Brobecker <[email protected]> |
11 | ||
12 | * utils.h: #include "exceptions.h". | |
13 | (enum errors): Remove partial declaration. | |
14 | ||
356a5233 JB |
15 | 2013-05-15 Joel Brobecker <[email protected]> |
16 | ||
17 | * gdbarch.sh (core_xfer_shared_libraries_aix): New method. | |
18 | * gdbarch.h, gdbarch.c: Regenerate. | |
19 | * corelow.c (core_xfer_partial): Add TARGET_OBJECT_LIBRARIES_AIX | |
20 | handling. | |
21 | ||
22 | * rs6000-aix-tdep.h: New file. | |
23 | * Makefile.in (HFILES_NO_SRCDIR): Add rs6000-aix-tdep.h. | |
24 | * rs6000-aix-tdep.c: Include "rs6000-aix-tdep.h" and | |
25 | "xml-utils.h". | |
26 | (struct field_info, struct ld_info_desc): New types. | |
27 | (ld_info32_desc, ld_info64_desc): New static constants. | |
28 | (struct ld_info): New type. | |
29 | (rs6000_aix_extract_ld_info): New function. | |
30 | (rs6000_aix_shared_library_to_xml): Likewise. | |
31 | (rs6000_aix_ld_info_to_xml): Likewise. | |
32 | (rs6000_aix_core_xfer_shared_libraries_aix): Likewise. | |
33 | (rs6000_aix_init_osabi): Add call to | |
34 | set_gdbarch_core_xfer_shared_libraries_aix. | |
35 | * rs6000-nat.c: Add "rs6000-aix-tdep.h" include. | |
36 | Remove "xml-utils.h" include. | |
37 | (LdInfo): Delete typedef. | |
38 | (ARCH64_DECL, LDI_FIELD, LDI_NEXT, LDI_FD, LDI_FILENAME): | |
39 | Delete macros. | |
40 | (rs6000_ptrace_ldinfo): Change return type to gdb_byte *. | |
41 | Adjust code accordingly. | |
42 | (rs6000_core_ldinfo): Delete, folded into | |
43 | rs6000_aix_core_xfer_shared_libraries_aix. | |
44 | (rs6000_xfer_shared_library): Delete. | |
45 | (rs6000_xfer_shared_libraries): Reimplement. | |
46 | ||
742ce053 MM |
47 | 2013-05-15 Markus Metzger <[email protected]> |
48 | ||
49 | * record.c (record_goto_cmdlist): New. | |
50 | (cmd_record_goto): Split into this ... | |
51 | (cmd_record_goto_begin): ... this | |
52 | (cmd_record_goto_end): ... and this. | |
53 | (_initialize_record): Change "record goto" to prefix command. | |
54 | Add commands for "record goto begin" and "record goto end". | |
55 | Add an alias for "record goto start" to "record goto begin". | |
56 | ||
e93ba630 JK |
57 | 2013-05-14 Jan Kratochvil <[email protected]> |
58 | ||
59 | * linespec.c (convert_linespec_to_sals): New comment for | |
60 | SOURCE_FILENAME assignment. | |
61 | ||
5821aace JK |
62 | 2013-05-14 Jan Kratochvil <[email protected]> |
63 | ||
64 | * cleanups.c (restore_my_cleanups): Replace gdb_assert by | |
65 | internal_warning. | |
66 | ||
a1b8c4cc TT |
67 | 2013-05-14 Tom Tromey <[email protected]> |
68 | ||
69 | * eval.c (parse_and_eval_long): Make 'exp' const. | |
70 | * value.h (parse_and_eval_long): Update. | |
71 | ||
23b3a2c3 TT |
72 | 2013-05-14 Tom Tromey <[email protected]> |
73 | ||
74 | * ui-file.c (gdb_fopen): Make arguments const. | |
75 | * ui-file.h (gdb_fopen): Make arguments const. | |
76 | ||
ca623f82 TT |
77 | 2013-05-14 Tom Tromey <[email protected]> |
78 | ||
79 | * remote.c (remote_set_trace_notes): Make arguments const. | |
80 | * target.c (update_current_target): Update cast. | |
81 | * target.h (to_set_trace_notes): Make arguments const. | |
82 | ||
503ebb2c TT |
83 | 2013-05-14 Tom Tromey <[email protected]> |
84 | ||
85 | * go32-nat.c (go32_terminal_info): Make 'args' const. | |
86 | * inferior.h (child_terminal_info): Update. | |
87 | * inflow.c (child_terminal_info): Make 'args' const. | |
88 | * target.c (default_terminal_info): Make 'args' const. | |
89 | (debug_to_terminal_save_ours): Likewise. | |
90 | * target.h (struct target_ops) <to_terminal_info>: Make argument | |
91 | const. | |
92 | ||
85e1311a TT |
93 | 2013-05-13 Tom Tromey <[email protected]> |
94 | ||
95 | * gcore.c (create_gcore_bfd): Make 'filename' const. | |
96 | * gcore.h (create_gcore_bfd): Make 'filename' const. | |
97 | * record-full.c (record_full_save): Make 'recfilename' const. | |
98 | * target.c (target_save_record): Make 'filename' const. | |
99 | * target.h (struct target_ops) <to_save_record>: Make 'filename' | |
100 | const. | |
101 | (target_save_record): Likewise. | |
102 | ||
d62bfeaf TT |
103 | 2013-05-13 Tom Tromey <[email protected]> |
104 | ||
92ce080b | 105 | PR gdb/15338: |
d62bfeaf TT |
106 | * dwarf2read.c (dwarf2_record_block_ranges): Ensure that the |
107 | ranges section has been read. | |
108 | ||
ac1ca910 TT |
109 | 2013-05-13 Tom Tromey <[email protected]> |
110 | ||
111 | PR exp/15364: | |
112 | * eval.c (evaluate_subexp_standard) <STRUCTOP_STRUCT, | |
113 | STRUCTOP_PTR>: Return a not_lval value for | |
114 | EVAL_AVOID_SIDE_EFFECTS. | |
115 | * opencl-lang.c (evaluate_subexp_opencl): Return a not_lval value | |
116 | for EVAL_AVOID_SIDE_EFFECTS. | |
117 | ||
36d1c68c JB |
118 | 2013-05-13 Joel Brobecker <[email protected]> |
119 | ||
120 | * rs6000-aix-tdep.c (rs6000_push_dummy_call): Convert | |
121 | floating point registers to register type before storing | |
122 | value. | |
123 | * rs6000-lynx178-tdep.c (rs6000_lynx178_push_dummy_call): | |
124 | Likewise. | |
125 | ||
21ff4686 TT |
126 | 2013-05-10 Joel Brobecker <[email protected]> |
127 | Tom Tromey <[email protected]> | |
128 | ||
129 | * common/filestuff.c (mark_fd_no_cloexec, unmark_fd_no_cloexec): | |
130 | New functions. | |
131 | * common/filestuff.c (mark_fd_no_cloexec, unmark_fd_no_cloexec): | |
132 | Declare. | |
133 | * darwin-nat.c (darwin_pre_ptrace): Use mark_fd_no_cloexec. | |
134 | (darwin_ptrace_him): Use unmark_fd_no_cloexec. | |
135 | * inf-ttrace.c (do_cleanup_pfds): Use unmark_fd_no_cloexec. | |
136 | (inf_ttrace_prepare): Use mark_fd_no_cloexec. | |
137 | ||
d3685d60 TT |
138 | 2013-05-10 Freddie Chopin <[email protected]> |
139 | Tom Tromey <[email protected]> | |
140 | ||
141 | PR build/15414: | |
142 | * configure: Rebuild. | |
143 | * configure.ac (build_warnings): Do not use -Wformat-nonliteral | |
144 | with -Wno-format. | |
145 | ||
eb9fe518 PA |
146 | 2013-05-10 Pedro Alves <[email protected]> |
147 | ||
148 | * remote.c (_initialize_remote): Fix spelling of | |
149 | qXfer:traceframe-info:read packet in packet config command. | |
150 | ||
9779ab84 PA |
151 | 2013-05-10 David Taylor <[email protected]> |
152 | ||
153 | PR remote/15455 | |
154 | ||
155 | * remote.c (remote_trace_set_readonly_regions): Do not overwrite | |
156 | "QTro" at start of packet. | |
157 | ||
060cfbef JB |
158 | 2013-05-10 Joel Brobecker <[email protected]> |
159 | ||
160 | * solib-aix.c (solib_aix_relocate_section_addresses): | |
161 | For the .bss section action, apply the same offset as | |
162 | the .data section. | |
163 | ||
ab1c4e88 JB |
164 | 2013-05-10 Joel Brobecker <[email protected]> |
165 | ||
166 | * solib-aix.c (solib_aix_relocate_section_addresses): | |
167 | Remove FIXME comment. | |
168 | ||
c1357578 JB |
169 | 2013-05-10 Joel Brobecker <[email protected]> |
170 | ||
171 | PR tdep/15420: | |
172 | * sol-thread.c (ps_lgetxregsize, ps_lgetxregs, ps_lsetxregs): | |
173 | New functions, directly copied from sparc-sol-thread.c. | |
174 | * sparc-sol-thread.c: Delete. | |
175 | * configure.ac: Remove code handling sparc-solaris-thread.c. | |
176 | * configure: Regenerate. | |
177 | ||
1e611234 PM |
178 | 2013-05-10 Phil Muldoon <[email protected]> |
179 | ||
180 | * stack.c (backtrace_command_1): Add "no-filters", and Python frame | |
181 | filter logic. | |
182 | (backtrace_command): Add "no-filters" option parsing. | |
183 | (_initialize_stack): Alter help to reflect "no-filters" option. | |
184 | * Makefile.in (SUBDIR_PYTHON_OBS): Add py-framefilter.o | |
185 | (SUBDIR_PYTHON_SRCS): Add py-framefilter.c | |
186 | (py-frame.o): Add target | |
187 | * data-directory/Makefile.in (PYTHON_DIR): Add Python frame | |
188 | filter files. | |
189 | * python/python.h: Add new frame filter constants, and flag enum. | |
190 | (apply_frame_filter): Add definition. | |
191 | * python/python.c (apply_frame_filter): New non-Python | |
192 | enabled function. | |
193 | * python/py-utils.c (py_xdecref): New function. | |
194 | (make_cleanup_py_xdecref): Ditto. | |
195 | * python/py-objfile.c: Declare frame_filters dictionary. | |
196 | (objfpy_dealloc): Add frame_filters dealloc. | |
197 | (objfpy_new): Initialize frame_filters attribute. | |
198 | (objfile_to_objfile_object): Ditto. | |
199 | (objfpy_get_frame_filters): New function. | |
200 | (objfpy_set_frame_filters): New function. | |
201 | * python/py-progspace.c: Declare frame_filters dictionary. | |
202 | (pspy_dealloc): Add frame_filters dealloc. | |
203 | (pspy_new): Initialize frame_filters attribute. | |
204 | (pspacee_to_pspace_object): Ditto. | |
205 | (pspy_get_frame_filters): New function. | |
206 | (pspy_set_frame_filters): New function. | |
207 | * python/py-framefilter.c: New file. | |
208 | * python/lib/gdb/command/frame_filters.py: New file. | |
209 | * python/lib/gdb/frames.py: New file. | |
210 | * python/lib/gdb/__init__.py: Initialize global frame_filters | |
211 | dictionary | |
212 | * python/lib/gdb/FrameDecorator.py: New file. | |
213 | * python/lib/gdb/FrameIterator.py: New file. | |
214 | * mi/mi-cmds.c (mi_cmds): Add frame filters command. | |
215 | * mi/mi-cmds.h: Declare. | |
216 | * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Add | |
217 | --no-frame-filter logic, and Python frame filter logic. | |
218 | (stack_enable_frame_filters): New function. | |
219 | (parse_no_frame_option): Ditto. | |
220 | (mi_cmd_stack_list_frames): Add --no-frame-filter and Python frame | |
221 | filter logic. | |
222 | (mi_cmd_stack_list_locals): Ditto. | |
223 | (mi_cmd_stack_list_args): Ditto. | |
224 | (mi_cmd_stack_list_variables): Ditto. | |
225 | * NEWS: Add frame filter note. | |
226 | ||
2cb9c859 DE |
227 | 2013-05-09 Doug Evans <[email protected]> |
228 | ||
6bf667bb DE |
229 | * symfile.c (syms_from_objfile_1): Delete args offsets, num_offsets. |
230 | All callers updated. | |
231 | (syms_from_objfile): Ditto. Make static. | |
232 | (symbol_file_add_with_addrs): Renamed from | |
233 | symbol_file_add_with_addrs_or_offsets. Delete args offsets, | |
234 | num_offsets. All callers updated. | |
235 | * symfile.h (syms_from_objfile): Delete. | |
236 | ||
2cb9c859 DE |
237 | * symfile.c (decrement_reading_symtab): Add assert. |
238 | (increment_reading_symtab): Ditto. | |
239 | ||
40aea477 JB |
240 | 2013-05-09 Joel Brobecker <[email protected]> |
241 | ||
242 | * source.c (forward_search_command): Replace call to getc | |
243 | by call to fgetc. | |
244 | (reverse_search_command): Likewise. | |
245 | ||
680d1742 DE |
246 | 2013-05-08 Doug Evans <[email protected]> |
247 | ||
248 | * psymtab.c (expand_symtabs_matching_via_partial): Fix file name | |
249 | matching test. | |
250 | ||
17e760ae JB |
251 | 2013-05-08 Joel Brobecker <[email protected]> |
252 | ||
253 | * sol-thread.c (info_cb): Factorize the code a little. | |
254 | ||
c0f5f490 JB |
255 | 2013-05-08 Joel Brobecker <[email protected]> |
256 | ||
257 | * sol-thread.c (info_cb): Rework the output of the "maintenance | |
258 | info sol-threads" command a bit. | |
259 | ||
5d74e061 JB |
260 | 2013-05-08 Joel Brobecker <[email protected]> |
261 | ||
262 | * sol-thread.c (info_cb) [ti.ti_state == TD_THR_SLEEP]: | |
263 | Replace ti.ti_startfunc by ti.ti_pc. | |
264 | ||
814a3ff7 JB |
265 | 2013-05-08 Joel Brobecker <[email protected]> |
266 | ||
267 | * solib-aix.c (solib_aix_free_library_list): New function | |
268 | for the case where HAVE_LIBEXPAT is not defined. | |
269 | ||
58ce7251 SDJ |
270 | 2013-05-07 Sergio Durigan Junior <[email protected]> |
271 | ||
272 | PR breakpoints/15413: | |
273 | * breakpoint.c (condition_completer): Simplify the code to | |
274 | disconsider multiple locations of breakpoints when completing the | |
275 | "condition" command. | |
276 | ||
be8b1ea6 PM |
277 | 2013-05-07 Pierre Muller <[email protected]> |
278 | ||
279 | * common/linux-btrace.c: ARI fix: Include "gdb_wait.h" | |
280 | instead of <sys/wait.h>. | |
281 | ||
1e52bda6 PM |
282 | 2013-05-07 Pierre Muller <[email protected]> |
283 | ||
284 | * nios2-tdep.c (nios2_dwarf_reg_to_regnum): ARI fix: remove | |
285 | trailing new line from warning message. | |
286 | ||
27fd0c6b PM |
287 | 2013-05-07 Pierre Muller <[email protected]> |
288 | ||
289 | * contrib/ari/gdb_ari.sh (SOLIB_ADD, SOLIB_CREATE_INFERIOR_HOOK) | |
290 | (PC_SOLIB): Change type from ari_deprecate to ari_regression. | |
291 | ||
e228ac87 JB |
292 | 2013-05-07 Joel Brobecker <[email protected]> |
293 | ||
294 | * rs6000-nat.c (rs6000_core_ldinfo): Remove '\n' at end of | |
295 | error message (ARI fix). | |
296 | ||
297 | 2013-05-07 Joel Brobecker <[email protected]> | |
298 | ||
299 | * features/library-list-aix.dtd: Replace library-list by | |
300 | library-list-aix. | |
301 | * rs6000-nat.c: Replace library-list by library-list-aix | |
302 | throughout. | |
303 | * solib-aix.c: Likewise. | |
304 | ||
305 | 2013-05-07 Joel Brobecker <[email protected]> | |
306 | ||
307 | * target.h (enum target_object) [TARGET_OBJECT_LIBRARIES_AIX]: | |
308 | Renames TARGET_OBJECT_AIX_LIBRARIES. | |
309 | * rs6000-nat.c: Replace TARGET_OBJECT_AIX_LIBRARIES with | |
310 | TARGET_OBJECT_LIBRARIES_AIX throughout. | |
311 | * solib-aix.c: Likwise. | |
312 | ||
26a4dda9 YQ |
313 | 2013-05-07 Yao Qi <[email protected]> |
314 | ||
315 | * solib-dsbt.c (struct dsbt_info) <enable_break2_done>: Remove. | |
316 | (get_dsbt_info, enable_break, dsbt_clear_solib): Update. | |
317 | ||
3582629f YQ |
318 | 2013-05-07 Yao Qi <[email protected]> |
319 | ||
320 | * solib-dsbt.c (enable_break): Declare. | |
321 | (dsbt_current_sos): Remove call to enable_break2. | |
322 | (enable_break2): Rename to enable_break. Set solib breakpoint | |
323 | on '_dl_debug_state'. | |
324 | (enable_break): Remove. | |
325 | ||
aacbb8a5 LM |
326 | 2013-05-07 Luis Machado <[email protected]> |
327 | ||
328 | * ppc-linux-nat.c (ppc_linux_new_thread): Clear the new thread's | |
329 | debug state prior to replicating existing hardware watchpoints or | |
330 | breakpoints. | |
331 | ||
0c013353 JK |
332 | 2013-05-07 Jan Kratochvil <[email protected]> |
333 | ||
334 | * gcore.c (gcore_create_callback): Ignore sections with | |
335 | separate_debug_objfile_backlink != NULL. | |
336 | ||
a1217d97 SL |
337 | 2013-05-06 Sandra Loosemore <[email protected]> |
338 | Andrew Jenner <[email protected]> | |
339 | Chung-Lin Tang <[email protected]> | |
340 | Julian Brown <[email protected]> | |
341 | ||
342 | Based on the nios2-elf port from Altera Corporation. | |
343 | ||
344 | * Makefile.in (ALL_TARGET_OBS): Add nios2-tdep.o and | |
345 | nios2-linux-tdep.o. | |
346 | (HFILES_NO_SRCDIR): Add nios2-tdep.h. | |
347 | (ALLDEPFILES): Add nios2-tdep.c and nios2-linux-tdep.c. | |
348 | * configure.tgt: Add nios2*-*-linux* and nios2*-*-* targets. | |
349 | * nios2-tdep.h: New. | |
350 | * nios2-tdep.c: New. | |
351 | * nios2-linux-tdep.c: New. | |
352 | * features/Makefile (WHICH): Add nios2-linux. | |
353 | (nios2-linux-expedite): Set. | |
354 | * features/nios2-cpu.xml: New. | |
355 | * features/nios2.xml: New. | |
356 | * features/nios2-linux.xml: New. | |
357 | * features/nios2.c: New (autogenerated). | |
358 | * features/nios2-linux.c: New (autogenerated). | |
359 | * regformats/nios2-linux.dat: New (autogenerated). | |
360 | * NEWS (Changes since GDB 7.6): Add new Nios II targets | |
361 | and commands. | |
362 | ||
0892cb63 DE |
363 | 2013-05-06 Doug Evans <[email protected]> |
364 | ||
3b7bacac DE |
365 | * symfile.c: Whitespace cleanup. |
366 | ||
0892cb63 DE |
367 | * solist.h (struct target_so_ops): New member clear_so. |
368 | * solib-svr4.c (svr4_clear_so): New function. | |
369 | (_initialize_svr4_solib): Set svr4_so_ops.clear_so. | |
370 | * solib.c (clear_so): Renamed from free_so_symbols. | |
371 | All callers updated. Call target clear_so if it exists. | |
372 | ||
40501e00 TT |
373 | 2013-05-06 Tom Tromey <[email protected]> |
374 | ||
375 | * ada-lang.c (ada_value_primitive_packed_val): Don't | |
376 | call value_incref. | |
377 | * value.c (set_value_parent): Incref the new parent and decref | |
378 | the old parent. | |
379 | (value_copy, value_primitive_field): Use set_value_parent. | |
380 | ||
b6807d98 TT |
381 | 2013-05-06 Tom Tromey <[email protected]> |
382 | ||
383 | * dwarf2loc.c (invalid_synthetic_pointer): Move earlier. | |
384 | (indirect_pieced_value): Call dwarf2_fetch_constant_bytes | |
385 | if needed. | |
386 | * dwarf2loc.h (dwarf2_fetch_constant_bytes): Declare. | |
387 | * dwarf2read.c (write_constant_as_bytes) | |
388 | (dwarf2_fetch_constant_bytes): New functions. | |
389 | ||
3aef2284 TT |
390 | 2013-05-06 Tom Tromey <[email protected]> |
391 | ||
392 | * dwarf2read.c (dwarf2_const_value_data): Remove unused | |
393 | parameters. | |
394 | (dwarf2_const_value_attr): Update. | |
395 | ||
66f65e2b TT |
396 | 2013-05-06 Tom Tromey <[email protected]> |
397 | ||
398 | * somread.c (som_symfile_offsets): Add 'const' to addrs. | |
399 | * machoread.c (macho_symfile_offsets): Add 'const' to addrs. | |
400 | * xcoffread.c (xcoff_symfile_offsets): Add 'const' to addrs. | |
401 | Remove declaration. | |
402 | ||
7919a973 TT |
403 | 2013-05-06 Tom Tromey <[email protected]> |
404 | ||
405 | * dwarf2read.c (dwarf2_const_value_attr): Use 'obstack', not | |
406 | objfile's obstack. | |
407 | ||
a7bfba49 DE |
408 | 2013-05-06 Doug Evans <[email protected]> |
409 | ||
3189cb12 DE |
410 | * dbxread.c (process_one_symbol): Constify section_offsets parameter. |
411 | * stabsread.h (process_one_symbol): Update declaration. | |
412 | * dwarf2read.c (dw2_relocate): Constify new_offsets, delta parameters. | |
413 | * elfread.c (elf_symfile_relocate_probe): Ditto. | |
414 | * psymtab.c (relocate_psymtabs): Ditto. | |
415 | * objfiles.c (objfile_relocate1): Constify new_offsets parameter. | |
416 | (objfile_relocate): Ditto. | |
417 | * objfiles.h (objfile_relocate): Update declaration. | |
418 | * symfile.c (relative_addr_info_to_section_offsets): Constify | |
419 | addrs parameter. | |
420 | (default_symfile_offsets): Ditto. | |
421 | (syms_from_objfile_1): Constify offsets parameter. | |
422 | (syms_from_objfile): Ditto. | |
423 | (symbol_file_add_with_addrs_or_offsets): Ditto. | |
424 | (symfile_map_offsets_to_segments): Constify data parameter. | |
425 | * symfile.h (struct quick_symbol_functions): Constify new_offsets, | |
426 | delta parameters of member relocate. | |
427 | (struct sym_probe_fns): Constify new_offsets, | |
428 | delta parameters of member sym_relocate_probe. | |
429 | (struct sym_fns): Constify section_addr_info parameter of member | |
430 | sym_offsets. | |
431 | (relative_addr_info_to_section_offsets): Update declaration. | |
432 | (default_symfile_offsets): Ditto. | |
433 | (syms_from_objfile): Ditto. | |
434 | (symfile_map_offsets_to_segments): Ditto. | |
435 | ||
a7bfba49 DE |
436 | * symfile.c (syms_from_objfile_1): Use correct section count when |
437 | objfile->sf == NULL. | |
438 | ||
5f8e0b8f MF |
439 | 2013-05-06 Mike Frysinger <[email protected]> |
440 | ||
441 | * common/linux-btrace.c (intel_supports_btrace): Fix indentation. | |
442 | ||
ea52d893 DE |
443 | 2013-05-06 Doug Evans <[email protected]> |
444 | ||
445 | * psympriv.h (struct partial_symtab): Augment comment for member | |
446 | section_offsets. | |
447 | ||
4d1eb6b4 JB |
448 | 2013-05-06 Joel Brobecker <[email protected]> |
449 | ||
450 | Reimplement shared library support on ppc-aix... | |
451 | * target.h (TARGET_OBJECT_AIX_LIBRARIES): New target_object enum. | |
452 | * features/library-list-aix.dtd: New file. | |
453 | * solib-aix.h, solib-aix.c: New file. | |
454 | * rs6000-aix-tdep.c: #include "solib.h" and "solib-aix.h". | |
455 | (rs6000_find_toc_address_hook): Delete. | |
456 | (rs6000_push_dummy_call): Rewrite code setting the TOC value. | |
457 | (rs6000_aix_init_osabi): Register solib_aix_so_ops. | |
458 | * rs6000-nat.c: Remove "xcoffsolib.h" include. Include | |
459 | "xml-utils.h". | |
460 | (map_vmap, vmap_exec, vmap_ldinfo, add_vmap, objfile_symbol_add) | |
461 | (vmap_symtab, fixup_breakpoints): Delete. | |
462 | (rs6000_xfer_shared_libraries): New function. | |
463 | (rs6000_xfer_partial): Add TARGET_OBJECT_AIX_LIBRARIES handling. | |
464 | (vmap_secs, bss_data_overlap, vmap_add_symbols): Delete. | |
465 | (xcoff_relocate_symtab, xcoff_relocate_core): Delete. | |
466 | (rs6000_ptrace_ldinfo, rs6000_core_ldinfo) | |
467 | (rs6000_xfer_shared_library): New function. | |
468 | (find_toc_address): Delete. | |
469 | (_initialize_rs6000_nat): Do not set rs6000_find_toc_address_hook. | |
470 | * rs6000-tdep.h (rs6000_find_toc_address_hook): Remove. | |
471 | * xcoffread.c (record_minimal_symbol): Reloate symbol address | |
472 | before creating minimal symbol. Adjust function description | |
473 | accordingly. | |
474 | (scan_xcoff_symtab): Replace call to | |
475 | prim_record_minimal_symbol_and_info by call to | |
476 | record_minimal_symbol. | |
477 | (xcoff_symfile_offsets): Reimplement mostly as a wrapper | |
478 | around default_symfile_offsets. | |
479 | * configure.tgt: Add solib-aix.o to gdb_target_obs for | |
480 | powerpc-aix targets. | |
481 | * config/rs6000/nm-rs6000.h: Delete. | |
482 | * config/powerpc/aix.mh (NAT_FILE): Delete. | |
483 | (NATDEPFILES): Remove xcoffsolib.o. | |
484 | * Makefile.in (XMLFILES): Add library-list-aix.dtd. | |
485 | (ALL_TARGET_OBS): Add solib-aix.o. | |
486 | (HFILES_NO_SRCDIR): Remove xcoffsolib.h and | |
487 | config/rs6000/nm-rs6000.h. Add solib-aix.h. | |
488 | (ALLDEPFILES): Add solib-aix.c. Remove xcoffsolib.c. | |
489 | * xcoffsolib.h, xcoffsolib.c: Delete. | |
490 | ||
491 | * solib.c (reload_shared_libraries): Remove reference to | |
492 | SOLIB_CREATE_INFERIOR_HOOK. | |
493 | * breakpoint.c (handle_solib_event): Remove reference to SOLIB_ADD. | |
494 | (disable_breakpoints_in_shlibs): Remove reference to PC_SOLIB. | |
495 | (momentary_bkpt_re_set): Replace SOLIB_ADD by solib_add in | |
496 | comment. | |
497 | * corelow.c (deprecated_core_resize_section_table): Delete. | |
498 | * exec.c: Remove include of xcoffsolib.h". | |
499 | (map_vmap, vmap): Delete. | |
500 | (exec_close_1): Remove references to vmap. | |
501 | (exec_file_attach): Remove vmap handling code, and reference | |
502 | to DEPRECATED_IBM6000_TARGET. | |
503 | (bfdsec_to_vmap): Delete. | |
504 | (exec_files_info): Remove block of code handling VMAP. | |
505 | * infcmd.c (post_create_inferior): Remove reference to | |
506 | SOLIB_CREATE_INFERIOR_HOOK and SOLIB_ADD. | |
507 | * infrun.c (follow_exec): Remove reference to | |
508 | SOLIB_CREATE_INFERIOR_HOOK. | |
509 | * stack.c (print_frame): Remove reference to PC_SOLIB. | |
510 | * solib-dsbt.c (dsbt_current_sos): Adjust comment. | |
511 | (dsbt_relocate_main_executable): Likewise. | |
512 | * solib-frv.c (frv_current_sos): Likewise. | |
513 | ||
0c4f667c JB |
514 | 2013-05-06 Joel Brobecker <[email protected]> |
515 | ||
516 | * sol-thread.c (rw_common): Cast BUF to "gdb_byte *" in calls | |
517 | to target_write_memory and target_read_memory. | |
518 | ||
726ce67c JB |
519 | 2013-05-06 Joel Brobecker <[email protected]> |
520 | ||
521 | * darwin-nat.c (darwin_setup_fake_stop_event): New function. | |
522 | (darwin_attach): Adjust using darwin_setup_fake_stop_event. | |
523 | ||
c8c9911f JB |
524 | 2013-05-06 Joel Brobecker <[email protected]> |
525 | ||
526 | * darwin-nat.c: Replace all "%x" instances in format strings | |
527 | into "0x%x" throughout. | |
528 | ||
fda184b6 JB |
529 | 2013-05-06 Joel Brobecker <[email protected]> |
530 | ||
531 | * darwin-nat.c (darwin_mourn_inferior): Replace call to | |
532 | gdb_assert by call to MACH_CHECK_ERROR. | |
533 | (darwin_attach_pid): Raise an error rather than a failed | |
534 | assertion when various system calls failed. Report a warning | |
535 | instead of raising a failed assertion when PREV_NOT is not NULL | |
536 | after call to mach_port_request_notification. | |
537 | (darwin_ptrace_me): Raise an error rather than a failed | |
538 | assertion when read returns nonzero. | |
539 | ||
d1d69afb JB |
540 | 2013-05-06 Joel Brobecker <[email protected]> |
541 | ||
542 | * amd64-darwin-tdep.c: Remove #include "gdb_assert.h". | |
543 | ||
dc90b24d JK |
544 | 2013-05-05 Jan Kratochvil <[email protected]> |
545 | ||
546 | * cleanups.c (restore_my_cleanups): New gdb_assert for SENTINEL_CLEANUP. | |
547 | ||
faab9922 JK |
548 | 2013-05-05 Jan Kratochvil <[email protected]> |
549 | ||
550 | * event-top.c (display_gdb_prompt): Call missing do_cleanups. | |
551 | * infcmd.c (get_return_value) <!stop_regs>: Do not overwrite CLEANUP. | |
552 | * symfile.c (symfile_bfd_open): New variable back_to. Do not leave | |
553 | a stale cleanup. Fix double free of NAME. | |
554 | ||
e0ea48a0 EZ |
555 | 2013-05-04 Eli Zaretskii <[email protected]> |
556 | ||
557 | * windows-nat.c (windows_delete_thread): Accept an additional | |
558 | argument, the thread's exit code, and announce thread death when | |
559 | print_thread_events is non-zero and we are deleting a thread that | |
560 | is not the main thread. | |
561 | (get_windows_debug_event): Pass thread exit code to | |
562 | windows_delete_thread. | |
563 | ||
83b2706a KB |
564 | 2013-05-03 Kevin Buettner <[email protected]> |
565 | ||
566 | * v850-tdep.c (elf-bfd.h, elf/v850.h): Include. | |
567 | (R_149_REGNUM, E_NUM_OF_V850E2_REGS, E_SELID_1_R0_REGNUM) | |
568 | (E_SELID_1_R31_REGNUM, E_SELID_2_R0_REGNUM, E_SELID_2_R31_REGNUM) | |
569 | (E_SELID_3_R0_REGNUM, E_SELID_3_R31_REGNUM, E_SELID_4_R0_REGNUM) | |
570 | (E_SELID_4_R31_REGNUM, E_SELID_5_R0_REGNUM, E_SELID_5_R31_REGNUM) | |
571 | (E_SELID_6_R0_REGNUM, E_SELID_6_R31_REGNUM, E_SELID_7_R0_REGNUM, E_SELID_7_R31_REGNUM) | |
572 | (E_VR0_REGNUM, E_VR31_REGNUM, E_NUM_OF_V850E3V5_REGS): Define. | |
573 | (v850_abi, V850_ABI_GCC, V850_ABI_RH850): New enum and constants. | |
574 | (gdbarch_tdep): New struct. | |
575 | (v850e2_register_name): Use E_NUM_OF_V850E2_REGS instead of | |
576 | E_NUM_REGS. | |
577 | (v850e3v5_register_name): New function. | |
578 | (v850_register_type): v850e3v5 vector registers are 64-bits wide. | |
579 | (v850_use_struct_convention): Add `gdbarch' parameter. Add new | |
580 | code handling the struct return conventions for the RH850 ABI. | |
581 | Update all callers. | |
582 | (v850_eight_byte_align_p): New function. | |
583 | (v850_push_call_dummy): Push structs by value, not by reference | |
584 | for the RH850 ABI. Add support for eight byte alignment. | |
585 | (v850_dbtrap_breakpoint_from_pc): New function. | |
586 | (v850_gdbarch_init): Add ABI detection code. Register | |
587 | v850e3v5_register_name for the v850e3v5 architecture. Set the | |
588 | number of registers for v850e3v5. Register | |
589 | v850_dbtrap_breakpoint_from_pc as appropriate. | |
590 | (_initialize_gdbarch_init): Registration bfd_arch_v850_rh850. | |
591 | ||
d445b2f6 DE |
592 | 2013-05-03 Doug Evans <[email protected]> |
593 | ||
594 | * objfiles.c (objfile_relocate): Use gdb_bfd_count_sections instead | |
595 | of bfd_count_sections. | |
596 | * solib-target.c (solib_target_relocate_section_addresses): Ditto. | |
597 | * symfile.c (default_symfile_offsets): Ditto. | |
598 | (syms_from_objfile_1): Ditto. Make dummy addrs list an array of | |
599 | one entry, not bfd_count_sections entries. | |
600 | ||
b3ce41ea KB |
601 | 2013-05-03 Kevin Buettner <[email protected]> |
602 | ||
603 | * rl78-tdep.c (rl78_register_reggroup_p): Include SP in the | |
604 | `save' and `restore' register groups. Don't include SPL | |
605 | or SPH in these groups. | |
606 | (rl78_dwarf_reg_to_regnum): Adjust mapping for | |
607 | RL78_PC_REGNUM. Add mappings for RL78_PSW_REGNUM, | |
608 | RL78_ES_REGNUM, and RL78_CS_REGNUM. | |
609 | (rl78_gdbarch_init): Set `dwarf2_addr_size' to 4. Invoke | |
610 | dwarf2_append_unwinders(). | |
611 | ||
96f7d3f1 PW |
612 | 2013-05-03 Philippe Waroquiers <[email protected]> |
613 | ||
614 | * break-catch-sig.c (signal_catchpoint_breakpoint_hit): Do not | |
615 | ignore SIGINT and SIGTRAP in case these internal signals are | |
616 | caught explicitely. | |
617 | ||
b9dd1947 JB |
618 | 2013-05-01 Joel Brobecker <[email protected]> |
619 | ||
620 | * darwin-nat.c (darwin_read_write_inferior): Change types | |
621 | of parameters rdaddr and wraddr to "gdb_byte *". Change type | |
622 | of copy_count to "mach_msg_type_number_t". | |
623 | (darwin_read_dyld_info): Change type of parameter | |
624 | rdaddr to "gdb_byte *". | |
625 | ||
4ca18a63 JB |
626 | 2013-05-01 Joel Brobecker <[email protected]> |
627 | ||
628 | * solib-ia64-hpux.c (ia64_hpux_read_dynamic_info): Change cast | |
629 | of &info->load_map from "char *" to "gdb_byte *". | |
630 | ||
2b692d32 JB |
631 | 2013-05-01 Joel Brobecker <[email protected]> |
632 | ||
633 | * ia64-tdep.c (ia64_access_fpreg): Change cast of val | |
634 | from "char *" to "gdb_byte *". | |
635 | (ia64_access_rse_fpreg, ia64_access_mem): Likewise. | |
636 | ||
a98c29a0 DE |
637 | 2013-04-30 Doug Evans <[email protected]> |
638 | ||
6a506a2d DE |
639 | * dwarf2read.c (lookup_dwo_unit): Return NULL if DWO not found. |
640 | (init_cutu_and_read_dies): Flag a complaint, not error, for bad | |
641 | DWO stub. If DWO isn't found, just use stub. | |
642 | (lookup_dwo_cutu): Don't try DWO if there's a DWP file. | |
643 | ||
a98c29a0 DE |
644 | * dwarf2read.c (dw2_find_symbol_file): Initialize filename before |
645 | calling init_cutu_and_read_dies. | |
646 | ||
f92b06da WT |
647 | 2013-03-27 Walfred Tedeschi <[email protected]> |
648 | ||
649 | * target-descriptions.c (maint_print_c_tdesc_cmd): | |
650 | Add case to parse structures as register types and | |
651 | bitfields. | |
652 | ||
95eebdcc WT |
653 | 2013-04-30 Walfred Tedeschi <[email protected]> |
654 | ||
655 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
656 | ||
019c1128 JB |
657 | 2013-04-30 Joel Brobecker <[email protected]> |
658 | ||
659 | * sol-thread.c (rw_common): Change type of parameter "buf" | |
660 | to "gdb_byte *". | |
661 | (ps_pdwrite, ps_ptwrite): Cast parameter "buf" in call to | |
662 | rw_common to "gdb_byte *" instead of "char *". | |
663 | ||
5812197c JB |
664 | 2013-04-30 Joel Brobecker <[email protected]> |
665 | ||
666 | * sol-thread.c (info_cb) [ti.ti_startfunc != 0]: Change type | |
667 | of local variable msym to const struct bound_minimal_symbol. | |
668 | Adjust use accordingly. | |
669 | [ti.ti_state == TD_THR_SLEEP]: Likewise. | |
670 | ||
ecccb813 TS |
671 | 2013-04-30 Samuel Thibault <[email protected]> |
672 | ||
673 | * i386gnu-nat.c (CREG_OFFSET): New macro. | |
674 | (creg_offset): New array. | |
675 | (CREG_ADDR): Use creg_offset instead of reg_offset. | |
676 | ||
f1d02dd4 | 677 | 2013-04-30 Joel Brobecker <[email protected]> |
54746424 JB |
678 | |
679 | * mep-tdep.c (mep_write_pc): Delete. | |
680 | (mep_gdbarch_init): Remove call to set_gdbarch_write_pc. | |
681 | Add call to set_gdbarch_pc_regnum. | |
682 | ||
f1d02dd4 | 683 | 2013-04-30 Joel Brobecker <[email protected]> |
01da98f9 JB |
684 | |
685 | * common/filestuff.c: Replace #include <dirent.h> by | |
686 | #include "gdb_dirent.h". | |
687 | ||
f1d02dd4 | 688 | 2013-04-30 Joel Brobecker <[email protected]> |
366c6766 JB |
689 | |
690 | * common/filestuff.c: Replace #include <sys/stat.h> by | |
691 | #include "gdb_stat.h". | |
692 | ||
b385a60d PM |
693 | 2013-04-29 Pierre Muller <[email protected]> |
694 | ||
695 | * dwarf2read.c (handle_DW_AT_stmt_list): Avoid ARI warning for | |
696 | editCase function rule. | |
697 | (get_DW_AT_signature_type): Likewise. | |
698 | ||
d27b54ad JB |
699 | 2013-04-29 Joel Brobecker <[email protected]> |
700 | ||
701 | * m32r-tdep.c (m32r_write_pc): Delete. | |
702 | (m32r_gdbarch_init): Remove call to set_gdbarch_write_pc. | |
703 | Add call to set_gdbarch_pc_regnum. | |
704 | ||
47d21dc5 PM |
705 | 2013-04-29 Pierre Muller <[email protected]> |
706 | ||
707 | * ./contrib/ari/gdb_ari.sh (editCase rule): Fix spelling error. | |
708 | ||
9056882e JB |
709 | 2013-04-29 Joel Brobecker <[email protected]> |
710 | ||
711 | * dwarf2read.c (get_DW_AT_signature_type): Add ARI marker. | |
712 | ||
7ee4732a YQ |
713 | 2013-04-28 Yao Qi <[email protected]> |
714 | ||
715 | * solib-dsbt.c (fetch_loadmap): Re-indent. | |
716 | (displacement_from_map, enable_break2): Likewise. | |
717 | (dsbt_relocate_section_addresses): Likewise. | |
718 | ||
2260af53 | 719 | 2013-04-26 Joel Brobecker <[email protected]> |
720 | ||
721 | GDB 7.6 released. | |
722 | ||
ff546935 TT |
723 | 2013-04-25 Andreas Kaufmann <[email protected]> |
724 | ||
725 | PR corefiles/14983: | |
726 | * dwarf2read.c (process_full_comp_unit): Always create a static | |
727 | block. | |
728 | ||
40fb6c5e HZ |
729 | 2013-04-25 Hui Zhu <[email protected]> |
730 | ||
731 | * breakpoint.c (build_target_command_list): Change loc->cond_bytecode | |
732 | to loc->cmd_bytecode. | |
733 | ||
74e04d1c DE |
734 | 2013-04-24 Doug Evans <[email protected]> |
735 | ||
736 | * dwarf2read.c (setup_type_unit_groups): Fix comment. | |
737 | ||
3cf62c1d KS |
738 | 2013-04-22 Keith Seitz <[email protected]> |
739 | ||
740 | * tracepoint.c (trace_save): Call the writer's start method. | |
741 | ||
bf9e4d0c MB |
742 | 2013-04-24 Muhammad Bilal <[email protected]> |
743 | ||
744 | PR gdb/10462 | |
745 | * cli/cli-decode.c (lookup_command): Show an error if there is no space | |
746 | before argument. | |
747 | ||
5d71132c TT |
748 | 2013-04-23 Tom Tromey <[email protected]> |
749 | ||
750 | * common/filestuff.c: Check USE_WIN32API before including | |
751 | sys/socket.h. | |
752 | (HAVE_F_GETFD): New define. | |
753 | (mark_cloexec): Check HAVE_F_GETFD. | |
754 | (gdb_open_cloexec): Change 'mode' to unsigned long. | |
755 | (gdb_socketpair_cloexec): Check HAVE_SOCKETPAIR. | |
756 | (gdb_pipe_cloexec): Check HAVE_PIPE. | |
757 | * common/filestuff.h (gdb_open_cloexec): Change 'mode' to unsigned | |
758 | long. | |
759 | ||
a11cfd87 HZ |
760 | 2013-04-23 Hui Zhu <[email protected]> |
761 | ||
762 | PR gdb/15293 | |
a11cfd87 HZ |
763 | * breakpoint.c (bpstat_what): Add BPSTAT_WHAT_SINGLE to bp_dprintf. |
764 | ||
2d9442cc HZ |
765 | 2013-04-23 Hui Zhu <[email protected]> |
766 | ||
767 | PR gdb/15165 | |
2d9442cc HZ |
768 | * breakpoint.c (dprintf_print_recreate): New. |
769 | (save_breakpoints): Let it not save dprintf commands. | |
770 | (initialize_breakpoint_ops): Set dprintf_print_recreate. | |
771 | ||
614c279d TT |
772 | 2013-04-22 Tom Tromey <[email protected]> |
773 | ||
774 | PR gdb/7912: | |
775 | * Makefile.in (SFILES): Add filestuff.c | |
776 | (COMMON_OBS): Add filestuff.o. | |
777 | (filestuff.o): New target. | |
778 | * auto-load.c (auto_load_objfile_script_1): Use | |
779 | gdb_fopen_cloexec. | |
780 | * auxv.c (procfs_xfer_auxv): Use gdb_open_cloexec. | |
781 | * cli/cli-cmds.c (shell_escape): Call close_most_fds. | |
782 | * cli/cli-dump.c (fopen_with_cleanup): Use gdb_fopen_cloexec. | |
783 | * common/agent.c (gdb_connect_sync_socket): Use | |
784 | gdb_socket_cloexec. | |
785 | * common/filestuff.c: New file. | |
786 | * common/filestuff.h: New file. | |
787 | * common/linux-osdata.c (linux_common_core_of_thread) | |
788 | (command_from_pid, commandline_from_pid, print_source_lines) | |
789 | (linux_xfer_osdata_shm, linux_xfer_osdata_sem) | |
790 | (linux_xfer_osdata_msg, linux_xfer_osdata_modules): Use | |
791 | gdb_fopen_cloexec. | |
792 | * common/linux-procfs.c (linux_proc_get_int) | |
793 | (linux_proc_pid_has_state): Use gdb_fopen_cloexec. | |
794 | * config.in, configure: Rebuild. | |
795 | * configure.ac: Don't check for sys/socket.h. Check for | |
796 | fdwalk, pipe2. | |
797 | * corelow.c (core_open): Use gdb_open_cloexec. | |
798 | * dwarf2read.c (write_psymtabs_to_index): Use gdb_fopen_cloexec. | |
799 | * fork-child.c (fork_inferior): Call close_most_fds. | |
800 | * gdb_bfd.c (gdb_bfd_open): Use gdb_open_cloexec. | |
801 | * inf-child.c (inf_child_fileio_readlink): Use gdb_open_cloexec. | |
802 | * linux-nat.c (linux_nat_thread_name, linux_proc_pending_signals): | |
803 | Use gdb_fopen_cloexec. | |
804 | (linux_proc_xfer_partial, linux_proc_xfer_spu): Use | |
805 | gdb_open_cloexec. | |
806 | (linux_async_pipe): Use gdb_pipe_cloexec. | |
807 | * remote-fileio.c (remote_fileio_func_open): Use | |
808 | gdb_open_cloexec. | |
809 | * remote.c (remote_file_put, remote_file_get): Use | |
810 | gdb_fopen_cloexec. | |
811 | * ser-pipe.c (pipe_open): Use gdb_socketpair_cloexec, | |
812 | close_most_fds. | |
813 | * ser-tcp.c (net_open): Use gdb_socket_cloexec. | |
814 | * ser-unix.c (hardwire_open): Use gdb_open_cloexec. | |
815 | * solib.c (solib_find): Use gdb_open_cloexec. | |
816 | * source.c (openp, find_and_open_source): Use gdb_open_cloexec. | |
817 | * tracepoint.c (tfile_start): Use gdb_fopen_cloexec. | |
818 | (tfile_open): Use gdb_open_cloexec. | |
819 | * tui/tui-io.c (tui_initialize_io): Use gdb_pipe_cloexec. | |
820 | * ui-file.c (gdb_fopen): Use gdb_fopen_cloexec. | |
821 | * xml-support.c (xml_fetch_content_from_file): Use | |
822 | gdb_fopen_cloexec. | |
823 | * main.c (captured_main): Call notice_open_fds. | |
824 | ||
5fda2332 EBM |
825 | 2013-04-22 Edjunior Machado <[email protected]> |
826 | ||
827 | * remote-sim.c (dump_mem): Change the type of 'buf' parameter from | |
828 | 'char *' to 'gdb_byte *'. | |
829 | (gdbsim_store_register): Change the type of 'tmp' from 'char' to | |
830 | 'gdb_byte'. | |
831 | ||
eb6c553b YQ |
832 | 2013-04-22 Yao Qi <[email protected]> |
833 | ||
834 | * infrun.c: Fix typo in comment. | |
835 | ||
9991b207 SDJ |
836 | 2013-04-22 Andrew Haley <[email protected]> |
837 | ||
838 | * arm-tdep.c (BranchDest): Cast result as "unsigned long", | |
839 | instead of "long". | |
840 | ||
8b4833e3 YQ |
841 | 2013-04-20 Yao Qi <[email protected]> |
842 | ||
843 | * ctf.c (ctf_fetch_registers): Change the type of 'regs' from | |
844 | 'char *' to 'gdb_byte *'. Cast the return value of | |
845 | 'bt_ctf_get_char_array' to 'gdb_byte *'. | |
846 | ||
bd3f3b55 PA |
847 | 2013-04-19 Pedro Alves <[email protected]> |
848 | ||
849 | * configure.ac (build_warnings): Replace -Wno-pointer-sign with | |
850 | -Wpointer-sign. | |
851 | * configure: Regenerate. | |
852 | ||
c49e7f76 PA |
853 | 2013-04-19 Pedro Alves <[email protected]> |
854 | ||
855 | * ser-tcp.c (net_read_prim): Cast second argument to recv to | |
856 | 'void *'. | |
857 | ||
12ff8552 PA |
858 | 2013-04-19 Pedro Alves <[email protected]> |
859 | ||
860 | * monitor.c (monitor_write_memory, monitor_write_memory_bytes): | |
861 | Change type of 'myaddr' parameter to gdb_byte pointer. | |
862 | (monitor_write_memory_longlongs): Likewise. Cast 'myaddr' pointer | |
863 | to 'long long' pointer instead of to 'unsigned long long'. | |
864 | (monitor_write_memory_block, monitor_read_memory_single) | |
865 | (monitor_read_memory): Change type of 'myaddr' parameter to | |
866 | gdb_byte pointer. | |
867 | ||
9c37696b PA |
868 | 2013-04-19 Pedro Alves <[email protected]> |
869 | ||
870 | * record.c (validate_history_size): Make parameter 'setting' | |
871 | unsigned. | |
872 | ||
a398505b PA |
873 | 2013-04-19 Pedro Alves <[email protected]> |
874 | ||
875 | * ctf.c (ctf_write_uploaded_tsv, ctf_write_uploaded_tp): Add casts | |
876 | to 'gdb_byte *'. | |
877 | ||
9f8afa72 PA |
878 | 2013-04-19 Pedro Alves <[email protected]> |
879 | ||
880 | * cp-valprint.c (cp_print_class_member): Change type of 'fieldno' | |
881 | local to int. | |
882 | ||
c714b426 PA |
883 | 2013-04-19 Pedro Alves <[email protected]> |
884 | ||
885 | * ada-lang.c (print_it_exception): Add cast to gdb_byte *. | |
886 | * ada-tasks.c (read_fat_string_value): Likewise. | |
887 | ||
507a579c PA |
888 | 2013-04-19 Pedro Alves <[email protected]> |
889 | ||
890 | * dwarf2-frame.c (execute_cfa_program): Make 'bytes_read' local | |
891 | unsigned. Pass 'tmp' to safe_read_uleb128 instead of the signed | |
892 | 'offset', and adjust. | |
893 | ||
f9d83a0b PA |
894 | 2013-04-19 Pedro Alves <[email protected]> |
895 | ||
896 | * dwarf2read.c (dwarf2_get_dwz_file): Add cast to const char *. | |
897 | (read_index_from_section): Add cast to 'char *'. | |
898 | ||
745eb4fd PA |
899 | 2013-04-19 Pedro Alves <[email protected]> |
900 | ||
901 | * xcoffread.c (xcoff_initial_scan): Add cast to 'char *'. | |
902 | ||
db5be46f PA |
903 | 2013-04-19 Pedro Alves <[email protected]> |
904 | ||
905 | * coff-pe-read.c (read_pe_exported_syms): Handle strings as char. | |
906 | ||
0f928d68 PA |
907 | 2013-04-19 Pedro Alves <[email protected]> |
908 | ||
909 | * record-full.c (record_full_get_bookmark): Change local 'ret' | |
910 | type to char * and add cast to gdb_byte *. | |
911 | (record_full_goto_bookmark): Handle 'bookmark' argument as a | |
912 | string. | |
913 | * reverse.c (goto_bookmark_command): Add casts to gdb_byte *. | |
914 | ||
89f6d837 PA |
915 | 2013-04-19 Pedro Alves <[email protected]> |
916 | ||
917 | * python/py-inferior.c (infpy_write_memory): Add cast to gdb_byte | |
918 | * python/py-prettyprint.c (print_string_repr): Change type of | |
919 | 'output' local to char *. Add cast to gdb_byte * in | |
920 | LA_PRINT_STRING call. | |
921 | (print_children): Change type of 'output' local to char *. | |
922 | * python/py-value.c (valpy_string): Add cast to const char * in | |
923 | PyUnicode_Decode call. | |
924 | ||
ce6ec7d8 PA |
925 | 2013-04-19 Pedro Alves <[email protected]> |
926 | ||
927 | * remote-mips.c (mips_cksum): Rename 'data' parameter to 'datastr' | |
928 | and change its type to 'const char *'. Adjust. | |
929 | (mips_send_packet): Add cast to 'char *', and remove cast to | |
930 | 'unsigned char *'. | |
931 | (mips_receive_packet): Remove cast to 'unsigned char *'. | |
932 | (mips_load_srec): Use bfd_byte. | |
933 | (pmon_makeb64, pmon_zeroset): Make 'chksum' parameter unsigned. | |
934 | (pmon_checkset): Make 'value' parameter unsigned. | |
935 | ||
fda0389f PA |
936 | 2013-04-19 Pedro Alves <[email protected]> |
937 | ||
938 | * common/agent.c (agent_run_command): Add cast to gdb_byte *. | |
939 | ||
bc20a4af PA |
940 | 2013-04-19 Pedro Alves <[email protected]> |
941 | ||
942 | * remote.c (remote_write_bytes_aux, compare_sections_command) | |
943 | (remote_read_qxfer) | |
944 | (remote_search_memory, remote_hostio_pwrite, remote_hostio_pread) | |
945 | (remote_hostio_readlink, remote_bfd_iovec_pread) | |
946 | (remote_set_trace_notes): Use gdb_byte when RSP buffer is used as | |
947 | binary buffer, and char when buffer is used as string. | |
948 | * tracepoint.c (encode_source_string, tfile_write_uploaded_tp) | |
949 | (trace_save, tfile_open, traceframe_walk_blocks) | |
950 | (tfile_fetch_registers): Likewise. | |
951 | ||
c628b528 PA |
952 | 2013-04-19 Pedro Alves <[email protected]> |
953 | ||
954 | * ser-base.c (ser_base_write): Change prototype -- take 'void *' | |
955 | buffer and size_t size. Adjust. | |
956 | * ser-base.h (ser_base_write): Adjust. | |
957 | * ser-go32.c (cnts): Change type to size_t. | |
958 | (dos_write): Change prototype -- take 'void *' | |
959 | buffer and size_t size. Adjust. | |
960 | (dos_info): Print elements of 'cnts' as unsigned long. | |
961 | * serial.c (serial_write): Likewise. | |
962 | * serial.h (serial_write): Adjust. | |
963 | (struct serial_ops) <write>: Change prototype -- take 'void *' | |
964 | buffer and size_t size. Adjust. | |
965 | ||
51a5cd90 PA |
966 | 2013-04-19 Pedro Alves <[email protected]> |
967 | ||
968 | * c-lang.c (evaluate_subexp_c): Cast result of obstack_base to | |
969 | gdb_byte *. | |
970 | * linux-tdep.c (linux_make_mappings_corefile_notes): Likewise. | |
971 | ||
a9933661 PA |
972 | 2013-04-19 Pedro Alves <[email protected]> |
973 | ||
974 | * alpha-tdep.c (alpha_extract_return_value): Use | |
975 | regcache_cooked_read_unsigned to read 'v0'. | |
976 | ||
19afdd07 PA |
977 | 2013-04-19 Pedro Alves <[email protected]> |
978 | ||
979 | * xtensa-tdep.c (execute_l32e, execute_s32e): Change type of | |
980 | parameters 'at', 'as' and 'offset' to uint32_t. | |
981 | ||
96b32e50 PA |
982 | 2013-04-19 Pedro Alves <[email protected]> |
983 | ||
984 | * aarch64-tdep.c (aarch64_analyze_prologue): Change type of local | |
985 | 'is64' to signed 'int'. | |
986 | ||
eb1bd1fb PA |
987 | 2013-04-19 Pedro Alves <[email protected]> |
988 | ||
989 | * s390-tdep.c (is_rs, is_rsy, is_rx, is_rxy): Change type of 'd2' | |
990 | parameter to int *. | |
991 | ||
463920bf PA |
992 | 2013-04-19 Pedro Alves <[email protected]> |
993 | ||
994 | * ppc-linux-tdep.c (ppc_skip_trampoline_code): Change local | |
995 | 'insnbuf' buffer type to unsigned int[]. | |
996 | ||
70242eb1 PA |
997 | 2013-04-19 Pedro Alves <[email protected]> |
998 | ||
999 | * mips-tdep.c (mips_read_pc): Change local 'pc' type to LONGEST. | |
1000 | ||
9d1dd0e2 PA |
1001 | 2013-04-19 Pedro Alves <[email protected]> |
1002 | ||
1003 | * mep-tdep.c (mep_get_insn): Change 'insn' parameter type to | |
1004 | unsigned long *. | |
1005 | ||
44096aee PA |
1006 | 2013-04-19 Pedro Alves <[email protected]> |
1007 | ||
1008 | * alpha-tdep.c (heuristic_fence_post): Change type to int. | |
1009 | (alpha_heuristic_proc_start): Adjust to check -1 instead of | |
1010 | UINT_MAX. | |
1011 | * mips-tdep.c (heuristic_fence_post): Change type to int. | |
1012 | (heuristic_proc_start): Adjust to check -1 instead of UINT_MAX. | |
1013 | ||
e4286e57 PA |
1014 | 2013-04-19 Pedro Alves <[email protected]> |
1015 | ||
1016 | * cris-tdep.c (usr_cmd_cris_version): Make unsigned. | |
1017 | (struct gdbarch_tdep) <cris_version>: Make unsigned. | |
1018 | (cris_spec_reg_applicable, cris_gdbarch_init): Adjust locals. | |
1019 | ||
001f13d8 PA |
1020 | 2013-04-19 Pedro Alves <[email protected]> |
1021 | ||
1022 | * avr-tdep.c (avr_io_reg_read_command): New local 'bufstr'. Use | |
1023 | it to get a string view of the byte buffer. | |
1024 | * i386-cygwin-tdep.c (core_process_module_section): Change local 'buf' | |
1025 | type to gdb_byte *. Adjust. | |
1026 | * linux-tdep.c (linux_info_proc, linux_find_memory_regions_full): | |
1027 | Change local to char *. | |
1028 | * solib-darwin.c (find_program_interpreter): Change return type to | |
1029 | char *. Adjust. | |
1030 | (darwin_solib_get_all_image_info_addr_at_init): Adjust. | |
1031 | * solib-dsbt.c (enable_break2): Change local 'buf' to char *. | |
1032 | * solib-frv.c (enable_break2): Change local 'buf' to char *. | |
1033 | * solib-spu.c (spu_current_sos): Add gdb_byte * cast. | |
1034 | * solib-svr4.c (find_program_interpreter): Change return type to | |
1035 | char *. Adjust. | |
1036 | (enable_break): Change local 'interp_name' to char *. | |
1037 | * spu-multiarch.c (spu_xfer_partial): Add cast to 'char *'. | |
1038 | * spu-tdep.c (spu_pseudo_register_read_spu): Add cast to 'char *'. | |
1039 | (spu_pseudo_register_write_spu): Use char for string buffer. | |
1040 | Adjust. | |
1041 | (info_spu_event_command, info_spu_signal_command): Add casts to | |
1042 | 'char *'. | |
1043 | ||
948f8e3d PA |
1044 | 2013-04-19 Pedro Alves <[email protected]> |
1045 | ||
1046 | * aarch64-tdep.c (aarch64_default_breakpoint): Change type to | |
1047 | gdb_byte[]. | |
1048 | (aarch64_breakpoint_from_pc): Change return type to gdb_byte *. | |
1049 | * ada-lang.c (ada_value_assign): Use gdb_byte. | |
1050 | * alphanbsd-tdep.c (sigtramp_retcode): Change type to gdb_byte[]. | |
1051 | (alphanbsd_sigtramp_offset): Use gdb_byte. | |
1052 | * arm-linux-tdep.c (arm_linux_arm_le_breakpoint) | |
1053 | (arm_linux_arm_be_breakpoint, eabi_linux_arm_le_breakpoint) | |
1054 | (eabi_linux_arm_be_breakpoint, arm_linux_thumb_be_breakpoint) | |
1055 | (arm_linux_thumb_le_breakpoint, arm_linux_thumb2_be_breakpoint) | |
1056 | (arm_linux_thumb2_le_breakpoint): Change type to gdb_byte[]. | |
1057 | * arm-tdep.c (arm_stub_unwind_sniffer) | |
1058 | (arm_displaced_init_closure): Use gdb_byte. | |
1059 | (arm_default_arm_le_breakpoint, arm_default_arm_be_breakpoint) | |
1060 | (arm_default_thumb_le_breakpoint) | |
1061 | (arm_default_thumb_be_breakpoint): Change type to gdb_byte[]. | |
1062 | * arm-tdep.h (struct gdbarch_tdep) <arm_breakpoint, | |
1063 | thumb_breakpoint, thumb2_breakpoint>: Change type to gdb_byte *. | |
1064 | * arm-wince-tdep.c (arm_wince_le_breakpoint) | |
1065 | (arm_wince_thumb_le_breakpoint): Change type to gdb_byte[]. | |
1066 | * armnbsd-tdep.c (arm_nbsd_arm_le_breakpoint) | |
1067 | (arm_nbsd_arm_be_breakpoint, arm_nbsd_thumb_le_breakpoint) | |
1068 | (arm_nbsd_thumb_be_breakpoint): Change type to gdb_byte[]. | |
1069 | * armobsd-tdep.c (arm_obsd_thumb_le_breakpoint) | |
1070 | (arm_obsd_thumb_be_breakpoint): Change type to gdb_byte[]. | |
1071 | * cris-tdep.c (push_stack_item, cris_push_dummy_call) | |
1072 | (cris_store_return_value, cris_extract_return_value): Use | |
1073 | gdb_byte. | |
1074 | (constraint): Change type of parameter to char * from signed | |
1075 | char*. Use gdb_byte. | |
1076 | * dwarf2loc.c (read_pieced_value, write_pieced_value): Change type | |
1077 | of local buffer to gdb_byte *. | |
1078 | * dwarf2read.c (read_index_from_section): Use gdb_byte. | |
1079 | (create_dwp_hash_table): Change type of locals to gdb_byte *. | |
1080 | (add_address_entry): Change type of local buffer to gdb_byte[]. | |
1081 | * frv-tdep.c (frv_adjust_breakpoint_address, find_func_descr) | |
1082 | (frv_push_dummy_call): Use gdb_byte. | |
1083 | * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code) | |
1084 | (hppa_hpux_supply_ss_fpblock, hppa_hpux_supply_ss_wide) | |
1085 | (hppa_hpux_supply_save_state): Use gdb_byte. | |
1086 | * hppa-tdep.c (hppa32_push_dummy_call) | |
1087 | (hppa64_convert_code_addr_to_fptr): Use gdb_byte. | |
1088 | * ia64-tdep.c (extract_bit_field, replace_bit_field) | |
1089 | (slotN_contents, replace_slotN_contents): Change type of parameter | |
1090 | to gdb_byte *. | |
1091 | (fetch_instruction, ia64_pseudo_register_write) | |
1092 | (ia64_register_to_value, ia64_value_to_register) | |
1093 | (ia64_extract_return_value, ia64_store_return_value) | |
1094 | (ia64_push_dummy_call): Use gdb_byte. | |
1095 | * m32c-tdep.c (m32c_return_value): Remove cast. | |
1096 | * m68hc11-tdep.c (m68hc11_pseudo_register_write) | |
1097 | (m68hc11_push_dummy_call, m68hc11_store_return_value): Use | |
1098 | gdb_byte. | |
1099 | * mipsnbsd-tdep.c (mipsnbsd_get_longjmp_target): Use gdb_byte. | |
1100 | * mn10300-tdep.c (mn10300_store_return_value) | |
1101 | (mn10300_breakpoint_from_pc, mn10300_push_dummy_call): Use | |
1102 | gdb_byte. | |
1103 | * moxie-tdep.c (moxie_process_readu): Use gdb_byte. | |
1104 | (moxie_process_record): Remove casts. | |
1105 | * ppc-ravenscar-thread.c (supply_register_at_address) | |
1106 | (ppc_ravenscar_generic_store_registers): Use gdb_byte. | |
1107 | * ravenscar-thread.c (get_running_thread_id): Use gdb_byte. | |
1108 | * remote-m32r-sdi.c (m32r_fetch_register): Use gdb_byte. | |
1109 | * remote-mips.c (mips_xfer_memory): Use gdb_byte. | |
1110 | * remote.c (compare_sections_command): Use gdb_byte. | |
1111 | * score-tdep.c (score7_free_memblock): Change type of parameter to | |
1112 | gdb_byte *. | |
1113 | * sh-tdep.c (sh_justify_value_in_reg): Change return type to | |
1114 | gdb_byte *. Use gdb_byte. | |
1115 | (sh_push_dummy_call_fpu): Use gdb_byte. | |
1116 | (sh_extract_return_value_nofpu, sh_extract_return_value_fpu) | |
1117 | (sh_store_return_value_nofpu, sh_store_return_value_fpu) | |
1118 | (sh_register_convert_to_virtual, sh_register_convert_to_raw): | |
1119 | Change parameter type to 'gdb_byte *'. Use gdb_byte. | |
1120 | (sh_pseudo_register_read, sh_pseudo_register_write): Use gdb_byte. | |
1121 | * sh64-tdep.c (sh64_push_dummy_call): Use gdb_byte. | |
1122 | (sh64_store_return_value, sh64_register_convert_to_virtual): | |
1123 | Change parameter type to 'gdb_byte *'. Use gdb_byte. | |
1124 | (sh64_pseudo_register_write): Use gdb_byte. | |
1125 | * solib-darwin.c (darwin_current_sos): Add casts to 'gdb_byte *'. | |
1126 | * solib-irix.c (fetch_lm_info): Likewise. Use gdb_byte for byte | |
1127 | buffer. | |
1128 | (irix_current_sos): Use gdb_byte. | |
1129 | * solib-som.c (som_current_sos): Use gdb_byte. | |
1130 | * sparc-ravenscar-thread.c (supply_register_at_address) | |
1131 | (sparc_ravenscar_generic_store_registers): Use gdb_byte. | |
1132 | * spu-multiarch.c (spu_xfer_partial): Add cast to 'char *'. | |
1133 | * spu-tdep.c (spu_get_overlay_table): Use gdb_byte. | |
1134 | * tic6x-tdep.c (tic6x_breakpoint_from_pc): Change return type to | |
1135 | 'gdb_byte *'. | |
1136 | * tic6x-tdep.h (struct gdbarch_tdep) <breakpoint>: Change type to | |
1137 | 'gdb_byte *'. | |
1138 | * tracepoint.c (tfile_fetch_registers): Use gdb_byte. | |
1139 | * xstormy16-tdep.c (xstormy16_extract_return_value) | |
1140 | (xstormy16_store_return_value): Change parameter type to | |
1141 | 'gdb_byte *'. Adjust. | |
1142 | (xstormy16_push_dummy_call): Use gdb_byte. | |
1143 | * xtensa-tdep.c (xtensa_scan_prologue, call0_ret) | |
1144 | (call0_analyze_prologue, execute_code): Use gdb_byte. | |
1145 | ||
433730c9 PA |
1146 | 2013-04-19 Vladimir Kargov <[email protected]> |
1147 | Pedro Alves <[email protected]> | |
1148 | ||
1149 | * i387-tdep.c (i387_print_float_info): Use gdb_byte for pointer to | |
1150 | value contents. | |
1151 | ||
ac9ec31b DE |
1152 | 2013-04-17 Doug Evans <[email protected]> |
1153 | ||
1154 | * dwarf2read.c (struct signatured_type): New member type. | |
1155 | (struct attribute): Replace member signatured_type with signature. | |
1156 | (DW_SIGNATURE): Replaces DW_SIGNATURE_TYPE. | |
1157 | (read_call_site_scope): Call follow_die_ref instead of | |
1158 | follow_die_ref_or_sig. | |
1159 | (read_structure_type): Rewrite handling of signatured types. | |
1160 | (read_enumeration_type): Ditto. | |
1161 | (read_attribute_value): Update. | |
1162 | (build_error_marker_type): New function. | |
1163 | (lookup_die_type): Add assert. Rewrite handling of signatured types. | |
1164 | Don't call error for bad types, just build an error marker type. | |
1165 | (dump_die_shallow): Update. | |
1166 | (follow_die_sig_1): Renamed from follow_die_sig. | |
1167 | Don't call error for bad types, instead return NULL. | |
1168 | (follow_die_sig): New function. | |
1169 | (get_signatured_type, get_DW_AT_signature_type): New functions. | |
1170 | ||
e546e8bb YZ |
1171 | 2013-04-17 Yufeng Zhang <[email protected]> |
1172 | ||
1173 | * aarch64-tdep.c (aarch64_write_pc): Removed. | |
543cdd95 JB |
1174 | (aarch64_gdbarch_init): Remove set_gdbarch_write_pc of the above |
1175 | function. | |
e546e8bb | 1176 | |
ab116149 YQ |
1177 | 2013-04-17 Yao Qi <[email protected]> |
1178 | ||
1179 | * top.c (print_gdb_configuration): Print configure-time | |
1180 | parameter on using libbabeltrace or not. | |
1181 | ||
488a42b8 PA |
1182 | 2013-04-16 Pedro Alves <[email protected]> |
1183 | ||
1184 | * copyright.py (EXCLUDE_LIST): Add gdb/common/glibc_thread_db.h. | |
1185 | ||
f5fb825b PA |
1186 | 2013-04-16 Pedro Alves <[email protected]> |
1187 | ||
85d494ea | 1188 | * common/glibc_thread_db.h: Update from upstream glibc |
f5fb825b PA |
1189 | (git 568035b7874a099087b77f7bba3e36a1173787b0). |
1190 | ||
e1154999 PA |
1191 | 2013-04-16 Pedro Alves <[email protected]> |
1192 | ||
1193 | * common/gdb_thread_db.h [!HAVE_THREAD_DB_H]: Factor out to ... | |
1194 | * common/glibc_thread_db.h: ... this new file ... | |
1195 | * common/gdb_thread_db.h [!HAVE_THREAD_DB_H]: ... and include it. | |
1196 | ||
e3b50a7f PA |
1197 | 2013-04-16 Will Newton <[email protected]> |
1198 | Pedro Alves <[email protected]> | |
1199 | ||
1200 | PR build/11881 | |
1201 | ||
1202 | * common/gdb_thread_db.h (LIBTHREAD_DB_SO) | |
1203 | (LIBTHREAD_DB_SEARCH_PATH): Move outside of #ifdef | |
1204 | HAVE_THREAD_DB_H. | |
1205 | ||
1c2e4450 PA |
1206 | 2013-04-16 Pedro Alves <[email protected]> |
1207 | Eli Zaretskii <[email protected]> | |
1208 | ||
1209 | * NEWS: Mention "set foo unlimited". | |
1210 | ||
4031ecc5 DE |
1211 | 2013-04-15 Doug Evans <[email protected]> |
1212 | ||
19c3d4c9 DE |
1213 | * dwarf2read.c (struct dwo_file): Replace member "cus" with "cu". |
1214 | (struct create_dwo_cu_data): Renamed from create_dwo_info_table_data. | |
1215 | (create_dwo_cu_reader): Renamed from | |
1216 | create_dwo_debug_info_hash_table_reader. | |
1217 | (create_dwo_cu): Renamed from create_dwo_debug_info_hash_table. | |
1218 | Remove support for multiple CUs in a DWO file. | |
1219 | (open_and_init_dwo_file, lookup_dwo_cutu): Update. | |
1220 | ||
4031ecc5 DE |
1221 | * dwarf2read.c (create_debug_types_hash_table): Use hex_string |
1222 | instead of phex. | |
1223 | (lookup_dwo_unit, create_dwo_debug_info_hash_table_reader): Ditto. | |
1224 | (create_dwo_in_dwp): Ditto. | |
1225 | ||
b340913d TT |
1226 | 2013-04-15 Tom Tromey <[email protected]> |
1227 | ||
1228 | * NEWS: Move recent entries into "since 7.6" section. | |
1229 | ||
cc16e6c9 TT |
1230 | 2013-04-15 Tom Tromey <[email protected]> |
1231 | ||
1232 | PR c++/13588: | |
1233 | * NEWS: Update. | |
1234 | * break-catch-throw.c (struct exception_catchpoint) | |
1235 | <exception_rx, pattern>: New fields. | |
1236 | (fetch_probe_arguments, dtor_exception_catchpoint) | |
1237 | (check_status_exception_catchpoint) | |
1238 | (print_one_detail_exception_catchpoint): New functions. | |
1239 | (handle_gnu_v3_exceptions): Add "except_rx" argument. | |
1240 | Compile regular expression if needed. | |
1241 | (extract_exception_regexp): New function. | |
1242 | (catch_exception_command_1): Use extract_exception_regexp. | |
1243 | (compute_exception): Use fetch_probe_arguments. | |
1244 | (initialize_throw_catchpoint_ops): Set dtor, print_one_detail, | |
1245 | and check_status fields. | |
1246 | * cp-abi.c (cplus_typename_from_type_info): New function. | |
1247 | * cp-abi.h (cplus_typename_from_type_info): Declare. | |
1248 | (struct cp_abi_ops) <get_typename_from_type_info>: New field. | |
1249 | * gdb_regex.h (compile_rx_or_error): Declare. | |
1250 | * gnu-v3-abi.c (gnuv3_get_typename_from_type_info): Update | |
1251 | comment. | |
1252 | (init_gnuv3_ops): Set get_type_from_type_info field. | |
1253 | * probe.c (compile_rx_or_error): Move... | |
1254 | * utils.c (compile_rx_or_error): ... here. | |
1255 | ||
72f1fe8a TT |
1256 | 2013-04-15 Tom Tromey <[email protected]> |
1257 | ||
1258 | PR c++/15176: | |
1259 | * NEWS: Update. | |
1260 | * break-catch-throw.c (compute_exception): New function. | |
1261 | (exception_funcs): New global. | |
1262 | (_initialize_break_catch_throw): Create $_exception. | |
1263 | * cp-abi.c (cplus_type_from_type_info): New function. | |
1264 | * cp-abi.h (cplus_type_from_type_info): Declare. | |
1265 | (struct cp_abi_ops) <get_type_from_type_info>: New field. | |
1266 | * gnu-v3-abi.c (gnuv3_get_typename_from_type_info) | |
1267 | (gnuv3_get_type_from_type_info): New functions. | |
1268 | (init_gnuv3_ops): Set get_type_from_type_info ABI field. | |
1269 | ||
fc4746a2 TT |
1270 | 2013-04-15 Tom Tromey <[email protected]> |
1271 | ||
1272 | * break-catch-throw.c (struct exception_names): New. | |
1273 | (exception_functions): Change type. | |
1274 | (re_set_exception_catchpoint): Look for SDT probes. | |
1275 | ||
15a73f56 TT |
1276 | 2013-04-15 Tom Tromey <[email protected]> |
1277 | ||
1278 | PR c++/10119: | |
1279 | * break-catch-throw.c (exception_functions): New global. | |
1280 | (gnu_v3_exception_catchpoint_ops): Move earlier. | |
1281 | (struct exception_catchpoint): New. | |
1282 | (classify_exception_breakpoint): Rewrite. | |
1283 | (re_set_exception_catchpoint): New function. | |
1284 | (handle_gnu_v3_exceptions): Return void. Use init_catchpoint. | |
1285 | Allocate a struct exception_catchpoint. | |
1286 | (catch_exception_command_1): Update. | |
1287 | (initialize_throw_catchpoint_ops): Set 're_set' method. | |
1288 | ||
916703c0 TT |
1289 | 2013-04-15 Tom Tromey <[email protected]> |
1290 | ||
1291 | * Makefile.in (SFILES): Add break-catch-throw.c | |
1292 | (COMMON_OBS): Add break-catch-throw.o. | |
1293 | * break-catch-throw.c: New file. | |
1294 | * breakpoint.c: Move exception-catching code to new file. | |
1295 | (ep_parse_optional_if_clause): No longer static. | |
1296 | * breakpoint.h (ep_parse_optional_if_clause): Declare. | |
1297 | ||
6e72ca20 TT |
1298 | 2013-04-15 Tom Tromey <[email protected]> |
1299 | ||
1300 | PR c++/9065: | |
1301 | * NEWS: Update. | |
1302 | * breakpoint.c (watchpoint_exp_is_const): Add OP_TYPEID. | |
1303 | * c-exp.y (TYPEID): New token. | |
1304 | (exp): Add new TYPEID productions. | |
1305 | (ident_tokens): Add "typeid". | |
1306 | * cp-abi.c (cplus_typeid, cplus_typeid_type): New functions. | |
1307 | * cp-abi.h (cplus_typeid, cplus_typeid_type): Declare. | |
1308 | (struct cp_abi_ops) <get_typeid, get_typeid_type>: New fields. | |
1309 | * eval.c (evaluate_subexp_standard) <OP_TYPEID>: New case. | |
1310 | * expprint.c (dump_subexp_body_standard) <OP_TYPEID>: New | |
1311 | case. | |
1312 | * gnu-v3-abi.c (std_type_info_gdbarch_data): New global. | |
1313 | (build_std_type_info_type, gnuv3_get_typeid_type) | |
1314 | (gnuv3_get_typeid): New functions. | |
1315 | (init_gnuv3_ops): Initialize std_type_info_gdbarch_data. Set | |
1316 | new fields on ABI object. | |
1317 | * parse.c (operator_length_standard) <OP_TYPEID>: New case. | |
1318 | * std-operator.def (OP_TYPEID): New. | |
1319 | ||
715c6909 TT |
1320 | 2013-04-15 Tom Tromey <[email protected]> |
1321 | ||
1322 | * elfread.c (elf_symtab_read): Install versioned symbol under | |
1323 | unversioned name as well. | |
1324 | ||
8de20a37 TT |
1325 | 2013-04-15 Tom Tromey <[email protected]> |
1326 | ||
1327 | PR c++/11990: | |
1328 | * c-lang.c (cplus_language_defn): Use gdb_demangle. | |
1329 | * c-typeprint.c (c_type_print_base): Use gdb_demangle. | |
1330 | * cp-support.c (mangled_name_to_comp): Use gdb_demangle. | |
1331 | (gdb_demangle): New function. | |
1332 | * cp-support.h (gdb_demangle): Declare. | |
1333 | * dwarf2read.c (dwarf2_physname, fixup_partial_die) | |
1334 | (dwarf2_name): Use gdb_demangle. | |
1335 | * gdbtypes.c (check_stub_method): Use gdb_demangle. | |
1336 | * gnu-v3-abi.c (gnuv3_rtti_type): Strip @plt and version | |
1337 | suffixes from name. | |
1338 | (gnuv3_print_method_ptr): Use gdb_demangle. | |
1339 | * jv-lang.c (java_demangle): Use gdb_demangle. | |
1340 | * jv-typeprint.c (java_type_print_base): Use gdb_demangle. | |
1341 | * language.c (unk_lang_demangle): Use gdb_demangle. | |
1342 | * symtab.c (symbol_find_demangled_name) | |
1343 | (demangle_for_lookup): Use gdb_demangle. | |
1344 | ||
591f19e8 TT |
1345 | 2013-04-15 Tom Tromey <[email protected]> |
1346 | ||
1347 | PR c++/12824: | |
1348 | * NEWS: Update. | |
1349 | * breakpoint.c (enum exception_event_kind) <EX_EVENT_RETHROW>: | |
1350 | New constant. | |
1351 | (classify_exception_breakpoint): New function. | |
1352 | (print_it_exception_catchpoint, print_one_exception_catchpoint) | |
1353 | (print_mention_exception_catchpoint) | |
1354 | (print_recreate_exception_catchpoint, handle_gnu_v3_exceptions) | |
1355 | (catch_exception_command_1): Handle "rethrow" catchpoint. | |
1356 | (catch_rethrow_command): New function. | |
1357 | (_initialize_breakpoint): Add "catch rethrow" command. | |
1358 | ||
4d40cad2 PM |
1359 | 2013-04-15 Pierre Muller <[email protected]> |
1360 | ||
1361 | * contrib/ari/gdb_ari.sh (write_pc rule): Do not consider | |
1362 | set_gdbarch_write_pc as deprecated anymore. | |
1363 | ||
30bcb456 JB |
1364 | 2013-04-15 Joel Brobecker <[email protected]> |
1365 | ||
1366 | * spu-tdep.c (spu_write_pc): Add empty line after local variable | |
1367 | declarations. | |
1368 | ||
da9160e4 YQ |
1369 | 2013-04-13 Yao Qi <[email protected]> |
1370 | ||
1371 | * ctf.c (_initialize_ctf): Include "completer.h". | |
1372 | Call add_target_with_completer instead of add_target. | |
1373 | ||
39ed5604 JK |
1374 | 2013-04-12 Jan Kratochvil <[email protected]> |
1375 | ||
1376 | Fix GDB regression related to PR binutils/14813. | |
1377 | * jit.c (mem_bfd_iovec_close): Return 0 for success. | |
1378 | * minidebug.c (lzma_close): Add return value comment. | |
1379 | * remote.c (remote_bfd_iovec_close): Return 0 for success. | |
1380 | * solib-spu.c (spu_bfd_iovec_close): Likewise. | |
1381 | * spu-linux-nat.c (spu_bfd_iovec_close): Likewise. | |
1382 | ||
1383 | 2013-04-12 Jan Kratochvil <[email protected]> | |
49369217 JK |
1384 | |
1385 | * config.in: Regenerate. | |
1386 | ||
d521ce57 TT |
1387 | 2013-04-12 Tom Tromey <[email protected]> |
1388 | ||
1389 | * dwarf2-frame.c (struct comp_unit) <dwarf_frame_buffer>: Now | |
1390 | const. | |
1391 | * dwarf2read.c (struct dwarf2_section_info) <buffer>: Now const. | |
1392 | (struct die_reader_specs) <buffer>: Likewise. | |
1393 | (die_reader_func_ftype): Make 'info_ptr' const. | |
1394 | (struct line_header) <include_dirs, statement_program_start, | |
1395 | statement_program_end>: Now const. | |
1396 | (struct file_entry) <name>: Likewise. | |
1397 | (struct partial_die_info) <sibling>: Likewise. | |
1398 | (struct dwarf_block) <data>: Likewise. | |
1399 | (dwarf2_read_section): Remove cast. | |
1400 | (dwarf2_get_section_info): Make 'bufp' const. | |
1401 | (read_index_from_section): Constify. | |
1402 | (dw2_get_file_names_reader): Make 'info_ptr' const. | |
1403 | (dw2_get_primary_filename_reader): Likewise. | |
1404 | (read_comp_unit_head): Make 'info_ptr' and return type const. | |
1405 | (read_and_check_comp_unit_head, read_and_check_type_unit_head): | |
1406 | Likewise. | |
1407 | (read_abbrev_offset): Constify. | |
1408 | (dwarf2_create_include_psymtab): Make 'name' const. | |
1409 | (create_debug_types_hash_table): Update. | |
1410 | (read_cutu_die_from_dwo): Make 'result_info_ptr' const. | |
1411 | (init_cutu_and_read_dies, init_cutu_and_read_dies_no_follow): | |
1412 | Constify. | |
1413 | (process_psymtab_comp_unit_reader, build_type_psymtabs_reader) | |
1414 | (load_partial_comp_unit_reader): Make 'info_ptr' const. | |
1415 | (read_comp_units_from_section): Constify. | |
1416 | (peek_abbrev_code, peek_die_abbrev, skip_children, skip_one_die) | |
1417 | (locate_pdi_sibling, load_full_comp_unit_reader): Make 'info_ptr' | |
1418 | const. | |
1419 | (dwarf2_compute_name, setup_type_unit_groups): Constify. | |
1420 | (create_dwo_debug_info_hash_table): Make 'info_ptr' const. | |
1421 | (create_dwp_hash_table, dwarf2_ranges_read) | |
1422 | (dwarf2_record_block_ranges): Constify. | |
1423 | (read_die_and_children, read_die_and_siblings_1) | |
1424 | (read_die_and_siblings): Make 'info_ptr' and 'new_info_ptr' | |
1425 | const. | |
1426 | (read_full_die_1, read_full_die): Make 'info_ptr' const. | |
1427 | (abbrev_table_read_table): Constify. | |
1428 | (load_partial_dies): Make 'info_ptr' const. | |
1429 | (read_partial_die, read_attribute_value, read_attribute): Make | |
1430 | 'info_ptr' and return type const. | |
1431 | (read_address, read_initial_length) | |
1432 | (read_checked_initial_length_and_offset, read_offset) | |
1433 | (read_offset_1, read_n_bytes, read_direct_string): Make 'buf' | |
1434 | const. | |
1435 | (read_direct_string): Make 'buf' and return type const. | |
1436 | (read_indirect_string_at_offset, read_indirect_string_from_dwz) | |
1437 | (read_indirect_string): Make return type const. | |
1438 | (read_unsigned_leb128, read_signed_leb128): Make 'buf' const. | |
1439 | (read_addr_index_from_leb128, dwarf2_read_addr_index_reader): Make | |
1440 | 'info_ptr' const. | |
1441 | (read_str_index): Make return type const. | |
1442 | (add_include_dir): Make 'include_dir' const. | |
1443 | (add_file_name): Make 'name' const. | |
1444 | (dwarf_decode_line_header): Constify. | |
1445 | (psymtab_include_file_name): Make return type const. | |
1446 | (dwarf_decode_lines_1, dwarf_decode_lines): Constify. | |
1447 | (dwarf2_start_subfile): Make 'filename' const. | |
1448 | (dwarf2_const_value_attr): Make 'bytes' const. | |
1449 | (read_signatured_type_reader): Make 'info_ptr' const. | |
1450 | (decode_locdesc): Constify. | |
1451 | (skip_form_bytes): Make 'bytes', 'buffer_end', and return type | |
1452 | const. | |
1453 | (skip_unknown_opcode): Make 'opcode_definitions', 'mac_ptr', | |
1454 | 'mac_end', and return type const. | |
1455 | (dwarf_parse_macro_header): Make 'mac_ptr' and return type const. | |
1456 | (dwarf_decode_macro_bytes): Make 'mac_ptr', 'mac_end', and return | |
1457 | type const. | |
1458 | (per_cu_header_read_in): Constify. | |
1459 | * symfile.h (dwarf2_get_section_info): Update. | |
1460 | ||
d47a1bc1 TT |
1461 | 2013-04-12 Tom Tromey <[email protected]> |
1462 | ||
1463 | * symtab.h (struct general_symbol_info) <value.bytes>: Make const. | |
1464 | ||
6eaaf48b EZ |
1465 | 2013-04-12 Eli Zaretskii <[email protected]> |
1466 | ||
fc4c25bf | 1467 | * NEWS: Mention "show configuration", --configuration. |
6eaaf48b EZ |
1468 | * top.c (print_gdb_configuration): New function, displays the |
1469 | details about GDB configure-time parameters. | |
1470 | (print_gdb_version): Mention "show configuration". | |
6eaaf48b EZ |
1471 | * cli/cli-cmds.c (show_configuration): New function. |
1472 | (_initialize_cli_cmds): Add the "show configuration" command. | |
6eaaf48b EZ |
1473 | * main.c (captured_main) <print_configuration>: New static var. |
1474 | <long_options>: Use it. | |
1475 | If --configuration was given, call print_gdb_configuration. | |
1476 | ||
b292c783 JK |
1477 | 2013-04-11 Jan Kratochvil <[email protected]> |
1478 | Pedro Alves <[email protected]> | |
1479 | ||
1480 | * Makefile.in (HAVE_NATIVE_GCORE_TARGET): New. | |
1481 | (generated_files): Add gcore. | |
1482 | (install-only, uninstall): Add gcore if HAVE_NATIVE_GCORE_TARGET or | |
1483 | HAVE_NATIVE_GCORE_HOST. | |
1484 | (gcore): New. | |
1485 | * NEWS (Changes since GDB 7.6): Mention newly installed gcore. | |
1486 | * config/alpha/alpha-osf3.mh, config/i386/fbsd.mh, | |
1487 | config/i386/fbsd64.mh, config/i386/i386gnu.mh, config/i386/i386sol2.mh, | |
1488 | config/i386/sol2-64.mh, config/mips/irix5.mh, config/mips/irix6.mh, | |
1489 | config/powerpc/fbsd.mh, config/sparc/fbsd.mh, config/sparc/sol2.mh: | |
1490 | Add HAVE_NATIVE_GCORE_HOST. | |
1491 | * configure: Regenerate. | |
1492 | * configure.ac (HAVE_NATIVE_GCORE_TARGET): New, set it, AC_SUBST it. | |
1493 | New AC_SUBST fir GDB_TRANSFORM_NAME and GCORE_TRANSFORM_NAME. New | |
1494 | AC_CONFIG_FILES for gcore. | |
1495 | * configure.tgt: Add gdb_have_gcore to the initial comment. Set | |
1496 | gdb_have_gcore. | |
1497 | * gdb_gcore.sh: Rename to ... | |
1498 | * gcore.in: ... here. Remove gcore.sh comment. Use GDB_TRANSFORM_NAME | |
1499 | and GCORE_TRANSFORM_NAME substitutions. | |
1500 | ||
c96b3c4f JK |
1501 | Fix parsing tabs in ${gdb_target_obs}. |
1502 | * configure.tgt (gdb_have_gcore): Replace case with for and if. | |
1503 | ||
d6cb50a2 JK |
1504 | 2013-04-11 Jan Kratochvil <[email protected]> |
1505 | ||
1506 | * remote.c (unpush_and_perror): Add output message final dot. | |
1507 | ||
cf2cb5ec YQ |
1508 | 2013-04-11 Yao Qi <[email protected]> |
1509 | ||
1510 | * tracepoint.c (tfile_interp_line): Fit parameters line and | |
1511 | utpp in one line. | |
1512 | ||
07293be4 JB |
1513 | 2013-04-10 Joel Brobecker <[email protected]> |
1514 | ||
1515 | * solib.c (solib_map_sections): Remove code overwriting | |
1516 | SO->SO_NAME with the bfd's filename. | |
1517 | ||
f81d1120 PA |
1518 | 2013-04-10 Pedro Alves <[email protected]> |
1519 | ||
1520 | * cli/cli-decode.c (integer_unlimited_completer): New function. | |
1521 | (add_setshow_integer_cmd, add_setshow_uinteger_cmd) | |
1522 | (add_setshow_zuinteger_unlimited_cmd): Install the "unlimited" | |
1523 | completer. | |
1524 | * cli/cli-setshow.c: Include "cli/cli-utils.h". | |
1525 | (is_unlimited_literal): New function. | |
1526 | (do_set_command): Handle literal "unlimited" arguments. | |
1527 | * frame.c (_initialize_frame) <set backtrace limit>: Document | |
1528 | "unlimited". | |
1529 | * printcmd.c (_initialize_printcmd) <set print | |
1530 | max-symbolic-offset>: Add help text. | |
1531 | * record-full.c (_initialize_record_full) <set record full | |
1532 | insn-number-max>: Likewise. | |
1533 | * record.c (_initialize_record) <set record | |
1534 | instruction-history-size, set record function-call-history-size>: | |
1535 | Add help text. | |
1536 | * ser-tcp.c (_initialize_ser_tcp) <set tcp connect-timeout>: Add | |
1537 | help text. | |
1538 | * tracepoint.c (_initialize_tracepoint) <set trace-buffer-size>: | |
1539 | Likewise. | |
1540 | * source.c (_initialize_source) <set listsize>: Add help text. | |
1541 | * utils.c (initialize_utils) <set height, set width>: Likewise. | |
1542 | <set pagination>: Mention "set height unlimited". | |
1543 | * valprint.c (_initialize_valprint) <set print elements, set print | |
1544 | repeats>: Document "unlimited". | |
1545 | ||
2f9d54cf PA |
1546 | 2013-04-10 Pedro Alves <[email protected]> |
1547 | ||
1548 | * cli/cli-cmds.c (quit_command): Call query_if_trace_running | |
1549 | instead of disconnect_tracing. | |
1550 | * infcmd.c (detach_command, disconnect_command): Call | |
1551 | query_if_trace_running. Adjust. | |
1552 | * top.c: Include "tracepoint.h". | |
1553 | (quit_target): Delete. Contents moved ... | |
1554 | (quit_force): ... here. Wrap each stage of teardown in | |
1555 | TRY_CATCH. Call disconnect_tracing before detaching. | |
1556 | ||
393fd4c3 YQ |
1557 | 2013-04-10 Hui Zhu <[email protected]> |
1558 | Yao Qi <[email protected]> | |
1559 | ||
1560 | * configure.ac: Check libbabeltrace is installed. | |
1561 | * config.in: Regenerate. | |
1562 | * configure: Regenerate. | |
1563 | * Makefile.in (LIBBABELTRACE): New. | |
1564 | (CLIBS): Add LIBBABELTRACE. | |
1565 | * ctf.c: Include "exec.h". | |
1566 | (CTF_EVENT_ID_STATUS, CTF_EVENT_ID_TSV_DEF): New macros. | |
1567 | (CTF_EVENT_ID_TP_DEF, ctf_save_write_int32): New macros. | |
1568 | (ctf_save_metadata_header): Define new type aliases in | |
1569 | metadata. | |
1570 | (ctf_write_header): Define event type "tsv_def" and "tp_def" | |
1571 | in metadata. Start a new faked packet for trace status. | |
1572 | (ctf_write_status): Write trace status to CTF. | |
1573 | (ctf_write_uploaded_tsv): Write TSV to CTF. | |
1574 | (ctf_write_uploaded_tp): Write tracepoint definition to CTF. | |
1575 | (ctf_write_definition_end): End the faked packet. | |
1576 | ||
1577 | (ctx, ctf_iter, trace_dirname): New. | |
1578 | (start_pos): New variable. | |
1579 | (ctf_destroy, ctf_open_dir, ctf_open): New. | |
1580 | (SET_INT32_FIELD, SET_ARRAY_FIELD, SET_STRING_FIELD): New | |
1581 | macros. | |
1582 | (ctf_read_tsv, ctf_read_tp, ctf_close, ctf_files_info): New. | |
1583 | (ctf_fetch_registers, ctf_xfer_partial): New. | |
1584 | (ctf_get_trace_state_variable_value): New. | |
1585 | (ctf_get_tpnum_from_frame_event): New. | |
1586 | (ctf_get_traceframe_address): New. | |
1587 | (ctf_trace_find, ctf_has_stack): New. | |
1588 | (ctf_has_registers, ctf_traceframe_info, init_ctf_ops): New. | |
1589 | (ctf_get_trace_status, ctf_read_status): New. | |
1590 | (_initialize_ctf): New. | |
1591 | * tracepoint.c (get_tracepoint_number): New | |
1592 | (get_uploaded_tsv): Remove 'static'. | |
5f8e0b8f | 1593 | (struct traceframe_info, trace_regblock_size): Move it to ... |
393fd4c3 YQ |
1594 | * tracepoint.h: ... here. |
1595 | (get_tracepoint_number): Declare it. | |
1596 | (get_uploaded_tsv): Declare it. | |
1597 | ||
1598 | * NEWS: Mention new configure option. | |
1599 | ||
5c2b4418 HZ |
1600 | 2013-04-10 Pedro Alves <[email protected]> |
1601 | Hui Zhu <[email protected]> | |
1602 | ||
1603 | * breakpoint.c (dprintf_re_set): New. | |
1604 | (initialize_breakpoint_ops): Set dprintf_breakpoint_ops re_set | |
1605 | to dprintf_re_set. | |
1606 | ||
a5c66735 JB |
1607 | 2013-04-09 Joel Brobecker <[email protected]> |
1608 | ||
1609 | * configure.tgt (gdb_target_obs) <powerpc-*-aix* | rs6000-*-*>: | |
1610 | Remove solib-svr4.o from the list. | |
1611 | ||
9e77999c JB |
1612 | 2013-04-09 Joel Brobecker <[email protected]> |
1613 | ||
1614 | * varobj.c (update_dynamic_varobj_children) [!HAVE_PYTHON]: | |
1615 | Use gdb_assert_not_reached instead of invalid boolean expression. | |
1616 | ||
1927e618 PA |
1617 | 2013-04-09 Pedro Alves <[email protected]> |
1618 | ||
1619 | * remote.c (unpush_and_perror): New function. | |
1620 | (readchar, remote_serial_write): Use it. | |
1621 | ||
10782d74 MM |
1622 | 2013-04-09 Markus Metzger <[email protected]> |
1623 | ||
1624 | * NEWS: Mention new btrace RSP packets. | |
1625 | ||
4c8429ef TT |
1626 | 2013-04-08 Tom Tromey <[email protected]> |
1627 | ||
1628 | * symmisc.c (dump_msymbols): Cast fprintf_filtered argument to | |
1629 | long. | |
1630 | ||
8625fc1b TT |
1631 | 2013-04-08 Tom Tromey <[email protected]> |
1632 | ||
1633 | * maint.c (print_bfd_section_info): Print the section index. | |
1634 | * symmisc.c (dump_msymbols): Print the section index. | |
1635 | ||
e27d198c TT |
1636 | 2013-04-08 Tom Tromey <[email protected]> |
1637 | ||
1638 | PR symtab/8424: | |
1639 | * blockframe.c (find_pc_partial_function_gnu_ifunc): Check | |
1640 | SYMBOL_SECTION, not SYMBOL_OBJ_SECTION. | |
1641 | * breakpoint.c (resolve_sal_pc): Update. | |
1642 | * elfread.c (elf_gnu_ifunc_record_cache): Update. | |
1643 | * findvar.c (struct minsym_lookup_data) <objfile>: New field. | |
1644 | (minsym_lookup_iterator_cb): Use it. | |
1645 | (default_read_var_value): Update. | |
1646 | * hppa-hpux-tdep.c (hppa64_hpux_in_solib_call_trampoline): | |
1647 | Update. | |
1648 | * infcmd.c (jump_command): Update. | |
1649 | * linespec.c (minsym_found): Update. | |
1650 | * maint.c (maintenance_translate_address): Update. | |
1651 | * minsyms.c (lookup_minimal_symbol_by_pc_section_1): Update. | |
1652 | (prim_record_minimal_symbol_full): Don't set SYMBOL_OBJ_SECTION. | |
1653 | * parse.c (write_exp_msymbol): Update. | |
1654 | * printcmd.c (address_info): Update. | |
1655 | * psymtab.c (find_pc_sect_psymbol): Update. | |
1656 | (fixup_psymbol_section): Check SYMBOL_SECTION, not | |
1657 | SYMBOL_OBJ_SECTION. | |
1658 | (add_psymbol_to_bcache): Correctly initialize SYMBOL_SECTION. | |
1659 | Don't initialize SYMBOL_OBJ_SECTION. | |
1660 | * spu-tdep.c (spu_catch_start): Update. | |
1661 | * stabsread.c (define_symbol): Don't set SYMBOL_SECTION. | |
1662 | * symmisc.c (dump_msymbols, print_symbol): Update. | |
1663 | * symtab.c (fixup_section): Don't set 'obj_section'. Change | |
1664 | how fallback section is computed. | |
1665 | (fixup_symbol_section): Update. | |
1666 | (find_pc_sect_symtab, find_function_start_sal, skip_prologue_sal): | |
1667 | Update. | |
1668 | (allocate_symbol, initialize_symbol, allocate_template_symbol): | |
1669 | Initialize SYMBOL_SECTION. | |
1670 | * symtab.h (struct general_symbol_info) <section>: Update comment. | |
1671 | <obj_section>: Remove. | |
1672 | (SYMBOL_OBJ_SECTION): Add 'objfile' argument. Rewrite. | |
1673 | (SYMBOL_OBJFILE): New macro. | |
1674 | ||
e6dc44a8 TT |
1675 | 2013-04-08 Tom Tromey <[email protected]> |
1676 | ||
1677 | * coffread.c (record_minimal_symbol): Update. | |
1678 | * dbxread.c (record_minimal_symbol): Update. | |
1679 | * elfread.c (record_minimal_symbol): Update. | |
1680 | * machoread.c (macho_symtab_add_minsym): Update. | |
1681 | * mdebugread.c (record_minimal_symbol, parse_partial_symbols): | |
1682 | Update. | |
1683 | * minsyms.c (prim_record_minimal_symbol): Update. | |
1684 | (prim_record_minimal_symbol_full): Remove 'bfd_section' | |
1685 | argument. | |
1686 | (prim_record_minimal_symbol_and_info): Likewise. | |
1687 | * minsyms.h (prim_record_minimal_symbol_full) | |
1688 | (prim_record_minimal_symbol_and_info): Update. | |
1689 | * symtab.c (allocate_symbol, initialize_symbol) | |
1690 | (allocate_template_symbol): Initialize SYMBOL_SECTION. | |
1691 | * xcoffread.c (record_minimal_symbol, scan_xcoff_symtab): | |
1692 | Update. | |
1693 | ||
36192a8d TT |
1694 | 2013-04-08 Tom Tromey <[email protected]> |
1695 | ||
1696 | PR symtab/8423: | |
1697 | * solib-som.c (som_solib_section_offsets): Use BFD section | |
1698 | indices. Set offsets for all sections. | |
1699 | * somread.c (som_symtab_read): Compute BFD section for | |
1700 | symbol. Use prim_record_minimal_symbol_and_info. | |
1701 | (som_symfile_read): Fix comment. | |
1702 | (struct find_section_offset_arg): New. | |
1703 | (find_section_offset, set_section_index): New functions. | |
1704 | (som_symfile_offsets): Use set_section_index to compute | |
1705 | section indices. | |
1706 | ||
65cf3563 TT |
1707 | 2013-04-08 Tom Tromey <[email protected]> |
1708 | ||
1709 | * coffread.c (cs_to_section): Use gdb_bfd_section_index. | |
1710 | * elfread.c (record_minimal_symbol, elf_symtab_read): Use | |
1711 | gdb_bfd_section_index. | |
1712 | * gdb_bfd.c (gdb_bfd_section_index, gdb_bfd_count_sections): | |
1713 | New functions. | |
1714 | * gdb_bfd.h (gdb_bfd_section_index, gdb_bfd_count_sections): | |
1715 | Declare. | |
1716 | * machoread.c (macho_symtab_add_minsym, macho_symfile_offsets): | |
1717 | Update. | |
1718 | * objfiles.c (add_to_objfile_sections_full): New function. | |
1719 | (add_to_objfile_sections): Use it. | |
1720 | (build_section_table): Rewrite. | |
1721 | (objfile_relocate1): Use gdb_bfd_section_index. Update. | |
1722 | * objfiles.h (obj_section_offset): Use gdb_bfd_section_index. | |
1723 | (struct objfile) <sections>: Update comment. | |
1724 | (ALL_OBJFILE_OSECTIONS): Skip sections where the_bfd_section | |
1725 | is NULL. | |
1726 | (ALL_OBJSECTIONS): Use it. | |
1727 | * solib-dsbt.c (dsbt_relocate_main_executable): Update. | |
1728 | * solib-frv.c (frv_relocate_main_executable): Update. | |
1729 | * solib-target.c (solib_target_relocate_section_addresses): | |
1730 | Use gdb_bfd_section_index. | |
1731 | * symfile.c (build_section_addr_info_from_section_table): | |
1732 | Use gdb_bfd_section_index. | |
1733 | (build_section_addr_info_from_bfd, place_section): Likewise. | |
1734 | * symtab.c (fixup_section): Update. | |
1735 | * xcoffread.c (find_targ_sec): Use gdb_bfd_section_index. | |
1736 | ||
7cbd4a93 TT |
1737 | 2013-04-08 Tom Tromey <[email protected]> |
1738 | ||
1739 | * minsyms.h (struct bound_minimal_symbol): New. | |
1740 | (lookup_minimal_symbol_and_objfile): Return bound_minimal_symbol. | |
1741 | Remove objfile argument. | |
1742 | (lookup_minimal_symbol_by_pc_section, lookup_minimal_symbol_by_pc): | |
1743 | Return bound_minimal_symbol. | |
1744 | * minsyms.c (lookup_minimal_symbol_by_pc_1) | |
1745 | (lookup_minimal_symbol_by_pc_section, lookup_minimal_symbol_by_pc): | |
1746 | Return bound_minimal_symbol. | |
1747 | (in_gnu_ifunc_stub): Update. | |
1748 | (lookup_minimal_symbol_and_objfile): Return bound_minimal_symbol. | |
1749 | Remove 'objfile_p' argument. | |
1750 | (lookup_solib_trampoline_symbol_by_pc): Update. | |
1751 | * ada-tasks.c, amd64-windows-tdep.c, arm-tdep.c, | |
1752 | arm-wince-tdep.c, block.c, blockframe.c, breakpoint.c, btrace.c, | |
1753 | c-valprint.c, dwarf2loc.c, elfread.c, frame.c, frv-tdep.c, | |
1754 | glibc-tdep.c, gnu-v2-abi.c, gnu-v3-abi.c, hppa-hpux-tdep.c, | |
1755 | i386-tdep.c, ia64-tdep.c, infcall.c, infcmd.c, jit.c, | |
1756 | linux-fork.c, m32c-tdep.c, m68hc11-tdep.c, maint.c, | |
1757 | mips-tdep.c, p-valprint.c, parse.c, ppc-linux-tdep.c, | |
1758 | ppc-sysv-tdep.c, printcmd.c, rs6000-tdep.c, sh64-tdep.c, | |
1759 | stack.c, symtab.c, tui/tui-disasm.c: Update. | |
1760 | ||
f85f34ed TT |
1761 | 2013-04-08 Tom Tromey <[email protected]> |
1762 | ||
1763 | * ada-lang.c (ada_decode_symbol): Check and set 'ada_mangled'. | |
1764 | Use symbol's obstack, not an objfile. | |
1765 | * coffread.c (process_coff_symbol): Update. | |
1766 | * dwarf2read.c (fixup_go_packaging, new_symbol_full): Update. | |
1767 | * jv-lang.c (add_class_symbol): Update. | |
1768 | * mdebugread.c (new_symbol): Update. | |
1769 | * minsyms.c (prim_record_minimal_symbol_full) | |
1770 | (terminate_minimal_symbol_table): Update. | |
1771 | * psymtab.c (add_psymbol_to_bcache): Clear entire symbol. Update. | |
1772 | * stabsread.c (define_symbol, read_enum_type): Update. | |
1773 | * symtab.c (symbol_set_demangled_name, symbol_get_demangled_name): | |
1774 | Handle Ada specially. | |
1775 | (symbol_set_language): Add 'obstack' argument. | |
1776 | (symbol_set_names): Update. | |
1777 | (symbol_natural_name, symbol_demangled_name): Always use | |
1778 | ada_decode_symbol. | |
1779 | * symtab.h (struct general_symbol_info) | |
1780 | <language_specific::obstack>: New field. | |
1781 | <ada_mangled>: New field. | |
1782 | (SYMBOL_SET_LANGUAGE): Add 'obstack' argument. | |
1783 | (symbol_set_language): Update. | |
1784 | ||
ccde22c0 TT |
1785 | 2013-04-08 Tom Tromey <[email protected]> |
1786 | ||
1787 | * symtab.c (symbol_init_cplus_specific, symbol_set_demangled_name): | |
1788 | Take an obstack, not an objfile. | |
1789 | (symbol_set_names): Update. | |
1790 | * symtab.h (symbol_set_demangled_name): Update. | |
1791 | ||
e623cf5d TT |
1792 | 2013-04-08 Tom Tromey <[email protected]> |
1793 | ||
1794 | * coffread.c (process_coff_symbol, coff_read_enum_type): Call | |
1795 | allocate_symbol. | |
1796 | * dwarf2read.c (fixup_go_packaging): Call allocate_symbol. | |
1797 | (read_func_scope): Call allocate_template_symbol. | |
1798 | (new_symbol_full): Call allocate_symbol. | |
1799 | * jit.c (finalize_symtab): Call allocate_symbol. | |
1800 | * jv-lang.c (add_class_symbol): Call allocate_symbol. | |
1801 | * mdebugread.c (parse_symbol, new_block): Call allocate_symbol. | |
1802 | * stabsread.c (patch_block_stabs, define_symbol, read_enum_type) | |
1803 | (common_block_end): Call allocate_symbol. | |
1804 | * symtab.c (allocate_symbol, initialize_symbol) | |
1805 | (allocate_template_symbol): New functions. | |
1806 | * symtab.c (allocate_symbol, initialize_symbol) | |
1807 | (allocate_template_symbol): Declare. | |
1808 | * xcoffread.c (process_xcoff_symbol): Call initialize_symbol. | |
1809 | ||
f6de8ec2 PA |
1810 | 2013-04-08 Pedro Alves <[email protected]> |
1811 | Keith Seitz <[email protected]> | |
1812 | ||
1813 | * breakpoint.c (create_breakpoint): Rename | |
1814 | "parse_condition_and_thread" parameter to "parse_arg". Update | |
1815 | describing comment. If !PARSE_ARG, then error out if ARG is not | |
1816 | the empty string after extracting the location. | |
1817 | * breakpoint.h (create_breakpoint): Rename | |
1818 | "parse_condition_and_thread" parameter to "parse_arg". | |
1819 | ||
f65ce5fb AR |
1820 | 2013-04-08 Aleksandar Ristovski <[email protected] |
1821 | ||
1822 | * solib-svr4.c (lm_addr_check): Add const qualifier to 'so' arg. | |
1823 | ||
cc5925ad YQ |
1824 | 2013-04-07 Yao Qi <[email protected]> |
1825 | ||
1826 | * remote.c (remote_trace_find): Change type of parameters 'addr1' | |
1827 | and 'addr2' to CORE_ADDR. | |
1828 | * target.c (update_current_target): Update. | |
1829 | * target.h (struct target_ops) <to_trace_find>: Change parameter | |
1830 | type to CORE_ADDR. | |
1831 | * tracepoint.c (tfind_1): Change type of parameters 'addr1' and | |
1832 | 'addr2' to CORE_ADDR. | |
1833 | (tfile_trace_find): Likewise. | |
1834 | (tfile_get_traceframe_address): Change return type to CORE_ADDR. | |
1835 | Change local variable 'addr' to type CORE_ADDR. | |
1836 | * tracepoint.h (tfind_1): Update declaration. | |
1837 | ||
d9ac0664 EZ |
1838 | 2013-04-06 Eli Zaretskii <[email protected]> |
1839 | ||
1840 | * windows-nat.c (windows_get_absolute_argv0): Move from here... | |
1841 | * mingw-hdep.c (windows_get_absolute_argv0): ...to here. | |
1842 | Include main.h. | |
1843 | ||
1844 | * windows-nat.h (windows_get_absolute_argv0): Move prototype from | |
1845 | here... | |
1846 | * main.h (windows_get_absolute_argv0): ...to here. | |
1847 | ||
02142a6c DE |
1848 | 2013-04-05 Doug Evans <[email protected]> |
1849 | ||
1850 | * dwarf2read.c (struct dwarf2_per_objfile): Tweak comment. | |
1851 | (read_cutu_die_from_dwo): Add comments. | |
1852 | (read_structure_type): Update comment. | |
1853 | (read_enumeration_type, read_namespace_type): Update comment. | |
1854 | (read_die_type, get_die_type_at_offset, get_die_type): Update comment. | |
1855 | ||
43662968 JK |
1856 | 2013-04-05 Jan Kratochvil <[email protected]> |
1857 | ||
1858 | Convert man pages to texinfo, new gdbinit.5 texinfo page. | |
1859 | * Makefile.in (gdb.z): Remove. | |
1860 | (install-only): Remove $(man1dir) and gdb.1 installation. | |
1861 | * gdb.1: Remove. | |
1862 | ||
9ead1b84 JK |
1863 | 2013-04-05 Jan Kratochvil <[email protected]> |
1864 | ||
1865 | Fix compatibility with Linux kernel 3.8.3. | |
1866 | * linux-tdep.c (linux_find_memory_regions_full): Move variable number | |
1867 | to more inner block. Remove parsing of NUMBER from outer block. | |
1868 | Parse NUMBER only if KEYWORD has been identified. | |
1869 | ||
d1794952 JK |
1870 | 2013-04-05 Jan Kratochvil <[email protected]> |
1871 | ||
1872 | Fix variable name shadowing. | |
1873 | * linux-tdep.c (linux_find_memory_regions_full): Rename outer variable | |
1874 | filename to mapsfilename and update its uses. | |
1875 | ||
9025569e EZ |
1876 | 2013-04-05 Eli Zaretskii <[email protected]> |
1877 | ||
1878 | * Makefile.in (TAGS): Avoid warning from etags when $GDB_NM_FILE is | |
1879 | empty. See http://sourceware.org/ml/gdb-patches/2012-08/msg00504.html | |
1880 | and http://sourceware.org/ml/gdb-patches/2013-04/msg00055.html for | |
1881 | details of the problem. | |
1882 | ||
c9a6ce02 PA |
1883 | 2013-04-04 Pedro Alves <[email protected]> |
1884 | Hui Zhu <[email protected]> | |
1885 | ||
1886 | * breakpoint.c (validate_commands_for_breakpoint): If validating a | |
1887 | tracepoint, reset its STEP_COUNT and call validate_actionline. | |
1888 | ||
5ff888ce DE |
1889 | 2013-04-03 Doug Evans <[email protected]> |
1890 | ||
bf6af496 DE |
1891 | * dwarf2read.c (read_die_and_siblings_1): Renamed from |
1892 | read_die_and_siblings. | |
1893 | (read_die_and_siblings): New function. | |
1894 | (read_cutu_die_from_dwo): Dump die if requested. | |
1895 | (read_die_and_children): Call read_full_die_1 and | |
1896 | read_die_and_siblings_1. | |
1897 | (read_full_die): Dump die if requested. | |
1898 | ||
1899 | * dwarf2read.c (read_comp_units_from_section): Add debugging printf. | |
1900 | ||
0ac5b59e DE |
1901 | * dwarf2read.c (struct dwo_file): New member comp_dir. |
1902 | Rename member name to dwo_name. All uses updated. | |
1903 | (hash_dwo_file): Include comp_dir in computation. | |
1904 | (eq_dwo_file): Ditto. | |
1905 | (lookup_dwo_file_slot): New arg comp_dir. All callers updated. | |
1906 | (create_dwo_in_dwp, lookup_dwo_in_dwp, open_and_init_dwo_file): Ditto. | |
1907 | ||
5ff888ce DE |
1908 | * psymtab.c (read_psymtabs_with_fullname): Don't call |
1909 | psymtab_to_fullname if the basenames are different. | |
1910 | ||
ec83d211 JK |
1911 | 2013-04-03 Jan Kratochvil <[email protected]> |
1912 | ||
1913 | * NEWS (Changes in GDB 7.6): Update the data-disassemble for "fullname". | |
1914 | New entry about "fullname" presence. | |
1915 | ||
4f4352f7 PA |
1916 | 2013-04-03 Pedro Alves <[email protected]> |
1917 | ||
1918 | * NEWS: Mention x86_64/Cygwin as new native configuration. | |
1919 | ||
3d1d5ea3 DE |
1920 | 2013-04-02 Doug Evans <[email protected]> |
1921 | ||
1922 | * dwarf2read.c (read_structure_type): Fix typo in comment. | |
1923 | ||
be9a8770 PA |
1924 | 2013-04-02 Pedro Alves <[email protected]> |
1925 | ||
1926 | * NEWS: Mention "set/show debug aarch64", "set/show debug | |
1927 | coff-pe-read" and "set/show debug mach-o". | |
1928 | ||
a46c1e42 PA |
1929 | 2013-04-02 Pedro Alves <[email protected]> |
1930 | ||
1931 | * NEWS: Mention "set/show remote trace-buffer-size-packet". | |
1932 | ||
3ad18b19 EZ |
1933 | 2013-04-02 Eli Zaretskii <[email protected]> |
1934 | ||
1935 | * Makefile.in (HFILES_NO_SRCDIR): Remove call-cmds.h. | |
1936 | gdb_string.h is now in common/. | |
1937 | ||
e9f1758d PA |
1938 | 2013-04-02 Pedro Alves <[email protected]> |
1939 | ||
1940 | * NEWS: Move "set debug notification" and "set trace-buffer-size" | |
1941 | under "New options". | |
1942 | ||
049dc89b JK |
1943 | 2013-04-02 Jan Kratochvil <[email protected]> |
1944 | ||
1945 | Revert this patch: | |
1946 | PR gdb/15275 | |
1947 | * remote.c (remote_get_trace_status): Include putpkt in TRY_CATCH. | |
1948 | ||
c33e31fd PA |
1949 | 2013-04-02 Pedro Alves <[email protected]> |
1950 | ||
1951 | PR gdb/15275 | |
1952 | ||
1953 | * remote.c (send_interrupt_sequence): Use remote_serial_write. | |
1954 | (remote_serial_write): New function. | |
1955 | (putpkt_binary, getpkt_or_notif_sane_1): Use remote_serial_write. | |
1956 | ||
ea5f3910 JW |
1957 | 2013-04-01 Jiong Wang <[email protected]> |
1958 | ||
1959 | * NEWS: Mention TILE-Gx in "New native configurations" and | |
1960 | "New targets" sections. | |
1961 | ||
5c6fa7ab DE |
1962 | 2013-04-01 Doug Evans <[email protected]> |
1963 | ||
c0f78cd4 DE |
1964 | * dwarf2read.c (lookup_signatured_type_at_offset): Delete. |
1965 | (process_enumeration_scope): Simplify. | |
1966 | ||
0186c6a7 DE |
1967 | * dwarf2read.c (struct dwarf2_per_cu_data): Move member |
1968 | type_unit_group ... | |
1969 | (struct signatured_type): ... to here. | |
1970 | (sig_type_ptr): New typedef. | |
1971 | (type_unit_group): Delete member 't.first_cu'. Move member 'tus' | |
1972 | out of union 't'. All uses updated. | |
1973 | (dw2_get_file_names_reader): Assert not called for a type unit. | |
1974 | (dw2_get_file_names): Assert not called for a type unit or type | |
1975 | unit group. | |
1976 | (build_type_psymtabs_reader): Assert called for a type unit. | |
1977 | (build_type_psymtab_dependencies): Assert called for a type unit group. | |
1978 | ||
5c6fa7ab DE |
1979 | * dwarf2read.c (free_dwo_file): Add comment. |
1980 | (dwarf2_per_objfile_free): Unref dwp bfd. | |
1981 | ||
b3c0ad67 | 1982 | 2013-04-01 Aleksandar Ristovski <[email protected]> |
cebca8c1 AR |
1983 | |
1984 | * coff-pe-read.c (add_pe_exported_sym): Remove unused 'dll_name_len'. | |
1985 | (add_pe_forwarded_sym): Remove unused 'section', 'dll_name_len'. | |
1986 | (read_pe_exported_syms): Remove unused 'exportix'. | |
1987 | (pe_text_section_offset): Remove unused 'opthdr_ofs', 'num_entries', | |
1988 | 'export_rva', 'export_size', 'expptr', 'exp_funcbase', 'expdata', | |
1989 | 'erva', 'name_rvas', 'ordinals', 'nexp', 'ordbase', 'dll_name'. | |
1990 | ||
e2df1547 AR |
1991 | 2013-04-01 Aleksandar Ristovski <[email protected]> |
1992 | ||
1993 | * breakpoint.c (parse_cond_to_aexpr): Remove unused 'old_chain'. | |
1994 | (print_it_watchpoint): Remove unused 'bl'. | |
1995 | (say_where): Remove unused 'uiout'. | |
1996 | (bpstat_remove_breakpoint_callback): Remove unused 'uiout'. | |
1997 | (bkpt_breakpoint_hit): Remove unused 'b'. | |
1998 | (internal_bkpt_print_it): Remove unused 'uiout'. | |
1999 | * buildsym.c (augment_type_symtab): Remove unused 'i'. | |
2000 | ||
d81e75c0 TD |
2001 | 2013-03-31 Tiago Stürmer Daitx <[email protected]> |
2002 | ||
2003 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_float): New function. | |
2004 | (ppc64_sysv_abi_push_dummy_call): Handle complex arguments. | |
2005 | ||
5a8b3f62 DE |
2006 | 2013-03-29 Doug Evans <[email protected]> |
2007 | ||
ab5088bf DE |
2008 | * dwarf2read.c (open_dwo_file): Renamed from open_dwop_file. |
2009 | Delete arg is_dwp. All callers updated. | |
2010 | (open_dwp_file): New function. | |
2011 | (open_and_init_dwp_file): Call it. | |
2012 | (get_dwp_file): New function. | |
2013 | (lookup_dwo_cutu): Call it. | |
2014 | ||
a8ad1e57 DE |
2015 | * dwarf2read.c (open_and_init_dwp_file): Remove incorrect, and |
2016 | unnecessary, cleanup. | |
2017 | ||
6296d8c1 DE |
2018 | * dwarf2read.c (lookup_dwo_cutu): Improve complaint text. |
2019 | ||
b0c7bfa9 DE |
2020 | * dwarf2read.c (read_cutu_die_from_dwo): New function. |
2021 | (lookup_dwo_unit): New function. | |
2022 | (init_cutu_and_read_dies): Move DWO handling to new functions. | |
2023 | ||
c88ee1f0 DE |
2024 | * dwarf2read.c (struct signatured_type): Tweak comment. |
2025 | (struct dwo_unit): Tweak comment. | |
2026 | (create_debug_types_hash_table): Tweak comment. Reformat long line. | |
2027 | (create_dwo_debug_info_hash_table): Tweak comment. | |
2028 | (dwarf2_per_cu_offset_and_type): Tweak comment. | |
2029 | ||
5a8b3f62 DE |
2030 | * dwarf2read.c (lookup_signatured_type): Remove complaint about |
2031 | missing .debug_types section. | |
2032 | ||
9852c492 YQ |
2033 | 2013-03-29 Yao Qi <[email protected]> |
2034 | ||
2035 | * corelow.c: Include "completer.h". | |
2036 | (_initialize_corelow): Call add_target_with_completer with | |
2037 | argument 'filename_completer'. | |
2038 | * tracepoint.c: Likewise. | |
2039 | * exec.c (_initialize_exec): Likewise. | |
2040 | * target.c (add_target): Rename to ... | |
2041 | (add_target_with_completer): ... this. Call set_cmd_completer | |
2042 | if parameter completer is not NULL. | |
2043 | (add_target): New. | |
2044 | * target.h: Include "command.h". | |
2045 | (add_target_with_completer): Declare it. | |
2046 | ||
af312be7 JB |
2047 | 2013-03-28 Joel Brobecker <[email protected]> |
2048 | ||
2049 | * coffread.c (is_import_fixup_symbol): New function. | |
2050 | (record_minimal_symbol): Use is_import_fixup_symbol to | |
2051 | detect import fixup symbols, and discard them. | |
2052 | ||
8a0459fd DE |
2053 | 2013-03-28 Doug Evans <[email protected]> |
2054 | ||
0349ea22 DE |
2055 | * dwarf2read.c (create_debug_types_hash_table): Don't allocate the |
2056 | types hash table until we know we need it. | |
2057 | ||
f652bce2 DE |
2058 | * dwarf2read.c (create_addrmap_from_index): Complain about bad CU |
2059 | index numbers. | |
2060 | ||
e4a48d9d DE |
2061 | * dwarf2read.c (dw2_get_file_names): Delete arg "objfile". |
2062 | All callers updated. | |
2063 | (dw2_print_stats): Print #read CUs too. | |
2064 | (dump_die_shallow): Print signatured types better. | |
2065 | ||
8a0459fd DE |
2066 | * dwarf2read.c (struct dwarf2_per_cu_data): Rename member |
2067 | info_or_types_section to section. All uses updated. | |
2068 | (struct dwo_unit): Ditto. | |
2069 | ||
bd3eecc3 PA |
2070 | 2013-03-28 Pedro Alves <[email protected]> |
2071 | ||
2072 | * NEWS (New options): New section. | |
2073 | (New options): Mention set/show remote trace-status-packet. | |
2074 | * remote.c (PACKET_qTStatus): New enumeration value. | |
2075 | (remote_get_trace_status): Skip sending qTStatus if the packet is | |
2076 | disabled. Use packet_ok. | |
2077 | (_initialize_remote): Register a configuration command for | |
2078 | qTStatus packet. | |
2079 | ||
41245087 DE |
2080 | 2013-03-28 Doug Evans <[email protected]> |
2081 | ||
7edbb660 DE |
2082 | * symfile.c (find_separate_debug_file): Add comment. |
2083 | (terminate_after_last_dir_separator): Tweak comment. | |
2084 | ||
0018ea6f DE |
2085 | * dwarf2read.c (create_partial_symtab): Add forward decl. |
2086 | (create_partial_symtab): Move to be closer to other psymtab functions. | |
2087 | (process_psymtab_comp_unit_reader, process_psymtab_comp_unit): Ditto. | |
2088 | ||
ca69b9e6 DE |
2089 | * dwarf2read.c (dwarf2_physname): Move declaration to better spot. |
2090 | (compute_symtab_includes): Remove unnecessary forward declaration. | |
2091 | (die_needs_namespace): Add comment marking group of functions for | |
2092 | dwarf2 name computation. | |
2093 | ||
a9375afe DE |
2094 | * typeprint.c (_initialize_typeprint): Improve type help text. |
2095 | ||
41245087 DE |
2096 | * python/python.c (finish_python_initialization): Provide suggestion |
2097 | for how to tell gdb to find its python files. | |
2098 | ||
7f7cc265 PA |
2099 | 2013-03-28 Pedro Alves <[email protected]> |
2100 | ||
2101 | PR gdb/15294 | |
2102 | ||
2103 | * source.c (_initialize_source): Change back "set listsize" to an | |
2104 | integer command. | |
2105 | ||
ec21308c JK |
2106 | 2013-03-27 Gareth McMullin <[email protected]> |
2107 | ||
2108 | PR gdb/15275 | |
2109 | * remote.c (remote_get_trace_status): Include putpkt in TRY_CATCH. | |
2110 | ||
840a9a1f PA |
2111 | 2013-03-27 Pedro Alves <[email protected]> |
2112 | ||
2113 | * top.c (history_size): Rename to ... | |
2114 | (history_size_setshow_var): ... this. Add comment. | |
2115 | (show_commands): Use readline's 'history_length' instead of | |
2116 | computing the history length by calling history_get in a loop. | |
2117 | (set_history_size_command): Error out for sizes over INT_MAX. | |
2118 | Restore previous history size on invalid size. | |
2119 | (init_history): If HISTSIZE is negative, leave the history size as | |
2120 | zero. Add comments. | |
2121 | (init_main): Adjust. | |
2122 | ||
826ecc4d PA |
2123 | 2013-03-27 Pedro Alves <[email protected]> |
2124 | ||
2125 | * coff-pe-read.c (_initialize_coff_pe_read): Rename "set debug | |
2126 | coff_pe_read" command to "set debug coff-pe-read". | |
2127 | ||
0ccfeeae MM |
2128 | 2013-03-27 Markus Metzger <[email protected]> |
2129 | ||
2130 | * record.c (command_size_to_target_size): Fix size comparison. | |
2131 | Change parameter type from pointer to integer to integer. | |
2132 | Update all users. | |
2133 | ||
40653b35 PM |
2134 | 2013-03-27 Pierre Muller <[email protected]> |
2135 | ||
2136 | * windows-nat.c (handle_output_debug_string): Avoid typecast | |
2137 | from integer of different size warning. | |
2138 | ||
c62fa0e2 JB |
2139 | 2013-03-26 Joel Brobecker <[email protected]> |
2140 | ||
2141 | * windows-nat.c (handle_output_debug_string): Add empty line | |
2142 | after local block variable definition. | |
2143 | ||
2c619be2 PA |
2144 | 2013-03-26 Pedro Alves <[email protected]> |
2145 | ||
2146 | * ser-tcp.c (wait_for_connect): Make 'polls' parameter unsigned. | |
2147 | (net_open): Make 'polls' local unsigned. | |
2148 | ||
1b493192 PA |
2149 | 2013-03-26 Pedro Alves <[email protected]> |
2150 | ||
2151 | * remote.c (_initialize_remote): Make "set remoteaddresssize" | |
2152 | a zuinteger command instead of uinteger. | |
2153 | ||
7ee70bf5 PA |
2154 | 2013-03-26 Pedro Alves <[email protected]> |
2155 | ||
2156 | * record-full.c (record_full_insn_num): Make it unsigned. | |
2157 | (record_full_check_insn_num, record_full_message) | |
2158 | (record_full_registers_change, record_full_xfer_partial): Remove | |
2159 | record_full_insn_max_num check (it's always != 0). | |
2160 | (record_full_info, record_full_restore): Use %u as format string. | |
2161 | (): Use %u as format string. | |
2162 | (set_record_full_insn_max_num): Remove record_full_insn_max_num | |
2163 | check (it's always != 0). | |
2164 | ||
dfd1f9bb PA |
2165 | 2013-03-26 Pedro Alves <[email protected]> |
2166 | ||
2167 | * dcache.c (_initialize_dcache): Make the "set dcache line-size" | |
2168 | and "set dcache size" commands zuinteger instead of uinteger. | |
2169 | ||
addb4faf PA |
2170 | 2013-03-26 Pedro Alves <[email protected]> |
2171 | ||
2172 | * cris-tdep.c (_initialize_cris_tdep): Make the "set cris-version" | |
2173 | command zuinteger instead of uinteger. | |
2174 | ||
b75bf488 PA |
2175 | 2013-03-26 Pedro Alves <[email protected]> |
2176 | ||
2177 | * coff-pe-read.c (_initialize_coff_pe_read): Make the command | |
2178 | zuinteger instead of uinteger. | |
2179 | ||
42c634cb PA |
2180 | 2013-03-26 Pedro Alves <[email protected]> |
2181 | ||
2182 | * record.c (record_insn_history_size_setshow_var) | |
2183 | (record_call_history_size_setshow_var): New globals. | |
2184 | (command_size_to_target_size): New function. | |
2185 | (cmd_record_insn_history, cmd_record_call_history): Use | |
2186 | command_size_to_target_size instead of cast. | |
2187 | (validate_history_size, set_record_insn_history_size) | |
2188 | (set_record_call_history_size): New functions. | |
2189 | (_initialize_record): Install set_record_insn_history_size and | |
2190 | set_record_call_history_size as "set" hooks of "set record | |
2191 | instruction-history-size" and "set record | |
2192 | function-call-history-size". | |
2193 | ||
1fb2e2b5 PA |
2194 | 2013-03-26 Pedro Alves <[email protected]> |
2195 | ||
2196 | * top.c (gdb_rl_operate_and_get_next): Replace max_input_history | |
2197 | use with history_max_entries use. Remove FIXME note. | |
2198 | ||
99c819ee MM |
2199 | 2013-03-26 Markus Metzger <[email protected]> |
2200 | ||
2201 | * record-btrace.c (record_btrace_close): Call | |
2202 | record_btrace_auto_disable. | |
2203 | ||
9f9e404c JB |
2204 | 2013-03-25 Joel Brobecker <[email protected]> |
2205 | ||
2206 | * rs6000-nat.c (fixup_breakpoints): Delete declaration. | |
2207 | ||
ebcdfe33 DE |
2208 | 2013-03-25 Doug Evans <[email protected]> |
2209 | ||
2210 | * contrib/cc-with-tweaks.sh: Check exit code of dwp. | |
2211 | ||
24955f63 TT |
2212 | 2013-03-25 Tom Tromey <[email protected]> |
2213 | ||
2214 | PR symtab/11462: | |
2215 | * c-exp.y (exp): Add new productions for destructors after '.' and | |
2216 | '->'. | |
2217 | (write_destructor_name): New function. | |
2218 | ||
fce632b6 TT |
2219 | 2013-03-25 Tom Tromey <[email protected]> |
2220 | ||
2221 | PR c++/9197: | |
2222 | * opencl-lang.c (evaluate_subexp_opencl) <STRUCTOP_STRUCT>: Use | |
2223 | value_struct_elt, not lookup_struct_elt_type. | |
2224 | * eval.c (evaluate_subexp_standard) <STRUCTOP_STRUCT, | |
2225 | STRUCTOP_PTR>: Use value_struct_elt, not lookup_struct_elt_type. | |
2226 | * expression.h (EVAL_AVOID_SIDE_EFFECTS): Update comment. | |
2227 | ||
a4341769 YQ |
2228 | 2013-03-25 Yao Qi <[email protected]> |
2229 | ||
2230 | * ctf.c [USE_WIN32API]: Undef 'mkdir' and use 'mkdir' | |
2231 | instead of '_mkdir'. | |
2232 | ||
b5981e5a EZ |
2233 | 2013-03-23 Eli Zaretskii <[email protected]> |
2234 | ||
2235 | * windows-nat.c (windows_get_absolute_argv0): New function. | |
2236 | * windows-nat.h: Add its prototype. | |
2237 | ||
2238 | * main.c (get_init_files): Use filename_ncmp instead of strncmp. | |
2239 | Use IS_DIR_SEPARATOR instead of looking for a character inside | |
2240 | SLASH_STRING. Include filenames.h. | |
2241 | (captured_main) [__MINGW32__]: Make argv[0] absolute, so that | |
2242 | relocate_gdb_directory works when passed gdb_program_name. | |
2243 | Include windows-nat.h. | |
2244 | ||
598d3636 JK |
2245 | 2013-03-22 Jan Kratochvil <[email protected]> |
2246 | ||
2247 | * exceptions.h (enum errors): New entry TARGET_CLOSE_ERROR. | |
2248 | * remote.c (trace_error): Remove the special handling of '2'. | |
2249 | (readchar) <SERIAL_EOF> | |
2250 | (readchar) <SERIAL_ERROR> | |
2251 | (getpkt_or_notif_sane_1): Use TARGET_CLOSE_ERROR for them. | |
2252 | (remote_get_trace_status): Call throw_exception if EX is | |
2253 | TARGET_CLOSE_ERROR. | |
2254 | * utils.c (perror_with_name): Rename to ... | |
2255 | (throw_perror_with_name): ... here. New parameter errcode, describe it | |
2256 | in the function comment. | |
2257 | (perror_with_name): New function wrapper. | |
2258 | * utils.h (enum errors): New stub declaration. | |
2259 | (throw_perror_with_name): New declaration. | |
2260 | ||
82b821e9 PA |
2261 | 2013-03-22 Pedro Alves <[email protected]> |
2262 | Yao Qi <[email protected]> | |
2263 | Mark Kettenis <[email protected]> | |
2264 | ||
2265 | * cli/cli-setshow.c (do_set_command) <var_uinteger>: | |
2266 | Don't let the user set the value to UINT_MAX directly. | |
2267 | <var_integer>: Don't let the user set the value to INT_MAX | |
2268 | directly. | |
2269 | ||
78a095c3 JK |
2270 | 2013-03-22 Jan Kratochvil <[email protected]> |
2271 | ||
2272 | * remote.c (remote_unpush_target): New function. | |
2273 | (remote_open_1): Remove two pop_target calls, update one comment, add | |
2274 | comment to target_preopen call. Replace pop_target call by | |
2275 | remote_unpush_target call. | |
2276 | (interrupt_query, readchar, getpkt_or_notif_sane_1): Replace | |
2277 | pop_target calls by remote_unpush_target calls. | |
2278 | ||
3e74e146 PA |
2279 | 2013-03-22 Pedro Alves <[email protected]> |
2280 | ||
2281 | * linux-nat.c (linux_child_follow_fork): Don't call | |
2282 | linux_enable_event_reporting. | |
2283 | (linux_handle_extended_wait): Don't call | |
2284 | linux_enable_event_reporting. | |
2285 | ||
a2213dca PA |
2286 | 2013-03-22 Pedro Alves <[email protected]> |
2287 | ||
2288 | * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Define INSN macro, | |
2289 | use it to rewrite the trampoline buffers with type gdb_byte[], and | |
2290 | undefine the macro. Remove char* cast. | |
2291 | ||
bd712aed DE |
2292 | 2013-03-21 Doug Evans <[email protected]> |
2293 | ||
2294 | New commands "mt set per-command {space,time,symtab} {on,off}". | |
2295 | * NEWS: Add entry. | |
2296 | * event-top.c: #include "maint.h". | |
2297 | * main.c: #include "maint.h". | |
2298 | * maint.c: #include <sys/time.h>, <time.h>, block.h, top.h, | |
2299 | timeval-utils.h, maint.h, cli/cli-setshow.h. | |
2300 | (per_command_time, per_command_space): New static globals. | |
2301 | (per_command_symtab): New static global. | |
2302 | (per_command_setlist, per_command_showlist): New static globals. | |
2303 | (struct cmd_stats): Move here from utils.c. | |
2304 | (set_per_command_time): Renamed from set_display_time in utils.c | |
2305 | and moved here. All callers updated. | |
2306 | (set_per_command_space): Renamed from set_display_space in utils.c | |
2307 | and moved here. All callers updated. | |
2308 | (count_symtabs_and_blocks): New function. | |
2309 | (report_command_stats): Moved here from utils.c. Add support for | |
2310 | printing symtab stats. Only print data if enabled before command | |
2311 | executed. | |
2312 | (make_command_stats_cleanup): Ditto. | |
2313 | (sert_per_command_cmd, show_per_command_cmd): New functions. | |
2314 | (_initialize_maint_cmds): Add new commands | |
2315 | mt set per-command {space,time,symtab} {on,off}. | |
2316 | * maint.h: New file. | |
2317 | * top.c: #include "maint.h". | |
2318 | * utils.c (reset_prompt_for_continue_wait_time): New function. | |
2319 | (get_prompt_for_continue_wait_time): New function. | |
2320 | * utils.h (reset_prompt_for_continue_wait_time): Declare | |
2321 | (get_prompt_for_continue_wait_time): Declare. | |
2322 | (make_command_stats_cleanup): Moved to maint.h. | |
2323 | (set_display_time, set_display_space): Moved to maint.h and renamed | |
2324 | to set_per_command_time, set_per_command_space. | |
2325 | * cli/cli-setshow.c (parse_cli_boolean_value): Renamed from | |
2326 | parse_binary_operation and made non-static. Don't call error, | |
2327 | just return an error marker. All callers updated. | |
2328 | * cli/cli-setshow.h (parse_cli_boolean_value): Declare. | |
2329 | ||
d76488d8 TT |
2330 | 2013-03-21 Tom Tromey <[email protected]> |
2331 | ||
2332 | * symfile.c (alloc_section_addr_info): Update header. Don't set | |
2333 | 'num_sections' field. | |
2334 | (build_section_addr_info_from_section_table): Set 'num_sections'. | |
2335 | (build_section_addr_info_from_bfd): Likewise. | |
2336 | (build_section_addr_info_from_objfile): Remove dead loop | |
2337 | condition. | |
2338 | (free_section_addr_info): Unconditionally call xfree. | |
2339 | (relative_addr_info_to_section_offsets, addrs_section_sort) | |
2340 | (addr_info_make_relative, syms_from_objfile_1): Remove dead loop | |
2341 | condition. | |
2342 | (syms_from_objfile_1): Remove dead 'if' condition. Check | |
2343 | 'num_sections'. | |
2344 | (add_symbol_file_command): Set 'num_sections'. | |
2345 | * symfile-mem.c (symbol_file_add_from_memory): Set | |
2346 | 'num_sections'. | |
2347 | * somread.c (som_symfile_offsets): Remove dead loop condition. | |
2348 | * machoread.c (macho_symfile_offsets): Remove dead 'if'. | |
2349 | * jit.c (jit_bfd_try_read_symtab): Set 'num_sections'. | |
2350 | ||
a72e5169 | 2351 | 2013-03-21 Tom Tromey <[email protected]> |
92bc6a20 TT |
2352 | |
2353 | * tracepoint.h (decode_agent_options): Add 'trace_string' | |
2354 | argument. | |
2355 | * tracepoint.c (decode_agent_options): Add 'trace_string' | |
2356 | argument. | |
2357 | (validate_actionline): Update. | |
2358 | (collect_symbol): Add 'trace_string' argument. | |
2359 | (struct add_local_symbols_data) <trace_string>: New field. | |
2360 | (do_collect_symbol): Update. | |
2361 | (add_local_symbols): Add 'trace_string' argument. | |
2362 | (encode_actions_1): Update. | |
2363 | (trace_dump_actions): Update. | |
2364 | * dwarf2loc.c (access_memory): Update. | |
2365 | * ax.h (struct agent_expr) <tracing, trace_string>: New fields. | |
2366 | * ax-general.c (new_agent_expr): Update. | |
2367 | * ax-gdb.h (gen_trace_for_expr, gen_trace_for_var) | |
2368 | (gen_trace_for_return_address): Add argument. | |
2369 | (trace_kludge, trace_string_kludge): Remove. | |
2370 | * ax-gdb.c (trace_kludge, trace_string_kludge): Remove. | |
2371 | (gen_traced_pop, gen_fetch, gen_bitfield_ref, gen_expr): Update. | |
2372 | (gen_trace_for_var): Add 'trace_string' argument. | |
2373 | (gen_trace_for_expr, gen_trace_for_return_address): Likewise. | |
2374 | (gen_printf, agent_eval_command_one): Update. | |
2375 | ||
b2f83c08 TT |
2376 | 2013-03-21 Tom Tromey <[email protected]> |
2377 | ||
2378 | PR exp/15109: | |
2379 | * c-exp.y (yylex): Rewrite to push all tokens onto the FIFO. | |
2380 | Handle FILENAME token. | |
2381 | ||
9507860e TT |
2382 | 2013-03-21 Tom Tromey <[email protected]> |
2383 | ||
2384 | * c-exp.y (YYPRINT): Define. | |
2385 | (c_print_token): New function. | |
2386 | ||
e403aa4b TT |
2387 | 2013-03-21 Tom Tromey <[email protected]> |
2388 | ||
2389 | * c-exp.y (%union) <sym, ivar, ivec>: Remove. | |
2390 | ||
af307d6a YQ |
2391 | 2013-03-21 Yao Qi <[email protected]> |
2392 | ||
2393 | * ctf.c: Include "gdb_stat.h". | |
2394 | [USE_WIN32API]: New macro 'mkdir'. | |
2395 | (ctf_start): Use permission bits macros if they are defined. | |
2396 | ||
fb81d016 KS |
2397 | 2013-03-20 Keith Seitz <[email protected]> |
2398 | ||
2399 | * breakpoint.h (struct breakpoint): Add comment to | |
2400 | extra_string indicating that this member is mallod'd. | |
2401 | * breakpoint.c (base_breakpoint_dtor): Free extra_string. | |
2402 | ||
ef0026f0 PA |
2403 | 2013-03-20 Pedro Alves <[email protected]> |
2404 | ||
2405 | PR gdb/15289 | |
2406 | ||
2407 | * cli/cli-setshow.c (do_set_command) | |
2408 | <var_uinteger, var_zuinteger>: Use LONGEST for variable holding | |
2409 | the result of parsing the command argument. Throw error if the | |
2410 | value is greater than UINT_MAX. Print the invalid value with | |
2411 | plongest. | |
2412 | <var_integer, var_zinteger>: Use LONGEST for variable holding the | |
2413 | result of parsing the command argument. Throw error if the value | |
2414 | is greater than INT_MAX, not greater or equal. Also throw error | |
2415 | if the value is less than INT_MIN. Print the invalid value with | |
2416 | plongest. | |
2417 | <var_zuinteger_unlimited>: Throw error if the value is greater | |
2418 | than INT_MAX, not greater or equal. | |
2419 | (do_show_command) <var_integer, var_zinteger, | |
2420 | var_zuinteger_unlimited>: Use %d for printing int, not %u. | |
2421 | ||
24d6c2a0 TT |
2422 | 2013-03-20 Tom Tromey <[email protected]> |
2423 | ||
2424 | * ax-gdb.c (gen_var_ref): Unconditionally call via computed ops, | |
2425 | if possible. | |
2426 | * dwarf2read.c (read_func_scope): Remove old FIXME. | |
2427 | * eval.c (evaluate_subexp_standard): Check SYMBOL_COMPUTED_OPS, | |
2428 | not LOC_COMPUTED. | |
2429 | * findvar.c (symbol_read_needs_frame, default_read_var_value): | |
2430 | Unconditionally call via computed ops, if possible. | |
2431 | * printcmd.c (address_info): Unconditionally call via computed ops, | |
2432 | if possible. | |
2433 | * stack.c (read_frame_arg): Unconditionally call via computed ops, | |
2434 | if possible. | |
2435 | * symtab.c (register_symbol_computed_impl): Sanity check 'ops'. | |
2436 | * tracepoint.c (scope_info): Unconditionally call via computed ops, | |
2437 | if possible. | |
2438 | ||
f1e6e072 TT |
2439 | 2013-03-20 Jan Kratochvil <[email protected]> |
2440 | Tom Tromey <[email protected]> | |
2441 | ||
2442 | PR symtab/8421: | |
2443 | * coffread.c (coff_register_index): New global. | |
2444 | (process_coff_symbol, coff_read_enum_type): Set | |
2445 | SYMBOL_ACLASS_INDEX. | |
2446 | (_initialize_coffread): Initialize new global. | |
2447 | * dwarf2loc.c (locexpr_find_frame_base_location) | |
2448 | (dwarf2_block_frame_base_locexpr_funcs) | |
2449 | (loclist_find_frame_base_location) | |
2450 | (dwarf2_block_frame_base_loclist_funcs): New. | |
2451 | (dwarf_expr_frame_base_1): Call SYMBOL_BLOCK_OPS, remove internal_error. | |
2452 | (dwarf2_locexpr_funcs, dwarf2_loclist_funcs): Add location_has_loclist. | |
2453 | * dwarf2loc.h (dwarf2_block_frame_base_locexpr_funcs) | |
2454 | (dwarf2_block_frame_base_loclist_funcs): New. | |
2455 | * dwarf2read.c (dwarf2_locexpr_index, dwarf2_loclist_index) | |
2456 | (dwarf2_locexpr_block_index, dwarf2_loclist_block_index): New | |
2457 | globals. | |
2458 | (read_func_scope): Update. | |
2459 | (fixup_go_packaging, mark_common_block_symbol_computed) | |
2460 | (var_decode_location, new_symbol_full, dwarf2_const_value): | |
2461 | Set SYMBOL_ACLASS_INDEX. | |
2462 | (dwarf2_symbol_mark_computed): Likewise. Add 'is_block' argument. | |
2463 | (_initialize_dwarf2_read): Initialize new globals. | |
2464 | * jit.c (finalize_symtab): Set SYMBOL_ACLASS_INDEX. | |
2465 | * jv-lang.c (add_class_symbol): Set SYMBOL_ACLASS_INDEX. | |
2466 | * mdebugread.c (mdebug_register_index, mdebug_regparm_index): New | |
2467 | globals. | |
2468 | (parse_symbol, psymtab_to_symtab_1): Set SYMBOL_ACLASS_INDEX. | |
2469 | (_initialize_mdebugread): Initialize new globals. | |
2470 | * psympriv.h (struct partial_symbol) <aclass>: Update comment. | |
2471 | * stabsread.c (patch_block_stabs): Set SYMBOL_ACLASS_INDEX. | |
2472 | (stab_register_index, stab_regparm_index): New globals. | |
2473 | (define_symbol, read_enum_type, common_block_end): Set | |
2474 | SYMBOL_ACLASS_INDEX. | |
2475 | (_initialize_stabsread): Initialize new globals. | |
2476 | * symtab.c (next_aclass_value, symbol_impl, symbol_impls): New | |
2477 | globals. | |
2478 | (MAX_SYMBOL_IMPLS): New define. | |
2479 | (register_symbol_computed_impl, register_symbol_block_impl) | |
2480 | (register_symbol_register_impl) | |
2481 | (initialize_ordinary_address_classes): New functions. | |
2482 | (_initialize_symtab): Call initialize_ordinary_address_classes. | |
2483 | * symtab.h (enum address_class) <LOC_FINAL_VALUE>: New constant. | |
2484 | (struct symbol_impl): New. | |
2485 | (SYMBOL_ACLASS_BITS): New define. | |
2486 | (struct symbol) <aclass, ops>: Remove fields. | |
2487 | <aclass_index>: New field. | |
2488 | (symbol_impls): Declare. | |
2489 | (SYMBOL_CLASS, SYMBOL_COMPUTED_OPS, SYMBOL_REGISTER_OPS): Redefine. | |
2490 | (SYMBOL_IMPL, SYMBOL_ACLASS_INDEX): New defines. | |
2491 | (register_symbol_computed_impl, register_symbol_block_impl) | |
2492 | (register_symbol_register_impl): Declare. | |
2493 | (struct symbol_computed_ops): Add location_has_loclist. | |
2494 | (struct symbol_block_ops): New. | |
2495 | (SYMBOL_BLOCK_OPS): New. | |
2496 | * xcoffread.c (process_xcoff_symbol): Set SYMBOL_ACLASS_INDEX. | |
2497 | ||
dbccfd4c TT |
2498 | 2013-03-20 Tom Tromey <[email protected]> |
2499 | ||
2500 | * psymtab.c (find_pc_sect_psymbol, fixup_psymbol_section) | |
2501 | (print_partial_symbols, recursively_search_psymtabs): Use | |
2502 | PSYMBOL_CLASS. | |
2503 | ||
e3f1ad4f PM |
2504 | 2013-03-20 Pierre Muller <[email protected]> |
2505 | ||
2506 | * contrib/ari/gdb_ari.sh (OP eol rule): Also check | |
2507 | addtion, subtraction, multiplication and division binary operator. | |
2508 | ||
460014f5 JK |
2509 | 2013-03-20 Jan Kratochvil <[email protected]> |
2510 | ||
2511 | Code cleanup. | |
2512 | * bfd-target.c (target_bfd_xclose): Remove parameter quitting. | |
2513 | * bsd-kvm.c (bsd_kvm_close): Likewise. | |
2514 | * bsd-uthread.c (bsd_uthread_close): Likewise. | |
2515 | * corelow.c (core_close): Likewise. | |
2516 | (core_close_cleanup): Remove parameter quitting from a caller. | |
2517 | * event-top.c (async_disconnect): Likewise. | |
2518 | * exec.c (exec_close_1): Remove parameter quitting. | |
2519 | * go32-nat.c (go32_close): Likewise. | |
2520 | * linux-nat.c (linux_nat_close): Remove parameter quitting. Remove | |
2521 | parameter quitting from a caller. | |
2522 | * mips-linux-nat.c (super_close): Remove parameter quitting from the | |
2523 | variable. | |
2524 | (mips_linux_close): Remove parameter quitting. Remove parameter | |
2525 | quitting from a caller. | |
2526 | * monitor.c (monitor_close): Remove parameter quitting. | |
2527 | * monitor.h (monitor_close): Likewise. | |
2528 | * record-btrace.c (record_btrace_close): Likewise. | |
2529 | * record-full.c (record_full_close): Likewise. | |
2530 | * remote-m32r-sdi.c (m32r_close): Remove parameter quitting and remove | |
2531 | it also from fprintf_unfiltered. | |
2532 | * remote-mips.c (mips_close): Remove parameter quitting. | |
2533 | (mips_detach): Remove parameter quitting from a caller. | |
2534 | * remote-sim.c (gdbsim_close): Remove parameter quitting. | |
2535 | (gdbsim_close): Remove duplicate function comment. Remove parameter | |
2536 | quitting and remove it also from printf_filtered. | |
2537 | * remote.c (remote_close): Remove parameter quitting. | |
2538 | * solib-svr4.c (enable_break): Remove parameter quitting from a caller. | |
2539 | * target.c (update_current_target): Remove parameter int from to_close | |
2540 | de_fault. | |
2541 | (push_target, unpush_target, pop_target): Remove parameter quitting from | |
2542 | a caller. | |
2543 | (pop_all_targets_above, pop_all_targets): Remove parameter quitting. | |
2544 | Remove parameter quitting from a caller. | |
2545 | (target_preopen): Remove parameter quitting from a caller. | |
2546 | (target_close): Remove parameter quitting. Remove parameter quitting | |
2547 | from a caller two times. Remove parameter quitting also from | |
2548 | fprintf_unfiltered. | |
2549 | * target.h (struct target_ops): Remove parameter quitting and as int | |
2550 | from fields to_xclose and to_close. | |
2551 | (extern struct target_ops current_target): | |
2552 | (target_close, pop_all_targets): Remove parameter quitting. Update the | |
2553 | comment. | |
2554 | (pop_all_targets_above): Remove parameter quitting. | |
2555 | * top.c (quit_target): Remove parameter quitting from a caller. | |
2556 | * tracepoint.c (tfile_close): Remove parameter quitting. | |
2557 | * windows-nat.c (windows_close): Remove parameter quitting. | |
2558 | ||
35a7120b CV |
2559 | 2013-03-20 Corinna Vinschen <[email protected]> |
2560 | ||
2561 | * windows-nat.c (handle_output_debug_string): Replace call | |
2562 | to string_to_core_addr with call to strtoull. | |
2563 | ||
8249a5a9 YQ |
2564 | 2013-03-20 Yao Qi <[email protected]> |
2565 | ||
2566 | * ctf.c (ctf_save_metadata_header): Define macro HOST_ENDIANNESS | |
2567 | and write it to CTF metadata. | |
2568 | ||
2c15ef43 CV |
2569 | 2013-03-19 Corinna Vinschen <[email protected]> |
2570 | ||
2571 | * windows-nat.c (handle_output_debug_string): Change type of n to | |
2572 | SIZE_T to avoid crash on 64 bit systems. | |
2573 | ||
1cdd3232 EZ |
2574 | 2013-03-17 Eli Zaretskii <[email protected]> |
2575 | ||
2576 | * python/python-internal.h (HAVE_SNPRINTF) | |
2577 | [_WIN32 && HAVE_DECL_SNPRINTF]: Define, to avoid compiler warnings | |
2578 | about redefinition of snprintf by pyerrors.h. | |
2579 | ||
3cb2ab1a SE |
2580 | 2013-03-15 Steve Ellcey <[email protected]> |
2581 | ||
2582 | * remote-sim.c (sim_command_completer): Make char arguments const. | |
2583 | ||
9ce98649 TT |
2584 | 2013-03-15 Tom Tromey <[email protected]> |
2585 | ||
2586 | PR c++/15116: | |
2587 | * gdbtypes.c (types_equal): Handle TYPE_CODE_FUNC. | |
2588 | ||
dccee2de TT |
2589 | 2013-03-14 Tom Tromey <[email protected]> |
2590 | ||
2591 | * gdb_bfd.c (struct gdb_bfd_data) <crc_computed, crc>: | |
2592 | New fields. | |
2593 | (get_file_crc): Move from symfile.c. | |
2594 | (gdb_bfd_crc): New function. | |
2595 | * gdb_bfd.h (gdb_bfd_crc): Declare. | |
2596 | * objfiles.h (struct objfile) <crc32, crc32_p>: Remove. | |
2597 | * symfile.c (get_file_crc): Move to gdb_bfd.c. | |
2598 | (separate_debug_file_exists): Use gdb_bfd_crc. | |
2599 | ||
cc0ea93c TT |
2600 | 2013-03-14 Tom Tromey <[email protected]> |
2601 | ||
2602 | * symfile.c (get_debug_link_info): Remove. | |
2603 | (find_separate_debug_file_by_debuglink): Use | |
2604 | bfd_get_debug_link_info. | |
2605 | ||
08c23b0d TT |
2606 | 2013-03-14 Tom Tromey <[email protected]> |
2607 | ||
2608 | * symtab.c (error_in_psymtab_expansion): New function. | |
2609 | (lookup_symbol_aux_quick) | |
2610 | (basic_lookup_transparent_type_quick): Remove "last resort" | |
2611 | code. Use error_in_psymtab_expansion. | |
2612 | ||
288e77a7 JK |
2613 | 2013-03-14 Doug Evans <[email protected]> |
2614 | Jan Kratochvil <[email protected]> | |
2615 | ||
2616 | * dwarf2read.c (dw2_map_symtabs_matching_filename): Put continue after | |
2617 | any successful compare_filenames_for_search or FILENAME_CMP. | |
2618 | * psymtab.c (partial_map_symtabs_matching_filename): Likewise. | |
2619 | * symtab.c (iterate_over_some_symtabs): Likewise. | |
2620 | ||
8f1b8b82 JK |
2621 | 2013-03-14 Jan Kratochvil <[email protected]> |
2622 | ||
2623 | * source.c (print_source_lines_base): Make a local copy of | |
2624 | symtab_to_fullname. | |
2625 | ||
23eb71e4 JK |
2626 | 2013-03-14 Hui Zhu <[email protected]> |
2627 | Jan Kratochvil <[email protected]> | |
2628 | ||
2629 | * source.c (print_source_lines_base): Suppress "file" for TUI. | |
2630 | ||
bb869963 SDJ |
2631 | 2013-03-14 Keith Seitz <[email protected]> |
2632 | Alan Matsuoka <[email protected]> | |
2633 | ||
2634 | PR c++/15203 | |
2635 | PR c++/15210 | |
2636 | * cp-namespace.c (cp_lookup_nested_symbol): Handle TYPE_CODE_FUNC and | |
2637 | TYPE_CODE_METHOD. | |
2638 | * elfread.c (elf_symtab_read): Handle BSF_GNU_UNIQUE for certain | |
2639 | symbols. | |
2640 | ||
d6682f9e YQ |
2641 | 2013-03-14 Yao Qi <[email protected]> |
2642 | ||
2643 | * tracepoint.c (tfile_write_status): Write 'stop_desc' of trace | |
2644 | status to tfile if trace is stopped by command 'tstop'. | |
2645 | ||
a22fa6e4 YQ |
2646 | 2013-03-14 Yao Qi <[email protected]> |
2647 | ||
2648 | * tracepoint.c (tfile_write_status): Write trace notes and user | |
2649 | name into tfile if they are not NULL. | |
2650 | ||
d0353e76 YQ |
2651 | 2013-03-14 Hui Zhu <[email protected]> |
2652 | Yao Qi <[email protected]> | |
2653 | ||
2654 | * Makefile.in (REMOTE_OBS): Add ctf.o. | |
2655 | (SFILES): Add ctf.c. | |
2656 | (HFILES_NO_SRCDIR): Add ctf.h. | |
2657 | * ctf.c, ctf.h: New files. | |
2658 | * tracepoint.c: Include 'ctf.h'. | |
2659 | (collect_pseudocommand): Remove static. | |
2660 | (trace_save_command): Parse option "-ctf". | |
2661 | Produce different trace file writers per option. | |
2662 | Adjust output message. | |
2663 | (trace_save_tfile, trace_save_ctf): New. | |
2664 | * tracepoint.h (trace_save_tfile, trace_save_ctf): Declare. | |
2665 | * mi/mi-main.c: Include 'ctf.h'. | |
2666 | (mi_cmd_trace_save): Handle option '-ctf'. Call either | |
2667 | trace_save_tfile or trace_save_ctf. | |
2668 | * NEWS: Mention these changes. | |
2669 | ||
3f43bc09 YQ |
2670 | 2013-03-14 Yao Qi <[email protected]> |
2671 | ||
2672 | * tracepoint.c (trace_file_writer_xfree): New. | |
2673 | (struct tfile_writer_data): New. | |
2674 | (tfile_dtor, tfile_can_target_save, tfile_start): New. | |
2675 | (tfile_write_header, tfile_write_regblock_type): New. | |
2676 | (tfile_write_status, tfile_write_uploaded_tsv): New. | |
2677 | (tfile_write_uploaded_tp, tfile_write_definition_end): New. | |
2678 | (tfile_write_raw_data, (tfile_end): New. | |
2679 | (tfile_write_ops): New global variable. | |
2680 | (TRACE_WRITE_R_BLOCK): New macro. | |
2681 | (TRACE_WRITE_M_BLOCK_HEADER): New macro. | |
2682 | (TRACE_WRITE_M_BLOCK_MEMORY): New macro. | |
2683 | (TRACE_WRITE_V_BLOCK): New macro. | |
2684 | (trace_save): Add extra one parameter WRITER. Make it static. | |
2685 | Use WRITER to writer trace. | |
2686 | (tfile_trace_file_writer_new): New. | |
2687 | (trace_save_command): Caller update. | |
2688 | (trace_save_tfile): Write trace data in TFILE format. | |
2689 | * tracepoint.h (struct trace_frame_write_ops): New. | |
2690 | (struct trace_file_write_ops): New. | |
2691 | (struct trace_file_writer): New. | |
2692 | (trace_save): Remove its declaration. | |
2693 | (trace_save_tfile): Declare it. | |
2694 | * mi/mi-main.c (mi_cmd_trace_save): Call trace_save_tfile | |
2695 | instead of trace_save. | |
2696 | ||
58665b40 PA |
2697 | 2013-03-13 Pedro Alves <[email protected]> |
2698 | ||
2699 | * hppa-hpux-nat.c (hppa_hpux_save_state_offset): Make static. | |
2700 | ||
10217050 PA |
2701 | 2013-03-13 Pedro Alves <[email protected]> |
2702 | ||
2703 | * dbxread.c (read_ofile_symtab, process_one_symbol): Remove | |
2704 | commented out code. | |
2705 | * demangle.c (current_demangling_style_string): Make it const. | |
2706 | (set_demangling_command): Assert the demangling style is known. | |
2707 | Remove all handling of unknown styles. Set | |
2708 | 'current_demangling_style_string' to an element of the | |
2709 | demangling_style_names array. | |
2710 | (set_demangling_style): Delete. | |
2711 | (_initialize_demangler): Set current_demangling_style_string to the | |
2712 | element of the demangling_style_names array that corresponds to | |
2713 | the default demangling style. Remove FIXME note. Don't call | |
2714 | set_demangling_style. | |
2715 | * gdb-demangle.h (set_demangling_style): Remove declaration. | |
2716 | ||
6f937416 PA |
2717 | 2013-03-13 Pedro Alves <[email protected]> |
2718 | ||
2719 | * ada-lang.c (struct add_partial_datum) <text, text0, word>: Make | |
2720 | fields const. | |
2721 | (ada_make_symbol_completion_list): Make "text0" parameter const. | |
2722 | * ax-gdb.c (agent_eval_command_one): Make "exp" parameter const. | |
2723 | * breakpoint.c (condition_completer): Make "text" and "word" | |
2724 | parameters const. Adjust. | |
2725 | (check_tracepoint_command): Adjust to validate_actionline | |
2726 | prototype change. | |
2727 | (catch_syscall_completer): Make "text" and "word" parameters | |
2728 | const. | |
2729 | * cli/cli-cmds.c (show_user): Make "comname" local const. | |
2730 | (valid_command_p): Make "command" parameter const. | |
2731 | (alias_command): Make "alias_prefix" and "command_prefix" locals | |
2732 | const. | |
2733 | * cli/cli-decode.c (add_cmd): Make "name" parameter const. | |
2734 | (add_alias_cmd): Make "name" and "oldname" parameters const. | |
2735 | Adjust. No longer make copy of OLDNAME. | |
2736 | (add_prefix_cmd, add_abbrev_prefix_cmd, add_set_or_show_cmd) | |
2737 | (add_setshow_cmd_full, add_setshow_enum_cmd) | |
2738 | (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd) | |
2739 | (add_setshow_filename_cmd, add_setshow_string_cmd) | |
2740 | (add_setshow_string_noescape_cmd) | |
2741 | (add_setshow_optional_filename_cmd, add_setshow_integer_cmd) | |
2742 | (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd) | |
2743 | (add_setshow_zuinteger_unlimited_cmd, add_setshow_zuinteger_cmd) | |
2744 | (delete_cmd, add_info, add_info_alias, add_com, add_com_alias): | |
2745 | Make "name" parameter const. | |
2746 | (help_cmd): Rename "command" parameter to "arg". New const local | |
2747 | "command". | |
2748 | (find_cmd): Make "command" parameter const. | |
2749 | (lookup_cmd_1): Make "text" parameter pointer to const. Adjust to | |
2750 | deprecated_cmd_warning prototype change. | |
2751 | (undef_cmd_error): Make "cmdtype" parameter const. | |
2752 | (lookup_cmd): Make "line" parameter const. | |
2753 | (deprecated_cmd_warning): Change type of "text" parameter to | |
2754 | pointer to const char, from pointer to pointer to char. Adjust. | |
2755 | (lookup_cmd_composition): Make "text" parameter const. | |
2756 | (complete_on_cmdlist, complete_on_enum): Make "text" and "word" | |
2757 | parameters const. | |
2758 | * cli/cli-decode.h (struct cmd_list_element) <name>: Make field | |
2759 | const. | |
2760 | * cli/cli-script.c (validate_comname): Make "tem" local const. | |
2761 | (define_command): New const local "tem_c". Use it in calls to | |
2762 | lookup_cmd. | |
2763 | (document_command): Make "tem" and "comfull" locals const. | |
2764 | (show_user_1): Make "prefix" and "name" parameters const. | |
2765 | * cli-script.h (show_user_1): Make "prefix" and "name" parameters | |
2766 | const. | |
2767 | * command.h (add_cmd, add_alias_cmd, add_prefix_cmd) | |
2768 | (add_abbrev_prefix_cmd, completer_ftype, lookup_cmd, lookup_cmd_1) | |
2769 | (deprecated_cmd_warning, lookup_cmd_composition, add_com) | |
2770 | (add_com_alias, add_info, add_info_alias, complete_on_cmdlist) | |
2771 | (complete_on_enum, add_setshow_enum_cmd) | |
2772 | (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd) | |
2773 | (add_setshow_filename_cmd, add_setshow_string_cmd) | |
2774 | (add_setshow_string_noescape_cmd) | |
2775 | (add_setshow_optional_filename_cmd, add_setshow_integer_cmd) | |
2776 | (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd) | |
2777 | (add_setshow_zuinteger_cmd, add_setshow_zuinteger_unlimited_cmd): | |
2778 | Change prototypes, constifying strings. | |
2779 | * completer.c (noop_completer, filename_completer): Make "text" | |
2780 | and "prefix" parameters const. | |
2781 | (location_completer, expression_completer) | |
2782 | (complete_line_internal): Make "text" and "prefix" parameters | |
2783 | const and adjust. | |
2784 | (command_completer, signal_completer): Make "text" and "prefix" | |
2785 | parameters const. | |
2786 | * completer.h (noop_completer, filename_completer) | |
2787 | (expression_completer, location_completer, command_completer) | |
2788 | (signal_completer): Change prototypes. | |
2789 | * corefile.c (complete_set_gnutarget): Make "text" and "word" | |
2790 | parameters const. | |
2791 | * cp-abi.c (cp_abi_completer): Likewise. | |
2792 | * expression.h (parse_expression_for_completion): Change | |
2793 | prototype. | |
2794 | * f-lang.c (f_make_symbol_completion_list): Make "text" and "word" | |
2795 | parameters const. | |
2796 | * infcmd.c (_initialize_infcmd): Make "cmd_name" local const. | |
2797 | * infrun.c (handle_completer): Make "text" and "word" parameters | |
2798 | const. | |
2799 | * interps.c (interpreter_completer): Make "text" and "word" | |
2800 | parameters const. | |
2801 | * language.h (struct language_defn) | |
2802 | <la_make_symbol_completion_list>: Make "text" and "word" | |
2803 | parameters const. | |
2804 | * parse.c (parse_exp_1): Move const hack to parse_exp_in_context. | |
2805 | (parse_exp_in_context): Rename to ... | |
2806 | (parse_exp_in_context_1): ... this. | |
2807 | (parse_exp_in_context): Reimplement, with const hack from | |
2808 | parse_exp_1. | |
2809 | (parse_expression_for_completion): Make "string" parameter const. | |
2810 | * printcmd.c (decode_format): Make "string_ptr" parameter pointer | |
2811 | to pointer to const char. Adjust. | |
2812 | (print_command_1): Make "exp" parameter const. | |
2813 | (output_command): Rename to ... | |
2814 | (output_command_const): ... this. Make "exp" parameter const. | |
2815 | (output_command): Reimplement. | |
2816 | (x_command): Adjust. | |
2817 | (display_command): Rename "exp" parameter to "arg". New "exp" | |
2818 | local, const version of "arg". | |
2819 | * python/py-auto-load.c (gdbpy_initialize_auto_load): Make | |
2820 | "cmd_name" local const. | |
2821 | * python/py-cmd.c (cmdpy_destroyer): Cast const away in xfree | |
2822 | call. | |
2823 | (cmdpy_completer): Make "text" and "word" parameters const. | |
2824 | (gdbpy_parse_command_name): Make "prefix_text2" local const. | |
2825 | * python/py-param.c (add_setshow_generic): Make "tmp_name" local | |
2826 | const. | |
2827 | * remote.c (_initialize_remote): Make "cmd_name" local const. | |
2828 | * symtab.c (language_search_unquoted_string): Make "text" and "p" | |
2829 | parameters const. Adjust. | |
2830 | (completion_list_add_fields): Make "sym_text", "text" and "word" | |
2831 | parameters const. | |
2832 | (struct add_name_data) <sym_text, text, word>: Make fields const. | |
2833 | (default_make_symbol_completion_list_break_on): Make "text" and | |
2834 | "word" parameters const. Adjust locals. | |
2835 | (default_make_symbol_completion_list) | |
2836 | (make_symbol_completion_list, make_symbol_completion_type) | |
2837 | (make_symbol_completion_list_fn): Make "text" and "word" | |
2838 | parameters const. | |
2839 | (make_file_symbol_completion_list): Make "text", "word" and | |
2840 | "srcfile" parameters const. Adjust locals. | |
2841 | (add_filename_to_list): Make "text" and "word" parameters const. | |
2842 | (struct add_partial_filename_data) <text, word>: Make fields | |
2843 | const. | |
2844 | (make_source_files_completion_list): Make "text" and "word" | |
2845 | parameters const. | |
2846 | * symtab.h (default_make_symbol_completion_list_break_on) | |
2847 | (default_make_symbol_completion_list, make_symbol_completion_list) | |
2848 | (make_symbol_completion_type enum type_code) | |
2849 | (make_symbol_completion_list_fn make_file_symbol_completion_list) | |
2850 | (make_source_files_completion_list): Change prototype. | |
2851 | * top.c (execute_command): Adjust to pass pointer to pointer to | |
2852 | const char to lookup_cmd, and to deprecated_cmd_warning prototype | |
2853 | change. | |
2854 | (set_verbose): Make "cmdname" local const. | |
2855 | * tracepoint.c (decode_agent_options): Make "exp" parameter const, | |
2856 | and adjust. | |
2857 | (validate_actionline): Make "line" parameter a pointer to const | |
2858 | char, and adjust. | |
2859 | (encode_actions_1): Make "action_exp" local const, and adjust. | |
2860 | (encode_actions): Adjust. | |
2861 | (replace_comma): Delete. | |
2862 | (trace_dump_actions): Make "action_exp" and "next_comma" locals | |
2863 | const, and adjust. Don't frob the action string while splitting | |
2864 | it at commas. Instead, make a copy of each split substring in | |
2865 | turn. | |
2866 | (trace_dump_command): Adjust to validate_actionline prototype | |
2867 | change. | |
2868 | * tracepoint.h (decode_agent_options, decode_agent_options) | |
2869 | (encode_actions, validate_actionline): Change prototypes. | |
2870 | * valprint.h (output_command): Delete declaration. | |
2871 | (output_command_const): Declare. | |
2872 | * value.c (function_destroyer): Cast const away in xfree call. | |
2873 | ||
a0bcdaa7 PA |
2874 | 2013-03-13 Pedro Alves <[email protected]> |
2875 | ||
2876 | * ada-lang.c (ada_decode_symbol): Cast away constness of GSYMBOL | |
2877 | rather than casting 'const char * const *' to 'const char **'. | |
2878 | * ada-lex.l (processInt): Make "trailer" local const. Remove | |
2879 | 'const char **' cast. | |
2880 | * arm-linux-tdep.c (arm_stap_parse_special_token): Add 'char *' | |
2881 | locals, and use those as strtol output pointer, instead than doing | |
2882 | invalid casts to from 'const char **' to 'char **'. | |
2883 | (_initialize_demangle): Remove cast. | |
2884 | * i386-tdep.c (i386_stap_parse_special_token): : Add 'char *' | |
2885 | locals, and use those as strtol output pointer, instead than doing | |
2886 | invalid casts to from 'const char **' to 'char **'. | |
2887 | * solib-dsbt.c (dsbt_get_initial_loadmaps): Remove 'gdb_byte**' | |
2888 | casts. | |
2889 | * stap-probe.c (stap_parse_register_operand) | |
2890 | (stap_parse_single_operand): Likewise. | |
2891 | ||
8ddb1965 YQ |
2892 | 2013-03-13 Yao Qi <[email protected]> |
2893 | ||
2894 | * tracepoint.c (tfile_get_trace_state_variable_value): Look for | |
2895 | the last matched 'V' blcok in trace frame. | |
2896 | ||
2d450646 JB |
2897 | 2013-03-12 Joel Brobecker <[email protected]> |
2898 | ||
2899 | * NEWS: Create a new section for the next release branch. | |
2900 | Rename the section of the current branch, now that it has | |
2901 | been cut. | |
2902 | ||
b4b79973 | 2903 | 2013-03-12 Joel Brobecker <[email protected]> |
2904 | ||
2905 | GDB 7.6 branch created (branch timestamp: 2013-03-12 22:15 UTC) | |
2906 | * version.in: Bump version to 7.6.50.20130312-cvs. | |
2907 | ||
ee047554 KS |
2908 | 2013-03-12 Keith Seitz <[email protected]> |
2909 | ||
2910 | * mi/mi-cmds.h (mi_execute_command): Make "cmd" const. | |
2911 | * mi/mi-interp.c (mi_interpreter_exec): Make "command" const. | |
2912 | Remove temporary copy of input string. | |
2913 | (mi_execute_command_wrapper): Make "cmd" const. | |
2914 | * mi/mi-main.c (mi_execute_command): Make "string_ptr" const. | |
2915 | * mi/mi-parse.c (mi_parse_argv): Make "args" const. | |
2916 | Use const strings. | |
2917 | (mi_parse): Make "cmd" const. | |
2918 | Use const strings. | |
2919 | * mi/mi-parse.h (mi_parse): Make "cmd" const. | |
2920 | ||
bbc13ae3 KS |
2921 | 2013-03-12 Keith Seitz <[email protected]> |
2922 | ||
2923 | * ada-lang.c (ada_read_renaming_var_value): Pass const | |
2924 | pointer to expression string to parse_exp_1. | |
2925 | (create_excep_cond_exprs): Likewise. | |
2926 | * ax-gdb.c (agent_eval_command_one): Likewise. | |
2927 | (maint_agent_printf_command): Likewise. | |
2928 | Constify much of the string handling/parsing. | |
2929 | * breakpoint.c (set_breakpoint_condition): Pass const | |
2930 | pointer to expression string to parse_exp_1. | |
2931 | (update_watchpoint): Likewise. | |
2932 | (parse_cmd_to_aexpr): Constify string handling. | |
2933 | Pass const pointer to parse_exp_1. | |
2934 | (init_breakpoint_sal): Pass const pointer to parse_exp_1. | |
2935 | (find_condition_and_thread): Likewise. | |
2936 | Make TOK const. | |
2937 | (watch_command_1): Make "arg" const. | |
2938 | Constify string handling. | |
2939 | Copy the expression string instead of changing the input | |
2940 | string. | |
2941 | (update_breakpoint_location): Pass const pointer to | |
2942 | parse_exp_1. | |
2943 | * eval.c (parse_and_eval_address): Make "exp" const. | |
2944 | (parse_to_comma_and_eval): Make "expp" const. | |
2945 | (parse_and_eval): Make "exp" const. | |
2946 | * expression.h (parse_expression): Make argument const. | |
2947 | (parse_exp_1): Make first argument const. | |
2948 | * findcmd.c (parse_find_args): Treat "args" as const. | |
2949 | * linespec.c (parse_linespec): Pass const pointer to | |
2950 | linespec_expression_to_pc. | |
2951 | (linespec_expression_to_pc): Make "exp_ptr" const. | |
2952 | * parse.c (parse_exp_1): Make "stringptr" const. | |
2953 | Make a copy of the expression to pass to parse_exp_in_context until | |
2954 | this whole interface can be constified. | |
2955 | (parse_expression): Make "string" const. | |
2956 | * printcmd.c (ui_printf): Treat "arg" as const. | |
2957 | Handle const strings. | |
2958 | * tracepoint.c (validate_actionline): Pass const pointer to | |
2959 | all calls to parse_exp_1. | |
2960 | (encode_actions_1): Likewise. | |
2961 | * value.h (parse_to_comma_and_eval): Make argument const. | |
2962 | (parse_and_eval_address): Likewise. | |
2963 | (parse_and_eval): Likewise. | |
2964 | * varobj.c (varobj_create): Pass const pointer to parse_exp_1. | |
2965 | (varobj_set_value): Likewise. | |
2966 | * cli/cli-cmds.c (disassemble_command): Treat "arg" as const and | |
2967 | constify string handling. | |
2968 | Pass const pointers to parse_and_eval_address and | |
2969 | parse_to_comman_and_eval. | |
2970 | * cli/cli-utils.c (skip_to_space): Rename to ... | |
2971 | (skip_to_space_const): ... this. Handle const strings. | |
2972 | * cli/cli-utils.h (skip_to_space): Turn into macro which invokes | |
2973 | skip_to_space_const. | |
2974 | (skip_to_space_const): Declare. | |
2975 | * common/format.c (parse_format_string): Make "arg" const. | |
2976 | Handle const strings. | |
2977 | * common/format.h (parse_format_string): Make "arg" const. | |
2978 | * gdbserver/ax.c (ax_printf): Make "format" const. | |
2979 | * python/python.c (gdbpy_parse_and_eval): Do not make a copy | |
2980 | of the expression string. | |
2981 | ||
f3cec7e6 HZ |
2982 | 2013-03-12 Hui Zhu <[email protected]> |
2983 | ||
2984 | * dwarf2loc.c (dwarf2_compile_expr_to_ax): Update error message. | |
2985 | ||
9df7235c HZ |
2986 | 2013-03-12 Yao Qi <[email protected]> |
2987 | Hui Zhu <[email protected]> | |
2988 | ||
2989 | * dwarf2loc.c (access_memory): Change nbits to nbytes in gdb_assert. | |
2990 | (dwarf2_compile_expr_to_ax): Call access_memory in DW_OP_deref and | |
2991 | DW_OP_deref_size. | |
2992 | ||
82d049ab PH |
2993 | 2013-03-12 Paul Hilfinger <[email protected]> |
2994 | ||
5f8e0b8f MF |
2995 | * ada-lex.l (rules): Only recognize 'thread' as a |
2996 | delimiter when followed by numerals, as for c-exp.y. | |
2997 | Use new rewind_to_char function to rewind the input for | |
2998 | expression-delimiting tokens. | |
2999 | (rewind_to_char): New function. | |
82d049ab | 3000 | |
8c1fb155 JK |
3001 | 2013-03-11 Pedro Alves <[email protected]> |
3002 | Jan Kratochvil <[email protected]> | |
3003 | ||
3004 | * configure: Regenerate. | |
3005 | * configure.ac (check dynamic export flag): Link python test with | |
3006 | $PYTHON_LIBS. | |
3007 | ||
cc81e1c6 DE |
3008 | 2013-03-11 Doug Evans <[email protected]> |
3009 | Keith Seitz <[email protected]> | |
3010 | ||
3011 | * linespec.c (find_linespec_symbols): Call find_function_symbols | |
3012 | first, and then call lookup_prefix_sym/find_method. | |
3013 | ||
39086a0e PA |
3014 | 2013-03-11 Pedro Alves <[email protected]> |
3015 | ||
3016 | * charset.c (convert_between_encodings): Don't cast between | |
3017 | different pointer to pointer types. Instead, make the 'inp' local | |
3018 | be of the type iconv expects. | |
3019 | (wchar_iterate): Don't cast between different pointer to pointer | |
3020 | types. Instead, use new pointer local of the type iconv expects. | |
3021 | * target.c (target_read_stralloc, target_fileio_read_stralloc): | |
3022 | Add new local of type char pointer, and use it to get a | |
3023 | char/string view of the byte buffer, instead of casting between | |
3024 | pointer to pointer types. | |
3025 | ||
90585175 HAQ |
3026 | 2013-03-11 Hafiz Abid Qadeer <[email protected]> |
3027 | ||
3028 | * remote.c (remote_set_trace_buffer_size): Move != operator | |
3029 | to the start of next line to fix an ARI warning. | |
3030 | ||
59ea5688 MM |
3031 | 2013-03-11 Markus Metzger <[email protected]> |
3032 | ||
3033 | * NEWS: Add record changes. | |
3034 | ||
946287b7 MM |
3035 | 2013-03-11 Markus Metzger <[email protected]> |
3036 | ||
3037 | * record-btrace.c (btrace_insn_history): Omit the pc prefix in | |
3038 | the instruction history disassembly. | |
3039 | * disasm.c (dump_insns): Omit the pc prefix, if requested. | |
3040 | * disasm.h (DISASSEMBLY_OMIT_PC): New. | |
3041 | ||
afedecd3 MM |
3042 | 2013-03-11 Markus Metzger <[email protected]> |
3043 | ||
3044 | * Makefile.in (SFILES): Add record-btrace.c | |
3045 | (COMMON_OBS): Add record-btrace.o | |
3046 | * record-btrace.c: New. | |
3047 | * objfiles.c: Include btrace.h. | |
3048 | (free_objfile): call btrace_free_objfile. | |
3049 | ||
15984c13 MM |
3050 | 2013-03-11 Markus Metzger <[email protected]> |
3051 | ||
3052 | * target.c (target_call_history, target_call_history_from, | |
3053 | target_call_history_range): New. | |
3054 | * target.h (target_ops) <to_call_history, to_call_history_from, | |
3055 | to_call_history_range>: New fields. | |
3056 | (target_call_history, target_call_history_from, | |
3057 | target_call_history_range): New declaration. | |
3058 | * record.c (get_call_history_modifiers, cmd_record_call_history, | |
3059 | record_call_history_size): New. | |
3060 | (_initialize_record): Add the "record function-call-history" command. | |
3061 | Add "set/show record function-call-history-size" commands. | |
3062 | * record.h (record_print_flag): New. | |
3063 | ||
67c86d06 MM |
3064 | 2013-03-11 Markus Metzger <[email protected]> |
3065 | ||
3066 | * target.h (target_ops) <to_insn_history, to_insn_history_from, | |
3067 | to_insn_history_range>: New fields. | |
3068 | (target_insn_history): New. | |
3069 | (target_insn_history_from): New. | |
3070 | (target_insn_history_range): New. | |
3071 | * target.c (target_insn_history): New. | |
3072 | (target_insn_history_from): New. | |
3073 | (target_insn_history_range): New. | |
3074 | * record.c: Include cli/cli-utils.h, disasm.h, ctype.h. | |
3075 | (record_insn_history_size): New. | |
3076 | (get_insn_number): New. | |
3077 | (get_context_size): New. | |
3078 | (no_chunk): New. | |
3079 | (get_insn_history_modifiers): New. | |
3080 | (cmd_record_insn_history): New. | |
3081 | (_initialize_record): Add "set/show record instruction-history-size" | |
3082 | command. Add "record instruction-history" command. | |
3083 | ||
7c1687a9 MM |
3084 | 2013-03-11 Markus Metzger <[email protected]> |
3085 | ||
3086 | * record.h (record_disconnect): New. | |
3087 | (record_detach): New. | |
3088 | (record_mourn_inferior): New. | |
3089 | (record_kill): New. | |
3090 | * record-full.c (record_disconnect, record_detach, | |
3091 | record_mourn_inferior, record_kill): Move to... | |
3092 | * record.c: ...here. | |
3093 | (DEBUG): New. | |
3094 | (record_stop): New. | |
3095 | (record_unpush): New. | |
3096 | (cmd_record_stop): Call record_stop. Replace unpush_target | |
3097 | call with record_unpush call. | |
3098 | (record_disconnect, record_detach): Assert that the target | |
3099 | is of record stratum. Call record_unpush, record_stop, and | |
3100 | DEBUG. | |
3101 | (record_mourn_inferior, record_kill): Assert that the target | |
3102 | is of record stratum. Call record_unpush and DEBUG. | |
3103 | ||
25ea693b MM |
3104 | 2013-03-11 Markus Metzger <[email protected]> |
3105 | ||
3106 | * record-full.h, record-full.c (record_memory_query): Rename | |
3107 | to ... | |
3108 | (record_full_memory_query): ...this. Update all users. | |
3109 | (record_arch_list_add_reg): Rename to ... | |
3110 | (record_full_arch_list_add_reg): ...this. Update all users. | |
3111 | (record_arch_list_add_mem): Rename to ... | |
3112 | (record_full_arch_list_add_mem): ...this. Update all users. | |
3113 | (record_arch_list_add_end): Rename to ... | |
3114 | (record_full_arch_list_add_end): ...this. Update all users. | |
3115 | (record_gdb_operation_disable_set): Rename to ... | |
3116 | (record_full_gdb_operation_disable_set): ...this. | |
3117 | Update all users. | |
3118 | ||
88d1aa9d MM |
3119 | 2013-03-11 Markus Metzger <[email protected]> |
3120 | ||
3121 | * record-full.c (DEFAULT_RECORD_INSN_MAX_NUM): Renamed to ... | |
3122 | (DEFAULT_RECORD_FULL_INSN_MAX_NUM): ... this. Updated all users. | |
3123 | (RECORD_IS_REPLAY): Renamed to ... | |
3124 | (RECORD_FULL_IS_REPLAY): ... this. Updated all users. | |
3125 | (RECORD_FILE_MAGIC): Renamed to ... | |
3126 | (RECORD_FULL_FILE_MAGIC): ... this. Updated all users. | |
3127 | (record_mem_entry): Renamed to ... | |
3128 | (record_full_mem_entry): ... this. Updated all users. | |
3129 | (record_reg_entry): Renamed to ... | |
3130 | (record_full_reg_entry): ... this. Updated all users. | |
3131 | (record_end_entry): Renamed to ... | |
3132 | (record_full_end_entry): ... this. Updated all users. | |
3133 | (record_type) <record_end, record_reg, record_mem>: Renamed | |
3134 | to ... | |
3135 | (record_full_type) <record_full_end, record_full_reg, | |
3136 | record_full_mem>: ... this. Updated all users. | |
3137 | (record_entry): Renamed to ... | |
3138 | (record_full_entry): ... this. Updated all users. | |
3139 | (record_core_buf_entry): Renamed to ... | |
3140 | (record_full_core_buf_entry): ... this. Updated all users. | |
3141 | (record_core_regbuf): Renamed to ... | |
3142 | (record_full_core_regbuf): ... this. Updated all users. | |
3143 | (record_core_start): Renamed to ... | |
3144 | (record_full_core_start): ... this. Updated all users. | |
3145 | (record_core_end): Renamed to ... | |
3146 | (record_full_core_end): ... this. Updated all users. | |
3147 | (record_core_buf_list): Renamed to ... | |
3148 | (record_full_core_buf_list): ... this. Updated all users. | |
3149 | (record_first): Renamed to ... | |
3150 | (record_full_first): ... this. Updated all users. | |
3151 | (record_list): Renamed to ... | |
3152 | (record_full_list): ... this. Updated all users. | |
3153 | (record_arch_list_head): Renamed to ... | |
3154 | (record_full_arch_list_head): ... this. Updated all users. | |
3155 | (record_arch_list_tail): Renamed to ... | |
3156 | (record_full_arch_list_tail): ... this. Updated all users. | |
3157 | (record_stop_at_limit): Renamed to ... | |
3158 | (record_full_stop_at_limit): ... this. Updated all users. | |
3159 | (record_insn_max_num): Renamed to ... | |
3160 | (record_full_insn_max_num): ... this. Updated all users. | |
3161 | (record_insn_num): Renamed to ... | |
3162 | (record_full_insn_num): ... this. Updated all users. | |
3163 | (record_insn_count): Renamed to ... | |
3164 | (record_full_insn_count): ... this. Updated all users. | |
3165 | (record_ops): Renamed to ... | |
3166 | (record_full_ops): ... this. Updated all users. | |
3167 | (record_core_ops): Renamed to ... | |
3168 | (record_full_core_ops): ... this. Updated all users. | |
3169 | (set_record_cmdlist): Renamed to ... | |
3170 | (set_record_full_cmdlist): ... this. Updated all users. | |
3171 | (show_record_cmdlist): Renamed to ... | |
3172 | (show_record_full_cmdlist): ... this. Updated all users. | |
3173 | (record_cmdlist): Renamed to ... | |
3174 | (record_full_cmdlist): ... this. Updated all users. | |
3175 | (record_beneath_to_resume_ops): Renamed to ... | |
3176 | (record_full_beneath_to_resume_ops): ... this. Updated all users. | |
3177 | (record_beneath_to_resume): Renamed to ... | |
3178 | (record_full_beneath_to_resume): ... this. Updated all users. | |
3179 | (record_beneath_to_wait_ops): Renamed to ... | |
3180 | (record_full_beneath_to_wait_ops): ... this. Updated all users. | |
3181 | (record_beneath_to_wait): Renamed to ... | |
3182 | (record_full_beneath_to_wait): ... this. Updated all users. | |
3183 | (record_beneath_to_store_registers_ops): Renamed to ... | |
3184 | (record_full_beneath_to_store_registers_ops): ... this. | |
3185 | Updated all users. | |
3186 | (record_beneath_to_store_registers): Renamed to ... | |
3187 | (record_full_beneath_to_store_registers): ... this. | |
3188 | Updated all users. | |
3189 | (record_beneath_to_xfer_partial_ops): Renamed to ... | |
3190 | (record_full_beneath_to_xfer_partial_ops): ... this. | |
3191 | Updated all users. | |
3192 | (record_beneath_to_xfer_partial): Renamed to ... | |
3193 | (record_full_beneath_to_xfer_partial): ... this. | |
3194 | Updated all users. | |
3195 | (record_beneath_to_insert_breakpoint): Renamed to ... | |
3196 | (record_full_beneath_to_insert_breakpoint): ... this. | |
3197 | Updated all users. | |
3198 | (record_beneath_to_stopped_by_watchpoint): Renamed to ... | |
3199 | (record_full_beneath_to_stopped_by_watchpoint): ... this. | |
3200 | Updated all users. | |
3201 | (record_beneath_to_stopped_data_address): Renamed to ... | |
3202 | (record_full_beneath_to_stopped_data_address): ... this. | |
3203 | Updated all users. | |
3204 | (record_beneath_to_async): Renamed to ... | |
3205 | (record_full_beneath_to_async): ... this. Updated all users. | |
3206 | (record_goto_insn): Renamed to ... | |
3207 | (record_full_goto_insn): ... this. Updated all users. | |
3208 | (record_save): Renamed to ... | |
3209 | (record_full_save): ... this. Updated all users. | |
3210 | (record_reg_alloc): Renamed to ... | |
3211 | (record_full_reg_alloc): ... this. Updated all users. | |
3212 | (record_reg_release): Renamed to ... | |
3213 | (record_full_reg_release): ... this. Updated all users. | |
3214 | (record_mem_alloc): Renamed to ... | |
3215 | (record_full_mem_alloc): ... this. Updated all users. | |
3216 | (record_mem_release): Renamed to ... | |
3217 | (record_full_mem_release): ... this. Updated all users. | |
3218 | (record_end_alloc): Renamed to ... | |
3219 | (record_full_end_alloc): ... this. Updated all users. | |
3220 | (record_end_release): Renamed to ... | |
3221 | (record_full_end_release): ... this. Updated all users. | |
3222 | (record_entry_release): Renamed to ... | |
3223 | (record_full_entry_release): ... this. Updated all users. | |
3224 | (record_list_release): Renamed to ... | |
3225 | (record_full_list_release): ... this. Updated all users. | |
3226 | (record_list_release_following): Renamed to ... | |
3227 | (record_full_list_release_following): ... this. | |
3228 | Updated all users. | |
3229 | (record_list_release_first): Renamed to ... | |
3230 | (record_full_list_release_first): ... this. Updated all users. | |
3231 | (record_arch_list_add): Renamed to ... | |
3232 | (record_full_arch_list_add): ... this. Updated all users. | |
3233 | (record_get_loc): Renamed to ... | |
3234 | (record_full_get_loc): ... this. Updated all users. | |
3235 | (record_check_insn_num): Renamed to ... | |
3236 | (record_full_check_insn_num): ... this. Updated all users. | |
3237 | (record_arch_list_cleanups): Renamed to ... | |
3238 | (record_full_arch_list_cleanups): ... this. Updated all users. | |
3239 | (record_message): Renamed to ... | |
3240 | (record_full_message): ... this. Updated all users. | |
3241 | (record_message_wrapper): Renamed to ... | |
3242 | (record_full_message_wrapper): ... this. Updated all users. | |
3243 | (record_message_wrapper_safe): Renamed to ... | |
3244 | (record_full_message_wrapper_safe): ... this. Updated all users. | |
3245 | (record_gdb_operation_disable): Renamed to ... | |
3246 | (record_full_gdb_operation_disable): ... this. Updated all users. | |
3247 | (record_hw_watchpoint): Renamed to ... | |
3248 | (record_full_hw_watchpoint): ... this. Updated all users. | |
3249 | (record_exec_insn): Renamed to ... | |
3250 | (record_full_exec_insn): ... this. Updated all users. | |
3251 | (record_restore): Renamed to ... | |
3252 | (record_full_restore): ... this. Updated all users. | |
3253 | (record_async_inferior_event_token): Renamed to ... | |
3254 | (record_full_async_inferior_event_token): ... this. | |
3255 | Updated all users. | |
3256 | (record_async_inferior_event_handler): Renamed to ... | |
3257 | (record_full_async_inferior_event_handler): ... this. | |
3258 | Updated all users. | |
3259 | (record_core_open_1): Renamed to ... | |
3260 | (record_full_core_open_1): ... this. Updated all users. | |
3261 | (record_open_1): Renamed to ... | |
3262 | (record_full_open_1): ... this. Updated all users. | |
3263 | (record_open): Renamed to ... | |
3264 | (record_full_open): ... this. Updated all users. | |
3265 | (record_close): Renamed to ... | |
3266 | (record_full_close): ... this. Updated all users. | |
3267 | (record_resume_step): Renamed to ... | |
3268 | (record_full_resume_step): ... this. Updated all users. | |
3269 | (record_resumed): Renamed to ... | |
3270 | (record_full_resumed): ... this. Updated all users. | |
3271 | (record_execution_dir): Renamed to ... | |
3272 | (record_full_execution_dir): ... this. Updated all users. | |
3273 | (record_resume): Renamed to ... | |
3274 | (record_full_resume): ... this. Updated all users. | |
3275 | (record_get_sig): Renamed to ... | |
3276 | (record_full_get_sig): ... this. Updated all users. | |
3277 | (record_sig_handler): Renamed to ... | |
3278 | (record_full_sig_handler): ... this. Updated all users. | |
3279 | (record_wait_cleanups): Renamed to ... | |
3280 | (record_full_wait_cleanups): ... this. Updated all users. | |
3281 | (record_wait_1): Renamed to ... | |
3282 | (record_full_wait_1): ... this. Updated all users. | |
3283 | (record_wait): Renamed to ... | |
3284 | (record_full_wait): ... this. Updated all users. | |
3285 | (record_stopped_by_watchpoint): Renamed to ... | |
3286 | (record_full_stopped_by_watchpoint): ... this. Updated all users. | |
3287 | (record_disconnect): Renamed to ... | |
3288 | (record_full_disconnect): ... this. Updated all users. | |
3289 | (record_detach): Renamed to ... | |
3290 | (record_full_detach): ... this. Updated all users. | |
3291 | (record_mourn_inferior): Renamed to ... | |
3292 | (record_full_mourn_inferior): ... this. Updated all users. | |
3293 | (record_kill): Renamed to ... | |
3294 | (record_full_kill): ... this. Updated all users. | |
3295 | (record_stopped_data_address): Renamed to ... | |
3296 | (record_full_stopped_data_address): ... this. Updated all users. | |
3297 | (record_registers_change): Renamed to ... | |
3298 | (record_full_registers_change): ... this. Updated all users. | |
3299 | (record_store_registers): Renamed to ... | |
3300 | (record_full_store_registers): ... this. Updated all users. | |
3301 | (record_xfer_partial): Renamed to ... | |
3302 | (record_full_xfer_partial): ... this. Updated all users. | |
3303 | (record_breakpoint): Renamed to ... | |
3304 | (record_full_breakpoint): ... this. Updated all users. | |
3305 | (record_breakpoint_p): Renamed to ... | |
3306 | (record_full_breakpoint_p): ... this. Updated all users. | |
3307 | (record_breakpoints): Renamed to ... | |
3308 | (record_full_breakpoints): ... this. Updated all users. | |
3309 | (record_sync_record_breakpoints): Renamed to ... | |
3310 | (record_full_sync_record_breakpoints): ... this. | |
3311 | Updated all users. | |
3312 | (record_init_record_breakpoints): Renamed to ... | |
3313 | (record_full_init_record_breakpoints): ... this. | |
3314 | Updated all users. | |
3315 | (record_insert_breakpoint): Renamed to ... | |
3316 | (record_full_insert_breakpoint): ... this. Updated all users. | |
3317 | (record_remove_breakpoint): Renamed to ... | |
3318 | (record_full_remove_breakpoint): ... this. Updated all users. | |
3319 | (record_can_execute_reverse): Renamed to ... | |
3320 | (record_full_can_execute_reverse): ... this. Updated all users. | |
3321 | (record_get_bookmark): Renamed to ... | |
3322 | (record_full_get_bookmark): ... this. Updated all users. | |
3323 | (record_goto_bookmark): Renamed to ... | |
3324 | (record_full_goto_bookmark): ... this. Updated all users. | |
3325 | (record_async): Renamed to ... | |
3326 | (record_full_async): ... this. Updated all users. | |
3327 | (record_can_async_p): Renamed to ... | |
3328 | (record_full_can_async_p): ... this. Updated all users. | |
3329 | (record_is_async_p): Renamed to ... | |
3330 | (record_full_is_async_p): ... this. Updated all users. | |
3331 | (record_execution_direction): Renamed to ... | |
3332 | (record_full_execution_direction): ... this. Updated all users. | |
3333 | (record_info): Renamed to ... | |
3334 | (record_full_info): ... this. Updated all users. | |
3335 | (record_delete): Renamed to ... | |
3336 | (record_full_delete): ... this. Updated all users. | |
3337 | (record_is_replaying): Renamed to ... | |
3338 | (record_full_is_replaying): ... this. Updated all users. | |
3339 | (record_goto_entry): Renamed to ... | |
3340 | (record_full_goto_entry): ... this. Updated all users. | |
3341 | (record_goto_begin): Renamed to ... | |
3342 | (record_full_goto_begin): ... this. Updated all users. | |
3343 | (record_goto_end): Renamed to ... | |
3344 | (record_full_goto_end): ... this. Updated all users. | |
3345 | (record_goto): Renamed to ... | |
3346 | (record_full_goto): ... this. Updated all users. | |
3347 | (init_record_ops): Renamed to ... | |
3348 | (init_record_full_ops): ... this. Updated all users. | |
3349 | (record_core_resume): Renamed to ... | |
3350 | (record_full_core_resume): ... this. Updated all users. | |
3351 | (record_core_kill): Renamed to ... | |
3352 | (record_full_core_kill): ... this. Updated all users. | |
3353 | (record_core_fetch_registers): Renamed to ... | |
3354 | (record_full_core_fetch_registers): ... this. Updated all users. | |
3355 | (record_core_prepare_to_store): Renamed to ... | |
3356 | (record_full_core_prepare_to_store): ... this. Updated all users. | |
3357 | (record_core_store_registers): Renamed to ... | |
3358 | (record_full_core_store_registers): ... this. Updated all users. | |
3359 | (record_core_xfer_partial): Renamed to ... | |
3360 | (record_full_core_xfer_partial): ... this. Updated all users. | |
3361 | (record_core_insert_breakpoint): Renamed to ... | |
3362 | (record_full_core_insert_breakpoint): ... this. Updated all users. | |
3363 | (record_core_remove_breakpoint): Renamed to ... | |
3364 | (record_full_core_remove_breakpoint): ... this. Updated all users. | |
3365 | (record_core_has_execution): Renamed to ... | |
3366 | (record_full_core_has_execution): ... this. Updated all users. | |
3367 | (init_record_core_ops): Renamed to ... | |
3368 | (init_record_full_core_ops): ... this. Updated all users. | |
3369 | (cmd_record_restore): Renamed to ... | |
3370 | (cmd_record_full_restore): ... this. Updated all users. | |
3371 | (record_save_cleanups): Renamed to ... | |
3372 | (record_full_save_cleanups): ... this. Updated all users. | |
3373 | (cmd_record_start): Renamed to ... | |
3374 | (cmd_record_full_start): ... this. Updated all users. | |
3375 | (set_record_insn_max_num): Renamed to ... | |
3376 | (set_record_full_insn_max_num): ... this. Updated all users. | |
3377 | (set_record_command): Renamed to ... | |
3378 | (set_record_full_command): ... this. Updated all users. | |
3379 | (show_record_command): Renamed to ... | |
3380 | (show_record_full_command): ... this. Updated all users. | |
3381 | (_initialize_record): Renamed to ... | |
3382 | (_initialize_record_full): ... this. Updated all users. | |
3383 | ||
d02ed0bb MM |
3384 | 2013-03-11 Markus Metzger <[email protected]> |
3385 | ||
3386 | * record.h: Split into this and ... | |
3387 | * record-full.h: ... this. | |
3388 | * record.c: Split into this and ... | |
3389 | * record-full.c: ... this. | |
3390 | * target.h (target_ops): Add new fields to_info_record, | |
3391 | to_save_record, to_delete_record, to_record_is_replaying, | |
3392 | to_goto_record_begin, to_goto_record_end, to_goto_record. | |
3393 | (target_info_record): New. | |
3394 | (target_save_record): New. | |
3395 | (target_supports_delete_record): New. | |
3396 | (target_delete_record): New. | |
3397 | (target_record_is_replaying): New. | |
3398 | (target_goto_record_begin): New. | |
3399 | (target_goto_record_end): New. | |
3400 | (target_goto_record): New. | |
3401 | * target.c (target_info_record): New. | |
3402 | (target_save_record): New. | |
3403 | (target_supports_delete_record): New. | |
3404 | (target_delete_record): New. | |
3405 | (target_record_is_replaying): New. | |
3406 | (target_goto_record_begin): New. | |
3407 | (target_goto_record_end): New. | |
3408 | (target_goto_record): New. | |
3409 | * record.h: Declare struct cmd_list_element. | |
3410 | (record_cmdlist): New declaration. | |
3411 | (set_record_cmdlist): New declaration. | |
3412 | (show_record_cmdlist): New declaration. | |
3413 | (info_record_cmdlist): New declaration. | |
3414 | (cmd_record_goto): New declaration. | |
3415 | * record.c: Remove unnecessary includes. | |
3416 | Include inferior.h. | |
3417 | (cmd_record_goto): Remove declaration. | |
3418 | (record_cmdlist): Now extern. Initialize. | |
3419 | (set_record_cmdlist): Now extern. Initialize. | |
3420 | (show_record_cmdlist): Now extern. Initialize. | |
3421 | (info_record_cmdlist): Now extern. Initialize. | |
3422 | (find_record_target): New. | |
3423 | (require_record_target): New. | |
3424 | (cmd_record_start): Update. | |
3425 | (cmd_record_delete): Remove target-specific code. | |
3426 | Call target_delete_record. | |
3427 | (cmd_record_stop): Unpush any record target. | |
3428 | (set_record_insn_max_num): Move to record-full.c | |
3429 | (set_record_command): Add comment. | |
3430 | (show_record_command): Add comment. | |
3431 | (info_record_command): Update comment. | |
3432 | Remove target-specific code. | |
3433 | Call the record target's to_info_record. | |
3434 | (cmd_record_start): New. | |
3435 | (cmd_record_goto): Now extern. | |
3436 | Remove target-specific code. | |
3437 | Call target_goto_begin, target_goto_end, or target_goto. | |
3438 | (_initialize_record): Move record target ops initialization to | |
3439 | record-full.c. | |
3440 | Change "record" command help text. | |
3441 | Move "record restore", "record set", and "record show" commands to | |
3442 | record-full.c. | |
3443 | * Makefile.in (SFILES): Add record-full.c. | |
3444 | (HFILES_NO_SRCDIR): Add record-full.h. | |
3445 | (COMMON_OBS): Add record-full.o. | |
3446 | * amd64-linux-tdep.c: Include record-full.h instead of record.h. | |
3447 | * arm-tdep.c: Include record-full.h. | |
3448 | * i386-linux-tdep.c: Include record-full.h instead of record.h. | |
3449 | * i386-tdep.c: Include record-full.h. | |
3450 | * infrun.c: Include record-full.h. | |
3451 | * linux-record.c: Include record-full.h. | |
3452 | * moxie-tdep.c: Include record-full.h. | |
3453 | * record-full.c: Include record-full.h. | |
3454 | Change module comment. | |
3455 | (set_record_full_cmdlist): New. | |
3456 | (show_record_full_cmdlist): New. | |
3457 | (record_full_cmdlist): New. | |
3458 | (record_goto_insn): New declaration. | |
3459 | (record_save): New declaration. | |
3460 | (record_check_insn_num): Change query string. | |
3461 | (record_info): New. | |
3462 | (record_delete): New. | |
3463 | (record_is_replaying): New. | |
3464 | (record_goto_entry): New. | |
3465 | (record_goto_begin): New. | |
3466 | (record_goto_end): New. | |
3467 | (record_goto): New. | |
3468 | (init_record_ops): Update. | |
3469 | (init_record_core_ops): Update. | |
3470 | (cmd_record_save): Rename to record_save. Remove target and arg checks. | |
3471 | (cmd_record_start): New. | |
3472 | (set_record_insn_max_num): Moved from record.c | |
3473 | (set_record_full_command): New. | |
3474 | (show_record_full_command): New. | |
3475 | (_initialize_record_full): New. | |
3476 | ||
b48d48eb MM |
3477 | 2013-03-11 Markus Metzger <[email protected]> |
3478 | ||
3479 | * target.h (add_deprecated_target_alias): New. | |
3480 | * target.c (add_deprecated_target_alias): New. | |
3481 | ||
a950d57c MM |
3482 | 2013-03-11 Markus Metzger <[email protected]> |
3483 | ||
3484 | * common/linux-btrace.c: Include sys/ptrace, sys/types, sys/wait.h, | |
3485 | and signal.h. | |
3486 | (linux_supports_btrace): Add kernel and | |
3487 | cpuid check. | |
3488 | (kernel_supports_btrace): New function. | |
3489 | (cpu_supports_btrace): New function. | |
3490 | (intel_supports_btrace): New function. | |
3491 | ||
9accd112 MM |
3492 | 2013-03-11 Markus Metzger <[email protected]> |
3493 | ||
3494 | * target.h (enum target_object): Add TARGET_OBJECT_BTRACE. | |
3495 | * remote.c: Include btrace.h. | |
3496 | (struct btrace_target_info): New struct. | |
3497 | (remote_supports_btrace): New function. | |
3498 | (send_Qbtrace): New function. | |
3499 | (remote_enable_btrace): New function. | |
3500 | (remote_disable_btrace): New function. | |
3501 | (remote_teardown_btrace): New function. | |
3502 | (remote_read_btrace): New function. | |
3503 | (init_remote_ops): Add btrace ops. | |
3504 | (enum <unnamed>): Add btrace packets. | |
3505 | (struct protocol_feature remote_protocol_features[]): Add btrace packets. | |
3506 | (_initialize_remote): Add packet configuration for branch tracing. | |
3507 | ||
c12a2917 MM |
3508 | 2013-03-11 Markus Metzger <[email protected]> |
3509 | ||
3510 | * features/btrace.dtd: New file. | |
3511 | * Makefile.in (XMLFILES): Add btrace.dtd. | |
3512 | * btrace.h (parse_xml_btrace): New declaration. | |
3513 | * btrace.c: Include xml-support.h. | |
3514 | (parse_xml_btrace): New function. | |
3515 | (parse_xml_btrace_block): New function. | |
3516 | (block_attributes): New struct. | |
3517 | (btrace_attributes): New struct. | |
3518 | (btrace_children): New struct. | |
3519 | (btrace_elements): New struct. | |
3520 | ||
3e3aea48 MM |
3521 | 2013-03-11 Markus Metzger <[email protected]> |
3522 | ||
3523 | * amd64-linux-nat.c: Include btrace.h and linux-btrace.h. | |
3524 | (amd64_linux_enable_btrace): New. | |
3525 | (amd64_linux_disable_btrace): New. | |
3526 | (amd64_linux_teardown_btrace): New. | |
3527 | (_initialize_amd64_linux_nat): Initialize btrace ops. | |
3528 | * i386-linux.nat.c: Include btrace.h and linux-btrace.h. | |
3529 | (i386_linux_enable_btrace): New. | |
3530 | (i386_linux_disable_btrace): New. | |
3531 | (i386_linux_teardown_btrace): New. | |
3532 | (_initialize_i386_linux_nat): Initialize btrace ops. | |
3533 | * config/i386/linux.mh: Add linux-btrace.o. | |
3534 | * config/i386/linux64.mh: Add linux-btrace.o. | |
3535 | ||
7c97f91e MM |
3536 | 2013-03-11 Markus Metzger <[email protected]> |
3537 | ||
3538 | * common/linux_btrace.h: New file. | |
3539 | * common/linux_btrace.c: New file. | |
3540 | * Makefile.in (SFILES): Add btrace.c. | |
3541 | (HFILES_NO_SRCDIR): Add common/linux-btrace.h. | |
3542 | (COMMON_OBS): Add btrace.o. | |
3543 | (linux-btrace.o): New rule. | |
3544 | ||
1999790b | 3545 | 2013-03-11 Markus Metzger <[email protected]> |
02d27625 MM |
3546 | |
3547 | * target.h: Include btrace.h. | |
3548 | (struct target_ops) <to_supports_btrace, to_enable_btrace, | |
3549 | to_disable_btrace, to_teardown_btrace, to_read_btrace>: New. | |
3550 | * target.c (target_supports_btrace): New function. | |
3551 | (target_enable_btrace): New function. | |
3552 | (target_disable_btrace): New function. | |
3553 | (target_teardown_btrace): New function. | |
3554 | (target_read_btrace): New function. | |
3555 | * btrace.h: New file. | |
3556 | * btrace.c: New file. | |
3557 | * Makefile.in: Add btrace.c. | |
3558 | * gdbthread.h: Include btrace.h. | |
3559 | (struct thread_info): Add btrace field. | |
3560 | * thread.c: Include btrace.h. | |
3561 | (clear_thread_inferior_resources): Call target_teardown_btrace. | |
3562 | * common/btrace-common.h: New file. | |
3563 | ||
61a31a67 JK |
3564 | 2013-03-10 Jan Kratochvil <[email protected]> |
3565 | ||
3566 | * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx): Call also kill | |
3567 | for CHILD, ignore PTRACE_KILL errors, move the inner block variable | |
3568 | kill_status to outer block. | |
3569 | ||
05c56a9d JK |
3570 | 2013-03-10 Jan Kratochvil <[email protected]> |
3571 | ||
3572 | Fix entry-values if the callee called a noreturn function. | |
3573 | * dwarf2-frame-tailcall.c (dwarf2_tailcall_sniffer_first): Use | |
3574 | get_frame_address_in_block. Add new comment. | |
3575 | ||
9112db09 JK |
3576 | 2013-03-10 Jan Kratochvil <[email protected]> |
3577 | ||
3578 | Fix entry-values in C++ across CUs. | |
3579 | * dwarf2loc.c (call_site_to_target_addr) <FIELD_LOC_KIND_PHYSNAME>: Use | |
3580 | lookup_minimal_symbol. Add a comment. | |
3581 | * dwarf2read.c | |
3582 | (read_call_site_scope) <is_ref_attr> <die_is_declaration>: Prefer | |
3583 | DW_AT_linkage_name. | |
3584 | ||
9b67fcec YQ |
3585 | 2013-03-08 Yao Qi <[email protected]> |
3586 | ||
3587 | * tracepoint.c (_initialize_tracepoint): Indent the code. | |
3588 | ||
6221be90 PA |
3589 | 2013-03-08 Pedro Alves <[email protected]> |
3590 | ||
3591 | * findcmd.c (put_bits): Change type of parameter to 'gdb_byte *'. | |
3592 | (parse_find_args, find_command): Change type of pattern buffer | |
3593 | locals to 'gdb_byte *'. | |
3594 | ||
be9a119c | 3595 | 2013-03-08 Stan Shebs <[email protected]> |
f6f899bf HAQ |
3596 | Hafiz Abid Qadeer <[email protected]> |
3597 | ||
3598 | * NEWS: Mention set and show trace-buffer-size commands. | |
3599 | Mention new packet. | |
3600 | * target.h (struct target_ops): New method | |
3601 | to_set_trace_buffer_size. | |
3602 | (target_set_trace_buffer_size): New macro. | |
3603 | * target.c (update_current_target): Set up new method. | |
3604 | * tracepoint.c (trace_buffer_size): New global. | |
3605 | (start_tracing): Send it to the target. | |
3606 | (set_trace_buffer_size): New function. | |
3607 | (_initialize_tracepoint): Add new setshow for trace-buffer-size. | |
3608 | * remote.c (remote_set_trace_buffer_size): New function. | |
3609 | (_initialize_remote): Use it. | |
3610 | (QTBuffer:size) New remote command. | |
3611 | (PACKET_QTBuffer_size): New enum. | |
3612 | (remote_protocol_features): Add an entry for | |
3613 | PACKET_QTBuffer_size. | |
3614 | ||
7da3ab79 TT |
3615 | 2013-03-08 Tom Tromey <[email protected]> |
3616 | ||
3617 | * remote-m32r-sdi.c (m32r_load): Call skip_spaces on correct | |
3618 | variable. | |
3619 | ||
0c1f71e7 PA |
3620 | 2013-03-07 Pedro Alves <[email protected]> |
3621 | ||
3622 | * target.c (target_read_stralloc, target_fileio_read_alloc): | |
3623 | *Cast pointer to 'gdb_byte *' in target call. | |
3624 | ||
c8af03a2 PA |
3625 | 2013-03-07 Pedro Alves <[email protected]> |
3626 | ||
3627 | * corefile.c (read_memory_string): Cast pointer to gdb_byte* in | |
3628 | call. | |
3629 | ||
529480d0 KS |
3630 | 2013-03-07 Keith Seitz <[email protected]> |
3631 | ||
3632 | * breakpoint.c (catch_syscall_split_args): Use skip_spaces. | |
3633 | (trace_pass_command): Likewise. | |
3634 | * cli/cli-cmds.c: Include cli/cli-utils.h. | |
3635 | (source_command): Use skip-spaces. | |
3636 | (disassemble_command): Likewise. | |
3637 | * findcmd.c: Include cli/cli-utils.h. | |
3638 | (parse_find_args): Use skip_spaces. | |
3639 | * go32-nat.c: Include cli/cli-utils.h. | |
3640 | (go32_sldt): Use skip_spaces. | |
3641 | (go32_sgdt): Likewise. | |
3642 | (go32_sidt): Likewise. | |
3643 | (go32_pde): Likewise. | |
3644 | (go32_pte): Likewise. | |
3645 | (go32_pte_for_address): Likewise. | |
3646 | * infcmd.c: Include cli/cli-utils.h. | |
3647 | (registers_info): Use skip_spaces. | |
3648 | * linux-tdep.c (read_mapping): Use skip_spaces_const. | |
3649 | (linux_info_proc): Likewise. | |
3650 | * linux-thread-db.c: Include cli/cli-utils.h. | |
3651 | (info_auto_load_libthread_db): Use skip_spaces_const. | |
3652 | * m32r-rom.c: Include cli/cli-utils.h. | |
3653 | (m32r_upload_command): Use skip_spaces. | |
3654 | * maint.c: Include cli/cli-utils.h. | |
3655 | (maintenance_translate_address): Use skip_spaces. | |
3656 | * mi/mi-parse.c: Include cli/cli-utils.h. | |
3657 | (mi_parse_argv): Use skip_spaces. | |
3658 | (mi_parse): Likewise. | |
3659 | * minsyms.c: Include cli/cli-utils.h. | |
3660 | (msymbol_hash_iw): Use skip_spaces_const. | |
3661 | * objc-lang.c: Include cli/cli-utils.h. | |
3662 | (parse_selector): Use skip_spaces. | |
3663 | (parse_method): Likewise. | |
3664 | * python/python.c: Include cli/cli-utils.h. | |
3665 | (python_interactive_command)[HAVE_PYTHON]: Use skip_spaces. | |
3666 | (python_command)[HAVE_PYTHON]: Likewise. | |
3667 | (python_interactive_command)[!HAVE_PYTHON]: Likewise. | |
3668 | * remote-m32r-sdi.c: Include cli/cli-utils.h. | |
3669 | (m32r_load): Use skip_spaces. | |
3670 | * serial.c: Include cli/cli-utils.h. | |
3671 | (serial_open): Use skip_spaces_const. | |
3672 | * stack.c: Include cli/cli-utils.h. | |
3673 | (parse_frame_specification_1): Use skip_spaces_const. | |
3674 | * symfile.c: Include cli/cli-utils.h. | |
3675 | (set_ext_lang_command): Use skip_spaces. | |
3676 | * symtab.c: Include cli/cli-utils.h. | |
3677 | (rbreak_command): Use skip_spaces. | |
3678 | * thread.c (thread_name_command): Use skip_spaces. | |
3679 | * tracepoint.c (validate_actionline): Use skip_spaces. | |
3680 | (encode_actions_1): Likewise. | |
3681 | (trace_find_range_command): Likewise. | |
3682 | (trace_find_outside_command): Likewise. | |
3683 | (trace_dump_actions): Likewise. | |
3684 | ||
ac91cd70 PA |
3685 | 2013-03-07 Pedro Alves <[email protected]> |
3686 | ||
3687 | * c-lang.c (parse_one_string): Cast argument to gdb_byte *. | |
3688 | * expprint.c (print_subexp_standard): Likewise. | |
3689 | * utils.c (host_char_to_target): Likewise. | |
3690 | * valprint.c (generic_emit_char, generic_printstr): Likewise. | |
3691 | * varobj.c (value_get_print_value): Change type of local to char*. | |
3692 | Cast it gdb_byte * in call to language printer. | |
3693 | ||
2898e560 PA |
3694 | 2013-03-07 Pedro Alves <[email protected]> |
3695 | ||
3696 | * charset.c (struct wchar_iterator) <input>: Change type to 'const | |
3697 | gdb_byte *'. | |
3698 | (make_wchar_iterator): Remove cast to char*. | |
3699 | (wchar_iterate): Change type of local. | |
3700 | ||
a09b4448 PA |
3701 | 2013-03-07 Pedro Alves <[email protected]> |
3702 | ||
3703 | * regcache.c (regcache_xmalloc_1): Call XCALLOC with signed char | |
3704 | for 'regcache->register_status'. | |
3705 | ||
20ced3e4 PA |
3706 | 2013-03-07 Pedro Alves <[email protected]> |
3707 | ||
c2d6a675 | 3708 | * breakpoint.c (breakpoint_xfer_memory): Change type of local to |
20ced3e4 PA |
3709 | int. |
3710 | ||
fe106009 PA |
3711 | 2013-03-07 Pedro Alves <[email protected]> |
3712 | ||
3713 | * stap-probe.c (handle_stap_probe): Add cast to char*. | |
3714 | ||
8ac2c12b PA |
3715 | 2013-03-07 Pedro Alves <[email protected]> |
3716 | ||
3717 | * linux-record.c (record_linux_system_call) <gdb_sys_msgrcv, | |
3718 | RECORD_MSGRCV>: Pass a signed variable to | |
3719 | regcache_raw_read_signed, instead of an unsigned one. | |
3720 | ||
99f0a309 PA |
3721 | 2013-03-07 Pedro Alves <[email protected]> |
3722 | ||
3723 | * remote-notif.c (notif_debug): Change type to int. | |
3724 | * remote-notif.h (notif_debug): Likewise. | |
3725 | ||
964b8317 PA |
3726 | 2013-03-07 Pedro Alves <[email protected]> |
3727 | ||
3728 | * ser-tcp.c (tcp_retry_limit): Change type to unsigned int. | |
3729 | ||
f0cc8ad4 PA |
3730 | 2013-03-07 Pedro Alves <[email protected]> |
3731 | ||
3732 | * remote.c (hex2bin, bin2hex): Move extern declarations to ... | |
3733 | * remote.h (hex2bin, bin2hex): ... here. | |
3734 | * tracepoint.c (hex2bin, bin2hex): Remove extern declarations. | |
3735 | ||
77dec115 EZ |
3736 | 2013-03-07 Eli Zaretskii <[email protected]> |
3737 | ||
3738 | * utils.c (initialize_utils): Improve doc strings of "set/show | |
3739 | width", "set/show height", and "set/show pagination". | |
3740 | ||
741d92cf KS |
3741 | 2013-03-06 Keith Seitz <[email protected]> |
3742 | ||
3743 | * ax-gdb.c (gen_printf): Make FORMAT const. | |
3744 | * ax-gdb.h (gen_printf): Likewise. | |
3745 | * ax-general.c (ax_string): Make STR const. | |
3746 | * ax.h (ax_string): Likewise. | |
3747 | ||
7b6c814e DE |
3748 | 2013-03-06 Doug Evans <[email protected]> |
3749 | ||
3750 | * elfread.c (elf_symfile_read): Move debugging printf to more | |
3751 | logical location. | |
3752 | ||
634334ab PA |
3753 | 2013-03-06 Pedro Alves <[email protected]> |
3754 | ||
3755 | * python/py-utils.c (target_string_to_unicode): Delete function. | |
3756 | * python/python-internal.h (target_string_to_unicode): Delete | |
3757 | declaration. | |
3758 | ||
e482a1a7 PM |
3759 | 2013-03-06 Pierre Muller <[email protected]> |
3760 | ||
3761 | * linespec.c (get_current_search_block): ARI fix, use (void) | |
3762 | for empty parameter list. | |
3763 | ||
4eeaa230 DE |
3764 | 2013-03-05 Doug Evans <[email protected]> |
3765 | ||
3766 | * ada-lang.c (ada_lookup_symbol_list_worker): New function, contents | |
3767 | of old ada_lookup_symbol_list. In !full_search case, don't | |
3768 | search superblocks. | |
3769 | (ada_lookup_symbol_list): Delete arg full_search, all callers | |
3770 | updated. Call ada_lookup_symbol_list_worker. | |
3771 | (ada_iterate_over_symbols): Call ada_lookup_symbol_list_worker. | |
3772 | * ada-lang.h (ada_lookup_symbol_list): Update. | |
3773 | * language.h (language_defn): Update comment for | |
3774 | la_iterate_over_symbols. | |
3775 | * linespec.c (iterate_over_file_blocks): New function. | |
3776 | (iterate_over_all_matching_symtabs): Call it. | |
3777 | (lookup_prefix_sym): Ditto. | |
3778 | (get_current_search_block): New function. | |
3779 | (get_search_block): Delete. | |
3780 | (find_label_symbols): Call get_current_search_block. | |
3781 | (add_matching_symbols_to_info): Call iterate_over_file_blocks. | |
3782 | * symtab.c (iterate_over_symbols): Don't search superblocks. | |
3783 | ||
b69b1fb1 YQ |
3784 | 2013-03-05 Yao Qi <[email protected]> |
3785 | ||
3786 | * cli/cli-decode.c (add_setshow_zuinteger_unlimited_cmd): Change | |
3787 | parameter VAR's type from "unsigned int" to "int". | |
3788 | * command.h (var_zuinteger_unlimited): Update its comments. | |
3789 | (add_setshow_zuinteger_unlimited_cmd): Update the declaration. | |
3790 | ||
3c095f49 CV |
3791 | 2013-03-05 Corinna Vinschen <[email protected]> |
3792 | ||
3793 | * NEWS: Mention new target x86_64-*-cygwin*. | |
3794 | ||
b5b0b0af CV |
3795 | 2013-03-05 Corinna Vinschen <[email protected]> |
3796 | ||
3797 | * configure.host: Add x86_64-*-cygwin* as host. | |
3798 | * configure.tgt: Add x86_64-*-cygwin* as target. | |
3799 | * config/i386/cygwin64.mh: New file. | |
3800 | ||
f6f99966 JK |
3801 | 2013-03-04 Jan Kratochvil <[email protected]> |
3802 | ||
3803 | * linespec.c (decode_line_2): Fix duplicate request off by two message. | |
3804 | ||
33f448b1 JK |
3805 | 2013-03-04 Jan Kratochvil <[email protected]> |
3806 | ||
3807 | * linespec.c (struct linespec_canonical_name): New. | |
3808 | (struct linespec_state): Change canonical_names type to it. | |
3809 | (add_sal_to_sals): Change variable canonical_name to canonical. Change | |
3810 | xrealloc element size. Initialize the different CANONICAL fields. | |
3811 | (canonical_to_fullform): New. | |
3812 | (filter_results): Use it. Add variables canonical, fullform and | |
3813 | cleanup. | |
3814 | (struct decode_line_2_item, decode_line_2_compare_items): New. | |
3815 | (decode_line_2): Remove variables iter and item_names, add variables | |
3816 | items and items_count. Modify the code for these new variables. | |
3817 | ||
feb14725 CV |
3818 | 2013-03-04 Corinna Vinschen <[email protected]> |
3819 | ||
3820 | * coff-pe-read.c (read_pe_exported_syms): Don't return without | |
3821 | calling do_cleanup. | |
3822 | ||
e83b17ba HZ |
3823 | 2013-03-04 Luis Machado <[email protected]> |
3824 | ||
3825 | * tracepoint.c (build_traceframe_info): Add code for byte order. | |
3826 | ||
a2d13a0d KB |
3827 | 2013-03-02 Kevin Buettner <[email protected]> |
3828 | ||
8dddcae8 KB |
3829 | * v850-tdep.c: (v850e2_register_name): Revise system register |
3830 | names to match current V850E2M architecture specifications. | |
3831 | Update register number enum comments too. | |
a2d13a0d | 3832 | |
d79e58d8 JW |
3833 | 2013-03-01 Jiong Wang <[email protected]> |
3834 | Pedro Alves <[email protected]> | |
3835 | ||
3836 | * tilegx-tdep.c (tilegx_analyze_prologue): Limit bundle reading | |
3837 | to END_ADDR. | |
3838 | (tilegx_skip_prologue): Limit prologue analysis to section end. | |
3839 | ||
c4be5165 JK |
3840 | 2013-03-01 Jan Kratochvil <[email protected]> |
3841 | ||
3842 | * dwarf2loc.c (call_site_find_chain_1): New variable save_callee_pc, | |
3843 | use it. | |
3844 | ||
e362b510 PA |
3845 | 2013-03-01 Pedro Alves <[email protected]> |
3846 | ||
3847 | Use gdb_byte for bytes from the program being debugged. | |
3848 | ||
3849 | * arm-tdep.c (arm_store_return_value, arm_get_longjmp_target): | |
3850 | Change type of local 'buf' to gdb_byte. | |
3851 | * avr-tdep.c (avr_frame_prev_register, avr_push_dummy_call): Likewise. | |
3852 | * bfin-tdep.c (bfin_push_dummy_call): Likewise. | |
3853 | * cris-tdep.c (cris_sigcontext_addr) | |
3854 | (cris_sigtramp_frame_unwind_cache): Likewise. | |
3855 | * frv-linux-tdep.c (frv_linux_pc_in_sigtramp) | |
3856 | (frv_linux_sigcontext_reg_addr, frv_linux_sigtramp_frame_cache): | |
3857 | Likewise. | |
3858 | * frv-tdep.c (frv_pseudo_register_write, frv_analyze_prologue): Likewise. | |
3859 | * hppa-hpux-tdep.c (hppa32_hpux_find_global_pointer) | |
3860 | (hppa32_hpux_search_dummy_call_sequence) | |
3861 | (hppa_hpux_supply_save_state): Likewise. | |
3862 | * hppa-linux-tdep.c (insns_match_pattern) | |
3863 | (hppa_linux_find_global_pointer): Likewise. | |
3864 | * hppa-tdep.c (hppa_in_function_epilogue_p) | |
3865 | (skip_prologue_hard_way, hppa_frame_cache): Likewise. | |
3866 | * i386-nto-tdep.c (i386nto_sigcontext_addr): Likewise. | |
3867 | * i386fbsd-tdep.c (i386fbsd_supply_uthread) | |
3868 | (i386fbsd_collect_uthread): Likewise. | |
3869 | * ia64-hpux-tdep.c (ia64_hpux_push_dummy_code): Likewise. | |
3870 | * ia64-linux-tdep.c (ia64_linux_sigcontext_register_address): Likewise. | |
3871 | * ia64-tdep.c (examine_prologue, ia64_frame_cache) | |
3872 | (ia64_frame_prev_register, ia64_sigtramp_frame_cache) | |
3873 | (ia64_sigtramp_frame_prev_register, ia64_access_reg) | |
3874 | (ia64_access_rse_reg, ia64_libunwind_frame_this_id) | |
3875 | (ia64_libunwind_frame_prev_register) | |
3876 | (ia64_libunwind_sigtramp_frame_this_id) | |
3877 | (ia64_find_global_pointer_from_dynamic_section) | |
3878 | (find_extant_func_descr, find_func_descr, ia64_dummy_id) | |
3879 | (ia64_unwind_pc): Likewise. | |
3880 | * iq2000-tdep.c (iq2000_store_return_value): Likewise. | |
3881 | * m68hc11-tdep.c (m68hc11_push_dummy_call) | |
3882 | (m68hc11_extract_return_value): Likewise. | |
3883 | * m68klinux-nat.c (fetch_register, store_register): Likewise. | |
3884 | * mep-tdep.c (mep_pseudo_cr32_read, mep_pseudo_cr32_write) | |
3885 | (mep_get_insn, mep_push_dummy_call): Likewise. | |
3886 | * mips-linux-tdep.c (mips_linux_get_longjmp_target) | |
3887 | (mips_linux_in_dynsym_stub): Likewise. | |
3888 | * mn10300-tdep.c (mep_pseudo_cr32_write): Likewise. | |
3889 | * ppc-linux-nat.c (fetch_register, store_register): Likewise. | |
3890 | * regcache.c (dump_endian_bytes): Change type of parameter 'buf' | |
3891 | to gdb_byte. | |
3892 | * remote-mips.c (mips_set_register): Likewise. | |
3893 | * remote-sim.c (gdbsim_fetch_register): Likewise. | |
3894 | * score-tdep.c (score7_fetch_inst): Change type of parameter | |
3895 | 'memblock' and local 'buf' to gdb_byte. | |
3896 | (score7_malloc_and_get_memblock): Change return type to gdb_byte. | |
3897 | Change type of local 'buf' to gdb_byte. Adjust. | |
3898 | (score7_adjust_memblock_ptr): Change type of parameter 'memblock' | |
3899 | to gdb_byte**. | |
3900 | (score7_analyze_prologue): Change type of 'memblock' and | |
3901 | 'memblock_ptr' locals to gdb_byte*. | |
3902 | * sh64-tdep.c (sh64_extract_return_value) | |
3903 | (sh64_store_return_value): Change type of local 'buf' to gdb_byte. | |
3904 | * solib-darwin.c (darwin_current_sos, darwin_read_exec_load_addr): | |
3905 | * solib-pa64.c (pa64_solib_create_inferior_hook) | |
3906 | (pa64_open_symbol_file_object): Remove local 'buf'. | |
3907 | * solib-som.c (som_solib_create_inferior_hook, link_map_start) | |
3908 | (som_open_symbol_file_object): Likewise. | |
3909 | * solib-spu.c (spu_current_sos): Likewise. | |
3910 | * spu-linux-nat.c (spu_fetch_inferior_registers): Likewise. | |
3911 | * spu-multiarch.c (parse_spufs_run, spu_fetch_registers) | |
3912 | (spu_store_registers): Likewise. | |
3913 | * target.c (debug_print_register): Likewise. | |
3914 | * tic6x-tdep.c (tic6x_get_longjmp_target): Likewise. | |
3915 | * xstormy16-tdep.c (xstormy16_store_return_value) | |
3916 | (xstormy16_push_dummy_call, xstormy16_resolve_jmp_table_entry) | |
3917 | (xstormy16_find_jmp_table_entry): Likewise. | |
3918 | ||
75cc61ca | 3919 | 2013-03-01 Jiong Wang <[email protected]> |
61d8bd0e JW |
3920 | |
3921 | * tilegx-tdep.c (tilegx_get_longjmp_target): New function. | |
3922 | (tilegx_gdbarch_init): Install it. | |
3923 | ||
ddb08e9c TT |
3924 | 2013-02-28 Tom Tromey <[email protected]> |
3925 | ||
3926 | * python/py-arch.c (archpy_disassemble): Use PyInt_Check and | |
3927 | PyLong_Check. | |
3928 | ||
62d7fb51 DE |
3929 | 2013-02-28 Doug Evans <[email protected]> |
3930 | ||
3931 | * python/py-finishbreakpoint.c (bpfinishpy_init): gcc -Wall lint. | |
3932 | * python/python.c (gdbpy_find_pc_line): Ditto. | |
3933 | ||
c4a9e8b4 TT |
3934 | 2013-02-28 Tom Tromey <[email protected]> |
3935 | ||
3936 | * contrib/excheck.py: New file. | |
3937 | * contrib/exsummary.py: New file. | |
3938 | * contrib/gcc-with-excheck: New file. | |
3939 | ||
7f6a5dde TT |
3940 | 2013-02-28 Tom Tromey <[email protected]> |
3941 | ||
3942 | * python/python.c (gdbpy_print_stack): Call begin_line and | |
3943 | fprintf_filtered inside TRY_CATCH. | |
3944 | ||
9e974e55 TT |
3945 | 2013-02-28 Tom Tromey <[email protected]> |
3946 | ||
3947 | * python/python.c (gdbpy_find_pc_line): Call find_pc_line | |
3948 | inside TRY_CATCH. | |
3949 | ||
dd5fa3e7 TT |
3950 | 2013-02-28 Tom Tromey <[email protected]> |
3951 | ||
3952 | * py-finishbreakpoint.c (bpfinishpy_init): Reorganize to call | |
3953 | frame_object_to_frame_info inside TRY_CATCH. | |
3954 | ||
86a3263f TT |
3955 | 2013-02-28 Tom Tromey <[email protected]> |
3956 | ||
3957 | * py-block.c (gdbpy_block_for_pc): Call block_for_pc inside | |
3958 | TRY_CATCH. | |
3959 | ||
81b52a3a TT |
3960 | 2013-02-28 Tom Tromey <[email protected]> |
3961 | ||
3962 | * objfiles.h (ALL_PSPACE_OBJFILES): Remove trailing backlash. | |
3963 | ||
d50a0ce2 CV |
3964 | 2013-02-27 Corinna Vinschen <[email protected]> |
3965 | ||
3966 | * windows-nat.c: Throughout, fix format strings and casts of | |
3967 | printf-like functions to avoid type related warnings on all | |
3968 | platforms. | |
3969 | (handle_output_debug_string): Fetch context information address | |
3970 | from debug string using string_to_core_addr. | |
3971 | ||
e1f58301 JW |
3972 | 2013-02-27 Jiong Wang <[email protected]> |
3973 | ||
3974 | * regformats/reg-tilegx.dat (name): Change abi name to "tilegx". | |
3975 | * regformats/reg-tilegx32.dat: New. | |
3976 | ||
4fcd89fc JW |
3977 | 2013-02-27 Jiong Wang <[email protected]> |
3978 | ||
3979 | * configure.tgt (tilegx-*-linux*): Enable gdbserver. | |
3980 | ||
748d24e6 JW |
3981 | 2013-02-27 Jiong Wang <[email protected]> |
3982 | ||
3983 | * configure.tgt (tilegx-*-linux*): Replace whitespace with tab. | |
3984 | ||
6c8e944d YQ |
3985 | 2013-02-27 Yao Qi <[email protected]> |
3986 | Pedro Alves <[email protected]> | |
3987 | ||
3988 | * tracepoint.c (tfile_trace_find): For tfind | |
5f8e0b8f MF |
3989 | pc/tp/range/outside, look for the next trace frame instead of |
3990 | always starting from frame 0. | |
6c8e944d | 3991 | |
acd7db30 AG |
3992 | 2013-02-26 Anthony Green <[email protected]> |
3993 | ||
3994 | * configure.tgt: Add support for moxie-*-rtems* target. | |
3995 | ||
025e6dce PA |
3996 | 2013-02-25 Pedro Alves <[email protected]> |
3997 | ||
3998 | * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx): Change | |
3999 | warning text. | |
4000 | ||
ca9c94ef MR |
4001 | 2013-02-24 Maciej W. Rozycki <[email protected]> |
4002 | ||
4003 | * mips-tdep.c (mips32_scan_prologue): Reset frame_offset to zero | |
4004 | if $fp is used as the virtual frame pointer. | |
4005 | ||
24c274a1 AM |
4006 | 2013-02-23 Alan Modra <[email protected]> |
4007 | ||
4008 | * elfread.c (elf_symtab_read): Do not use udata.p here to find | |
4009 | symbol size. | |
4010 | * ppc64-tdep.c (ppc64_elf_make_msymbol_special): New function. | |
4011 | * ppc64-tdep.h (ppc64_elf_make_msymbol_special): Declare. | |
4012 | * ppc-linux-tdep.c (ppc_linux_init_abi): Set up to use the above. | |
4013 | * ppcfbsd-tdep.c (ppcfbsd_init_abi): Likewise. | |
4014 | ||
bfada189 JK |
4015 | 2013-02-22 Jan Kratochvil <[email protected]> |
4016 | ||
4017 | Code cleanup. | |
4018 | * elfread.c (build_id_bfd_get): Make the return type const. | |
4019 | (build_id_verify): Make the check parameter const. | |
4020 | (build_id_to_debug_filename): Make the build_id parameter and variable | |
4021 | data const. | |
4022 | (find_separate_debug_file_by_buildid): Make the variable build_id const. | |
4023 | ||
c0355132 AM |
4024 | 2013-02-21 Alan Modra <[email protected]> |
4025 | ||
4026 | * elfread.c (build_id_bfd_get): Adjust for elf_tdata changes. | |
4027 | ||
9f44fbc0 SCR |
4028 | 2013-02-20 Siva Chandra Reddy <[email protected]> |
4029 | ||
4030 | Add a new method 'disassemble' to gdb.Architecture class. | |
4031 | * python/py-arch.c (archpy_disassmble): Implementation of the | |
4032 | new method gdb.Architecture.disassemble. | |
4033 | (arch_object_methods): Add entry for the new method. | |
4034 | ||
b74ea3eb JW |
4035 | 2013-02-20 Jiong Wang <[email protected]> |
4036 | ||
4037 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
4038 | ||
61a672f1 PA |
4039 | 2013-02-19 Pedro Alves <[email protected]> |
4040 | ||
4041 | Garbage collect 'struct monitor_ops'::load_routine. | |
4042 | ||
4043 | * monitor.h (struct monitor_ops) <load_routine>: Remove field. | |
4044 | * monitor.c (monitor_load): No longer call | |
4045 | current_monitor->load_routine. | |
4046 | * dbug-rom.c (init_dbug_cmds): Don't set 'load_routine'. | |
4047 | * m32r-rom.c (init_m32r_cmds): Don't set 'load_routine'. | |
4048 | * ppcbug-rom.c (init_ppc_cmds): Don't set 'load_routine'. | |
4049 | ||
40e397df PA |
4050 | 2013-02-19 Pedro Alves <[email protected]> |
4051 | ||
4052 | PR gdb/15161 | |
4053 | ||
4054 | Harmonize with generic_load. | |
4055 | ||
4056 | * monitor.c: Include "readline/readline.h". | |
4057 | (monitor_load): Rename parameter 'file' to 'args'. Use build_argv | |
4058 | instead of sscanf. Use CORE_ADDR/strtoulst instead of unsigned | |
4059 | long/strtol for the 'load_offset' local. Error out if no argument | |
4060 | is given or if too many arguments are given. Tilde expand the | |
4061 | passed in file name. | |
4062 | ||
f698ca8e KT |
4063 | 2013-02-19 Kai Tietz <[email protected]> |
4064 | ||
4065 | PR gdb/15161 | |
4066 | * symfile.c (load_section_data): Change type of load_offset | |
4067 | to CORE_ADDR. | |
4068 | (generic_load): User strtoulst instead of strtoul for conversion | |
4069 | of load_offset. | |
4070 | ||
3361b059 WL |
4071 | 2013-02-19 Jiong Wang <[email protected]> |
4072 | ||
4073 | * tilegx-tdep.c (tilegx_analyze_prologue): add check for | |
4074 | for return address, "lr" register, saved on stack. | |
4075 | * tilegx-tdep.c (tilegx_frame_cache): update "PC" reg | |
4076 | after we invoke tilegx_analyze_prologue. | |
4077 | ||
3e9d5130 WL |
4078 | 2013-02-19 Jiong Wang <[email protected]> |
4079 | ||
bb1bcd86 WL |
4080 | * tilegx-tdep.c (itilegx_gdbarch_init): char type should be signed. |
4081 | ||
3361b059 | 4082 | 2013-02-19 Jiong Wang <[email protected]> |
bb1bcd86 | 4083 | |
b74ea3eb | 4084 | * tilegx-tdep.c (tilegx_skip_prologue): Use skip_prologue_using_sal. |
3e9d5130 | 4085 | |
4aaf2503 WL |
4086 | 2013-02-19 Jiong Wang <[email protected]> |
4087 | ||
b74ea3eb | 4088 | * tilegx-tdep.c (INT_SWINT_1_SIGRETURN): New macro. |
4aaf2503 WL |
4089 | (tilegx_write_pc): New function. |
4090 | (tilegx_cannot_reference_register): Return zero if REGNO | |
4091 | is TILEGX_FAULTNUM_REGNUM. | |
4092 | (tilegx_gdbarch_init): Add call to set_gdbarch_write_pc. | |
4093 | (tilegx_register_name): Add handling of "faultnum" register. | |
4094 | * tilegx-tdep.h (enum tilegx_regnum): Add TILEGX_FAULTNUM_REGNUM. | |
4095 | * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Add | |
4096 | handling of TILEGX_FAULTNUM_REGNUM. | |
4097 | * tilegx-linux-nat.c (regmap): Add entry for TILEGX_FAULTNUM_REGNUM. | |
4098 | ||
bc23a956 WL |
4099 | 2013-02-19 Jiong Wang <[email protected]> |
4100 | ||
4101 | * tilegx-tdep.c (tilegx_push_dummy_call): args pushed on stack | |
b74ea3eb | 4102 | should be aligned to 64bit. |
bc23a956 | 4103 | |
42f45f1a KT |
4104 | 2013-02-19 Kai Tietz <[email protected]> |
4105 | ||
4106 | * windows-nat.c (windows_xfer_memory): Fix debug-output | |
4107 | for LLP64. | |
4108 | ||
6ce4c112 LL |
4109 | 2013-02-19 Lei Liu <[email protected]> |
4110 | ||
4111 | * mips-linux-nat.c (mips64_linux_regsets_store_registers): | |
4112 | Don't check DSP register number if HAVE_DSP is not set. | |
4113 | ||
30e8ee25 AM |
4114 | 2013-02-19 Alan Modra <[email protected]> |
4115 | ||
4116 | * elfread.c (struct build_id): Delete. Use struct elf_build_id | |
4117 | throughout file instead. | |
4118 | (build_id_bfd_get): Update to use new elf_tdata build_id field. | |
4119 | Don't xmalloc return value. | |
4120 | (build_id_verify): Similarly. Don't xfree. | |
4121 | (build_id_to_debug_filename): Update. | |
4122 | (find_separate_debug_file_by_buildid): Update, don't xfree. | |
4123 | ||
4c9ad8c2 TT |
4124 | 2013-02-18 Tom Tromey <[email protected]> |
4125 | ||
4126 | PR gdb/15102: | |
4127 | * dwarf2read.c (read_subrange_type): Use result of | |
4128 | 'check_typedef'. | |
4129 | ||
983dc440 YQ |
4130 | 2013-02-16 Yuanhui Zhang <[email protected]> |
4131 | ||
4132 | * frame.c: Remove one extra white space after #include | |
4133 | directive. | |
4134 | ||
7fb2b84a JK |
4135 | 2013-02-15 Jan Kratochvil <[email protected]> |
4136 | ||
4137 | * contrib/cc-with-tweaks.sh: Extend the comment for -p option. | |
4138 | ||
edceb2a9 JK |
4139 | 2013-02-15 Jan Kratochvil <[email protected]> |
4140 | ||
4141 | * gdb-gdb.gdb.in: Wrap set complaints, b internal_error, b info_command | |
4142 | and dir commands into an if block. | |
4143 | ||
e81b7af8 TT |
4144 | 2013-02-15 Sanimir Agovic <[email protected]> |
4145 | ||
4146 | * python/py-breakpoint (struct pybp_code): Use int instead of | |
4147 | enum type_code. | |
4148 | ||
f5911ea1 HAQ |
4149 | 2013-02-15 Pedro Alves <[email protected]> |
4150 | Hafiz Abid Qadeer <[email protected]> | |
4151 | ||
4152 | * NEWS: Mention new field "trace-file". | |
4153 | * tracepoint.c (trace_status_mi): Output "trace-file" field. | |
4154 | (tfile_open): Record the trace file's filename in the trace | |
4155 | status. | |
4156 | (tfile_files_info): Mention the name of the trace file. | |
4157 | Check the "filename" field explicitely. | |
4158 | (trace_status_command): Explicitely check "filename" field. | |
4159 | (trace_find_command): Ditto. | |
4160 | (trace_find_pc_command): Ditto. | |
4161 | (trace_find_tracepoint_command): Ditto. | |
4162 | (trace_find_line_command): Ditto. | |
4163 | (trace_find_range_command): Ditto. | |
4164 | (trace_find_outside_command): Ditto. | |
4165 | * tracepoint.h (struct trace_status) <from_file>: Rename it | |
4166 | to "filename" and make it hold the trace file's filename | |
4167 | instead of a boolean. | |
4168 | * remote.c (remote_get_trace_status): Initialize "filename" | |
4169 | field with NULL instead of 0. | |
4170 | ||
796cb314 YQ |
4171 | 2013-02-15 Yao Qi <[email protected]> |
4172 | ||
4173 | * remote.c: Fix a typo. | |
4174 | ||
42e79b1d PM |
4175 | 2013-02-14 Pierre Muller <[email protected]> |
4176 | ||
4177 | * contrib/ari/gdb_ari.sh (GNU/Linux rule): Remove. | |
4178 | ||
baea0dae PA |
4179 | 2013-02-14 Pedro Alves <[email protected]> |
4180 | ||
4181 | * utils.c (savestring): Don't #undef it. Move function to | |
4182 | common/common-utils.c. | |
4183 | * common/common-utils.c: Include gdb_string.h. | |
4184 | (savestring): Move here from utils.c. | |
4185 | * common/common-utils.h (savestring): Declare. | |
4186 | ||
57c3b6ed PA |
4187 | 2013-02-14 Pedro Alves <[email protected]> |
4188 | ||
4189 | * utils.c (savestring): Rename parameter 'size' to 'len'. | |
4190 | ||
d6c44983 YZ |
4191 | 2013-02-14 Pedro Alves <[email protected]> |
4192 | Yufeng Zhang <[email protected]> | |
4193 | ||
4194 | * aarch64-linux-nat.c (aarch64_init_debug_reg_state): Delete. | |
4195 | (aarch64_inferior_data, struct aarch64_inferior_data): | |
4196 | Delete. | |
4197 | (struct aarch64_process_info): New. | |
4198 | (aarch64_process_list): New global. | |
4199 | (aarch64_find_process_pid, aarch64_add_process) | |
4200 | (aarch64_process_info_get): New functions. | |
4201 | (aarch64_inferior_data_get): Delete. | |
4202 | (aarch64_process_info_get): New function. | |
4203 | (aarch64_forget_process): New function. | |
4204 | (aarch64_get_debug_reg_state): New parameter 'pid'. Reimplement. | |
4205 | (aarch64_linux_prepare_to_resume): Pass the lwp's pid to | |
4206 | aarch64_get_debug_reg_state. | |
4207 | (aarch64_notify_debug_reg_change): Use iterate_over_lwps | |
4208 | instead of linux_nat_iterate_watchpoint_lwps. | |
4209 | (aarch64_linux_new_fork): New function. | |
4210 | (aarch64_linux_child_post_startup_inferior): Use | |
4211 | aarch64_forget_process instead of aarch64_init_debug_reg_state. | |
4212 | (aarch64_handle_breakpoint, aarch64_linux_insert_hw_breakpoint) | |
4213 | (aarch64_linux_remove_hw_breakpoint) | |
4214 | (aarch64_handle_aligned_watchpoint) | |
4215 | (aarch64_handle_unaligned_watchpoint) | |
4216 | (aarch64_linux_insert_watchpoint) | |
4217 | (aarch64_linux_remove_watchpoint) | |
4218 | (aarch64_linux_stopped_data_address): Adjust to pass the current | |
4219 | process id to aarch64_debug_reg_state. | |
4220 | (_initialize_aarch64_linux_nat): Install aarch64_linux_new_fork as | |
4221 | linux_nat_new_fork hook, and aarch64_forget_process as | |
4222 | linux_nat_forget_process hook; remove the call to | |
4223 | register_inferior_data_with_cleanup. | |
4224 | ||
4819b3f8 PA |
4225 | 2013-02-14 Pedro Alves <[email protected]> |
4226 | ||
4227 | * eval.c (evaluate_subexp_for_address) <default_case_after_eval, | |
4228 | EVAL_AVOID_SIDE_EFFECTS>: Swap and handle TYPE_CODE_REF before | |
4229 | lval_memory. | |
4230 | ||
1773c82c HAQ |
4231 | 2013-02-14 Pedro Alves <[email protected]> |
4232 | Hafiz Abid Qadeer <[email protected]> | |
4233 | ||
4234 | * tracepoint.h (validate_trace_state_variable_name): Declare. | |
4235 | * tracepoint.c (validate_trace_state_variable_name): New. | |
4236 | (trace_variable_command): Parse the trace state variable's name | |
4237 | without using parse_expression. Do several validations. | |
4238 | * mi/mi-main.c (mi_cmd_trace_define_variable): Don't parse the | |
4239 | trace state variable's name with parse_expression. Validate it. | |
4240 | ||
53778a97 YQ |
4241 | 2013-02-14 Yao Qi <[email protected]> |
4242 | ||
4243 | * infcmd.c (breakpoint_proceeded): Remove it. | |
4244 | ||
7b3ae3a6 YQ |
4245 | 2013-02-14 Yao Qi <[email protected]> |
4246 | ||
4247 | * tracepoint.c (end_actions_pseudocommand): Make it static. | |
4248 | (while_stepping_pseudocommand): Likewise. | |
4249 | * tracepoint.h (end_actions_pseudocommand): Remove the | |
4250 | declaration. | |
4251 | (while_stepping_pseudocommand): Likewise. | |
4252 | ||
64580925 YQ |
4253 | 2013-02-14 Yao Qi <[email protected]> |
4254 | ||
4255 | * cli/cli-decode.c (help_cmd): Remove the declaration of | |
4256 | "cmdlist". | |
4257 | (help_all): Likewise. | |
4258 | ||
26cb8b7c PA |
4259 | 2013-02-13 Pedro Alves <[email protected]> |
4260 | ||
4261 | * amd64-linux-nat.c (update_debug_registers_callback): | |
4262 | Update comment. | |
4263 | (amd64_linux_dr_set_control, amd64_linux_dr_set_addr): Use | |
4264 | iterate_over_lwps. | |
4265 | (amd64_linux_prepare_to_resume): Pass the lwp's pid to | |
4266 | i386_debug_reg_state. | |
4267 | (amd64_linux_new_fork): New function. | |
4268 | (_initialize_amd64_linux_nat): Install amd64_linux_new_fork as | |
4269 | linux_nat_new_fork hook, and i386_forget_process as | |
4270 | linux_nat_forget_process hook. | |
4271 | * i386-linux-nat.c (update_debug_registers_callback): | |
4272 | Update comment. | |
a8256ea1 | 4273 | (i386_linux_dr_set_control, i386_linux_dr_set_addr): Use |
26cb8b7c PA |
4274 | iterate_over_lwps. |
4275 | (i386_linux_prepare_to_resume): Pass the lwp's pid to | |
4276 | i386_debug_reg_state. | |
4277 | (i386_linux_new_fork): New function. | |
4278 | (_initialize_i386_linux_nat): Install i386_linux_new_fork as | |
4279 | linux_nat_new_fork hook, and i386_forget_process as | |
4280 | linux_nat_forget_process hook. | |
4281 | * i386-nat.c (i386_init_dregs): Delete. | |
4282 | (i386_inferior_data, struct i386_inferior_data): | |
4283 | Delete. | |
4284 | (struct i386_process_info): New. | |
4285 | (i386_process_list): New global. | |
4286 | (i386_find_process_pid, i386_add_process, i386_process_info_get): | |
4287 | New functions. | |
4288 | (i386_inferior_data_get): Delete. | |
4289 | (i386_process_info_get): New function. | |
4290 | (i386_debug_reg_state): New parameter 'pid'. Reimplement. | |
4291 | (i386_forget_process): New function. | |
4292 | (i386_cleanup_dregs): Rewrite. | |
4293 | (i386_update_inferior_debug_regs, i386_insert_watchpoint) | |
4294 | (i386_remove_watchpoint, i386_region_ok_for_watchpoint) | |
4295 | (i386_stopped_data_address, i386_insert_hw_breakpoint) | |
4296 | (i386_remove_hw_breakpoint): Adjust to pass the current process id | |
4297 | to i386_debug_reg_state. | |
4298 | (i386_use_watchpoints): Don't register inferior data. | |
4299 | * i386-nat.h (i386_debug_reg_state): Add new 'pid' parameter, and | |
4300 | adjust comment. | |
4301 | (i386_forget_process): Declare. | |
4302 | * linux-fork.c (delete_fork): Call linux_nat_forget_process. | |
4303 | * linux-nat.c (linux_nat_new_fork, linux_nat_forget_process_hook): | |
4304 | New static globals. | |
4305 | (linux_child_follow_fork): Don't call linux_nat_new_thread here. | |
4306 | (add_initial_lwp): New, factored out from ... | |
4307 | (add_lwp): ... this. Don't check the number of lwps before | |
4308 | calling linux_nat_new_thread. | |
4309 | (linux_nat_iterate_watchpoint_lwps): Delete. | |
4310 | (linux_nat_attach): Use add_initial_lwp instead of add_lwp. | |
4311 | (linux_handle_extended_wait): Call the linux_nat_new_fork hook on | |
4312 | forks and vforks. | |
4313 | (linux_nat_wait_1): Use add_initial_lwp instead of add_lwp for the | |
4314 | initial lwp. | |
4315 | (linux_nat_kill, linux_nat_mourn_inferior): Call | |
4316 | linux_nat_forget_process. | |
4317 | (linux_nat_set_new_fork, linux_nat_set_forget_process) | |
4318 | (linux_nat_forget_process): New functions. | |
4319 | * linux-nat.h (linux_nat_iterate_watchpoint_lwps_ftype): Delete | |
4320 | type. | |
4321 | (linux_nat_iterate_watchpoint_lwps): Delete declaration. | |
4322 | (linux_nat_new_fork_ftype, linux_nat_forget_process_ftype): New | |
4323 | types. | |
4324 | (linux_nat_set_new_fork, linux_nat_set_forget_process) | |
4325 | (linux_nat_forget_process): New declarations. | |
4326 | ||
4327 | * amd64fbsd-nat.c (super_mourn_inferior): New global. | |
4328 | (amd64fbsd_mourn_inferior): New function. | |
4329 | (_initialize_amd64fbsd_nat): Override to_mourn_inferior. | |
4330 | * windows-nat.c (windows_detach): Call i386_cleanup_dregs. | |
4331 | ||
5befea72 MS |
4332 | 2013-02-13 Marcus Shawcroft <[email protected]> |
4333 | ||
55015247 YQ |
4334 | * aarch64-linux-nat.c (aarch64_linux_get_debug_reg_capacity): |
4335 | Adding _(). | |
5befea72 | 4336 | |
1d3ffd6b MS |
4337 | 2013-02-13 Marcus Shawcroft <[email protected]> |
4338 | ||
4339 | * aarch64-linux-nat.c (debug_reg_change_callback) | |
4340 | (aarch64_linux_get_debug_reg_capacity): ARI fix: Replace %llx with | |
4341 | %s and phex(). | |
4342 | ||
6eb04473 MS |
4343 | 2013-02-13 Marcus Shawcroft <[email protected]> |
4344 | ||
4345 | * aarch64-linux-nat.c (dr_changed_t): ARI fix: Replace long long | |
4346 | with LONGEST. | |
4347 | ||
a016fc87 HAQ |
4348 | 2013-02-13 Pedro Alves <[email protected]> |
4349 | Hafiz Abid Qadeer <[email protected]> | |
4350 | ||
4351 | * c-lang.c (c_op_print_tab): Add entry for UNOP_PLUS. | |
4352 | ||
e234dfaf TT |
4353 | 2013-02-12 Tom Tromey <[email protected]> |
4354 | ||
4355 | PR symtab/11464: | |
4356 | * c-exp.y (lex_one_token): Initialize other fields of yylval on | |
4357 | NAME return. | |
4358 | (classify_inner_name): Remove 'first_name' argument, add | |
4359 | 'context'. Remove unused variable. | |
4360 | (yylex): Explicitly maintain the context type. Exit loop earlier | |
4361 | if NAME result is seen. | |
4362 | ||
0b1afbb3 PA |
4363 | 2013-02-12 Pedro Alves <[email protected]> |
4364 | ||
4365 | * amd64-darwin-tdep.c: Add (C) after Copyright. | |
4366 | * cli/cli-cmds.h: Ditto. | |
4367 | * cli/cli-decode.c: Ditto. | |
4368 | * cli/cli-decode.h: Ditto. | |
4369 | * cli/cli-dump.c: Ditto. | |
4370 | * cli/cli-dump.h: Ditto. | |
4371 | * cli/cli-interp.c: Ditto. | |
4372 | * cli/cli-logging.c: Ditto. | |
4373 | * cli/cli-script.c: Ditto. | |
4374 | * cli/cli-script.h: Ditto. | |
4375 | * cli/cli-setshow.c: Ditto. | |
4376 | * cli/cli-setshow.h: Ditto. | |
4377 | * cli/cli-utils.c: Ditto. | |
4378 | * cli/cli-utils.h: Ditto. | |
4379 | * config/alpha/nm-osf3.h: Ditto. | |
4380 | * config/djgpp/djconfig.sh: Ditto. | |
4381 | * config/i386/nm-fbsd.h: Ditto. | |
4382 | * config/i386/nm-i386gnu.h: Ditto. | |
4383 | * config/nm-linux.h: Ditto. | |
4384 | * config/nm-nto.h: Ditto. | |
4385 | * config/rs6000/nm-rs6000.h: Ditto. | |
4386 | * config/sparc/nm-sol2.h: Ditto. | |
4387 | * darwin-nat-info.c: Ditto. | |
4388 | * dfp.c: Ditto. | |
4389 | * dfp.h: Ditto. | |
4390 | * gdb-demangle.h: Ditto. | |
4391 | * i386-darwin-nat.c: Ditto. | |
4392 | * i386-darwin-tdep.c: Ditto. | |
4393 | * linux-fork.h: Ditto. | |
4394 | * m32c-tdep.c: Ditto. | |
4395 | * microblaze-linux-tdep.c: Ditto. | |
4396 | * microblaze-rom.c: Ditto. | |
4397 | * microblaze-tdep.c: Ditto. | |
4398 | * microblaze-tdep.h: Ditto. | |
4399 | * mips-linux-tdep.h: Ditto. | |
4400 | * ppc-ravenscar-thread.c: Ditto. | |
4401 | * ppc-ravenscar-thread.h: Ditto. | |
4402 | * prologue-value.c: Ditto. | |
4403 | * prologue-value.h: Ditto. | |
4404 | * ravenscar-thread.c: Ditto. | |
4405 | * ravenscar-thread.h: Ditto. | |
4406 | * sparc-ravenscar-thread.c: Ditto. | |
4407 | * sparc-ravenscar-thread.h: Ditto. | |
4408 | * tilegx-linux-tdep.c: Ditto. | |
4409 | * unwind_stop_reasons.def: Ditto. | |
4410 | * windows-nat.h: Ditto. | |
4411 | * xtensa-linux-tdep.c: Ditto. | |
4412 | * xtensa-xtregs.c: Ditto. | |
4413 | * regformats/regdat.sh: Ditto. | |
4414 | * regformats/regdef.h: Ditto. | |
4415 | ||
6c01dd94 PA |
4416 | 2013-02-12 Pedro Alves <[email protected]> |
4417 | ||
4418 | * break-catch-sig.c: Update copyright years. | |
4419 | ||
b65a2bd9 SCR |
4420 | 2013-02-11 Siva Chandra Reddy <[email protected]> |
4421 | ||
4422 | Add support for a destructor for ui_out data and use it to | |
4423 | provide a ui_out destructor. | |
4424 | * ui-out.h: Declare the new ui_out destructor. | |
4425 | (ui_out_impl): Add a field for data destructor in ui_out_impl. | |
4426 | * ui-out.c (default_data_destroy): Add a default data destructor | |
4427 | which does nothing. | |
4428 | (default_ui_out_impl): Set the new data_destroy field to | |
4429 | default_data_destroy | |
4430 | (uo_data_destroy): Local function which invokes the data | |
4431 | destructor if present. | |
4432 | (clear_table): Local function which clears the table data of a | |
4433 | ui_out object. | |
4434 | (ui_out_destroy): Public function which frees a ui_out object. | |
4435 | (ui_out_table_end): Use the new clear_table function. | |
4436 | * cli-out.c (cli_ui_out_impl): Set the new data_destroy field to | |
4437 | NULL. | |
4438 | * mi/mi-out.c (mi_ui_out_impl): Set the new data_destroy field | |
4439 | to NULL. | |
4440 | ||
c2792f5a DE |
4441 | 2013-02-11 Doug Evans <[email protected]> |
4442 | ||
4443 | * printcmd.c (printf_c_string,printf_wide_c_string): New functions. | |
4444 | (printf_decfloat): New function. Broken out from ui_printf. | |
4445 | Remove unnecessary code to shift the entire format string down. | |
4446 | (printf_pointer): New function. | |
4447 | (ui_printf): Code to print C strings, wide C strings, decfloats, | |
4448 | and pointers moved to separate functions. | |
4449 | ||
d9e98382 SDJ |
4450 | 2013-02-11 Sergio Durigan Junior <[email protected]> |
4451 | ||
4452 | * valops.c (value_assign): Handling bitfield offset in | |
4453 | `lval_internalvar_component' case. | |
4454 | ||
4ff3ce77 DE |
4455 | 2013-02-08 Doug Evans <[email protected]> |
4456 | ||
4457 | * common/format.c (parse_format_string): Fix whitespace. | |
4458 | ||
901900c4 MGD |
4459 | 2013-02-08 Matthew Gretton-Dann <[email protected]> |
4460 | ||
4461 | * stack.c (return_command): Work around uninitialized variable | |
4462 | warning. | |
4463 | ||
b5dbc8d4 YZ |
4464 | 2013-02-08 Yufeng Zhang <[email protected]> |
4465 | ||
4466 | * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET): Change the | |
4467 | number of the registers from 36 to 34. | |
4468 | ||
51d66578 MS |
4469 | 2013-02-08 Marcus Shawcroft <[email protected]> |
4470 | ||
4471 | * NEWS: Mention new AArch64 native and target support. | |
4472 | ||
176b1c95 MS |
4473 | 2013-02-08 Marcus Shawcroft <[email protected]> |
4474 | ||
4475 | * MAINTAINERS (Write After Approval): Add myself. | |
4476 | ||
9d19df75 MS |
4477 | 2013-02-08 Jim MacArthur <[email protected]> |
4478 | Marcus Shawcroft <[email protected]> | |
4479 | Nigel Stephens <[email protected]> | |
4480 | Yufeng Zhang <[email protected]> | |
4481 | ||
4482 | * aarch64-linux-nat.c: New file. | |
4483 | * config/aarch64/linux.mh: New file. | |
4484 | * configure.host: Add AArch64. | |
4485 | * Makefile.in (ALLDEPFILES): Add aarch64-linux-nat.c. | |
4486 | ||
7e1e0340 DE |
4487 | 2013-02-07 Doug Evans <[email protected]> |
4488 | ||
4489 | * cli/cli-cmds.c (_initialize_cli_cmds): Clarify argument to | |
4490 | disassemble command. | |
4491 | ||
45e25a36 MS |
4492 | 2013-02-07 Marcus Shawcroft <[email protected]> |
4493 | ||
4494 | * aarch64-linux-tdep.c (aarch64_linux_init_abi): Call | |
4495 | set_gdbarch_fetch_tls_load_module_address. | |
4496 | ||
bbfdfe1c DM |
4497 | 2013-02-06 David S. Miller <[email protected]> |
4498 | ||
4499 | * sparc-tdep.c (sparc32_return_value): Handle writing return value when | |
4500 | using RETURN_VALUE_ABI_PRESERVES_ADDRESS. | |
4501 | * value.c (struct_return_convention): New function. | |
4502 | (using_struct_return): Implement in terms of struct_return_convention. | |
4503 | * value.h (struct_return_convention): Declare. | |
4504 | * stack.c (return_command): Allow successful overriding of the return | |
4505 | value when RETURN_VALUE_ABI_PRESERVES_ADDRESS. | |
4506 | ||
bc9abe4a TT |
4507 | 2013-02-06 Tom Tromey <[email protected]> |
4508 | ||
4509 | * python/py-type.c (typy_strip_typedefs): Don't call check_typedef | |
4510 | outside of TRY_CATCH. | |
4511 | ||
134a2066 YQ |
4512 | 2013-02-06 Yao Qi <[email protected]> |
4513 | ||
4514 | * mi/mi-interp.c: Include "tracepoint.h". | |
4515 | (mi_tsv_modified): Declare. | |
4516 | (mi_tsv_created, mi_tsv_deleted): Update declaration. | |
4517 | (mi_interpreter_init): Call observer_attach_tsv_modified. | |
4518 | (mi_tsv_modified): New. | |
4519 | (mi_tsv_created, mi_tsv_deleted): Update. | |
4520 | * tracepoint.c (trace_variable_command): Call | |
4521 | observer_notify_tsv_modified if the initial value of tsv is | |
4522 | changed. | |
4523 | (delete_trace_state_variable): Call | |
4524 | observer_notify_tsv_deleted earlier. | |
4525 | (trace_variable_command): Caller update. | |
4526 | (create_tsv_from_upload): Likewise. | |
4527 | * observer.sh: Declare "struct trace_state_variable". | |
4528 | ||
4529 | * NEWS: Mention the new MI notification "=tsv-modified". | |
4530 | ||
59be2b6a DE |
4531 | 2013-02-05 Doug Evans <[email protected]> |
4532 | ||
4533 | * completer.c (location_completer): Fix typo in comment. | |
4534 | ||
d30113d4 JK |
4535 | 2013-02-05 Jan Kratochvil <[email protected]> |
4536 | ||
4537 | * breakpoint.c (add_location_to_breakpoint): Insert the location with | |
4538 | ADDRESS sorted. | |
4539 | ||
14ac654f MS |
4540 | 2013-02-05 Marcus Shawcroft <[email protected]> |
4541 | ||
4542 | * aarch64-tdep.c (aarch64_analyze_prologue): ARI fix: | |
4543 | Refactor if statement to avoid trailing || operator. | |
4544 | ||
543bf33d AT |
4545 | 2013-02-05 Andreas Tobler <[email protected]> |
4546 | ||
4547 | * NEWS: Add PowerPC FreeBSD as a new native configuration. | |
4548 | ||
dc18f110 AT |
4549 | 2013-02-04 Andreas Tobler <[email protected]> |
4550 | ||
4551 | * Makefile.in (ALL_TARGET_OBS): Add powerpc FreeBSD files. | |
4552 | * configure.host: Add powerpc*-*-freebsd* target. | |
4553 | * configure.tgt: Add target info for powerpc*-*-freebsd*. | |
4554 | * ppcfbsd-nat.c, ppcfbsd-tdep.h, ppcfbsd-tdep.c: New files. | |
4555 | * config/powerpc/fbsd.mh: New file. | |
4556 | ||
b3ac9c77 SDJ |
4557 | 2013-02-04 Sergio Durigan Junior <[email protected]> |
4558 | Denys Vlasenko <[email protected]> | |
4559 | Pedro Alves <[email protected]> | |
4560 | ||
4561 | * gdbarch.sh (elfcore_write_linux_prpsinfo): New F hook. | |
4562 | (struct elf_internal_linux_prpsinfo): Forward declare. | |
4563 | * gdbarch.h, gdbarch.c: Regenerate. | |
4564 | * linux-tdep.c: Include `cli/cli-utils.h'. | |
4565 | (linux_fill_prpsinfo): New function. | |
4566 | (linux_make_corefile_notes): Use linux_fill_prpsinfo. If there's | |
4567 | an elfcore_write_linux_prpsinfo hook, use it, otherwise, use | |
4568 | elfcore_write_linux_prpsinfo32 or elfcore_write_linux_prpsinfo64 | |
4569 | depending on gdbarch pointer bitness. | |
4570 | * ppc-linux-tdep.c: Include elf-bfd.h. | |
4571 | (ppc_linux_init_abi): Hook in elfcore_write_ppc_linux_prpsinfo32 | |
4572 | on 32-bit. | |
4573 | ||
176eb98c MS |
4574 | 2013-02-04 Jim MacArthur <[email protected]> |
4575 | Marcus Shawcroft <[email protected]> | |
4576 | Nigel Stephens <[email protected]> | |
4577 | Yufeng Zhang <[email protected]> | |
4578 | ||
4579 | * configure.tgt (aarch64*-*-linux*): Set build_gdbserver=yes. | |
4580 | ||
cf0dbd6f MS |
4581 | 2013-02-04 Jim MacArthur <[email protected]> |
4582 | Marcus Shawcroft <[email protected]> | |
4583 | Nigel Stephens <[email protected]> | |
4584 | Yufeng Zhang <[email protected]> | |
4585 | ||
4586 | * aarch64-newlib-tdep.c: New file. | |
4587 | * configure.tgt: Add aarch64-newlib-tdep.o to gdb_target_obs of | |
4588 | aarch64*-*-elf. | |
4589 | * defs.h (enum gdb_osabi): Add GDB_OSABI_NEWLIB. | |
4590 | * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-newlib-tdep.o. | |
4591 | (ALLDEPFILES): Add aarch64-newlib-tdep.c. | |
4592 | * osabi.c (gdb_osabi_names): Add "Newlib". | |
4593 | ||
1ae3db19 MS |
4594 | 2013-02-04 Jim MacArthur <[email protected]> |
4595 | Marcus Shawcroft <[email protected]> | |
4596 | Nigel Stephens <[email protected]> | |
4597 | Yufeng Zhang <[email protected]> | |
4598 | ||
4599 | * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-linux-tdep.o. | |
4600 | (ALLDEPFILES): Add aarch64-linux-tdep.c. | |
4601 | * aarch64-linux-tdep.c: New file. | |
4602 | * aarch64-linux-tdep.h: New file. | |
4603 | * aarch64-tdep.h (gdbarch_tdep): Define gregset and fpregset. | |
4604 | * configure.tgt: Add aarch64-none-linux-gnu. | |
4605 | ||
07b287a0 MS |
4606 | 2013-02-04 Jim MacArthur <[email protected]> |
4607 | Marcus Shawcroft <[email protected]> | |
4608 | Nigel Stephens <[email protected]> | |
4609 | Yufeng Zhang <[email protected]> | |
4610 | ||
4611 | * Makefile.in (ALL_64_TARGET_OBS): Add arch64-tdep.o. | |
4612 | (HFILES_NO_SRCDIR): Add aarch64-tdep.h. | |
4613 | (ALLDEPFILES): Add aarch64-tdep.c. | |
4614 | * aarch64-tdep.c: New file. | |
4615 | * aarch64-tdep.h: New file. | |
4616 | * configure.tgt: Add AArch64. | |
4617 | * features/Makefile (WHICH): Add aarch64 and aarch64-without-fpu. | |
4618 | (aarch64-expedite): New definition. | |
4619 | * features/aarch64-core.xml: New file. | |
4620 | * features/aarch64-fpu.xml: New file. | |
4621 | * features/aarch64-without-fpu.c: New file (generated). | |
4622 | * features/aarch64-without-fpu.xml: New file. | |
4623 | * features/aarch64.c: New file (generated). | |
4624 | * features/aarch64.xml: New file. | |
4625 | * regformats/aarch64-without-fpu.dat: New file (generated). | |
4626 | * regformats/aarch64.dat: New file (generated). | |
4627 | ||
0f1b18ab JK |
4628 | 2013-02-03 Jan Kratochvil <[email protected]> |
4629 | ||
4630 | * contrib/expect-read1.c: New file. | |
4631 | * contrib/expect-read1.sh: New file. | |
4632 | ||
233d95b5 JK |
4633 | 2013-02-03 Jan Kratochvil <[email protected]> |
4634 | ||
4635 | * dwarf2read.c (file_file_name): New function with code from | |
4636 | file_full_name. | |
4637 | (file_full_name): Move most of the code to file_file_name. | |
4638 | (macro_start_file): Rename variable full_name to file_name and use | |
4639 | file_file_name for it. Add comp_dir parameter to new_macro_table. | |
4640 | * macrocmd.c (show_pp_source_pos): New variable fullname. Replace any | |
4641 | macro_source_file->filename access by macro_source_fullname call. | |
4642 | * macroscope.c (_initialize_macroscope): Update the new_macro_table | |
4643 | caller. | |
4644 | * macrotab.c (struct macro_table): New field comp_dir. | |
4645 | (macro_include): New variables link_fullname and source_fullname. | |
4646 | Replace any macro_source_file->filename access by macro_source_fullname | |
4647 | call. | |
4648 | (macro_lookup_inclusion): Remove the partial filenames checking code. | |
4649 | (check_for_redefinition): New variables source_fullname and | |
4650 | found_key_fullname. Replace any macro_source_file->filename access by | |
4651 | macro_source_fullname call. | |
4652 | (macro_undef): New variables source_fullname and key_fullname. Replace | |
4653 | any macro_source_file->filename access by macro_source_fullname call. | |
4654 | (macro_lookup_definition): New variables retval and source_fullname. | |
4655 | Replace any macro_source_file->filename access by macro_source_fullname | |
4656 | call. | |
4657 | (foreach_macro): New variable key_fullname. Replace any | |
4658 | macro_source_file->filename access by macro_source_fullname call. | |
4659 | (foreach_macro_in_scope): New variable datum_fullname. Replace any | |
4660 | macro_source_file->filename access by macro_source_fullname call. | |
4661 | (new_macro_table): Add parameter comp_dir. Initialize T with it. | |
4662 | (macro_source_fullname): New function. | |
4663 | * macrotab.h (struct macro_source_file): Extent the filename field | |
4664 | comment. | |
4665 | (new_macro_table): New parameter comp_dir, add a comment for it. | |
4666 | (macro_source_fullname): new declaration. | |
4667 | ||
da235a7c JK |
4668 | 2013-02-03 Jan Kratochvil <[email protected]> |
4669 | ||
4670 | * dwarf2read.c (dw2_map_symtabs_matching_filename): Move variable | |
4671 | this_real_name to outer block. Use it also for | |
4672 | compare_filenames_for_search. | |
4673 | (dw2_expand_symtabs_matching): New variable this_real_name. Use it | |
4674 | with dw2_get_real_path for file_matcher, considering also | |
4675 | BASENAMES_MAY_DIFFER. | |
4676 | (file_full_name): Prepend COMP_DIR even for relative lh->INCLUDE_DIRS. | |
4677 | ||
fbd9ab74 JK |
4678 | 2013-02-03 Jan Kratochvil <[email protected]> |
4679 | ||
4680 | * dwarf2read.c (dw2_expand_symtabs_matching): Add basenames parameter | |
4681 | to the file_matcher parameter. Pass 0 to it. | |
4682 | (dwarf2_create_include_psymtab): Copy also DIRNAME. | |
4683 | * psymtab.c (partial_map_symtabs_matching_filename): Drop handling of | |
4684 | NULL psymtab_to_fullname result. | |
4685 | (psymtab_to_fullname): Remove variable r. Never return NULL, assemble | |
4686 | an expected filename instead. | |
4687 | (expand_symtabs_matching_via_partial): Add basenames parameter to the | |
4688 | file_matcher parameter. Call also psymtab_to_fullname, after newly | |
4689 | considering BASENAMES_MAY_DIFFER. | |
4690 | * source.c (rewrite_source_path): Remove static. | |
4691 | * source.h (rewrite_source_path): New declaration. | |
4692 | * symfile.h (struct quick_symbol_functions): Add basenames parameter to | |
4693 | the expand_symtabs_matching field. Comment it. | |
4694 | * symtab.c (file_matches): New function comment. Add parameter | |
4695 | basenames, implement it. | |
4696 | (search_symbols_file_matches): Add basenames parameter. Update the | |
4697 | file_matches caller. | |
4698 | (search_symbols): Match FILES also against symtab_to_fullname. | |
4699 | Optimize it for BASENAMES_MAY_DIFFER. | |
4700 | ||
56d397a3 JK |
4701 | 2013-02-03 Jan Kratochvil <[email protected]> |
4702 | ||
4703 | * source.c (print_source_lines_base): Print for TUI also "fullname". | |
4704 | * tui/tui-data.c (init_content_element): Change tui_locator_element | |
4705 | field to full_name. | |
4706 | * tui/tui-data.h (struct tui_locator_element): Likewise. | |
4707 | * tui/tui-disasm.c (tui_show_disassem_and_update_source): Rename | |
4708 | tui_update_locator_filename calls to tui_update_locator_fullname. | |
4709 | Replace symtab->filename refererence by symtab_to_fullname call. | |
4710 | * tui/tui-out.c (tui_field_string): Check for "fullname" now. | |
4711 | * tui/tui-source.c (tui_set_source_content): Change tui_locator_element | |
4712 | field to full_name. Replace symtab->filename refererence by | |
4713 | symtab_to_fullname call. | |
4714 | (tui_show_symtab_source): Rename parameter to fullname. Change | |
4715 | tui_locator_element field to full_name. | |
4716 | * tui/tui-stack.c: Include source.h. | |
4717 | (tui_set_locator_filename): Rename the declaration to ... | |
4718 | (tui_set_locator_fullname): ... here. Rename its parameter to | |
4719 | fullname, updates its comment. | |
4720 | (tui_set_locator_info): Rename its parameter to fullname. | |
4721 | (tui_set_locator_filename): Rename the definition to ... | |
4722 | (tui_set_locator_fullname): ... here. Rename its parameter to | |
4723 | fullname, updates its comment. Change tui_locator_element field to | |
4724 | full_name. | |
4725 | (tui_set_locator_info): Rename its parameter to fullname. | |
4726 | (tui_set_locator_info): Rename callee to tui_set_locator_fullname. | |
4727 | (tui_update_locator_filename): Rename to ... | |
4728 | (tui_update_locator_fullname): ... here. Rename callee to | |
4729 | tui_set_locator_fullname. | |
4730 | (tui_show_frame_info): Replace symtab->filename refererence by | |
4731 | symtab_to_fullname call. | |
4732 | * tui/tui-stack.h (tui_update_locator_filename): Rename to ... | |
4733 | (tui_update_locator_fullname): ... here. | |
4734 | * tui/tui-winsource.c (tui_display_main): Rename the callee to | |
4735 | tui_update_locator_fullname. Replace symtab->filename refererence by | |
4736 | symtab_to_fullname call. | |
4737 | * tui/tui.c (tui_show_source): Rename its parameter to fullname. | |
4738 | Rename the callee to tui_update_locator_fullname. | |
4739 | * tui/tui.h (tui_show_source): Rename its parameter to fullname. | |
4740 | ||
05cba821 JK |
4741 | 2013-02-03 Jan Kratochvil <[email protected]> |
4742 | ||
4743 | * ada-lang.c (user_select_syms): Replace symtab->filename refererences | |
4744 | by symtab_to_filename_for_display calls. | |
4745 | * breakpoint.c (print_breakpoint_location, resolve_sal_pc): Likewise. | |
4746 | (clear_command): New variable sal_fullname, initialize it. Replace | |
4747 | compare_filenames_for_search by filename_cmp with sal_fullname. | |
4748 | (say_where, update_static_tracepoint): Replace symtab->filename | |
4749 | refererences by symtab_to_filename_for_display calls. | |
4750 | * cli/cli-cmds.c (edit_command, list_command, ambiguous_line_spec): | |
4751 | Likewise. | |
4752 | * dwarf2read.c: Include source.h. | |
4753 | (fixup_go_packaging): Replace symtab->filename refererences by | |
4754 | symtab_to_filename_for_display calls. | |
4755 | * linespec.c (add_sal_to_sals): Rename variable filename to fullname. | |
4756 | Replace symtab->filename refererences by symtab_to_filename_for_display | |
4757 | calls. | |
4758 | (create_sals_line_offset, convert_linespec_to_sals): New variable | |
4759 | fullname, initialize it, replace symtab->filename reference by the | |
4760 | variable. | |
4761 | * linux-fork.c: Include source.h. | |
4762 | (info_checkpoints_command): Replace symtab->filename refererences by | |
4763 | symtab_to_filename_for_display calls. | |
4764 | * macroscope.c (sal_macro_scope): Replace symtab->filename refererences | |
4765 | by symtab_to_filename_for_display calls. | |
4766 | * mdebugread.c: Include source.h. | |
4767 | (psymtab_to_symtab_1): Replace symtab->filename refererences by | |
4768 | symtab_to_filename_for_display calls. | |
4769 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file) | |
4770 | (mi_cmd_file_list_exec_source_files): Likewise. | |
4771 | * printcmd.c: Include source.h. | |
4772 | (build_address_symbolic): Replace symtab->filename refererences by | |
4773 | symtab_to_filename_for_display calls. | |
4774 | * psymtab.c (partial_map_symtabs_matching_filename) | |
4775 | (read_psymtabs_with_fullname): Call compare_filenames_for_search also | |
4776 | with psymtab_to_fullname. | |
4777 | * python/py-symtab.c (stpy_str): Replace symtab->filename refererences | |
4778 | by symtab_to_filename_for_display calls. | |
4779 | (stpy_get_filename): New variable filename, initialize it, use instead | |
4780 | of symtab->filename refererences. | |
4781 | (salpy_str): Make variable filename const char *. Replace | |
4782 | symtab->filename refererences by symtab_to_filename_for_display calls. | |
4783 | * skip.c: Include source.h and filenames.h. | |
4784 | (skip_file_command): Remove const from the symtab variable. Replace | |
4785 | symtab->filename refererences by symtab_to_fullname call. | |
4786 | (function_name_is_marked_for_skip): New variables searched_for_fullname | |
4787 | and fullname. Use them to search also with symtab's fullname. | |
4788 | * source.c (find_source_lines): Replace symtab->filename refererences | |
4789 | by symtab_to_filename_for_display calls. | |
4790 | (print_source_lines_base): New variable filename, use it instead of | |
4791 | symtab->filename. Replace symtab->filename refererences by | |
4792 | symtab_to_filename_for_display calls. | |
4793 | (line_info, forward_search_command): Replace symtab->filename | |
4794 | refererences by symtab_to_filename_for_display calls. | |
4795 | (reverse_search_command): Replace symtab->filename refererences by | |
4796 | symtab_to_filename_for_display calls. New variable filename for it. | |
4797 | * stack.c (frame_info): Likewise. | |
4798 | * symmisc.c: Include source.h. | |
4799 | (dump_objfile, dump_symtab_1, maintenance_print_symbols) | |
4800 | (maintenance_info_symtabs): Replace symtab->filename refererences by | |
4801 | symtab_to_filename_for_display calls. | |
4802 | * symtab.c (iterate_over_some_symtabs): Call | |
4803 | compare_filenames_for_search also with symtab_to_fullname. | |
4804 | (lookup_symbol_aux_quick, basic_lookup_transparent_type_quick): Replace | |
4805 | symtab->filename refererences by symtab_to_filename_for_display calls. | |
4806 | (find_line_symtab): Replace symtab->filename refererences by | |
4807 | symtab_to_filename_for_display calls. | |
4808 | (file_matches): Replace filename_cmp by compare_filenames_for_search. | |
4809 | (print_symbol_info): Make the last parameter const char *. New | |
4810 | variable s_filename. Use it in the function. | |
4811 | (symtab_symbol_info): Make the last_filename variable const char *. | |
4812 | Replace symtab->filename refererences by symtab_to_filename_for_display | |
4813 | calls. | |
4814 | (rbreak_command): New variable fullname. Use it. Replace | |
4815 | symtab->filename refererence by symtab_to_filename_for_display call. | |
4816 | * tracepoint.c (set_traceframe_context, trace_find_line_command) | |
4817 | (print_one_static_tracepoint_marker): Replace symtab->filename | |
4818 | refererences by symtab_to_filename_for_display calls. | |
4819 | * tui/tui-source.c (tui_set_source_content): New variables filename and | |
4820 | s_filename. Replace symtab->filename refererences by this variable. | |
4821 | Replace other symtab->filename refererences by | |
4822 | symtab_to_filename_for_display calls. | |
4823 | ||
1b56eb55 JK |
4824 | 2013-02-03 Eldar Gaynetdinov <[email protected]> |
4825 | Jan Kratochvil <[email protected]> | |
4826 | ||
4827 | Add a new variable that controls a way in which filenames are | |
4828 | displayed. | |
4829 | * NEWS (set filename-display): New entry. | |
4830 | * source.c (filename_display_basename, filename_display_relative) | |
4831 | (filename_display_absolute, filename_display_kind_names) | |
4832 | (filename_display_string, show_filename_display_string) | |
4833 | (symtab_to_filename_for_display): New. | |
4834 | (_initialize_source): Added initialization of 'filename-display' | |
4835 | variable. | |
4836 | * source.h (symtab_to_filename_for_display): Added declaration. | |
4837 | * stack.c (print_frame): Added new variable and calling of a new | |
4838 | function and condition with this variable. Changed third argument of | |
4839 | calling of a function. | |
4840 | ||
aa079c93 JK |
4841 | 2013-02-03 Jan Kratochvil <[email protected]> |
4842 | ||
4843 | * tui/tui-data.c (init_win_info, tui_del_window, tui_free_window): | |
4844 | Rename field reference filename to fullname. | |
4845 | * tui/tui-data.h (struct tui_source_info): Rename field filename to | |
4846 | fullname. New comment for it. | |
4847 | * tui/tui-source.c (tui_set_source_content): Rename field reference | |
4848 | filename to fullname. Initialize field by symtab_to_fullname now. | |
4849 | * tui/tui-winsource.c (tui_update_breakpoint_info): Rename field | |
4850 | reference filename to fullname. Use symtab_to_fullname during | |
4851 | comparison. | |
4852 | ||
652a8996 JK |
4853 | 2013-02-03 Jan Kratochvil <[email protected]> |
4854 | ||
4855 | Code cleanup. | |
4856 | * dwarf2read.c (dw2_expand_symtabs_with_filename): Rename to ... | |
4857 | (dw2_expand_symtabs_with_fullname): ... here. Rename parameter | |
4858 | filename to fullname. Rename variable this_name to this_fullname. | |
4859 | Lowercase FILENAME_CMP call. | |
4860 | (dw2_find_symbol_file): New comment for the returned string. | |
4861 | (dwarf2_gdb_index_functions): Rename the function to | |
4862 | dw2_expand_symtabs_with_fullname. | |
4863 | * psymtab.c (read_psymtabs_with_filename): Rename to ... | |
4864 | (read_psymtabs_with_fullname): ... here. Rename parameter filename to | |
4865 | fullname. | |
4866 | (psym_functions): Rename the function to read_psymtabs_with_fullname. | |
4867 | * symfile.h (struct quick_symbol_functions): Rename field | |
4868 | expand_symtabs_with_filename to expand_symtabs_with_fullname and its | |
4869 | parameter filename to fullname. Document returned string meaning for | |
4870 | find_symbol_file. | |
4871 | * symtab.c (find_line_symtab): Rename the called function to | |
4872 | expand_symtabs_with_fullname. | |
4873 | ||
af529f8f JK |
4874 | 2013-02-03 Jan Kratochvil <[email protected]> |
4875 | ||
4876 | Code cleanup. | |
4877 | * breakpoint.c (clear_command): Remove variable is_abs, unify the | |
4878 | call of filename_cmp with compare_filenames_for_search. | |
4879 | * dwarf2read.c (dw2_map_symtabs_matching_filename): Remove variable | |
4880 | is_abs, unify the call of FILENAME_CMP with | |
4881 | compare_filenames_for_search. New gdb_asserts for real_path and name. | |
4882 | Unify the call of compare_filenames_for_search with FILENAME_CMP. | |
4883 | * psymtab.c (partial_map_symtabs_matching_filename): Likewise. | |
4884 | * symfile.h (struct quick_symbol_functions): Extend the comment for | |
4885 | map_symtabs_matching_filename. | |
4886 | * symtab.c (compare_filenames_for_search): Remove the function comment | |
4887 | relative path requirement. Handle absolute filenames, with a comment. | |
4888 | (iterate_over_some_symtabs): Remove variable is_abs, unify the call of | |
4889 | FILENAME_CMP with compare_filenames_for_search. New gdb_asserts for | |
4890 | real_path and name. Unify the call of compare_filenames_for_search | |
4891 | with FILENAME_CMP. | |
4892 | (iterate_over_symtabs): New gdb_assert on REAL_PATH. | |
4893 | ||
2f202fde JK |
4894 | 2013-02-03 Jan Kratochvil <[email protected]> |
4895 | ||
4896 | Code cleanup. | |
4897 | * breakpoint.c (print_breakpoint_location): Replace bp_location field | |
4898 | source_file references by symtab field references. Remove variables | |
4899 | sal and fullname. | |
4900 | (momentary_breakpoint_from_master, add_location_to_breakpoint): | |
4901 | (clear_command, say_where): Replace bp_location field source_file | |
4902 | references by symtab field references. | |
4903 | (bp_location_dtor): Remove the source_file reference. | |
4904 | (update_static_tracepoint): Replace bp_location field source_file | |
4905 | references by symtab field references. | |
4906 | (breakpoint_free_objfile): New function. | |
4907 | * breakpoint.h (struct bp_location): Extend the comment for line_number. | |
4908 | Replace the field source_file by field symtab, extend its comment. | |
4909 | (breakpoint_free_objfile): New declaration. | |
4910 | * objfiles.c (free_objfile): Call breakpoint_free_objfile. | |
4911 | * tui/tui-winsource.c (tui_update_breakpoint_info): Replace bp_location | |
4912 | field source_file references by symtab field references. | |
4913 | ||
f5b95b50 JK |
4914 | 2013-02-03 Jan Kratochvil <[email protected]> |
4915 | ||
4916 | Replace xfullpath calls by gdb_realpath calls. | |
4917 | * cli/cli-cmds.c (find_and_open_script): Remove xfullpath from the | |
4918 | function comment. | |
4919 | * dwarf2read.c (dw2_map_expand_apply): Remove parameter full_path. | |
4920 | Remove it from the iterate_over_some_symtabs call. | |
4921 | (dw2_map_symtabs_matching_filename): Remove parameter full_path. | |
4922 | Remove it from the dw2_map_expand_apply calls, remove a block handling | |
4923 | it. | |
4924 | * psymtab.c (partial_map_expand_apply): Remove parameter full_path. | |
4925 | Remove it from the iterate_over_some_symtabs call. | |
4926 | (partial_map_symtabs_matching_filename): Remove parameter full_path. | |
4927 | Remove it from the partial_map_expand_apply calls, remove a block | |
4928 | handling it. Drop gdb_realpath call and cleanups from the real_path | |
4929 | handling. | |
4930 | * source.c (openp): Drop the comment part about xfullpath. Replace | |
4931 | xfullpath calls by gdb_realpath calls. | |
4932 | (find_and_open_source): Replace xfullpath call by gdb_realpath call. | |
4933 | * symfile.h (struct quick_symbol_functions): Remove parameter full_path | |
4934 | from method map_symtabs_matching_filename and its comment. | |
4935 | * symmisc.c (maintenance_print_msymbols): Replace xfullpath call by | |
4936 | gdb_realpath call. | |
4937 | * symtab.c (iterate_over_some_symtabs): Remove parameter full_path, | |
4938 | remove it also from the function comment, remove a block handling it. | |
4939 | Drop gdb_realpath call and cleanups from the real_path handling. | |
4940 | (iterate_over_symtabs): Drop variable full_path and its use. | |
4941 | * symtab.h (iterate_over_some_symtabs): Remove parameter full_path. | |
4942 | * utils.c (xfullpath): Remove. | |
4943 | * utils.h (xfullpath): Remove. | |
4944 | ||
d78489bf AT |
4945 | 2013-02-01 Andreas Tobler <[email protected]> |
4946 | ||
4947 | * Makefile.in (ALL_TARGET_OBS): Add ppc64-tdep.o. | |
4948 | (HFILES_NO_SRCDIR): Add ppc64-tdep.h. | |
4949 | (ALLDEPFILES): Add ppc64-tdep.c. | |
4950 | * configure.tgt (powerpc-*-linux* | powerpc64-*-linux*): Add | |
4951 | ppc64-tdep.o to gdb_target_obs. | |
4952 | * ppc64-tdep.h: New file. | |
4953 | * ppc64-tdep.c: New file. | |
4954 | (insn_d, insn_ds, insn_xfx, ppc64_desc_entry_point): Move from | |
4955 | ppc-linux-tdep.c to here. | |
4956 | (PPC64_STANDARD_LINKAGE1_LEN, PPC64_STANDARD_LINKAGE2_LEN) | |
4957 | (PPC64_STANDARD_LINKAGE2_LEN): Likewise and use ARRAY_SIZE macro. | |
4958 | (ppc64_standard_linkage1_target, ppc64_standard_linkage2_target) | |
4959 | (ppc64_standard_linkage3_target, ppc64_skip_trampoline_code): Move | |
4960 | from ppc-linux-tdep.c to here. | |
4961 | (ppc64_convert_from_func_ptr_addr): Rename from | |
4962 | ppc64_linux_convert_from_func_ptr_addr to | |
4963 | ppc64_convert_from_func_ptr_addr and move from ppc-linux-tdep.c to | |
4964 | here. | |
4965 | * rs6000-tdep.c: | |
4966 | (read_insn): Move from ppc-linux-tdep.c to here. | |
4967 | (insns_match_pattern, insn_d_field, insn_ds_field): Move | |
4968 | from ppc-linux-tdep.c to here and rename them with the ppc_ prefix. | |
4969 | * ppc-linux-tdep.c: Include ppc64-tdep.h. | |
4970 | Removed above functions. | |
4971 | (ppc_linux_init_abi): Adjust. | |
4972 | ||
8db60374 AR |
4973 | 2013-02-01 Aleksandar Ristovski <[email protected]> |
4974 | ||
4975 | * ada-valprint.c (ada_print_floating): Remove unused 'len'. | |
4976 | ||
f2e5f4ce AR |
4977 | 2013-02-01 Aleksandar Ristovski <[email protected]> |
4978 | ||
4979 | * ada-lang.c (assign_aggregate): Remove unused 'is_array_aggregate'. | |
4980 | ||
c1f7d745 PA |
4981 | 2013-02-01 Pedro Alves <[email protected]> |
4982 | ||
4983 | * dummy-frame.c (deprecated_pc_in_call_dummy): Delete function. | |
4984 | * frame.h (deprecated_pc_in_call_dummy): Delete declaration. | |
4985 | ||
8a92335b JK |
4986 | 2013-02-01 Jan Kratochvil <[email protected]> |
4987 | ||
4988 | * elfread.c (elf_symfile_read): Limit separate debug info additions to | |
4989 | files with no separate debug info. | |
4990 | * objfiles.c (add_separate_debug_objfile): Add gdb_assert calls. | |
4991 | * symfile.c (read_symbols): Call find_separate_debug_file_in_section | |
4992 | only for files with no separate debug info. | |
4993 | ||
8eacb197 TT |
4994 | 2013-01-31 Tom Tromey <[email protected]> |
4995 | ||
4996 | * jit.c (jit_program_space_data): Rename from jit_inferior_data; | |
4997 | change type. | |
4998 | (struct jit_program_space_data): Rename from jit_inferior_data. | |
4999 | Update comments. | |
5000 | (get_jit_program_space_data): Rename from get_jit_inferior_data. | |
5001 | Change return type. Attach data to program space. | |
5002 | (jit_program_space_data_cleanup): Rename from | |
5003 | jit_inferior_data_cleanup; change argument type. | |
5004 | (jit_read_descriptor): Change 'inf_data' argument to 'ps_data', | |
5005 | change type. | |
5006 | (jit_register_code): Update. | |
5007 | (jit_update_inferior_cache): Remove. | |
5008 | (jit_breakpoint_deleted): Get jit data from the location's program | |
5009 | space. | |
5010 | (jit_breakpoint_re_set_internal): Rename 'inf_data' argument to | |
5011 | 'ps_data', change type. | |
5012 | (jit_inferior_init, jit_breakpoint_re_set_internal) | |
5013 | (jit_event_handler): Update. | |
5014 | (free_objfile_data): Get data from objfile's program space. | |
5015 | (_initialize_jit): Update. | |
5016 | ||
f25c0135 TT |
5017 | 2013-01-31 Tom Tromey <[email protected]> |
5018 | ||
5019 | PR gdb/13987: | |
5020 | * jit.c (struct jit_inferior_data) <cached_code_address, | |
5021 | jit_breakpoint>: New fields. | |
5022 | (jit_breakpoint_re_set_internal): Fix logging. Only create | |
5023 | breakpoint if cached address has changed. | |
5024 | (jit_update_inferior_cache, jit_breakpoint_deleted): New | |
5025 | functions. | |
5026 | (_initialize_jit): Register breakpoint deleted observer. | |
5027 | ||
974a734b AR |
5028 | 2013-01-31 Aleksandar Ristovski <[email protected]> |
5029 | ||
5030 | * infrun.c (handle_syscall_event): Remove unused gdbarch. | |
5031 | (save_infcall_suspend_state): Ifdef out unused inf. | |
5032 | (restore_infcall_suspend_state): Ifdef out unused inf. | |
5033 | * jit.c (jit_register_code): Remove unused i, b, inf_data. | |
5034 | (jit_frame_sniffer): Remove unused inf_data. | |
5035 | ||
df54f8eb AR |
5036 | 2013-01-31 Aleksandar Ristovski <[email protected]> |
5037 | ||
5038 | * c-exp.y (classify_inner_name): Remove unused type. | |
5039 | * c-lang.c (c_printstr): Remove unused byte_order, i, things_printed, | |
5040 | in_quotes, need_comma, wchar_buf, output, cleanup, iter, finished, | |
5041 | need_escape. | |
5042 | (c_get_string): Remove unused kind. | |
5043 | * c-typeprint.c (c_type_print_args): Remove unused i, len, args, table2. | |
5044 | ||
5799c0b9 AR |
5045 | 2013-01-31 Aleksandar Ristovski <[email protected]> |
5046 | ||
5047 | * charset.c (intermediate_encoding): Remove unused i. | |
5048 | * completer.c (signal_completer): Remove unused i. | |
5049 | * continuations.c (discard_my_continuations_1): Remove unused | |
5050 | continuation_ptr. | |
5051 | * corelow.c (core_close): Remove unuseD name. | |
5052 | (get_core_siginfo): Remove unused pid. | |
5053 | * cp-namespace.c (cp_lookup_symbol_imports_or_template): Remove unused | |
5054 | i, cps. | |
5055 | * dwarf2loc.c (dwarf2_compile_expr_to_ax): Remove unused base_offset. | |
5056 | (loclist_describe_location): Remove unused first. | |
5057 | * event-top.c (command_line_handler): Remove unused got_eof. | |
5058 | * exec.c (exec_close_1): Remove unused need_symtab_cleanup. | |
5059 | (resize_section_table): Remove unused old_value. | |
5060 | * gdb_bfd.c (gdb_bfd_map_section): Remove unused header. | |
5061 | * gnu-v3-abi.c (compute_vtable_size): Remove unused addr. | |
5062 | * i386-tdep.c (i386_process_record): Remove unused rex. | |
5063 | * infcmd.c (get_return_value): Remove unused uiout. | |
5064 | * jv-lang.c (type_from_class): Remove unused is_array. | |
5065 | * jv-valprint.c (java_val_print): Remove unused i. | |
5066 | * linux-nat.c (linux_nat_stop_lwp): Remove unused ptid. | |
5067 | * linux-thread-db.c (thread_db_find_new_threads_2): Remove unuseD pid. | |
5068 | * m2-typeprint.c (m2_print_type): Remove unused code. | |
5069 | * macroexp.c (get_character_constant): Remove unused body_start. | |
5070 | (macro_stringify): Remove unused result. | |
5071 | * objc-lang.c (find_methods): Remove unused gdbarch. | |
5072 | * objfiles.c (filter_overlapping_sections): Remove unused abfd1, abfd2. | |
5073 | * regcache.c (regcache_cooked_read): Remove unused gdbarch. | |
5074 | * stack.c (print_frame_args): Remove unused summary. | |
5075 | * thread.c (thread_apply_command): Remove unused p. | |
5076 | * valarith.c (value_x_unop): Remove unused mangle_ptr. | |
5077 | * valops.c (search_struct_method): Remove unused skip. | |
5078 | * valprint.c (generic_val_print): Remove unused byte_order. | |
5079 | * varobj.c (varobj_update): Remove unused changed. | |
5080 | * cli/cli-cmds.c (complete_command): Remove unused next_item. | |
5081 | (alias_command): Remove unused c. | |
5082 | * mi/mi-cmd-catch.c (mi_catch_load_unload): Remove unused c. | |
5083 | * mi/mi-main.c (mi_cmd_data_write_register_values): Remove unused | |
5084 | format. | |
5085 | (mi_cmd_data_write_memory): Remove unused word_format. | |
5086 | (mi_cmd_data_write_memory_bytes): Remove unused r. | |
5087 | * python/py-gdb-readline.c (gdbpy_readline_wrapper): Remove unused | |
5088 | p_start, p_end. | |
5089 | * python/python.c (_initialize_python): Remove unused cmd_name, cmd. | |
5090 | * tui/tui-disasm.c (tui_set_disassem_content): Remove unused | |
5091 | line_width. | |
5092 | ||
c656bca5 AR |
5093 | 2013-01-31 Aleksandar Ristovski <[email protected]> |
5094 | ||
5095 | * dwarf2-frame.c (dwarf2_compile_cfa_to_ax): Remove unused num_regs. | |
5096 | * symtab.c (iterate_over_symtabs): Remove unused s. | |
5097 | (find_pc_sect_symtab): Remove unused pspAce. | |
5098 | (find_pc_sect_line): Remove unused alt_symtab. | |
5099 | (find_pcs_for_symtab_line): Remove unused ix, previous_function. | |
5100 | (completion_list_add_name): Remove unused newsize. | |
5101 | ||
7078baeb TT |
5102 | 2013-01-31 Tom Tromey <[email protected]> |
5103 | ||
5104 | PR c++/14998: | |
5105 | * dwarf2read.c (read_tag_ptr_to_member_type): Handle | |
5106 | TYPE_CODE_FUNC. | |
5107 | ||
c2e8b827 AR |
5108 | 2013-01-31 Aleksandar Ristovski <[email protected]> |
5109 | ||
5110 | * target.c (target_read_string): Remove unused origlen. | |
5111 | ||
0e43993a AR |
5112 | 2013-01-31 Aleksandar Ristovski <[email protected]> |
5113 | ||
5114 | * auto-load.c (auto_load_expand_dir_vars): Remove unused dir_vec. | |
5115 | * ax-gdb.c (gen_printf): Remove unused expr, i, bot, fr, flen, fmt. | |
5116 | * ax-general.c (ax_print): Remove unused is_float. | |
5117 | * blockframe.c (block_innermost_frame): Remove unused start, end. | |
5118 | * break-catch-sig.c (catch_signal_command): Remove unused gdbarch. | |
5119 | ||
765a97ab AR |
5120 | 2013-01-31 Aleksandar Ristovski <[email protected]> |
5121 | ||
5122 | * solib-svr4.c (svr4_keep_data_in_core): Remove unused lmo. | |
5123 | (svr4_read_so_list): Remove unused lmo. | |
5124 | * solib-target.c (solib_target_relocate_section_addresses): Remove | |
5125 | unused flags. | |
5126 | ||
a99dad3d TT |
5127 | 2013-01-30 Tom Tromey <[email protected]> |
5128 | ||
5129 | * hppa-tdep.c (read_unwind_info): Use SECT_OFF_TEXT, not "0". | |
5130 | ||
3bff1ecd TT |
5131 | 2013-01-30 Tom Tromey <[email protected]> |
5132 | ||
5133 | * symfile.c (get_file_crc): Use bfd_calc_gnu_debuglink_crc32. | |
5134 | * utils.c (gnu_debuglink_crc32): Remove. | |
5135 | * utils.h (gnu_debuglink_crc32): Don't declare. | |
5136 | ||
7d455152 TT |
5137 | 2013-01-30 Tom Tromey <[email protected]> |
5138 | ||
5139 | * dwarf2read.c (compute_delayed_physnames, read_call_site_scope) | |
5140 | (read_structure_type, read_enumeration_type): Remove cast. | |
5141 | ||
abee88f2 TT |
5142 | 2013-01-30 Tom Tromey <[email protected]> |
5143 | ||
5144 | * dwarf2read.c (read_namespace_type): Remove cast. | |
5145 | (read_typedef): Likewise. | |
5146 | ||
8d9878a4 TT |
5147 | 2013-01-29 Tom Tromey <[email protected]> |
5148 | ||
5149 | * dwarf2read.c (free_dwo_file): Remove assert. | |
5150 | ||
a543d2a9 TT |
5151 | 2013-01-29 Tom Tromey <[email protected]> |
5152 | ||
5153 | * value.c (deprecated_set_value_modifiable): Remove. | |
5154 | * value.h (deprecated_set_value_modifiable): Remove. | |
5155 | ||
bed911e5 DE |
5156 | 2013-01-28 Doug Evans <[email protected]> |
5157 | ||
5158 | * dwarf2loc.c (dwarf2_find_location_expression): Don't add base address | |
5159 | to addresses from dwo files. | |
5160 | ||
28c64fc2 SCR |
5161 | 2013-01-25 Siva Chandra Reddy <[email protected]> |
5162 | ||
5163 | * valops.c (find_overload_match): Remove unused argument 'lax'. | |
5164 | * value.h: Remove unused argument 'lax' from the declaration of | |
5165 | find_overload_match. | |
5166 | * eval.c (value_subexp_standard): Do not pass a 'lax' argument | |
5167 | to find_overload_match. | |
5168 | * valarith.c (value_user_defined_cpp_op): Do not pass a 'lax' | |
5169 | argument to find_overload_match. | |
5170 | ||
4d4ec4e5 TT |
5171 | 2013-01-25 Tom Tromey <[email protected]> |
5172 | ||
5173 | * dwarf2read.c (processing_has_namespace_info): Remove. | |
5174 | (struct dwarf2_cu) <processing_has_namespace_info>: New field. | |
5175 | (process_die, read_func_scope, dwarf2_start_symtab) | |
5176 | (new_symbol_full): Update. | |
5177 | ||
195a3f6c TT |
5178 | 2013-01-25 Tom Tromey <[email protected]> |
5179 | ||
5180 | * cp-namespace.c (cp_set_block_scope): Remove. | |
5181 | * cp-support.h (cp_set_block_scope): Remove. | |
5182 | * dbxread.c: Include block.h. | |
5183 | (cp_set_block_scope): New function. | |
5184 | (process_one_symbol): Update. | |
5185 | * dwarf2read.c (read_func_scope): Use block_set_scope. | |
5186 | ||
8ba0730a PA |
5187 | 2013-01-25 Pedro Alves <[email protected]> |
5188 | ||
5189 | * remote.c (add_current_inferior_and_thread): Tweak comment. | |
5190 | ||
12aaed36 TT |
5191 | 2013-01-25 Tom Tromey <[email protected]> |
5192 | ||
5193 | * cp-namespace.c (cp_scan_for_anonymous_namespaces): Update. | |
5194 | (cp_add_using_directive): Add 'copy_names' argument. | |
5195 | * cp-support.h (cp_add_using_directive): Update. | |
5196 | (struct using_direct) <import_src, import_dest, alias, | |
5197 | declaration>: Now const. | |
5198 | * dwarf2read.c (read_import_statement): Use obconcat. | |
5199 | Don't copy names passed to cp_add_using_directive. | |
5200 | ||
7fc75ca7 TT |
5201 | 2013-01-25 Tom Tromey <[email protected]> |
5202 | ||
5203 | * c-exp.y (qualified_name): Use TYPE_SAFE_NAME. | |
5204 | ||
3405876a PA |
5205 | 2013-01-25 Pedro Alves <[email protected]> |
5206 | ||
5207 | * remote.c (stop_reply_extract_thread): New. | |
5208 | (add_current_inferior_and_thread): New parameter 'wait_status'. | |
5209 | Handle it. | |
5210 | (remote_start_remote): Pass wait status to | |
5211 | add_current_inferior_and_thread. | |
5212 | (extended_remote_run): Update comment. | |
5213 | (extended_remote_create_inferior_1): Pass wait status to | |
5214 | add_current_inferior_and_thread. | |
5215 | ||
8954db33 AB |
5216 | 2013-01-25 Andrew Burgess <[email protected]> |
5217 | Ulrich Weigand <[email protected]> | |
5218 | ||
5219 | * valarith.c (value_vector_widen): New function for replicating a | |
5220 | scalar into a vector. | |
5221 | (value_binop): Use value_vector_widen to widen scalar to vector | |
5222 | rather than casting, this better matches gcc C behaviour. | |
5223 | * valops.c (value_casst): Update logic for casting between vector | |
5224 | types, and for casting from scalar to vector, try to match gcc C | |
5225 | behaviour. | |
5226 | * value.h (value_vector_widen): Declare. | |
5227 | * opencl-lang.c (opencl_value_cast): New opencl specific casting | |
5228 | function, handle special case for casting scalar to vector. | |
5229 | (opencl_relop): Use opencl_value_cast. | |
5230 | (evaluate_subexp_opencl): Use opencl_value_cast instead of | |
5231 | value_cast, and handle BINOP_ASSIGN, UNOP_CAST, and UNOP_CAST_TYPE | |
5232 | in order to use opencl_value_cast. | |
5233 | ||
843b20dc YQ |
5234 | 2013-01-25 Yao Qi <[email protected]> |
5235 | ||
5236 | * event-loop.c: Include "queue.h". | |
5237 | (gdb_event_p): New typedef. | |
5238 | (DECLARE_QUEUE_P): Use. | |
5239 | (DEFINE_QUEUE_P): Use. | |
5240 | (async_queue_event): Remove. | |
5241 | (gdb_event_xfree): New. | |
5242 | (initialize_event_loop): New. | |
5243 | (process_event): Use QUEUE macros. | |
5244 | (event_queue): Remove. | |
5245 | (gdb_wait_for_event): Caller update. | |
5246 | (check_async_event_handlers): Likewise. | |
5247 | (poll_timers): Likewise. | |
5248 | * event-loop.h (initialize_event_loop): Declare. | |
5249 | * event-loop.c (gdb_event_xfree): New. | |
5250 | * top.c (gdb_init): Call initialize_event_loop. | |
5251 | ||
20ad8856 YQ |
5252 | 2013-01-25 Yao Qi <[email protected]> |
5253 | ||
5254 | * event-loop.c (async_queue_event): Remove one parameter | |
5255 | 'position'. Remove code handling 'position' == TAIL. | |
5256 | (gdb_wait_for_event): Caller update. | |
5257 | (check_async_event_handlers): Caller update. | |
5258 | (poll_timers): Caller update. | |
5259 | * event-loop.h (enum queue_position): Remove. | |
5260 | ||
3bbbe775 MK |
5261 | 2013-01-25 Maxim Kuvyrkov <[email protected]> |
5262 | ||
5263 | * MAINTAINERS: Update my email. | |
5264 | ||
a87d9ac4 YQ |
5265 | 2013-01-25 Yao Qi <[email protected]> |
5266 | ||
5267 | * main.c (print_gdb_help): Remove "--epoch" from the help | |
5268 | message. | |
5269 | ||
2077afdd TD |
5270 | 2013-01-24 Ulrich Weigand <[email protected]> |
5271 | ||
5272 | * symtab.c (skip_prologue_using_sal): Consider a file | |
5273 | change the same as an increased line number | |
5274 | ||
63da4037 TD |
5275 | 2013-01-24 Tiago Stürmer Daitx <[email protected]> |
5276 | ||
30e8ee25 | 5277 | * MAINTAINERS (Write After Approval): Add myself to the list. |
63da4037 | 5278 | |
45e6c716 TT |
5279 | 2013-01-24 Tom Tromey <[email protected]> |
5280 | ||
5281 | * ada-lang.h (ada_decode_symbol): Make return type const. | |
5282 | * ada-lang.c (ada_decode_symbol): Likewise. | |
5283 | ||
b1ae631a DE |
5284 | 2013-01-23 Doug Evans <[email protected]> |
5285 | ||
5286 | * linespec.c (find_linespec_symbols): Make static. | |
5287 | ||
55a78401 SDJ |
5288 | 2013-01-23 Tiago Stürmer Daitx <[email protected]> |
5289 | ||
5290 | * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Set correct | |
5291 | type on float conversion for complex type. | |
5292 | ||
bea883fd SCR |
5293 | 2013-01-23 Siva Chandra Reddy <[email protected]> |
5294 | ||
5295 | Add a new class gdb.Architecture which exposes GDB's | |
5296 | internal representation of architecture via GDB Python API. | |
5297 | * Makefile.in: Add entries corresponding to the new file | |
5298 | python/py-arch.c. | |
5299 | * NEWS (Python Scripting): Add entries for the new class | |
5300 | gdb.Architecture and the new method gdb.Frame.architecture. | |
5301 | * python/py-arch.c: Implement gdb.Architecture class. | |
5302 | * python/py-frame.c (frapy_arch): Implement the method | |
5303 | gdb.Frame.architecture(). | |
5304 | (frame_object_methods): Add 'architecture' to the method table. | |
5305 | * python/python-internal.h: Add declarations of new utility | |
5306 | functions. | |
5307 | * python/python.c (_initialize_python): Initialize | |
5308 | gdb.Architecture class. | |
5309 | ||
796a7ff8 DE |
5310 | 2013-01-23 Doug Evans <[email protected]> |
5311 | ||
5312 | Work around binutils/15021. | |
5313 | * dwarf2read.c (dwarf2_per_cu_data): Split imported_symtabs and | |
5314 | type_unit_group out of union s. All uses updated. | |
5315 | (read_index_from_section): Watch for index version 8. | |
5316 | (follow_die_sig): If using .gdb_index version <= 7, record the TU as | |
5317 | an imported symtab. | |
5318 | (write_psymtabs_to_index): Increment version number to 8. | |
5319 | ||
0928e93d PA |
5320 | 2013-01-22 Pedro Alves <[email protected]> |
5321 | ||
5322 | * annotate.c (breakpoint_changed): Skip if breakpoint is not | |
5323 | user-visible. | |
5324 | ||
9c97429f PA |
5325 | 2013-01-22 Pedro Alves <[email protected]> |
5326 | ||
5327 | * annotate.c (annotate_breakpoints_changed): Rename to ... | |
5328 | (annotate_breakpoints_invalid): ... this. Make static. | |
5329 | (breakpoint_changed): Adjust. | |
5330 | (_initialize_annotate): Always install the observers. Install a | |
5331 | "breakpoint_created" observer. | |
5332 | * annotate.h (annotate_breakpoints_changed): Delete declaration. | |
5333 | * breakpoint.c (set_breakpoint_condition) | |
5334 | (breakpoint_set_commands, do_map_commands_command) | |
5335 | (init_raw_breakpoint, clear_command, set_ignore_count) | |
5336 | (enable_breakpoint_disp): No longer call | |
5337 | annotate_breakpoints_changed. | |
5338 | ||
bd00c694 PA |
5339 | 2013-01-22 Pedro Alves <[email protected]> |
5340 | ||
5341 | * annotate.c: Include "inferior.h". | |
5342 | (frames_invalid_emitted) | |
5343 | (breakpoints_invalid_emitted): New globals. | |
5344 | (async_background_execution_p): New function. | |
5345 | (annotate_breakpoints_changed, annotate_frames_invalid): Skip | |
5346 | emitting the annotation if it has already been emitted. | |
5347 | (annotate_display_prompt): New function. | |
5348 | * annotate.h (annotate_display_prompt): New declaration. | |
5349 | * event-top.c: Include annotate.h. | |
5350 | (display_gdb_prompt): Call annotate_display_prompt. | |
5351 | ||
187d10dd PA |
5352 | 2013-01-22 Pedro Alves <[email protected]> |
5353 | ||
5354 | * annotate.c (ignore_count_changed): Delete. | |
5355 | (annotate_breakpoints_changed): Don't clear ignore_count_changed. | |
5356 | (annotate_ignore_count_change): Delete. | |
5357 | (annotate_stopped): Don't emit a delayed breakpoints-changed | |
5358 | annotation. | |
5359 | * annotate.h (annotate_ignore_count_change): Delete. | |
5360 | * breakpoint.c (bpstat_check_breakpoint_conditions): Don't call | |
5361 | annotate_ignore_count_change. | |
5362 | ||
d84cf7eb TT |
5363 | 2013-01-22 Tom Tromey <[email protected]> |
5364 | ||
5365 | * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: Only | |
5366 | require_rvalue for a register location. | |
5367 | ||
8f1d5693 MK |
5368 | 2013-01-21 Marc Khouzam <[email protected]> |
5369 | ||
5370 | * breakpoint.c (print_one_breakpoint_location): Add MI | |
5371 | field 'thread-groups' when printing a breakpoint. | |
5372 | (output_thread_groups): New function. | |
5373 | ||
aa6199c6 SCR |
5374 | 2013-01-21 Siva Chandra Reddy <[email protected]> |
5375 | ||
5376 | * python/lib/gdb/commands/explore.py | |
5377 | (CompoundExplorer.explore_expr): Correct the name of a method | |
5378 | being invoked. | |
5379 | (ExploreTypeCommand.invoke): Add a missing 'return'. | |
5380 | ||
d2afef13 TT |
5381 | 2013-01-21 Tom Tromey <[email protected]> |
5382 | ||
5383 | * gdb_obstack.h (obconcat): Move declaration here, from... | |
5384 | * symfile.h (obconcat): ... here. | |
5385 | * gdb_obstack.c: New file. | |
5386 | (obconcat): Move from... | |
5387 | * symfile.c (obconcat): ... here. | |
5388 | * Makefile.in (SFILES): Add gdb_obstack.c. | |
5389 | (COMMON_OBS): Add gdb_obstack.o. | |
5390 | ||
10f0c4bb TT |
5391 | 2013-01-21 Tom Tromey <[email protected]> |
5392 | ||
5393 | * symfile.h (obsavestring): Don't declare. | |
5394 | * symfile.c (obsavestring): Remove. | |
5395 | * ada-exp.y: Use obstack_copy0, not obsavestring. | |
5396 | * ada-lang.c: Use obstack_copy0, not obsavestring. | |
5397 | * coffread.c: Use obstack_copy0, not obsavestring. | |
5398 | * cp-namespace.c: Use obstack_copy0, not obsavestring. | |
5399 | * dbxread.c: Use obstack_copy0, not obsavestring. | |
5400 | * dwarf2read.c: Use obstack_copy0, not obsavestring. | |
5401 | * jit.c: Use obstack_copy0, not obsavestring. | |
5402 | * mdebugread.c: Use obstack_copy0, not obsavestring. | |
5403 | * psymtab.c: Use obstack_copy0, not obsavestring. | |
5404 | * stabsread.c: Use obstack_copy0, not obsavestring. | |
5405 | * xcoffread.c: Use obstack_copy0, not obsavestring. | |
5406 | ||
86f62fd7 TT |
5407 | 2013-01-21 Tom Tromey <[email protected]> |
5408 | ||
5409 | * dwarf2read.c (fixup_go_packaging): Save package name | |
5410 | on objfile obstack. | |
5411 | * gdbtypes.c (init_type): Don't copy name. | |
5412 | ||
15d034d0 TT |
5413 | 2013-01-21 Tom Tromey <[email protected]> |
5414 | ||
5415 | * dwarf2read.c (struct partial_die_info) <name, scope>: Now | |
5416 | const. | |
5417 | (struct attribute) <u.str>: Now const. | |
5418 | (struct fnfieldlist) <name>: Now const. | |
5419 | (dw2_get_file_names_reader, init_cutu_and_read_dies): Update. | |
5420 | (partial_die_parent_scope): Make return type const. | |
5421 | (partial_die_full_name, add_partial_symbol): Update. | |
5422 | (dwarf2_compute_name, dwarf2_full_name, dwarf2_physname): Make | |
5423 | 'name' const. | |
5424 | (find_file_and_directory): Make 'name' and 'comp_dir' const. | |
5425 | (read_file_scope, read_func_scope, dwarf2_add_field) | |
5426 | (dwarf2_add_member_fn, read_structure_type) | |
5427 | (process_enumeration_scope, read_array_type, read_module_type) | |
5428 | (read_base_type, read_subrange_type): Update. | |
5429 | (dwarf2_start_symtab): Make 'name' and 'comp_dir' const. | |
5430 | (new_symbol_full, guess_full_die_structure_name): Update. | |
5431 | (dwarf2_canonicalize_name): Return const type. Make 'name' const. | |
5432 | (dwarf2_name): Return const type. | |
5433 | (dwarf_decode_macro_bytes, dwarf_decode_macros): Make 'comp_dir' | |
5434 | const. | |
5435 | ||
748e18ae TT |
5436 | 2013-01-21 Tom Tromey <[email protected]> |
5437 | ||
5438 | * gdbtypes.c (init_type): Make 'name' const. | |
5439 | * gdbtypes.h (init_type): Update. | |
5440 | ||
46212e0b TT |
5441 | 2013-01-21 Tom Tromey <[email protected]> |
5442 | ||
5443 | * buildsym.c (patch_subfile_names): Use set_last_source_file. | |
5444 | (start_symtab): Make 'name' and 'dirname' const. Use | |
5445 | set_last_source_file. | |
5446 | (restart_symtab, reset_symtab_globals): Use set_last_source_file. | |
5447 | (last_source_file): Define. Now static. | |
5448 | (set_last_source_file, get_last_source_file): New functions. | |
5449 | * buildsym.h (last_source_file): Don't declare. | |
5450 | (start_symtab): Update. | |
5451 | (set_last_source_file, get_last_source_file): Declare. | |
5452 | * coffread.c (complete_symtab): Use set_last_source_file. | |
5453 | (coff_end_symtab): Likewise. | |
5454 | (coff_symtab_read): Use set_last_source_file, get_last_source_file. | |
5455 | * dbxread.c (read_dbx_symtab, read_ofile_symtab): Use | |
5456 | set_last_source_file. | |
5457 | (process_one_symbol): Use get_last_source_file. | |
5458 | * mdebugread.c (parse_partial_symbols): Use set_last_source_file. | |
5459 | (psymtab_to_symtab_1): Use get_last_source_file. | |
5460 | * xcoffread.c (process_linenos): Use get_last_source_file. | |
5461 | (complete_symtab): Use set_last_source_file. | |
5462 | (read_xcoff_symtab): Use set_last_source_file, get_last_source_file. | |
5463 | (scan_xcoff_symtab): Use set_last_source_file. | |
5464 | ||
9d2ceabe TT |
5465 | 2013-01-21 Tom Tromey <[email protected]> |
5466 | ||
5467 | * symtab.c (struct demangled_name_entry) <mangled>: Now const. | |
5468 | (symbol_set_names): Remove casts. Handle field const-ness. | |
5469 | ||
cfc594ee TT |
5470 | 2013-01-21 Tom Tromey <[email protected]> |
5471 | ||
5472 | * dwarf2read.c (new_symbol_full): Remove cast. | |
5473 | * symtab.c (symbol_set_demangled_name): Make 'name' const. | |
5474 | * symtab.h (symbol_set_demangled_name): Update. | |
5475 | ||
5484b13a TT |
5476 | 2013-01-21 Tom Tromey <[email protected]> |
5477 | ||
5478 | * main.c (captured_main): Call bfd_init. | |
5479 | ||
1605ef26 TT |
5480 | 2013-01-21 Tom Tromey <[email protected]> |
5481 | ||
5482 | * gnu-v2-abi.c (_initialize_gnu_v2_abi): Don't set default ABI. | |
5483 | * gnu-v3-abi.c (_initialize_gnu_v3_abi): Set default ABI. | |
5484 | * minsyms.c (install_minimal_symbols): Don't check for _Z symbols. | |
5485 | * NEWS: Update. | |
5486 | ||
3b74cdc3 JK |
5487 | 2013-01-21 Jan Kratochvil <[email protected]> |
5488 | ||
5489 | * symmisc.c (maintenance_print_msymbols): Check also ST_DEV. | |
5490 | ||
5a352474 JK |
5491 | 2013-01-21 Jan Kratochvil <[email protected]> |
5492 | ||
5493 | Fix gdb.fortran/common-block.exp crash in PIE mode. | |
5494 | * dwarf2read.c (new_symbol_full) <DW_TAG_common_block>: Use | |
5495 | LOC_COMMON_BLOCK. | |
5496 | * f-valprint.c (info_common_command_for_block): Expect | |
5497 | LOC_COMMON_BLOCK in gdb_assert. | |
5498 | * symtab.h (struct general_symbol_info): Update comment for the | |
5499 | common_block member. | |
5500 | (domain_enum): Extend comment for the COMMON_BLOCK_DOMAIN member. | |
5501 | (enum address_class): New member LOC_COMMON_BLOCK. | |
5502 | ||
c60797fd DB |
5503 | 2013-01-18 David Blaikie <[email protected]> |
5504 | ||
5505 | * MAINTAINERS (Write After Approval): Add "David Blaikie". | |
0cae7dfb | 5506 | |
46f35228 TT |
5507 | 2013-01-18 Tom Tromey <[email protected]> |
5508 | ||
5509 | PR c++/14999: | |
5510 | * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: | |
5511 | Call require_rvalue. | |
5512 | ||
257e7a09 YQ |
5513 | 2013-01-18 Yao Qi <[email protected]> |
5514 | ||
5515 | * dbxread.c (dbx_psymtab_to_symtab): Delete the declaration. | |
5516 | (dbx_read_symtab): New declaration. | |
5517 | (dbx_psymtab_to_symtab): Delete. | |
5518 | (dbx_read_symtab): Rename from dbx_psymtab_to_symtab. | |
5519 | Rename parameter PST to SELF. Exchanged two parameters. | |
5520 | (start_psymtab): Caller update. | |
5521 | * dwarf2read.c (dwarf2_psymtab_to_symtab): Delete the declaration. | |
5522 | (dwarf2_read_symtab): New declaration. | |
5523 | (dwarf2_psymtab_to_symtab): Delete. | |
5524 | (dwarf2_read_symtab): Rename from dwarf2_psymtab_to_symtab. | |
5525 | Rename parameter PST to SELF. Exchanged two parameters. | |
5526 | (create_partial_symtab): Caller update. | |
5527 | * mdebugread.c (mdebug_psymtab_to_symtab): Delete. | |
5528 | (mdebug_read_symtab): Rename from mdebug_psymtab_to_symtab. | |
5529 | Rename parameter PST to SELF. Exchanged two parameters. | |
5530 | (parse_partial_symbols, new_psymtab): Caller update. | |
5531 | * psympriv.h (struct partial_symtab) <read_symtab>: Exchange | |
5532 | two parameters. | |
5533 | * psymtab.c (psymtab_to_symtab): Caller update. | |
5534 | * xcoffread.c (xcoff_psymtab_to_symtab): Delete. | |
5535 | (xcoff_read_symtab): Rename from xcoff_psymtab_to_symtab. | |
5536 | Rename parameter PST to SELF. Exchanged two parameters. | |
5537 | (xcoff_start_psymtab): Caller update. | |
5538 | ||
0de5618e YQ |
5539 | 2013-01-18 Yao Qi <[email protected]> |
5540 | ||
5541 | * infrun.c (proceed): Rename local variable 'oneproc' to | |
5542 | 'force_step'. | |
5543 | ||
5c04624b DE |
5544 | 2013-01-17 Doug Evans <[email protected]> |
5545 | ||
848e3e78 DE |
5546 | * dwarf2read.c (dw2_build_type_unit_groups_reader): Delete. |
5547 | (dw2_build_type_unit_groups): Delete. All uses updated. | |
5548 | ||
5c04624b DE |
5549 | * symtab.h (struct symbol_search): Add comment. |
5550 | ||
d84fca2c JK |
5551 | 2013-01-17 Jan Kratochvil <[email protected]> |
5552 | ||
5553 | * symtab.c (compare_filenames_for_search): New comment for | |
5554 | HAS_DRIVE_SPEC. | |
5555 | ||
6108433d TT |
5556 | 2013-01-17 Tom Tromey <[email protected]> |
5557 | ||
5558 | * cp-abi.c (cp_abi_completer): Fix typo in assignment. | |
5559 | ||
c89ffd86 JK |
5560 | 2013-01-17 Jan Kratochvil <[email protected]> |
5561 | ||
5562 | * symtab.c (iterate_over_some_symtabs): New variable cleanups, | |
5563 | initialize it by existing make_cleanup. Call new do_cleanups. | |
5564 | ||
db2b2972 TT |
5565 | 2013-01-17 Tom Tromey <[email protected]> |
5566 | ||
5567 | * cp-abi.c (cp_abi_completer): New function. | |
5568 | (_initialize_cp_abi): Set completer for "set cp-abi". | |
5569 | ||
be7d37a2 TT |
5570 | 2013-01-17 Tom Tromey <[email protected]> |
5571 | ||
5572 | * mem-break.c: Remove obsolete comment. | |
5573 | * bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment. | |
5574 | ||
c9fb1240 SD |
5575 | 2012-01-17 Sanjoy Das <[email protected]> |
5576 | ||
5577 | * jit.c (jit_reader_load_command): Interpret the jit reader name | |
5578 | as an absolute path if it begins with a forward slash. | |
5579 | ||
db334a01 SD |
5580 | 2012-01-17 Sanjoy Das <[email protected]> |
5581 | ||
5582 | PR gdb/14550 | |
5583 | ||
5584 | * jit.c (finalize_symtab): Ensure that only the global block has a | |
5585 | NULL superblock. | |
5586 | ||
7d928dac PA |
5587 | 2013-01-17 Pedro Alves <[email protected]> |
5588 | ||
5589 | * acinclude.m4: Include ../config/plugins.m4, | |
5590 | ../config/largefile.m4 and ../config/lead-dot.m4. Add comments. | |
5591 | * Makefile.in (aclocal_m4_deps): Update. | |
5592 | * aclocal.m4: Renegerate. | |
5593 | ||
fb8cf7c5 DE |
5594 | 2013-01-16 Doug Evans <[email protected]> |
5595 | ||
5596 | * contrib/cc-with-tweaks.sh: Add references to Fission docs. | |
5597 | ||
ab04a2af TT |
5598 | 2013-01-16 Pedro Alves <[email protected]> |
5599 | Tom Tromey <[email protected]> | |
5600 | ||
5601 | PR cli/7221: | |
5602 | * NEWS: Add "catch signal". | |
5603 | * breakpoint.c (base_breakpoint_ops): No longer static. | |
5604 | (bpstat_explains_signal): New function. | |
5605 | (init_catchpoint): No longer static. | |
5606 | (base_breakpoint_explains_signal): New function. | |
5607 | (base_breakpoint_ops): Initialize new field. | |
5608 | * breakpoint.h (enum bpstat_signal_value): New. | |
5609 | (struct breakpoint_ops) <explains_signal>: New field. | |
5610 | (bpstat_explains_signal): Remove macro, declare as function. | |
5611 | (base_breakpoint_ops, init_catchpoint): Declare. | |
5612 | * break-catch-sig.c: New file. | |
5613 | * inferior.h (signal_catch_update): Declare. | |
5614 | * infrun.c (signal_catch): New global. | |
5615 | (handle_syscall_event): Update for change to | |
5616 | bpstat_explains_signal. | |
5617 | (handle_inferior_event): Likewise. Always handle random signals | |
5618 | via bpstats. | |
5619 | (signal_cache_update): Check signal_catch. | |
5620 | (signal_catch_update): New function. | |
5621 | (_initialize_infrun): Initialize signal_catch. | |
5622 | * Makefile.in (SFILES): Add break-catch-sig.c. | |
5623 | (COMMON_OBS): Add break-catch-sig.o. | |
5624 | ||
8ac3646f TT |
5625 | 2013-01-16 Tom Tromey <[email protected]> |
5626 | ||
5627 | * breakpoint.c (print_one_catch_fork, print_one_catch_vfork) | |
5628 | (print_one_catch_solib, print_one_catch_syscall) | |
5629 | (print_one_catch_exec, print_one_exception_catchpoint): Emit | |
5630 | "catch-type". | |
5631 | ||
5a18e302 YQ |
5632 | 2013-01-16 Yao Qi <[email protected]> |
5633 | ||
5634 | * printcmd.c (current_display_number): Make it static. | |
5635 | ||
3f01d0d0 YQ |
5636 | 2013-01-16 Yao Qi <[email protected]> |
5637 | ||
5638 | * infcmd.c (step_once): Don't check '!single_inst' as it was | |
5639 | checked before. | |
5640 | ||
1ed59174 JK |
5641 | 2013-01-15 Jan Kratochvil <[email protected]> |
5642 | ||
5643 | * dwarf2read.c (psymtab_include_file_name): Extend the function comment. | |
5644 | ||
44478ab3 TT |
5645 | 2013-01-14 Tom Tromey <[email protected]> |
5646 | ||
5647 | * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the | |
5648 | set command. | |
5649 | * command.h (add_setshow_string_noescape_cmd): Update. | |
5650 | * corefile.c (set_gnutarget_command): Remove trailing whitespace. | |
5651 | (complete_set_gnutarget): New function. | |
5652 | (_initialize_core): Set the "set gnutarget" completer. | |
5653 | ||
06d66ee9 TT |
5654 | 2013-01-14 Tom Tromey <[email protected]> |
5655 | ||
5656 | PR symtab/14442: | |
5657 | * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'. | |
5658 | (c_type_print_modifier): Likewise. | |
5659 | * dwarf2read.c (read_tag_restrict_type): New function. | |
5660 | (read_type_die_1): Handle DW_TAG_restrict_type. | |
5661 | * gdbtypes.c (make_restrict_type): New function. | |
5662 | (recursive_dump_type): Handle TYPE_RESTRICT. | |
5663 | * gdbtypes.h (enum type_flag_values): Renumber. | |
5664 | (enum type_instance_flag_value): Add | |
5665 | TYPE_INSTANCE_FLAG_RESTRICT. | |
5666 | (TYPE_RESTRICT): New macro. | |
5667 | (make_restrict_type): Declare. | |
5668 | ||
c9bf0622 TT |
5669 | 2013-01-14 Tom Tromey <[email protected]> |
5670 | ||
5671 | PR symtab/14931: | |
5672 | * psymtab.c (struct psymtab_state): New. | |
5673 | (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New | |
5674 | functions. | |
5675 | * psympriv.h (make_cleanup_discard_psymtabs): Declare. | |
5676 | * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions. | |
5677 | ||
44d594fd PA |
5678 | 2013-01-14 Richard Sharman <[email protected]> |
5679 | Pedro Alves <[email protected]> | |
5680 | ||
5681 | PR remote/14786 | |
5682 | ||
5683 | * remote.c (remote_threads_info): Make a copy of the reply from | |
5684 | qfThreadInfo and use that instead of rs->buf. | |
5685 | ||
442e4d9c YQ |
5686 | 2013-01-14 Yao Qi <[email protected]> |
5687 | ||
5688 | * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL. | |
5689 | (dbx_psymtab_to_symtab): Likewise. | |
5690 | * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise. | |
5691 | * mdebugread.c (mdebug_psymtab_to_symtab): Likewise. | |
5692 | * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise. | |
5693 | ||
5b12a61c JK |
5694 | 2013-01-13 Jan Kratochvil <[email protected]> |
5695 | ||
5696 | * parse.c (parse_exp_in_context): New variable inner_chain. Call | |
5697 | make_cleanup_restore_current_language. Call set_language. Move | |
5698 | OLD_CHAIN and INNER_CHAIN cleanups. | |
5699 | * utils.c (do_restore_current_language) | |
5700 | (make_cleanup_restore_current_language): New functions. | |
5701 | * utils.h (make_cleanup_restore_current_language): New declaration. | |
5702 | ||
f0a4b570 JK |
5703 | 2013-01-13 Jan Kratochvil <[email protected]> |
5704 | ||
5705 | * source.c (symtab_to_fullname): Apply rewrite_source_path also for | |
5706 | non-existing files. | |
5707 | ||
57b3c00c JK |
5708 | * source.c (symtab_to_fullname): Do not prepend DIRNAME for |
5709 | non-existing files if FILENAME is already absolute. | |
5710 | ||
daefa854 JK |
5711 | 2013-01-11 Jan Kratochvil <[email protected]> |
5712 | ||
5713 | * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of | |
5714 | fputs_filtered. Append trailing newline. | |
5715 | ||
ca9c6ee2 YQ |
5716 | 2013-01-11 Yao Qi <[email protected]> |
5717 | Stan Shebs <[email protected]> | |
5718 | ||
5719 | * psymtab.c (init_psymbol_list): Clarify the comment. | |
5720 | ||
f28045c2 YQ |
5721 | 2013-01-11 Yao Qi <[email protected]> |
5722 | ||
5723 | * breakpoint.c (print_one_breakpoint_location): Remove dead code. | |
5724 | (update_dprintf_command_list): Assert that 'printf_line' is | |
5725 | non-null. Remove condition check. | |
5726 | ||
da5132d3 JK |
5727 | 2013-01-10 Jan Kratochvil <[email protected]> |
5728 | ||
5729 | Code cleanup. | |
5730 | * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return | |
5731 | type const char *. | |
5732 | * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname | |
5733 | const char *. | |
5734 | * tui/tui-source.h (tui_source_is_displayed): Likewise. | |
5735 | ||
843e694d AG |
5736 | 2013-01-09 Anthony Green <[email protected]> |
5737 | ||
5738 | * cp-abi.c (cplus_print_vtable): Don't return value from void | |
5739 | function. | |
5740 | * ada-lang.c (re_set_catch_assert): Ditto. | |
5741 | ||
da51c347 DE |
5742 | 2013-01-09 Doug Evans <[email protected]> |
5743 | ||
5744 | * symfile.h (quick_symbol_functions): Delete member | |
5745 | pre_expand_symtabs_matching. All uses removed. | |
5746 | * dwarf2read.c (dw2_lookup_symbol): Implement. | |
5747 | (dw2_do_expand_symtabs_matching): Delete. | |
5748 | (dw2_pre_expand_symtabs_matching): Delete. | |
5749 | (struct dw2_symtab_iterator): New type. | |
5750 | (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions. | |
5751 | (dw2_expand_symtabs_for_function): Rewrite. | |
5752 | (dwarf2_gdb_index_functions): Update. | |
5753 | * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete. | |
5754 | (psym_functions): Update. | |
5755 | ||
b2259038 TT |
5756 | 2013-01-09 Tom Tromey <[email protected]> |
5757 | ||
5758 | * config/pa/hpux.mh (NATDEPFILES): Remove somread.o. | |
5759 | * configure: Rebuild. | |
5760 | * configure.ac: Add somread.o to the build if BFD has SOM | |
5761 | support. | |
5762 | * somread.c: Include som/aout.h, not syms.h. | |
5763 | (som_symtab_read): Use som_external_symbol_dictionary_record. | |
5764 | Unpack records manually. | |
5765 | (_initialize_somread): Declare. | |
5766 | ||
bdad4180 MF |
5767 | 2012-01-08 Mike Frysinger <[email protected]> |
5768 | ||
5769 | * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx) [__x86_64__]: | |
5770 | Cast return_address to 64bits. | |
5771 | ||
03cdf680 HZ |
5772 | 2013-01-08 Hui Zhu <[email protected]> |
5773 | ||
5774 | * printcmd.c: Remove define of function output_command. | |
5775 | * tracepoint.c: Remove extern of function output_command. | |
5776 | * valprint.h: (output_command): New extern. | |
5777 | ||
8a808554 TT |
5778 | 2013-01-07 Tom Tromey <[email protected]> |
5779 | ||
5780 | * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr): | |
5781 | Remove. | |
5782 | (objc_language_defn): Use c_printchar, c_printstr, | |
5783 | c_emit_char. | |
5784 | ||
e93a8774 TT |
5785 | 2013-01-07 Tom Tromey <[email protected]> |
5786 | ||
5787 | PR cli/7719: | |
5788 | * NEWS: Update. | |
5789 | * ada-valprint.c (printstr, print_field_values): Remove | |
5790 | "inspect_it" code. | |
5791 | * cp-valprint.c (cp_print_value_fields): Remove "inspect_it" | |
5792 | code. | |
5793 | * jv-valprint.c (java_print_value_fields): Remove "inspect_it" | |
5794 | code. | |
5795 | * m2-lang.c (m2_printstr): Remove "inspect_it" code. | |
5796 | * main.c (captured_main): Remove "epoch" argument. | |
5797 | * objc-lang.c (objc_printstr): Remove "inspect_it" code. | |
5798 | * p-lang.c (pascal_printstr): Remove "inspect_it" code. | |
5799 | * p-valprint.c (pascal_object_print_value_fields): Remove | |
5800 | "inspect_it" code. | |
5801 | * printcmd.c (print_command_1): Remove 'inspect' argument. | |
5802 | (print_command, call_command): Update. | |
5803 | (inspect_command): Remove. | |
5804 | (_initialize_printcmd): Make "inspect" an alias for "print". | |
5805 | * top.c (epoch_interface): Remove. | |
5806 | * top.h (epoch_interface): Remove. | |
5807 | * valprint.c (user_print_options): Update. | |
5808 | (print_converted_chars_to_obstack): Remove "inspect_it" code. | |
5809 | * valprint.h (struct value_print_options) <inspect_it>: Remove | |
5810 | field. | |
5811 | ||
5812 | 2013-01-04 Tom Tromey <[email protected]> | |
5813 | ||
5814 | * valprint.h (read_string): Add 'extern'. | |
5815 | ||
b967eb24 JB |
5816 | 2013-01-07 Joel Brobecker <[email protected]> |
5817 | ||
5818 | * darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test | |
5819 | used to decide whether to define darwin_read_dyld_info or not. | |
5820 | ||
78a8b30e PM |
5821 | 2013-01-03 Pierre Muller <[email protected]> |
5822 | ||
5823 | * main.c (relocate_gdb_directory): Avoid calling stat function | |
5824 | if DIR is empty. | |
5825 | ||
50da2f25 YQ |
5826 | 2013-01-03 Yao Qi <[email protected]> |
5827 | ||
5828 | * psymtab.c (fixup_psymbol_section): Update declaration. | |
5829 | (fixup_psymbol_section): Remove code returning value. | |
5830 | ||
e7e8980f YQ |
5831 | 2013-01-03 Yao Qi <[email protected]> |
5832 | ||
5833 | * symtab.h: Remove some out of date comments. | |
5834 | (enum exception_event_kind): Move it ... | |
5835 | * breakpoint.c: ... here. | |
5836 | ||
569283d4 MF |
5837 | 2013-01-02 Iain Sandoe <[email protected]> |
5838 | ||
9f9d9a96 | 5839 | PR gdb/14405 |
569283d4 MF |
5840 | * darwin-nat.c (darwin_read_dyld_info): Only build if |
5841 | TASK_DYLD_INFO_COUNT is defined. | |
5842 | (darwin_xfer_partial): Call darwin_read_dyld_info only if | |
5843 | TASK_DYLD_INFO_COUNT is defined. | |
5844 | ||
2e36fbea TT |
5845 | 2013-01-02 Tom Tromey <[email protected]> |
5846 | ||
5847 | * symfile.h (struct ecoff_debug_hack): Remove. | |
5848 | * objfiles.c: Don't include mdebugread.h. | |
5849 | ||
4f05add4 TT |
5850 | 2013-01-02 Tom Tromey <[email protected]> |
5851 | ||
5852 | * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o. | |
5853 | * configure.ac: Check for Mach-O support in BFD. Update | |
5854 | CONFIG_OBS. | |
5855 | * configure: Rebuild. | |
5856 | ||
def63ff0 TT |
5857 | 2013-01-02 Tom Tromey <[email protected]> |
5858 | ||
5859 | * acinclude.m4 (GDB_AC_CHECK_BFD): New macro. | |
5860 | * configure.ac: Use GDB_AC_CHECK_BFD. | |
5861 | * configure: Rebuild. | |
5862 | ||
60c5dd93 MK |
5863 | 2013-01-01 Maxim Kuvyrkov <[email protected]> |
5864 | ||
5865 | * MAINTAINERS: Update my email. | |
5866 | ||
6e58437e JB |
5867 | 2013-01-01 Joel Brobecker <[email protected]> |
5868 | ||
5869 | * cli/cli-script.h (make_cleanup_free_command_lines): Make extern. | |
5870 | ||
627fe805 JB |
5871 | 2013-01-01 Joel Brobecker <[email protected]> |
5872 | ||
5873 | * rs6000-nat.c (bss_data_overlap): New function. | |
5874 | (vmap_symtab): Use it to adjust the .bss section's offset. | |
5875 | ||
28e7fd62 JB |
5876 | 2013-01-01 Joel Brobecker <[email protected]> |
5877 | ||
5878 | Update year range in copyright notice of all files. | |
5879 | ||
e93a8774 | 5880 | 2013-01-01, 13 Joel Brobecker <[email protected]> |
b9786c74 JB |
5881 | |
5882 | * top.c (print_gdb_version): Update copyright year. | |
5883 | ||
72b20e9c | 5884 | For older changes see ChangeLog-2012. |
c906108c SS |
5885 | \f |
5886 | Local Variables: | |
5887 | mode: change-log | |
5888 | left-margin: 8 | |
5889 | fill-column: 74 | |
5890 | version-control: never | |
57da7796 | 5891 | coding: utf-8 |
c906108c | 5892 | End: |