Commit | Line | Data |
---|---|---|
3bff1ecd TT |
1 | 2013-01-30 Tom Tromey <tromey@redhat.com> |
2 | ||
3 | * symfile.c (get_file_crc): Use bfd_calc_gnu_debuglink_crc32. | |
4 | * utils.c (gnu_debuglink_crc32): Remove. | |
5 | * utils.h (gnu_debuglink_crc32): Don't declare. | |
6 | ||
7d455152 TT |
7 | 2013-01-30 Tom Tromey <tromey@redhat.com> |
8 | ||
9 | * dwarf2read.c (compute_delayed_physnames, read_call_site_scope) | |
10 | (read_structure_type, read_enumeration_type): Remove cast. | |
11 | ||
abee88f2 TT |
12 | 2013-01-30 Tom Tromey <tromey@redhat.com> |
13 | ||
14 | * dwarf2read.c (read_namespace_type): Remove cast. | |
15 | (read_typedef): Likewise. | |
16 | ||
8d9878a4 TT |
17 | 2013-01-29 Tom Tromey <tromey@redhat.com> |
18 | ||
19 | * dwarf2read.c (free_dwo_file): Remove assert. | |
20 | ||
a543d2a9 TT |
21 | 2013-01-29 Tom Tromey <tromey@redhat.com> |
22 | ||
23 | * value.c (deprecated_set_value_modifiable): Remove. | |
24 | * value.h (deprecated_set_value_modifiable): Remove. | |
25 | ||
bed911e5 DE |
26 | 2013-01-28 Doug Evans <dje@google.com> |
27 | ||
28 | * dwarf2loc.c (dwarf2_find_location_expression): Don't add base address | |
29 | to addresses from dwo files. | |
30 | ||
28c64fc2 SCR |
31 | 2013-01-25 Siva Chandra Reddy <sivachandra@google.com> |
32 | ||
33 | * valops.c (find_overload_match): Remove unused argument 'lax'. | |
34 | * value.h: Remove unused argument 'lax' from the declaration of | |
35 | find_overload_match. | |
36 | * eval.c (value_subexp_standard): Do not pass a 'lax' argument | |
37 | to find_overload_match. | |
38 | * valarith.c (value_user_defined_cpp_op): Do not pass a 'lax' | |
39 | argument to find_overload_match. | |
40 | ||
4d4ec4e5 TT |
41 | 2013-01-25 Tom Tromey <tromey@redhat.com> |
42 | ||
43 | * dwarf2read.c (processing_has_namespace_info): Remove. | |
44 | (struct dwarf2_cu) <processing_has_namespace_info>: New field. | |
45 | (process_die, read_func_scope, dwarf2_start_symtab) | |
46 | (new_symbol_full): Update. | |
47 | ||
195a3f6c TT |
48 | 2013-01-25 Tom Tromey <tromey@redhat.com> |
49 | ||
50 | * cp-namespace.c (cp_set_block_scope): Remove. | |
51 | * cp-support.h (cp_set_block_scope): Remove. | |
52 | * dbxread.c: Include block.h. | |
53 | (cp_set_block_scope): New function. | |
54 | (process_one_symbol): Update. | |
55 | * dwarf2read.c (read_func_scope): Use block_set_scope. | |
56 | ||
8ba0730a PA |
57 | 2013-01-25 Pedro Alves <palves@redhat.com> |
58 | ||
59 | * remote.c (add_current_inferior_and_thread): Tweak comment. | |
60 | ||
12aaed36 TT |
61 | 2013-01-25 Tom Tromey <tromey@redhat.com> |
62 | ||
63 | * cp-namespace.c (cp_scan_for_anonymous_namespaces): Update. | |
64 | (cp_add_using_directive): Add 'copy_names' argument. | |
65 | * cp-support.h (cp_add_using_directive): Update. | |
66 | (struct using_direct) <import_src, import_dest, alias, | |
67 | declaration>: Now const. | |
68 | * dwarf2read.c (read_import_statement): Use obconcat. | |
69 | Don't copy names passed to cp_add_using_directive. | |
70 | ||
7fc75ca7 TT |
71 | 2013-01-25 Tom Tromey <tromey@redhat.com> |
72 | ||
73 | * c-exp.y (qualified_name): Use TYPE_SAFE_NAME. | |
74 | ||
3405876a PA |
75 | 2013-01-25 Pedro Alves <palves@redhat.com> |
76 | ||
77 | * remote.c (stop_reply_extract_thread): New. | |
78 | (add_current_inferior_and_thread): New parameter 'wait_status'. | |
79 | Handle it. | |
80 | (remote_start_remote): Pass wait status to | |
81 | add_current_inferior_and_thread. | |
82 | (extended_remote_run): Update comment. | |
83 | (extended_remote_create_inferior_1): Pass wait status to | |
84 | add_current_inferior_and_thread. | |
85 | ||
8954db33 AB |
86 | 2013-01-25 Andrew Burgess <aburgess@broadcom.com> |
87 | Ulrich Weigand <uweigand@de.ibm.com> | |
88 | ||
89 | * valarith.c (value_vector_widen): New function for replicating a | |
90 | scalar into a vector. | |
91 | (value_binop): Use value_vector_widen to widen scalar to vector | |
92 | rather than casting, this better matches gcc C behaviour. | |
93 | * valops.c (value_casst): Update logic for casting between vector | |
94 | types, and for casting from scalar to vector, try to match gcc C | |
95 | behaviour. | |
96 | * value.h (value_vector_widen): Declare. | |
97 | * opencl-lang.c (opencl_value_cast): New opencl specific casting | |
98 | function, handle special case for casting scalar to vector. | |
99 | (opencl_relop): Use opencl_value_cast. | |
100 | (evaluate_subexp_opencl): Use opencl_value_cast instead of | |
101 | value_cast, and handle BINOP_ASSIGN, UNOP_CAST, and UNOP_CAST_TYPE | |
102 | in order to use opencl_value_cast. | |
103 | ||
843b20dc YQ |
104 | 2013-01-25 Yao Qi <yao@codesourcery.com> |
105 | ||
106 | * event-loop.c: Include "queue.h". | |
107 | (gdb_event_p): New typedef. | |
108 | (DECLARE_QUEUE_P): Use. | |
109 | (DEFINE_QUEUE_P): Use. | |
110 | (async_queue_event): Remove. | |
111 | (gdb_event_xfree): New. | |
112 | (initialize_event_loop): New. | |
113 | (process_event): Use QUEUE macros. | |
114 | (event_queue): Remove. | |
115 | (gdb_wait_for_event): Caller update. | |
116 | (check_async_event_handlers): Likewise. | |
117 | (poll_timers): Likewise. | |
118 | * event-loop.h (initialize_event_loop): Declare. | |
119 | * event-loop.c (gdb_event_xfree): New. | |
120 | * top.c (gdb_init): Call initialize_event_loop. | |
121 | ||
20ad8856 YQ |
122 | 2013-01-25 Yao Qi <yao@codesourcery.com> |
123 | ||
124 | * event-loop.c (async_queue_event): Remove one parameter | |
125 | 'position'. Remove code handling 'position' == TAIL. | |
126 | (gdb_wait_for_event): Caller update. | |
127 | (check_async_event_handlers): Caller update. | |
128 | (poll_timers): Caller update. | |
129 | * event-loop.h (enum queue_position): Remove. | |
130 | ||
3bbbe775 MK |
131 | 2013-01-25 Maxim Kuvyrkov <maxim@kugelworks.com> |
132 | ||
133 | * MAINTAINERS: Update my email. | |
134 | ||
a87d9ac4 YQ |
135 | 2013-01-25 Yao Qi <yao@codesourcery.com> |
136 | ||
137 | * main.c (print_gdb_help): Remove "--epoch" from the help | |
138 | message. | |
139 | ||
2077afdd TD |
140 | 2013-01-24 Ulrich Weigand <uweigand@de.ibm.com> |
141 | ||
142 | * symtab.c (skip_prologue_using_sal): Consider a file | |
143 | change the same as an increased line number | |
144 | ||
63da4037 TD |
145 | 2013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com> |
146 | ||
147 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
148 | ||
45e6c716 TT |
149 | 2013-01-24 Tom Tromey <tromey@redhat.com> |
150 | ||
151 | * ada-lang.h (ada_decode_symbol): Make return type const. | |
152 | * ada-lang.c (ada_decode_symbol): Likewise. | |
153 | ||
b1ae631a DE |
154 | 2013-01-23 Doug Evans <dje@google.com> |
155 | ||
156 | * linespec.c (find_linespec_symbols): Make static. | |
157 | ||
55a78401 SDJ |
158 | 2013-01-23 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com> |
159 | ||
160 | * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Set correct | |
161 | type on float conversion for complex type. | |
162 | ||
bea883fd SCR |
163 | 2013-01-23 Siva Chandra Reddy <sivachandra@google.com> |
164 | ||
165 | Add a new class gdb.Architecture which exposes GDB's | |
166 | internal representation of architecture via GDB Python API. | |
167 | * Makefile.in: Add entries corresponding to the new file | |
168 | python/py-arch.c. | |
169 | * NEWS (Python Scripting): Add entries for the new class | |
170 | gdb.Architecture and the new method gdb.Frame.architecture. | |
171 | * python/py-arch.c: Implement gdb.Architecture class. | |
172 | * python/py-frame.c (frapy_arch): Implement the method | |
173 | gdb.Frame.architecture(). | |
174 | (frame_object_methods): Add 'architecture' to the method table. | |
175 | * python/python-internal.h: Add declarations of new utility | |
176 | functions. | |
177 | * python/python.c (_initialize_python): Initialize | |
178 | gdb.Architecture class. | |
179 | ||
796a7ff8 DE |
180 | 2013-01-23 Doug Evans <dje@google.com> |
181 | ||
182 | Work around binutils/15021. | |
183 | * dwarf2read.c (dwarf2_per_cu_data): Split imported_symtabs and | |
184 | type_unit_group out of union s. All uses updated. | |
185 | (read_index_from_section): Watch for index version 8. | |
186 | (follow_die_sig): If using .gdb_index version <= 7, record the TU as | |
187 | an imported symtab. | |
188 | (write_psymtabs_to_index): Increment version number to 8. | |
189 | ||
0928e93d PA |
190 | 2013-01-22 Pedro Alves <palves@redhat.com> |
191 | ||
192 | * annotate.c (breakpoint_changed): Skip if breakpoint is not | |
193 | user-visible. | |
194 | ||
9c97429f PA |
195 | 2013-01-22 Pedro Alves <palves@redhat.com> |
196 | ||
197 | * annotate.c (annotate_breakpoints_changed): Rename to ... | |
198 | (annotate_breakpoints_invalid): ... this. Make static. | |
199 | (breakpoint_changed): Adjust. | |
200 | (_initialize_annotate): Always install the observers. Install a | |
201 | "breakpoint_created" observer. | |
202 | * annotate.h (annotate_breakpoints_changed): Delete declaration. | |
203 | * breakpoint.c (set_breakpoint_condition) | |
204 | (breakpoint_set_commands, do_map_commands_command) | |
205 | (init_raw_breakpoint, clear_command, set_ignore_count) | |
206 | (enable_breakpoint_disp): No longer call | |
207 | annotate_breakpoints_changed. | |
208 | ||
bd00c694 PA |
209 | 2013-01-22 Pedro Alves <palves@redhat.com> |
210 | ||
211 | * annotate.c: Include "inferior.h". | |
212 | (frames_invalid_emitted) | |
213 | (breakpoints_invalid_emitted): New globals. | |
214 | (async_background_execution_p): New function. | |
215 | (annotate_breakpoints_changed, annotate_frames_invalid): Skip | |
216 | emitting the annotation if it has already been emitted. | |
217 | (annotate_display_prompt): New function. | |
218 | * annotate.h (annotate_display_prompt): New declaration. | |
219 | * event-top.c: Include annotate.h. | |
220 | (display_gdb_prompt): Call annotate_display_prompt. | |
221 | ||
187d10dd PA |
222 | 2013-01-22 Pedro Alves <palves@redhat.com> |
223 | ||
224 | * annotate.c (ignore_count_changed): Delete. | |
225 | (annotate_breakpoints_changed): Don't clear ignore_count_changed. | |
226 | (annotate_ignore_count_change): Delete. | |
227 | (annotate_stopped): Don't emit a delayed breakpoints-changed | |
228 | annotation. | |
229 | * annotate.h (annotate_ignore_count_change): Delete. | |
230 | * breakpoint.c (bpstat_check_breakpoint_conditions): Don't call | |
231 | annotate_ignore_count_change. | |
232 | ||
d84cf7eb TT |
233 | 2013-01-22 Tom Tromey <tromey@redhat.com> |
234 | ||
235 | * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: Only | |
236 | require_rvalue for a register location. | |
237 | ||
8f1d5693 MK |
238 | 2013-01-21 Marc Khouzam <marc.khouzam@ericsson.com> |
239 | ||
240 | * breakpoint.c (print_one_breakpoint_location): Add MI | |
241 | field 'thread-groups' when printing a breakpoint. | |
242 | (output_thread_groups): New function. | |
243 | ||
aa6199c6 SCR |
244 | 2013-01-21 Siva Chandra Reddy <sivachandra@google.com> |
245 | ||
246 | * python/lib/gdb/commands/explore.py | |
247 | (CompoundExplorer.explore_expr): Correct the name of a method | |
248 | being invoked. | |
249 | (ExploreTypeCommand.invoke): Add a missing 'return'. | |
250 | ||
d2afef13 TT |
251 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
252 | ||
253 | * gdb_obstack.h (obconcat): Move declaration here, from... | |
254 | * symfile.h (obconcat): ... here. | |
255 | * gdb_obstack.c: New file. | |
256 | (obconcat): Move from... | |
257 | * symfile.c (obconcat): ... here. | |
258 | * Makefile.in (SFILES): Add gdb_obstack.c. | |
259 | (COMMON_OBS): Add gdb_obstack.o. | |
260 | ||
10f0c4bb TT |
261 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
262 | ||
263 | * symfile.h (obsavestring): Don't declare. | |
264 | * symfile.c (obsavestring): Remove. | |
265 | * ada-exp.y: Use obstack_copy0, not obsavestring. | |
266 | * ada-lang.c: Use obstack_copy0, not obsavestring. | |
267 | * coffread.c: Use obstack_copy0, not obsavestring. | |
268 | * cp-namespace.c: Use obstack_copy0, not obsavestring. | |
269 | * dbxread.c: Use obstack_copy0, not obsavestring. | |
270 | * dwarf2read.c: Use obstack_copy0, not obsavestring. | |
271 | * jit.c: Use obstack_copy0, not obsavestring. | |
272 | * mdebugread.c: Use obstack_copy0, not obsavestring. | |
273 | * psymtab.c: Use obstack_copy0, not obsavestring. | |
274 | * stabsread.c: Use obstack_copy0, not obsavestring. | |
275 | * xcoffread.c: Use obstack_copy0, not obsavestring. | |
276 | ||
86f62fd7 TT |
277 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
278 | ||
279 | * dwarf2read.c (fixup_go_packaging): Save package name | |
280 | on objfile obstack. | |
281 | * gdbtypes.c (init_type): Don't copy name. | |
282 | ||
15d034d0 TT |
283 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
284 | ||
285 | * dwarf2read.c (struct partial_die_info) <name, scope>: Now | |
286 | const. | |
287 | (struct attribute) <u.str>: Now const. | |
288 | (struct fnfieldlist) <name>: Now const. | |
289 | (dw2_get_file_names_reader, init_cutu_and_read_dies): Update. | |
290 | (partial_die_parent_scope): Make return type const. | |
291 | (partial_die_full_name, add_partial_symbol): Update. | |
292 | (dwarf2_compute_name, dwarf2_full_name, dwarf2_physname): Make | |
293 | 'name' const. | |
294 | (find_file_and_directory): Make 'name' and 'comp_dir' const. | |
295 | (read_file_scope, read_func_scope, dwarf2_add_field) | |
296 | (dwarf2_add_member_fn, read_structure_type) | |
297 | (process_enumeration_scope, read_array_type, read_module_type) | |
298 | (read_base_type, read_subrange_type): Update. | |
299 | (dwarf2_start_symtab): Make 'name' and 'comp_dir' const. | |
300 | (new_symbol_full, guess_full_die_structure_name): Update. | |
301 | (dwarf2_canonicalize_name): Return const type. Make 'name' const. | |
302 | (dwarf2_name): Return const type. | |
303 | (dwarf_decode_macro_bytes, dwarf_decode_macros): Make 'comp_dir' | |
304 | const. | |
305 | ||
748e18ae TT |
306 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
307 | ||
308 | * gdbtypes.c (init_type): Make 'name' const. | |
309 | * gdbtypes.h (init_type): Update. | |
310 | ||
46212e0b TT |
311 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
312 | ||
313 | * buildsym.c (patch_subfile_names): Use set_last_source_file. | |
314 | (start_symtab): Make 'name' and 'dirname' const. Use | |
315 | set_last_source_file. | |
316 | (restart_symtab, reset_symtab_globals): Use set_last_source_file. | |
317 | (last_source_file): Define. Now static. | |
318 | (set_last_source_file, get_last_source_file): New functions. | |
319 | * buildsym.h (last_source_file): Don't declare. | |
320 | (start_symtab): Update. | |
321 | (set_last_source_file, get_last_source_file): Declare. | |
322 | * coffread.c (complete_symtab): Use set_last_source_file. | |
323 | (coff_end_symtab): Likewise. | |
324 | (coff_symtab_read): Use set_last_source_file, get_last_source_file. | |
325 | * dbxread.c (read_dbx_symtab, read_ofile_symtab): Use | |
326 | set_last_source_file. | |
327 | (process_one_symbol): Use get_last_source_file. | |
328 | * mdebugread.c (parse_partial_symbols): Use set_last_source_file. | |
329 | (psymtab_to_symtab_1): Use get_last_source_file. | |
330 | * xcoffread.c (process_linenos): Use get_last_source_file. | |
331 | (complete_symtab): Use set_last_source_file. | |
332 | (read_xcoff_symtab): Use set_last_source_file, get_last_source_file. | |
333 | (scan_xcoff_symtab): Use set_last_source_file. | |
334 | ||
9d2ceabe TT |
335 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
336 | ||
337 | * symtab.c (struct demangled_name_entry) <mangled>: Now const. | |
338 | (symbol_set_names): Remove casts. Handle field const-ness. | |
339 | ||
cfc594ee TT |
340 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
341 | ||
342 | * dwarf2read.c (new_symbol_full): Remove cast. | |
343 | * symtab.c (symbol_set_demangled_name): Make 'name' const. | |
344 | * symtab.h (symbol_set_demangled_name): Update. | |
345 | ||
5484b13a TT |
346 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
347 | ||
348 | * main.c (captured_main): Call bfd_init. | |
349 | ||
1605ef26 TT |
350 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
351 | ||
352 | * gnu-v2-abi.c (_initialize_gnu_v2_abi): Don't set default ABI. | |
353 | * gnu-v3-abi.c (_initialize_gnu_v3_abi): Set default ABI. | |
354 | * minsyms.c (install_minimal_symbols): Don't check for _Z symbols. | |
355 | * NEWS: Update. | |
356 | ||
3b74cdc3 JK |
357 | 2013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
358 | ||
359 | * symmisc.c (maintenance_print_msymbols): Check also ST_DEV. | |
360 | ||
5a352474 JK |
361 | 2013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
362 | ||
363 | Fix gdb.fortran/common-block.exp crash in PIE mode. | |
364 | * dwarf2read.c (new_symbol_full) <DW_TAG_common_block>: Use | |
365 | LOC_COMMON_BLOCK. | |
366 | * f-valprint.c (info_common_command_for_block): Expect | |
367 | LOC_COMMON_BLOCK in gdb_assert. | |
368 | * symtab.h (struct general_symbol_info): Update comment for the | |
369 | common_block member. | |
370 | (domain_enum): Extend comment for the COMMON_BLOCK_DOMAIN member. | |
371 | (enum address_class): New member LOC_COMMON_BLOCK. | |
372 | ||
c60797fd DB |
373 | 2013-01-18 David Blaikie <dblaikie@gmail.com> |
374 | ||
375 | * MAINTAINERS (Write After Approval): Add "David Blaikie". | |
0cae7dfb | 376 | |
46f35228 TT |
377 | 2013-01-18 Tom Tromey <tromey@redhat.com> |
378 | ||
379 | PR c++/14999: | |
380 | * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: | |
381 | Call require_rvalue. | |
382 | ||
257e7a09 YQ |
383 | 2013-01-18 Yao Qi <yao@codesourcery.com> |
384 | ||
385 | * dbxread.c (dbx_psymtab_to_symtab): Delete the declaration. | |
386 | (dbx_read_symtab): New declaration. | |
387 | (dbx_psymtab_to_symtab): Delete. | |
388 | (dbx_read_symtab): Rename from dbx_psymtab_to_symtab. | |
389 | Rename parameter PST to SELF. Exchanged two parameters. | |
390 | (start_psymtab): Caller update. | |
391 | * dwarf2read.c (dwarf2_psymtab_to_symtab): Delete the declaration. | |
392 | (dwarf2_read_symtab): New declaration. | |
393 | (dwarf2_psymtab_to_symtab): Delete. | |
394 | (dwarf2_read_symtab): Rename from dwarf2_psymtab_to_symtab. | |
395 | Rename parameter PST to SELF. Exchanged two parameters. | |
396 | (create_partial_symtab): Caller update. | |
397 | * mdebugread.c (mdebug_psymtab_to_symtab): Delete. | |
398 | (mdebug_read_symtab): Rename from mdebug_psymtab_to_symtab. | |
399 | Rename parameter PST to SELF. Exchanged two parameters. | |
400 | (parse_partial_symbols, new_psymtab): Caller update. | |
401 | * psympriv.h (struct partial_symtab) <read_symtab>: Exchange | |
402 | two parameters. | |
403 | * psymtab.c (psymtab_to_symtab): Caller update. | |
404 | * xcoffread.c (xcoff_psymtab_to_symtab): Delete. | |
405 | (xcoff_read_symtab): Rename from xcoff_psymtab_to_symtab. | |
406 | Rename parameter PST to SELF. Exchanged two parameters. | |
407 | (xcoff_start_psymtab): Caller update. | |
408 | ||
0de5618e YQ |
409 | 2013-01-18 Yao Qi <yao@codesourcery.com> |
410 | ||
411 | * infrun.c (proceed): Rename local variable 'oneproc' to | |
412 | 'force_step'. | |
413 | ||
5c04624b DE |
414 | 2013-01-17 Doug Evans <dje@google.com> |
415 | ||
848e3e78 DE |
416 | * dwarf2read.c (dw2_build_type_unit_groups_reader): Delete. |
417 | (dw2_build_type_unit_groups): Delete. All uses updated. | |
418 | ||
5c04624b DE |
419 | * symtab.h (struct symbol_search): Add comment. |
420 | ||
d84fca2c JK |
421 | 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
422 | ||
423 | * symtab.c (compare_filenames_for_search): New comment for | |
424 | HAS_DRIVE_SPEC. | |
425 | ||
6108433d TT |
426 | 2013-01-17 Tom Tromey <tromey@redhat.com> |
427 | ||
428 | * cp-abi.c (cp_abi_completer): Fix typo in assignment. | |
429 | ||
c89ffd86 JK |
430 | 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
431 | ||
432 | * symtab.c (iterate_over_some_symtabs): New variable cleanups, | |
433 | initialize it by existing make_cleanup. Call new do_cleanups. | |
434 | ||
db2b2972 TT |
435 | 2013-01-17 Tom Tromey <tromey@redhat.com> |
436 | ||
437 | * cp-abi.c (cp_abi_completer): New function. | |
438 | (_initialize_cp_abi): Set completer for "set cp-abi". | |
439 | ||
be7d37a2 TT |
440 | 2013-01-17 Tom Tromey <tromey@redhat.com> |
441 | ||
442 | * mem-break.c: Remove obsolete comment. | |
443 | * bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment. | |
444 | ||
c9fb1240 SD |
445 | 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com> |
446 | ||
447 | * jit.c (jit_reader_load_command): Interpret the jit reader name | |
448 | as an absolute path if it begins with a forward slash. | |
449 | ||
db334a01 SD |
450 | 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com> |
451 | ||
452 | PR gdb/14550 | |
453 | ||
454 | * jit.c (finalize_symtab): Ensure that only the global block has a | |
455 | NULL superblock. | |
456 | ||
7d928dac PA |
457 | 2013-01-17 Pedro Alves <palves@redhat.com> |
458 | ||
459 | * acinclude.m4: Include ../config/plugins.m4, | |
460 | ../config/largefile.m4 and ../config/lead-dot.m4. Add comments. | |
461 | * Makefile.in (aclocal_m4_deps): Update. | |
462 | * aclocal.m4: Renegerate. | |
463 | ||
fb8cf7c5 DE |
464 | 2013-01-16 Doug Evans <dje@google.com> |
465 | ||
466 | * contrib/cc-with-tweaks.sh: Add references to Fission docs. | |
467 | ||
ab04a2af TT |
468 | 2013-01-16 Pedro Alves <palves@redhat.com> |
469 | Tom Tromey <tromey@redhat.com> | |
470 | ||
471 | PR cli/7221: | |
472 | * NEWS: Add "catch signal". | |
473 | * breakpoint.c (base_breakpoint_ops): No longer static. | |
474 | (bpstat_explains_signal): New function. | |
475 | (init_catchpoint): No longer static. | |
476 | (base_breakpoint_explains_signal): New function. | |
477 | (base_breakpoint_ops): Initialize new field. | |
478 | * breakpoint.h (enum bpstat_signal_value): New. | |
479 | (struct breakpoint_ops) <explains_signal>: New field. | |
480 | (bpstat_explains_signal): Remove macro, declare as function. | |
481 | (base_breakpoint_ops, init_catchpoint): Declare. | |
482 | * break-catch-sig.c: New file. | |
483 | * inferior.h (signal_catch_update): Declare. | |
484 | * infrun.c (signal_catch): New global. | |
485 | (handle_syscall_event): Update for change to | |
486 | bpstat_explains_signal. | |
487 | (handle_inferior_event): Likewise. Always handle random signals | |
488 | via bpstats. | |
489 | (signal_cache_update): Check signal_catch. | |
490 | (signal_catch_update): New function. | |
491 | (_initialize_infrun): Initialize signal_catch. | |
492 | * Makefile.in (SFILES): Add break-catch-sig.c. | |
493 | (COMMON_OBS): Add break-catch-sig.o. | |
494 | ||
8ac3646f TT |
495 | 2013-01-16 Tom Tromey <tromey@redhat.com> |
496 | ||
497 | * breakpoint.c (print_one_catch_fork, print_one_catch_vfork) | |
498 | (print_one_catch_solib, print_one_catch_syscall) | |
499 | (print_one_catch_exec, print_one_exception_catchpoint): Emit | |
500 | "catch-type". | |
501 | ||
5a18e302 YQ |
502 | 2013-01-16 Yao Qi <yao@codesourcery.com> |
503 | ||
504 | * printcmd.c (current_display_number): Make it static. | |
505 | ||
3f01d0d0 YQ |
506 | 2013-01-16 Yao Qi <yao@codesourcery.com> |
507 | ||
508 | * infcmd.c (step_once): Don't check '!single_inst' as it was | |
509 | checked before. | |
510 | ||
1ed59174 JK |
511 | 2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com> |
512 | ||
513 | * dwarf2read.c (psymtab_include_file_name): Extend the function comment. | |
514 | ||
44478ab3 TT |
515 | 2013-01-14 Tom Tromey <tromey@redhat.com> |
516 | ||
517 | * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the | |
518 | set command. | |
519 | * command.h (add_setshow_string_noescape_cmd): Update. | |
520 | * corefile.c (set_gnutarget_command): Remove trailing whitespace. | |
521 | (complete_set_gnutarget): New function. | |
522 | (_initialize_core): Set the "set gnutarget" completer. | |
523 | ||
06d66ee9 TT |
524 | 2013-01-14 Tom Tromey <tromey@redhat.com> |
525 | ||
526 | PR symtab/14442: | |
527 | * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'. | |
528 | (c_type_print_modifier): Likewise. | |
529 | * dwarf2read.c (read_tag_restrict_type): New function. | |
530 | (read_type_die_1): Handle DW_TAG_restrict_type. | |
531 | * gdbtypes.c (make_restrict_type): New function. | |
532 | (recursive_dump_type): Handle TYPE_RESTRICT. | |
533 | * gdbtypes.h (enum type_flag_values): Renumber. | |
534 | (enum type_instance_flag_value): Add | |
535 | TYPE_INSTANCE_FLAG_RESTRICT. | |
536 | (TYPE_RESTRICT): New macro. | |
537 | (make_restrict_type): Declare. | |
538 | ||
c9bf0622 TT |
539 | 2013-01-14 Tom Tromey <tromey@redhat.com> |
540 | ||
541 | PR symtab/14931: | |
542 | * psymtab.c (struct psymtab_state): New. | |
543 | (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New | |
544 | functions. | |
545 | * psympriv.h (make_cleanup_discard_psymtabs): Declare. | |
546 | * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions. | |
547 | ||
44d594fd PA |
548 | 2013-01-14 Richard Sharman <richard_sharman@mitel.com> |
549 | Pedro Alves <palves@redhat.com> | |
550 | ||
551 | PR remote/14786 | |
552 | ||
553 | * remote.c (remote_threads_info): Make a copy of the reply from | |
554 | qfThreadInfo and use that instead of rs->buf. | |
555 | ||
442e4d9c YQ |
556 | 2013-01-14 Yao Qi <yao@codesourcery.com> |
557 | ||
558 | * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL. | |
559 | (dbx_psymtab_to_symtab): Likewise. | |
560 | * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise. | |
561 | * mdebugread.c (mdebug_psymtab_to_symtab): Likewise. | |
562 | * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise. | |
563 | ||
5b12a61c JK |
564 | 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
565 | ||
566 | * parse.c (parse_exp_in_context): New variable inner_chain. Call | |
567 | make_cleanup_restore_current_language. Call set_language. Move | |
568 | OLD_CHAIN and INNER_CHAIN cleanups. | |
569 | * utils.c (do_restore_current_language) | |
570 | (make_cleanup_restore_current_language): New functions. | |
571 | * utils.h (make_cleanup_restore_current_language): New declaration. | |
572 | ||
f0a4b570 JK |
573 | 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
574 | ||
575 | * source.c (symtab_to_fullname): Apply rewrite_source_path also for | |
576 | non-existing files. | |
577 | ||
57b3c00c JK |
578 | * source.c (symtab_to_fullname): Do not prepend DIRNAME for |
579 | non-existing files if FILENAME is already absolute. | |
580 | ||
daefa854 JK |
581 | 2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
582 | ||
583 | * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of | |
584 | fputs_filtered. Append trailing newline. | |
585 | ||
ca9c6ee2 YQ |
586 | 2013-01-11 Yao Qi <yao@codesourcery.com> |
587 | Stan Shebs <stan@codesourcery.com> | |
588 | ||
589 | * psymtab.c (init_psymbol_list): Clarify the comment. | |
590 | ||
f28045c2 YQ |
591 | 2013-01-11 Yao Qi <yao@codesourcery.com> |
592 | ||
593 | * breakpoint.c (print_one_breakpoint_location): Remove dead code. | |
594 | (update_dprintf_command_list): Assert that 'printf_line' is | |
595 | non-null. Remove condition check. | |
596 | ||
da5132d3 JK |
597 | 2013-01-10 Jan Kratochvil <jan.kratochvil@redhat.com> |
598 | ||
599 | Code cleanup. | |
600 | * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return | |
601 | type const char *. | |
602 | * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname | |
603 | const char *. | |
604 | * tui/tui-source.h (tui_source_is_displayed): Likewise. | |
605 | ||
843e694d AG |
606 | 2013-01-09 Anthony Green <green@moxielogic.com> |
607 | ||
608 | * cp-abi.c (cplus_print_vtable): Don't return value from void | |
609 | function. | |
610 | * ada-lang.c (re_set_catch_assert): Ditto. | |
611 | ||
da51c347 DE |
612 | 2013-01-09 Doug Evans <dje@google.com> |
613 | ||
614 | * symfile.h (quick_symbol_functions): Delete member | |
615 | pre_expand_symtabs_matching. All uses removed. | |
616 | * dwarf2read.c (dw2_lookup_symbol): Implement. | |
617 | (dw2_do_expand_symtabs_matching): Delete. | |
618 | (dw2_pre_expand_symtabs_matching): Delete. | |
619 | (struct dw2_symtab_iterator): New type. | |
620 | (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions. | |
621 | (dw2_expand_symtabs_for_function): Rewrite. | |
622 | (dwarf2_gdb_index_functions): Update. | |
623 | * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete. | |
624 | (psym_functions): Update. | |
625 | ||
b2259038 TT |
626 | 2013-01-09 Tom Tromey <tromey@redhat.com> |
627 | ||
628 | * config/pa/hpux.mh (NATDEPFILES): Remove somread.o. | |
629 | * configure: Rebuild. | |
630 | * configure.ac: Add somread.o to the build if BFD has SOM | |
631 | support. | |
632 | * somread.c: Include som/aout.h, not syms.h. | |
633 | (som_symtab_read): Use som_external_symbol_dictionary_record. | |
634 | Unpack records manually. | |
635 | (_initialize_somread): Declare. | |
636 | ||
bdad4180 MF |
637 | 2012-01-08 Mike Frysinger <vapier@gentoo.org> |
638 | ||
639 | * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx) [__x86_64__]: | |
640 | Cast return_address to 64bits. | |
641 | ||
03cdf680 HZ |
642 | 2013-01-08 Hui Zhu <hui_zhu@mentor.com> |
643 | ||
644 | * printcmd.c: Remove define of function output_command. | |
645 | * tracepoint.c: Remove extern of function output_command. | |
646 | * valprint.h: (output_command): New extern. | |
647 | ||
8a808554 TT |
648 | 2013-01-07 Tom Tromey <tromey@redhat.com> |
649 | ||
650 | * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr): | |
651 | Remove. | |
652 | (objc_language_defn): Use c_printchar, c_printstr, | |
653 | c_emit_char. | |
654 | ||
e93a8774 TT |
655 | 2013-01-07 Tom Tromey <tromey@redhat.com> |
656 | ||
657 | PR cli/7719: | |
658 | * NEWS: Update. | |
659 | * ada-valprint.c (printstr, print_field_values): Remove | |
660 | "inspect_it" code. | |
661 | * cp-valprint.c (cp_print_value_fields): Remove "inspect_it" | |
662 | code. | |
663 | * jv-valprint.c (java_print_value_fields): Remove "inspect_it" | |
664 | code. | |
665 | * m2-lang.c (m2_printstr): Remove "inspect_it" code. | |
666 | * main.c (captured_main): Remove "epoch" argument. | |
667 | * objc-lang.c (objc_printstr): Remove "inspect_it" code. | |
668 | * p-lang.c (pascal_printstr): Remove "inspect_it" code. | |
669 | * p-valprint.c (pascal_object_print_value_fields): Remove | |
670 | "inspect_it" code. | |
671 | * printcmd.c (print_command_1): Remove 'inspect' argument. | |
672 | (print_command, call_command): Update. | |
673 | (inspect_command): Remove. | |
674 | (_initialize_printcmd): Make "inspect" an alias for "print". | |
675 | * top.c (epoch_interface): Remove. | |
676 | * top.h (epoch_interface): Remove. | |
677 | * valprint.c (user_print_options): Update. | |
678 | (print_converted_chars_to_obstack): Remove "inspect_it" code. | |
679 | * valprint.h (struct value_print_options) <inspect_it>: Remove | |
680 | field. | |
681 | ||
682 | 2013-01-04 Tom Tromey <tromey@redhat.com> | |
683 | ||
684 | * valprint.h (read_string): Add 'extern'. | |
685 | ||
b967eb24 JB |
686 | 2013-01-07 Joel Brobecker <brobecker@adacore.com> |
687 | ||
688 | * darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test | |
689 | used to decide whether to define darwin_read_dyld_info or not. | |
690 | ||
78a8b30e PM |
691 | 2013-01-03 Pierre Muller <muller@sourceware.org> |
692 | ||
693 | * main.c (relocate_gdb_directory): Avoid calling stat function | |
694 | if DIR is empty. | |
695 | ||
50da2f25 YQ |
696 | 2013-01-03 Yao Qi <yao@codesourcery.com> |
697 | ||
698 | * psymtab.c (fixup_psymbol_section): Update declaration. | |
699 | (fixup_psymbol_section): Remove code returning value. | |
700 | ||
e7e8980f YQ |
701 | 2013-01-03 Yao Qi <yao@codesourcery.com> |
702 | ||
703 | * symtab.h: Remove some out of date comments. | |
704 | (enum exception_event_kind): Move it ... | |
705 | * breakpoint.c: ... here. | |
706 | ||
569283d4 MF |
707 | 2013-01-02 Iain Sandoe <developer@sandoe-acoustics.co.uk> |
708 | ||
9f9d9a96 | 709 | PR gdb/14405 |
569283d4 MF |
710 | * darwin-nat.c (darwin_read_dyld_info): Only build if |
711 | TASK_DYLD_INFO_COUNT is defined. | |
712 | (darwin_xfer_partial): Call darwin_read_dyld_info only if | |
713 | TASK_DYLD_INFO_COUNT is defined. | |
714 | ||
2e36fbea TT |
715 | 2013-01-02 Tom Tromey <tromey@redhat.com> |
716 | ||
717 | * symfile.h (struct ecoff_debug_hack): Remove. | |
718 | * objfiles.c: Don't include mdebugread.h. | |
719 | ||
4f05add4 TT |
720 | 2013-01-02 Tom Tromey <tromey@redhat.com> |
721 | ||
722 | * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o. | |
723 | * configure.ac: Check for Mach-O support in BFD. Update | |
724 | CONFIG_OBS. | |
725 | * configure: Rebuild. | |
726 | ||
def63ff0 TT |
727 | 2013-01-02 Tom Tromey <tromey@redhat.com> |
728 | ||
729 | * acinclude.m4 (GDB_AC_CHECK_BFD): New macro. | |
730 | * configure.ac: Use GDB_AC_CHECK_BFD. | |
731 | * configure: Rebuild. | |
732 | ||
60c5dd93 MK |
733 | 2013-01-01 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com> |
734 | ||
735 | * MAINTAINERS: Update my email. | |
736 | ||
6e58437e JB |
737 | 2013-01-01 Joel Brobecker <brobecker@adacore.com> |
738 | ||
739 | * cli/cli-script.h (make_cleanup_free_command_lines): Make extern. | |
740 | ||
627fe805 JB |
741 | 2013-01-01 Joel Brobecker <brobecker@adacore.com> |
742 | ||
743 | * rs6000-nat.c (bss_data_overlap): New function. | |
744 | (vmap_symtab): Use it to adjust the .bss section's offset. | |
745 | ||
28e7fd62 JB |
746 | 2013-01-01 Joel Brobecker <brobecker@adacore.com> |
747 | ||
748 | Update year range in copyright notice of all files. | |
749 | ||
e93a8774 | 750 | 2013-01-01, 13 Joel Brobecker <brobecker@adacore.com> |
b9786c74 JB |
751 | |
752 | * top.c (print_gdb_version): Update copyright year. | |
753 | ||
72b20e9c | 754 | For older changes see ChangeLog-2012. |
c906108c SS |
755 | \f |
756 | Local Variables: | |
757 | mode: change-log | |
758 | left-margin: 8 | |
759 | fill-column: 74 | |
760 | version-control: never | |
57da7796 | 761 | coding: utf-8 |
c906108c | 762 | End: |