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